Invoice Ninja MCP by usefulapi
v1.41.1Manage 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.
| Parameter | Type | Description |
|---|---|---|
balance | string | Balance comparison "op:value", op one of lt, lte, gt, gte, eq, e.g. "gt:0". |
email | string | Only the client with a contact at this email. |
filter | string | Free-text search across name, id number, contact names/emails/phones and custom fields. |
name | string | Only clients whose name matches. |
number | string | Only the client with this client number. |
page | integer | Page number, starting at 1. |
per_page | integer | Records per page, 1-100 (API default 20). |
sort | string | Sort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc". |
status | string | Comma-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}.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
client_id | string | Only records for this client (hashed id). |
client_status | string | Comma-separated payment status: all, paid, unpaid, overdue. |
date_range | string | Invoice-date range "YYYY-MM-DD,YYYY-MM-DD". |
filter | string | Free-text search across number, PO number, date, amount, balance, client name/contacts and line items. |
number | string | Only the invoice with this number. |
page | integer | Page number, starting at 1. |
per_page | integer | Records per page, 1-100 (API default 20). |
sort | string | Sort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc". |
status | string | Comma-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}.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
client_id | string | Only records for this client (hashed id). |
client_status | string | Comma-separated quote status: all, draft, sent, approved, expired, upcoming. |
filter | string | Free-text search across number and custom fields. |
number | string | Only the quote with this number. |
page | integer | Page number, starting at 1. |
per_page | integer | Records per page, 1-100 (API default 20). |
sort | string | Sort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc". |
status | string | Comma-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}.
| Parameter | Type | Description |
|---|---|---|
quote_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
filter | string | Free-text search across product name. |
page | integer | Page number, starting at 1. |
per_page | integer | Records per page, 1-100 (API default 20). |
product_key | string | Only the product with this product key. |
sort | string | Sort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc". |
status | string | Comma-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.
| Parameter | Type | Description |
|---|---|---|
client_id | string | Only records for this client (hashed id). |
filter | string | Free-text search across amount, date and custom fields. |
number | string | Only the payment with this number. |
page | integer | Page number, starting at 1. |
per_page | integer | Records per page, 1-100 (API default 20). |
sort | string | Sort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc". |
status | string | Comma-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.
| Parameter | Type | Description |
|---|---|---|
client_id | string | Only records for this client (hashed id). |
client_status | string | Comma-separated: all, logged, pending, invoiced, uninvoiced, paid, unpaid. |
filter | string | Free-text search across expense fields. |
number | string | Only the expense with this number. |
page | integer | Page number, starting at 1. |
per_page | integer | Records per page, 1-100 (API default 20). |
sort | string | Sort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc". |
status | string | Comma-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.
| Parameter | Type | Description |
|---|---|---|
filter | string | Free-text search across vendor name and contacts. |
number | string | Only the vendor with this number. |
page | integer | Page number, starting at 1. |
per_page | integer | Records per page, 1-100 (API default 20). |
sort | string | Sort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc". |
status | string | Comma-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.
| Parameter | Type | Description |
|---|---|---|
client_id | string | Only records for this client (hashed id). |
client_status | string | Comma-separated: all, invoiced, uninvoiced, is_running, overdue. |
filter | string | Free-text search across task description and custom fields. |
number | string | Only the task with this number. |
page | integer | Page number, starting at 1. |
per_page | integer | Records per page, 1-100 (API default 20). |
sort | string | Sort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc". |
status | string | Comma-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.
| Parameter | Type | Description |
|---|---|---|
client_id | string | Only records for this client (hashed id). |
filter | string | Free-text search across project name and notes. |
number | string | Only the project with this number. |
page | integer | Page number, starting at 1. |
per_page | integer | Records per page, 1-100 (API default 20). |
sort | string | Sort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc". |
status | string | Comma-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.
| Parameter | Type | Description |
|---|---|---|
client_id | string | Only records for this client (hashed id). |
client_status | string | Comma-separated: all, active, paused, completed. |
number | string | Only the recurring invoice with this number. |
page | integer | Page number, starting at 1. |
per_page | integer | Records per page, 1-100 (API default 20). |
sort | string | Sort as "column|asc" or "column|desc", e.g. "number|desc" or "balance|desc". |
status | string | Comma-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.
| Parameter | Type | Description |
|---|---|---|
address1 | string | |
address2 | string | |
city | string | |
contacts | array | People at the client; the first is the primary contact. |
country_id | string | Country as its ISO 3166-1 NUMERIC code, as a string, e.g. "840" (US), "826" (UK), "276" (DE). |
id_number | string | Your own id / registration number for this client. |
name | string | Client company / display name. |
phone | string | |
postal_code | string | |
private_notes | string | |
public_notes | string | |
state | string | |
vat_number | string | |
website | string |
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}.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | The client's hashed id, e.g. "Wpmbk5ezJn". |
address1 | string | |
address2 | string | |
city | string | |
contacts | array | Full replacement contact list. |
country_id | string | Country as its ISO 3166-1 NUMERIC code, as a string, e.g. "840" (US), "826" (UK), "276" (DE). |
id_number | string | Your own id / registration number for this client. |
name | string | Client company / display name. |
phone | string | |
postal_code | string | |
private_notes | string | |
public_notes | string | |
state | string | |
vat_number | string | |
website | string |
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.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | The client's hashed id, e.g. "Wpmbk5ezJn". |
date | string | Document date, YYYY-MM-DD. |
discount | number | Document-level discount (amount or percent). |
due_date | string | Due date (valid-until for quotes), YYYY-MM-DD. |
footer | string | Footer text. |
is_amount_discount | boolean | true = discount is an amount; false = a percentage. |
line_items | array | Line items. On update this REPLACES all existing lines. |
number | string | Document number. Omit to let Invoice Ninja assign the next one. |
partial | number | Deposit / partial amount due first. |
partial_due_date | string | Due date of the partial amount, YYYY-MM-DD. |
po_number | string | Purchase order number. |
private_notes | string | Internal notes, not shown to the client. |
project_id | string | Link to a project (hashed id). |
public_notes | string | Notes shown to the client. |
tax_name1 | string | Document-level tax name. |
tax_rate1 | number | Document-level tax rate in percent. |
terms | string | Terms 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}.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | string | The invoice's hashed id, e.g. "Wpmbk5ezJn". |
date | string | Document date, YYYY-MM-DD. |
discount | number | Document-level discount (amount or percent). |
due_date | string | Due date (valid-until for quotes), YYYY-MM-DD. |
footer | string | Footer text. |
is_amount_discount | boolean | true = discount is an amount; false = a percentage. |
line_items | array | Line items. On update this REPLACES all existing lines. |
number | string | Document number. Omit to let Invoice Ninja assign the next one. |
partial | number | Deposit / partial amount due first. |
partial_due_date | string | Due date of the partial amount, YYYY-MM-DD. |
po_number | string | Purchase order number. |
private_notes | string | Internal notes, not shown to the client. |
project_id | string | Link to a project (hashed id). |
public_notes | string | Notes shown to the client. |
tax_name1 | string | Document-level tax name. |
tax_rate1 | number | Document-level tax rate in percent. |
terms | string | Terms 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.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | string | The invoice's hashed id, e.g. "Wpmbk5ezJn". |
email_type | string | Which 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.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | The client's hashed id, e.g. "Wpmbk5ezJn". |
date | string | Document date, YYYY-MM-DD. |
discount | number | Document-level discount (amount or percent). |
due_date | string | Due date (valid-until for quotes), YYYY-MM-DD. |
footer | string | Footer text. |
is_amount_discount | boolean | true = discount is an amount; false = a percentage. |
line_items | array | Line items. On update this REPLACES all existing lines. |
number | string | Document number. Omit to let Invoice Ninja assign the next one. |
partial | number | Deposit / partial amount due first. |
partial_due_date | string | Due date of the partial amount, YYYY-MM-DD. |
po_number | string | Purchase order number. |
private_notes | string | Internal notes, not shown to the client. |
project_id | string | Link to a project (hashed id). |
public_notes | string | Notes shown to the client. |
tax_name1 | string | Document-level tax name. |
tax_rate1 | number | Document-level tax rate in percent. |
terms | string | Terms 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.
| Parameter | Type | Description |
|---|---|---|
quote_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Expense amount. |
category_id | string | Expense category (hashed id). |
client_id | string | Client to re-bill (hashed id). |
currency_id | string | Currency id as a string, e.g. "1" (USD). Omit for the company default. |
date | string | Expense date, YYYY-MM-DD. |
payment_date | string | Date it was paid, YYYY-MM-DD. |
private_notes | string | |
project_id | string | Project (hashed id). |
public_notes | string | Description. |
should_be_invoiced | boolean | Flag the expense to be billed to the client. |
tax_name1 | string | |
tax_rate1 | number | |
transaction_reference | string | Receipt / transaction reference. |
vendor_id | string | Vendor (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.
| Parameter | Type | Description |
|---|---|---|
description * | string | What the work was. |
client_id | string | Client (hashed id). |
due_date | string | Due date, YYYY-MM-DD. |
project_id | string | Project (hashed id). |
rate | number | Hourly rate; omit to use the project/client default. |
time_log | array | Time 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.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | The client's hashed id, e.g. "Wpmbk5ezJn". |
name * | string | Project name. |
budgeted_hours | number | |
color | string | Hex color, e.g. "#1f77b4". |
due_date | string | Due date, YYYY-MM-DD. |
private_notes | string | |
public_notes | string | |
task_rate | number | Hourly rate for tasks in this project (default 0 = inherit). |