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.

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

Bills required— unresolved $ref

Changes

Changed in 2 of the 52 revisions of this API.38

    • the response property allOf[subschema #1]/results/items/allOf[subschema #1]/lineItems/items/accountRef became nullable for the status 200

      response-property-became-nullable

    • the response property allOf[subschema #1]/results/items/allOf[subschema #1]/lineItems/items/quantity became optional for the status 200

      response-property-became-optional

    • the response property allOf[subschema #1]/results/items/allOf[subschema #1]/lineItems/items/unitAmount became optional for the status 200

      response-property-became-optional

    • added created to the allOf[subschema #1]/results/items/allOf[subschema #1]/dueDate response property allOf list for the response status 200

      response-property-all-of-added

    • added created to the allOf[subschema #1]/results/items/allOf[subschema #1]/issueDate response property allOf list for the response status 200

      response-property-all-of-added

    • added created to the allOf[subschema #1]/results/items/allOf[subschema #2: Modified dates]/allOf[subschema #1: ModifiedDate]/modifiedDate response property allOf list for the response status 200

      response-property-all-of-added

    • added created to the allOf[subschema #1]/results/items/allOf[subschema #2: Modified dates]/allOf[subschema #2: Source Modified Date]/sourceModifiedDate response property allOf list for the response status 200

      response-property-all-of-added

    • removed created from the allOf[subschema #1]/results/items/allOf[subschema #1]/dueDate response property allOf list for the response status 200

      response-property-all-of-removed

    • removed created from the allOf[subschema #1]/results/items/allOf[subschema #1]/issueDate response property allOf list for the response status 200

      response-property-all-of-removed

    • removed created from the allOf[subschema #1]/results/items/allOf[subschema #2: Modified dates]/allOf[subschema #1: ModifiedDate]/modifiedDate response property allOf list for the response status 200

      response-property-all-of-removed

    • removed created from the allOf[subschema #1]/results/items/allOf[subschema #2: Modified dates]/allOf[subschema #2: Source Modified Date]/sourceModifiedDate response property allOf list for the response status 200

      response-property-all-of-removed