Read a bill
bills_getRead one bill of a company whole - its contact, dates, status, values and items, and on FreeAgent the attachment holding its receipt, which attachments_get reads - live from FreeAgent, Xero, QuickBooks or Zoho Books. A Xero bill carries Xero's own fields and the files attached to it under attachments, each with the id attachments_get reads it by. A QuickBooks bill 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 bill carries Zoho's own fields, its bill_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>",
"bill": "<bill>"
},
"name": "bills_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bill | Yes | The bill's id, as bills_list answers it. | |
| company | Yes | The id companies_list gives the company. |