List invoices
Retrieves a paginated list of invoices for a specific customer, with flexible filtering options to narrow results by status, date range, credit type, and more. This endpoint provides a comprehensive view of a customer’s billing history and current charges, supporting both real-time billing dashboards and historical reporting needs.
Use this endpoint to:
- Display historical invoice details in customer-facing dashboards or billing portals.
- Retrieve current month draft invoices to show customers their month-to-date spend.
- Access finalized invoices for historical billing records and payment reconciliation.
- Validate customer pricing and credit applications for customer support queries.
- Generate financial reports by filtering invoices within specific date ranges
Key response fields:
Array of invoice objects containing:
- Invoice ID and status (DRAFT, FINALIZED, VOID)
- Invoice type (USAGE, SCHEDULED)
- Billing period start and end dates
- Issue date and due date
- Total amount, subtotal, and amount due
- Applied credits summary
- Contract ID reference
- External billing provider status (if integrated with Stripe, etc.)
- Pagination metadata
next_pagecursor
Usage guidelines:
- The endpoint returns invoice summaries; use the Get Invoice endpoint for detailed line items
- Draft invoices are continuously updated as new usage is reported and will show real-time spend
- Results are ordered by creation date descending by default (newest first)
- When filtering by date range, the filter applies to the billing period, not the issue date
- For customers with many invoices, implement pagination to ensure all results are retrieved External billing provider statuses (like Stripe payment status) are included when applicable
- Voided invoices are included in results by default unless filtered out by status
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
Max number of results that should be returned
1 <= x <= 100Cursor that indicates where the next page of results should start.
Invoice status, e.g. DRAFT, FINALIZED, or VOID
Filter invoices by type. Defaults to returning all invoice types.
USAGE, USAGE_CONSOLIDATED, SCHEDULED If set, all zero quantity line items will be filtered out of the response
Invoice sort order by issued_at, e.g. date_asc or date_desc. Defaults to date_asc.
date_asc, date_desc Only return invoices for the specified credit type
Only return invoices for the specified contract
RFC 3339 timestamp (inclusive). Invoices will only be returned for billing periods that start at or after this time.
RFC 3339 timestamp (exclusive). Invoices will only be returned for billing periods that end before this time.