Bills
List bills
The List bills endpoint returns a list of bills for a given company's connection.
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.
get/companies/{companyId}/data/bills
Query parameters
pageinteger
Example:1
Page number. Read more.
pageSizeinteger
Example:100
Number of records to return in a page. Read more.
querystring
Codat query string. Read more.
orderBystring
Example:-modifiedDate
Field to order results by. Read more.
Response
Success
Example response
{
"_links": {
"pageNumber": 1,
"pageSize": 10,
"totalResults": 1,
"self": {
"href": "/companies/{id}/data/{dataType}"
},
"current": {
"href": "/companies/{id}/data/{dataType}?page=1&pageSize=10"
}
}
}