Billing
Get Billing Data
Retrieve invoices and payment status for your organization
GET
Get Billing Data
Get Billing Data
Retrieve invoices and payment history for your organization with pagination support. This endpoint returns billing records including invoice amounts, currency, payment status, and invoice dates.Prerequisites: Make sure you have your API Token and Org-Handle ready. See Authentication for details.
Headers
You can get the
Org-Handle by hitting the Get All Organizations API. The domain_handle field in the response is your Org-Handle.Query Parameters
Response Fields
Invoice Object Fields
Common Error Codes
Code Examples
Best Practices
- Pagination: Use
pageandpage_sizeto retrieve billing records in manageable chunks - Status Monitoring: Watch for
pendingorfailedinvoice statuses that may require action - Currency Handling: Always check the
currencyfield before displaying amounts to users - Org-Handle: Ensure the correct organization handle is used for accurate billing records
- Reconciliation: Use
invoice_datealongsideidfor billing reconciliation workflows - Security: Keep API tokens secure and rotate them regularly
Get Billing Data