Skip to navigation

get_invoices

Read, search or preview invoices. PDF, UBL and e-invoice documents

Live server: available on mcp.solvimon.com as well as on the test server.

Read-only access to invoices and their documents. Invoice status flow: DRAFT → OPEN → FINAL → PAID / CREDIT.

Actions: list, get, search, preview, download_url, ubl, e_invoice, payments

Resource types: invoices, payments, payment_schedules, e_invoicing_mandates (for payments, prefer get_payments)

  • Search by invoice number with an unnamed term: {"value": "INV-2026-10-000044"}. Date and amount ranges are closed intervals of full timestamps, e.g. [2026-10-01T00:00:00Z,2026-10-31T23:59:59Z].
  • preview estimates an invoice without creating anything. For a quote’s first invoice, pass template_pricing_plan_subscription_id and start_at. With end_at it previews every invoice over the term.
  • download_url returns a PDF link valid for 60 minutes. A non-FINAL invoice gives a provisional PDF without a number.
  • ubl and e_invoice return the e-invoice document.
Preview a quote's first invoice
{
"action": "preview",
"resource_type": "invoices",
"body": {
"template_pricing_plan_subscription_id": "ppsu_Lw6nQx3TmR8vKb2YcPd19",
"start_at": "2026-12-01T00:00:00Z"
}
}

Example prompts

  • “Which invoices are past their due date and still unpaid?”
  • “Find invoice INV-2026-10-000044 and give me a PDF link.”
  • “What will Acme’s first invoice look like if their quote starts on the first of next month?”
  • “Which of Acme Inc.’s draft invoices are on hold?”
  • “Show me the e-invoice we sent for Acme’s latest invoice.”

Example output

Prompt: “Which invoices are past their due date and still unpaid?”

Tool call:

{
"action": "search",
"resource_type": "invoices",
"body": {
"filter_fields": [
{"name": "paid", "value": "false"},
{"name": "status", "value": "FINAL"}
]
},
"filter": {"order_by": "due_date", "order_direction": "asc", "limit": "5"}
}

Response (trimmed):

{
"data": [
{
"id": "invo_IwD67G0vzh7c5cCs2N1N",
"invoice_number": "INV-2026-09-000001",
"customer_reference": "acme",
"customer": {"organization": {"legal_name": "Acme Inc."}},
"type": "STANDARD",
"status": "FINAL",
"payment_status": "UNPAID",
"due_date": "2026-10-15T00:00:00+02:00",
"open_invoice_amount": {"quantity": "21780.00", "currency": "EUR"},
"desk_url": "https://test.desk.solvimon.com/plat_YwDsM40vxDPmp2CYio1I/invoices/invo_IwD67G0vzh7c5cCs2N1N"
},
{
"id": "invo_jwD6720vzh9nx8CnuP18",
"invoice_number": "INV-2026-10-000002",
"customer_reference": "zz_mcp_test_cust_b",
"type": "STANDARD",
"status": "FINAL",
"payment_status": "UNPAID",
"due_date": "2026-10-15T00:00:00Z",
"open_invoice_amount": {"quantity": "3630.00", "currency": "EUR"}
}
]
}

Claude’s answer: Two invoices are past due and unpaid, EUR 25,410.00 in total: INV-2026-09-000001 for Acme Inc. (EUR 21,780.00) and INV-2026-10-000002 (EUR 3,630.00), both due on 15 October. The search also returned a one-off invoice and the credit note that cancels it, so I left those out. Check the bank reconciliation before chasing: a payment may have arrived without being matched yet.