action codat_get_bill { label: "Get bill" description: "Get bill" provider: codat method: GET path: "/companies/{companyId}/data/bills/{billId}" encoding: json output: { type: "object" description: "> **Invoices or bills?**\n>\n> In Codat, bills are for accounts payable only. For the accounts receivable equivalent of bills, see [Invoices](https://docs.codat.io/accounting-api#/schemas/Invoice).\n\nView the coverage for bills in the Data coverage explorer.\n\n## Overview\n\nIn Codat, a bill contains details of:\n* When the bill was recorded in the accounting system.\n* How much the bill is for and the currency of the amount.\n* Who the bill was received from — the *supplier*.\n* What the bill is for — the *line items*.\n\nSome accounting platforms give a separate name to purchases where the payment is made immediately, such as something bought with a credit card or online payment. One example of this would be QuickBooks Online's *expenses*.\n\nYou can find these types of transactions in our [Direct costs](https://docs.codat.io/accounting-api#/schemas/DirectCost) data model." required: ["issueDate", "status", "subTotal", "taxAmount", "totalAmount"] } }