Get an invoice
get_invoiceUse this when the user asks about one sales invoice by number or id: its lines, total, VAT, balance or status ("show me INV-0042"). One invoice by invoice_id or invoice_number: client name and TRN, lines, subtotal, VAT, total, amounts paid and credited, balance (remaining), status, due date, and app_url, a link that opens it in Fatura Go for the signed-in user. No client contact details. Do not use it to list several invoices (list_invoices) or to change one (update_draft_invoice).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | No | ||
| business_id | No | From list_businesses. May be left out: the invoice is then looked up in every business shared with this connection. | |
| invoice_number | No |