organizations

Get billing statement details

Changed on

Get details about a billing statement for the organization. BILL generates a monthly billing invoice statement for all the billing activities in the organization.

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

curl '{downloadLink}' --header 'sessionId: {session_id}' --output {statement_name}
get/v3/organizations/{organizationId}/billing-statements/{billingStatementId}

Request

  • Base URL
    https://gateway.stage.bill.com/connect
  • URL
    https://gateway.stage.bill.com/connect/v3/organizations/{organizationId}/billing-statements/{billingStatementId}
  • Auth
    none declared

Path parameters

organizationIdstring required

BILL-generated ID of the organization. The value begins with 008.

Example:{{organization_id}}
billingStatementIdstring required

BILL-generated ID of the billing statement. The value begins with 0S0.

Example:{{billing_statement_id}}

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 billing statement details response

idstring required

BILL-generated ID of the billing statement. The value begins with 0S0.

invoiceNumberstring required

Billing invoice number

invoiceDatestring date required

Billing invoice date

descriptionstring required

Billing invoice description

paymentStatus'UNPAID' | 'PAID' | 'PENDING' | 'FAILED' | 'VOIDED' | 'UNDEFINED' required

Billing invoice payment status

paymentDatestring date

Billing invoice payment date

amountnumber required

Billing invoice amount

Changes