Invoice Ninja MCP by usefulapi

v1.41.1
io.usefulapi/invoice-ninja Checked 2 days ago Published 1 day ago

Manage Invoice Ninja clients, invoices, quotes, expenses, tasks and projects.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

invoiceninja_list_clients List clients

List clients with balances and contacts, optionally searched by name, email or number. Invoice Ninja: GET /api/v1/clients.

ParameterTypeDescription
balancestringBalance comparison "op:value", op one of lt, lte, gt, gte, eq, e.g. "gt:0".
emailstringOnly the client with a contact at this email.
filterstringFree-text search across name, id number, contact names/emails/phones and custom fields.
namestringOnly clients whose name matches.
numberstringOnly the client with this client number.
pageintegerPage number, starting at 1.
per_pageintegerRecords per page, 1-100 (API default 20).
sortstringSort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc".
statusstringComma-separated record state: active, archived, deleted (e.g. "active"). Omit for all.

invoiceninja_get_client Get one client

Fetch one client by id, with contacts, address, balance and paid-to-date. Invoice Ninja: GET /api/v1/clients/{id}.

ParameterTypeDescription
client_id *stringThe client's hashed id, e.g. "Wpmbk5ezJn".

invoiceninja_list_invoices List invoices

List invoices, filterable by client and payment status (paid / unpaid / overdue). status_id on each invoice: 1 draft, 2 sent, 3 partial, 4 paid, 5 cancelled, 6 reversed. Invoice Ninja: GET /api/v1/invoices.

ParameterTypeDescription
client_idstringOnly records for this client (hashed id).
client_statusstringComma-separated payment status: all, paid, unpaid, overdue.
date_rangestringInvoice-date range "YYYY-MM-DD,YYYY-MM-DD".
filterstringFree-text search across number, PO number, date, amount, balance, client name/contacts and line items.
numberstringOnly the invoice with this number.
pageintegerPage number, starting at 1.
per_pageintegerRecords per page, 1-100 (API default 20).
sortstringSort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc".
statusstringComma-separated record state: active, archived, deleted (e.g. "active"). Omit for all.

invoiceninja_get_invoice Get one invoice

Fetch one invoice by id — line items, totals, balance, dates, status and invitations. Invoice Ninja: GET /api/v1/invoices/{id}.

ParameterTypeDescription
invoice_id *stringThe invoice's hashed id, e.g. "Wpmbk5ezJn".

invoiceninja_list_quotes List quotes

List quotes (estimates), filterable by client and quote status. Invoice Ninja: GET /api/v1/quotes.

ParameterTypeDescription
client_idstringOnly records for this client (hashed id).
client_statusstringComma-separated quote status: all, draft, sent, approved, expired, upcoming.
filterstringFree-text search across number and custom fields.
numberstringOnly the quote with this number.
pageintegerPage number, starting at 1.
per_pageintegerRecords per page, 1-100 (API default 20).
sortstringSort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc".
statusstringComma-separated record state: active, archived, deleted (e.g. "active"). Omit for all.

invoiceninja_get_quote Get one quote

Fetch one quote by id — line items, totals, status and the invoice it was converted to (invoice_id), if any. Invoice Ninja: GET /api/v1/quotes/{id}.

ParameterTypeDescription
quote_id *stringThe quote's hashed id, e.g. "Wpmbk5ezJn".

invoiceninja_list_products List products

List products / services in the catalog with price, cost and default taxes. Invoice Ninja: GET /api/v1/products.

ParameterTypeDescription
filterstringFree-text search across product name.
pageintegerPage number, starting at 1.
per_pageintegerRecords per page, 1-100 (API default 20).
product_keystringOnly the product with this product key.
sortstringSort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc".
statusstringComma-separated record state: active, archived, deleted (e.g. "active"). Omit for all.

invoiceninja_list_payments List payments

List payments received, with amount, date, refunded/applied totals and the invoices each was applied to (paymentables). Read-only: this server never records or refunds payments. Invoice Ninja: GET /api/v1/payments.

ParameterTypeDescription
client_idstringOnly records for this client (hashed id).
filterstringFree-text search across amount, date and custom fields.
numberstringOnly the payment with this number.
pageintegerPage number, starting at 1.
per_pageintegerRecords per page, 1-100 (API default 20).
sortstringSort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc".
statusstringComma-separated record state: active, archived, deleted (e.g. "active"). Omit for all.

invoiceninja_list_expenses List expenses

List expenses, filterable by client and invoicing/payment state. Invoice Ninja: GET /api/v1/expenses.

ParameterTypeDescription
client_idstringOnly records for this client (hashed id).
client_statusstringComma-separated: all, logged, pending, invoiced, uninvoiced, paid, unpaid.
filterstringFree-text search across expense fields.
numberstringOnly the expense with this number.
pageintegerPage number, starting at 1.
per_pageintegerRecords per page, 1-100 (API default 20).
sortstringSort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc".
statusstringComma-separated record state: active, archived, deleted (e.g. "active"). Omit for all.

invoiceninja_list_vendors List vendors

List vendors (suppliers) with contacts and address. Invoice Ninja: GET /api/v1/vendors.

ParameterTypeDescription
filterstringFree-text search across vendor name and contacts.
numberstringOnly the vendor with this number.
pageintegerPage number, starting at 1.
per_pageintegerRecords per page, 1-100 (API default 20).
sortstringSort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc".
statusstringComma-separated record state: active, archived, deleted (e.g. "active"). Omit for all.

invoiceninja_list_tasks List tasks

List tasks / time entries with their time_log, duration, rate and linked client, project and invoice. Invoice Ninja: GET /api/v1/tasks.

ParameterTypeDescription
client_idstringOnly records for this client (hashed id).
client_statusstringComma-separated: all, invoiced, uninvoiced, is_running, overdue.
filterstringFree-text search across task description and custom fields.
numberstringOnly the task with this number.
pageintegerPage number, starting at 1.
per_pageintegerRecords per page, 1-100 (API default 20).
sortstringSort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc".
statusstringComma-separated record state: active, archived, deleted (e.g. "active"). Omit for all.

invoiceninja_list_projects List projects

List projects with client, budgeted hours, task rate, current hours and due date. Invoice Ninja: GET /api/v1/projects.

ParameterTypeDescription
client_idstringOnly records for this client (hashed id).
filterstringFree-text search across project name and notes.
numberstringOnly the project with this number.
pageintegerPage number, starting at 1.
per_pageintegerRecords per page, 1-100 (API default 20).
sortstringSort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc".
statusstringComma-separated record state: active, archived, deleted (e.g. "active"). Omit for all.

invoiceninja_list_recurring_invoices List recurring invoices

List recurring invoice schedules with frequency, next send date and remaining cycles. Read-only. Invoice Ninja: GET /api/v1/recurring_invoices.

ParameterTypeDescription
client_idstringOnly records for this client (hashed id).
client_statusstringComma-separated: all, active, paused, completed.
numberstringOnly the recurring invoice with this number.
pageintegerPage number, starting at 1.
per_pageintegerRecords per page, 1-100 (API default 20).
sortstringSort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc".
statusstringComma-separated record state: active, archived, deleted (e.g. "active"). Omit for all.

invoiceninja_create_client Create a client

Create a client, optionally with contacts. Give at least a name or one contact. Invoice Ninja: POST /api/v1/clients.

ParameterTypeDescription
address1string
address2string
citystring
contactsarrayPeople at the client; the first is the primary contact.
country_idstringCountry as its ISO 3166-1 NUMERIC code, as a string, e.g. "840" (US), "826" (UK), "276" (DE).
id_numberstringYour own id / registration number for this client.
namestringClient company / display name.
phonestring
postal_codestring
private_notesstring
public_notesstring
statestring
vat_numberstring
websitestring

invoiceninja_update_client Update a client

Update a client's details; only the fields you pass change. Passing contacts replaces the contact list. Invoice Ninja: PUT /api/v1/clients/{id}.

ParameterTypeDescription
client_id *stringThe client's hashed id, e.g. "Wpmbk5ezJn".
address1string
address2string
citystring
contactsarrayFull replacement contact list.
country_idstringCountry as its ISO 3166-1 NUMERIC code, as a string, e.g. "840" (US), "826" (UK), "276" (DE).
id_numberstringYour own id / registration number for this client.
namestringClient company / display name.
phonestring
postal_codestring
private_notesstring
public_notesstring
statestring
vat_numberstring
websitestring

invoiceninja_create_invoice Create an invoice

Create a DRAFT invoice for a client. It is not sent or emailed — use invoiceninja_mark_invoice_sent or invoiceninja_email_invoice afterwards. Invoice Ninja: POST /api/v1/invoices.

ParameterTypeDescription
client_id *stringThe client's hashed id, e.g. "Wpmbk5ezJn".
datestringDocument date, YYYY-MM-DD.
discountnumberDocument-level discount (amount or percent).
due_datestringDue date (valid-until for quotes), YYYY-MM-DD.
footerstringFooter text.
is_amount_discountbooleantrue = discount is an amount; false = a percentage.
line_itemsarrayLine items. On update this REPLACES all existing lines.
numberstringDocument number. Omit to let Invoice Ninja assign the next one.
partialnumberDeposit / partial amount due first.
partial_due_datestringDue date of the partial amount, YYYY-MM-DD.
po_numberstringPurchase order number.
private_notesstringInternal notes, not shown to the client.
project_idstringLink to a project (hashed id).
public_notesstringNotes shown to the client.
tax_name1stringDocument-level tax name.
tax_rate1numberDocument-level tax rate in percent.
termsstringTerms text.

invoiceninja_update_invoice Update an invoice

Edit an invoice; only the fields you pass change, but line_items (if passed) replace every existing line. Does not send anything. Invoice Ninja: PUT /api/v1/invoices/{id}.

ParameterTypeDescription
invoice_id *stringThe invoice's hashed id, e.g. "Wpmbk5ezJn".
datestringDocument date, YYYY-MM-DD.
discountnumberDocument-level discount (amount or percent).
due_datestringDue date (valid-until for quotes), YYYY-MM-DD.
footerstringFooter text.
is_amount_discountbooleantrue = discount is an amount; false = a percentage.
line_itemsarrayLine items. On update this REPLACES all existing lines.
numberstringDocument number. Omit to let Invoice Ninja assign the next one.
partialnumberDeposit / partial amount due first.
partial_due_datestringDue date of the partial amount, YYYY-MM-DD.
po_numberstringPurchase order number.
private_notesstringInternal notes, not shown to the client.
project_idstringLink to a project (hashed id).
public_notesstringNotes shown to the client.
tax_name1stringDocument-level tax name.
tax_rate1numberDocument-level tax rate in percent.
termsstringTerms text.

invoiceninja_mark_invoice_sent Mark an invoice sent

Mark a draft invoice as sent WITHOUT emailing it. This moves it out of draft and adds its amount to the client's balance. Invoice Ninja: GET /api/v1/invoices/{id}/mark_sent.

ParameterTypeDescription
invoice_id *stringThe invoice's hashed id, e.g. "Wpmbk5ezJn".

invoiceninja_email_invoice Email an invoice to the client

OUTWARD-FACING: sends a real email with the invoice to the client's invited contacts, and marks the invoice sent. Cannot be unsent — confirm with the user first. Invoice Ninja: POST /api/v1/invoices/bulk with action=email.

ParameterTypeDescription
invoice_id *stringThe invoice's hashed id, e.g. "Wpmbk5ezJn".
email_typestringWhich email template to send (default: the invoice template).

invoiceninja_create_quote Create a quote

Create a DRAFT quote (estimate) for a client. Nothing is emailed. Invoice Ninja: POST /api/v1/quotes.

ParameterTypeDescription
client_id *stringThe client's hashed id, e.g. "Wpmbk5ezJn".
datestringDocument date, YYYY-MM-DD.
discountnumberDocument-level discount (amount or percent).
due_datestringDue date (valid-until for quotes), YYYY-MM-DD.
footerstringFooter text.
is_amount_discountbooleantrue = discount is an amount; false = a percentage.
line_itemsarrayLine items. On update this REPLACES all existing lines.
numberstringDocument number. Omit to let Invoice Ninja assign the next one.
partialnumberDeposit / partial amount due first.
partial_due_datestringDue date of the partial amount, YYYY-MM-DD.
po_numberstringPurchase order number.
private_notesstringInternal notes, not shown to the client.
project_idstringLink to a project (hashed id).
public_notesstringNotes shown to the client.
tax_name1stringDocument-level tax name.
tax_rate1numberDocument-level tax rate in percent.
termsstringTerms text.

invoiceninja_convert_quote_to_invoice Convert a quote to an invoice

Convert a quote into a new invoice (the quote is marked converted and links to it). Returns the new invoice. Invoice Ninja: GET /api/v1/quotes/{id}/convert_to_invoice.

ParameterTypeDescription
quote_id *stringThe quote's hashed id, e.g. "Wpmbk5ezJn".

invoiceninja_create_expense Create an expense

Log an expense, optionally tied to a vendor, client or project and flagged to be re-invoiced. Invoice Ninja: POST /api/v1/expenses.

ParameterTypeDescription
amount *numberExpense amount.
category_idstringExpense category (hashed id).
client_idstringClient to re-bill (hashed id).
currency_idstringCurrency id as a string, e.g. "1" (USD). Omit for the company default.
datestringExpense date, YYYY-MM-DD.
payment_datestringDate it was paid, YYYY-MM-DD.
private_notesstring
project_idstringProject (hashed id).
public_notesstringDescription.
should_be_invoicedbooleanFlag the expense to be billed to the client.
tax_name1string
tax_rate1number
transaction_referencestringReceipt / transaction reference.
vendor_idstringVendor (hashed id).

invoiceninja_create_task Create a task / log time

Create a task, optionally with logged time entries, for a client or project. Invoice Ninja: POST /api/v1/tasks.

ParameterTypeDescription
description *stringWhat the work was.
client_idstringClient (hashed id).
due_datestringDue date, YYYY-MM-DD.
project_idstringProject (hashed id).
ratenumberHourly rate; omit to use the project/client default.
time_logarrayTime entries. Entries must not overlap.

invoiceninja_create_project Create a project

Create a project for a client, with an optional hourly task rate, budget and due date. Invoice Ninja: POST /api/v1/projects.

ParameterTypeDescription
client_id *stringThe client's hashed id, e.g. "Wpmbk5ezJn".
name *stringProject name.
budgeted_hoursnumber
colorstringHex color, e.g. "#1f77b4".
due_datestringDue date, YYYY-MM-DD.
private_notesstring
public_notesstring
task_ratenumberHourly rate for tasks in this project (default 0 = inherit).