attachments

Get list of invoice attachments

Changed on

Get a list of attachments associated with an invoice.

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

curl '{downloadLink}' --header 'sessionId: {session_id}' --output {attachment_name}
get/v3/attachments/invoices/{invoiceId}

Request

  • Base URL
    https://gateway.stage.bill.com/connect
  • URL
    https://gateway.stage.bill.com/connect/v3/attachments/invoices/{invoiceId}
  • Auth
    none declared

Path parameters

invoiceIdstring required

BILL-generated ID of the invoice. The value begins with 00e.

Example:{{invoice_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 invoice attachments response

nextPagestring
prevPagestring

Changes