documents

Get list of documents

Changed on

Get a list of documents associated with a bill.

From the response, use downloadLink in a GET request to download the document.

curl '{downloadLink}' --header 'sessionId: {session_id}' --output {document_name}
get/v3/documents/bills/{billId}

Request

  • Base URL
    https://gateway.stage.bill.com/connect
  • URL
    https://gateway.stage.bill.com/connect/v3/documents/bills/{billId}
  • Auth
    none declared

Path parameters

billIdstring required

BILL-generated ID of the bill. The value begins with 00n.

Example:{{bill_id}}

Query parameters

maxinteger nullable

Maximum number of results

Example:10
pagestring nullable

Next page of results.

When a list has multiple pages, the nextPage and prevPage values in the response enable you to navigate between the pages of results. Set page as the nextPage or prevPage value for navigation.

Headers

sessionIdstring nullable

API session ID generated with /v3/login

Example:{{session_id}}
devKeystring nullable

Developer key generated with your BILL developer account

Example:{{developer_key}}

Response

Get list of documents response

nextPagestring
prevPagestring

Changes