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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document id. |