Get document
get_documentGet one document by id, with totals, status, line items, contact and money direction. Accepts any document id this business owns — including the invoice, quote and credit-note ids returned by list_documents and list_invoices. Find the id yourself with list_documents (query by number or contact); never ask the user for an id. A document's totals are its header $total and $vat; a line's $linetotal is before VAT and before any header discount, and its $salestaxes carry its tax, so never add lines up to quote a document's total or VAT.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document id. |