Bills
Get bill
Changed onThe Get bill endpoint returns a single bill for a given billId.
Bills are invoices that represent the SMB's financial obligations to their supplier for a purchase of goods or services.
Before using this endpoint, you must have retrieved data for the company.
Tips and traps
To access the paymentAllocations property, ensure that the billPayments data type is queued and cached in Codat before retrieving bills from Codat's cache.
get/companies/{companyId}/data/bills/{billId}
Request
- Base URLhttps://api.codat.io
- AuthAPI key in header Authorization
Response
Success
Changes
- breaking
the response property
///became nullable for the status - breaking
the response property
///became optional for the status - breaking
the response property
///became optional for the status
- breaking
- warning
added the new
billsenum value to the/////response property for the response status
- warning