Read an invoice
invoices_getRead one invoice of a company whole - its contact, dates, status, values and items - live from FreeAgent, Xero, QuickBooks or Zoho Books. A Xero invoice carries Xero's own fields and the files attached to it under attachments, each with the id attachments_get reads it by. A QuickBooks invoice carries QuickBooks' own fields, its Id answered as id, and the files attached to it under attachments, each with the id attachments_get reads it by. A Zoho Books invoice carries Zoho's own fields, its invoice_id answered as id, and the files attached to it under documents, each with the id attachments_get reads it by. A company that could not be read stands under unread with why, as bank_accounts_list answers it.
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": {
"company": "<company>",
"invoice": "<invoice>"
},
"name": "invoices_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company | Yes | The id companies_list gives the company. | |
| invoice | Yes | The invoice's id, as invoices_list answers it. |