v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-081445491.8 MB
Invoice

List invoices summary

This is a lighter-weight endpoint that returns a list of all Invoice summaries for an account in a list format.

These invoice summaries do not include line item details, minimums, maximums, and discounts, making this endpoint more efficient.

The list of invoices is ordered starting from the most recently issued invoice date. The response also includes pagination_metadata, which lets the caller retrieve the next page of results if they exist.

By default, this only returns invoices that are issued, paid, or synced.

When fetching any draft invoices, this returns the last-computed invoice values for each draft invoice, which may not always be up-to-date since Orb regularly refreshes invoices asynchronously.

get/invoices/summary

Query parameters

customer_idstring nullable
external_customer_idstring nullable
subscription_idstring nullable
status'draft' | 'issued' | 'paid' | 'synced' | 'void' nullable
status[]string[] nullable
due_date_windowstring nullable

Filters invoices by their due dates within a specific time range in the past. Specify the range as a number followed by 'd' (days) or 'm' (months). For example, '7d' filters invoices due in the last 7 days, and '2m' filters those due in the last 2 months.

date_type'due_date' | 'invoice_date' nullable
due_datestring date nullable
due_date[gt]string date nullable
due_date[lt]string date nullable
amountstring nullable
amount[gt]string nullable
amount[lt]string nullable
is_recurringboolean nullable
limitinteger

The number of items to fetch. Defaults to 20.

cursorstring nullable

Cursor for pagination. This can be populated by the next_cursor value returned from the initial request.

invoice_date[gte]string date-time nullable
invoice_date[gt]string date-time nullable
invoice_date[lt]string date-time nullable
invoice_date[lte]string date-time nullable

Response

OK

Example response

{
  "data": [
    {
      "amount_due": "8.00",
      "created_at": "2022-05-01T07:01:31+00:00",
      "currency": "USD",
      "due_date": "2022-05-30T07:00:00+00:00",
      "invoice_pdf": "https://assets.withorb.com/invoice/rUHdhmg45vY45DX/qEAeuYePaphGMdFb",
      "invoice_number": "JYEFHK-00001",
      "subscription": {
        "id": "VDGsT23osdLb84KD"
      },
      "total": "8.00",
      "customer_balance_transactions": [
        {
          "id": "cgZa3SXcsPTVyC4Y",
          "created_at": "2022-05-01T07:01:31+00:00",
          "starting_balance": "33.00",
          "ending_balance": "22.00",
          "amount": "11.00",
          "description": "An optional description",
          "invoice": {
            "id": "gXcsPTVyC4YZa3Sc"
          }
        }
      ],
      "credit_notes": [
        {
          "voided_at": "2022-05-01T07:01:31+00:00"
        }
      ],
      "payment_attempts": [
        {
          "receipt_pdf": "https://assets.withorb.com/receipt/rUHdhmg45vY45DX/qEAeuYePaphGMdFb"
        }
      ],
      "invoice_date": "2022-05-01T07:00:00+00:00"
    }
  ]
}