Get a quote or invoice
One quote or invoice in full, by invoice_id or number: lines, totals, taxes, payments, history, its page and a fresh PDF link.
Free*
*Free up to 1,000,000 reads a month for the whole account, then $0.50 per 10,000 reads.
An example
Show me invoice INV-0042 with its payments.
Your agent callsinvoices_getFree*
The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.
{
"number": "INV-0042"
}Use it when
A customer asks about a document, or before recording a payment.
What it does
One quote, invoice or credit note in full: lines with their amounts, totals and taxes, payments, credit notes, history, its public page and a fresh PDF link. Find it by invoice_id, or by number (with kind if documents of two kinds share it).
What comes back
The document in full: customer, lines, totals and taxes, payments, balance, history, its public page and a PDF link. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
invoice_id | string | The invoice_id invoices_create returned (quotes and credit notes have one too). Exactly 36 characters. |
number | string | e.g. "INV-0042". Up to 40 characters. |
kind | string | One of: quote,invoice,credit_note. |
link_hours | integer | How long the PDF download link works, in hours (up to 168). 1 to 168. Default: 24. |
The call
Over MCP, call invoices_get on https://api.conecto.chat/mcp/invoices. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/invoices_get \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"number":"INV-0042"}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
not_found404 | No quote or invoice of the business has that invoice_id. | Find it with invoices_list and use its invoice_id. |
invalid_input400 | Neither invoice_id nor number was given. | Send one of the two. |
ambiguous409 | A quote and an invoice share that number. | Give kind as well. |
More Invoices tools
All 24 tools- Set the business details
invoices_set_profileSets the business details on quotes and invoices: name, country, address, tax ID, logo, terms, tax, numbering, how to pay and legal notes.$0.001 a call - Get the business details
invoices_get_profileThe business details on quotes and invoices, the next numbers, and what is missing before documents can be sent.Free* - Connect Stripe for invoices
invoices_connect_stripeConnects the business's own Stripe account with a restricted key, so invoices can be paid online; the money goes straight to the business.$0.001 a call - Create a quote or invoice
invoices_createCreates a draft quote or invoice: the customer, the lines, the currency and the dates.$0.01 a call - Change a draft
invoices_updateChanges a draft quote or invoice; customer and lines replace the old ones.$0.01 a call - Send a quote or invoice
invoices_sendSends a draft: it gets the next number, its PDF is made, and the customer is emailed a link to view, pay or accept it.$0.10 a call - List quotes and invoices
invoices_listQuotes and invoices, newest first, by kind, status (also overdue, unpaid and expired), customer and issue date.Free* - Turn a quote into an invoice
invoices_convert_quoteTurns an accepted quote into a draft invoice with the same customer and lines.$0.01 a call
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md