Bills

Get bill information in ledger form

Changed on

Get the ledger view of bills for a single customer.

get/v1/Bills/ledger

Request

Query parameters

params.customer_idinteger

Identifies the customer you wish to retrieve bills for.

params.page_sizeinteger

Specifies which page to display (i.e. 3rd page of 50 items out of 1000 items)

params.start_indexinteger

Specifies the record index to start from (zero-based), ordered newest to oldest. Note: this is not the starting page (i.e. a value of 2 would start you on the third bill in the overall list and then list the next X number of bills as defined by the page_size parameter).

Response

OK

has_moreboolean

Helper for pagination. Indicates there are more records returned.

record_countinteger

Total number of records found by the search.

Changes

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type text/html for the response with the status

    • breaking

      removed the media type text/json for the response with the status

    • info

      api operation id GETv1_Bills_ledger-customer_id-customer_id-page_size-page_size-start_index-s removed and replaced with GETv1_Bills_ledger?customer_id=customer_id&page_size=page_size&start_index=start_index