Skip to main content
GET
List Invoices

List Invoices

Returns a paginated list of invoices for the currently authenticated customer. Supports filtering by payment status and whether to include credit notes.

Authentication

This endpoint requires an authenticated customer session.

Query Parameters

boolean
When true, returns only paid invoices. When false, returns only unpaid invoices. Omit to return all invoices.
boolean
When true, includes credit notes in the result set.
string
Comma-separated list of field paths to include in the response. When provided, only the specified fields are returned — useful for reducing payload size. Supports nested paths using dot notation. Example: _shape=Records.InvoiceNumber,Records.TotalAmount,Records.Paid,TotalItems.

Response

Returns an ApiListResult<InvoicePreview> object.

Pagination

number
The current page number.
number
Number of records in the current page.
number
Total number of invoices matching the query.
number
Total number of available pages.
boolean
Whether there is a next page.
boolean
Whether there is a previous page.

Records

Each item in Records follows the InvoicePreview shape. Key fields:
number
Unique identifier of the invoice.
string
Globally unique identifier of the invoice.
string
Human-readable invoice number as shown to the customer.
boolean
Whether the invoice has been fully paid.
string
ISO 8601 datetime when the invoice was paid (if applicable).
string
ISO 8601 date the invoice is due.
boolean
Whether the invoice is still a draft.
boolean
Whether this document is a credit note rather than a standard invoice.
number
Grand total of the invoice in the invoice currency.
number
Amount still outstanding.
string
Pre-formatted total string (e.g. "$199.00").
object
Currency object with fields: Code, Name, Format.
string
Web address of the location that issued the invoice. Used to construct PDF download links.
string
ISO 8601 datetime when the invoice was created (local time).

Example Response

Usage in Portal

This endpoint is used in two places:
  1. My Invoices section – lists all invoices grouped by paid/unpaid status.
    • File: src/views/user/activity/invoices/useInvoicesData.tsx
  2. Onboarding action panel – surfaces unpaid invoices to prompt the member to complete payment.
    • File: src/views/user/dashboards/personal/components/OnBoarding/components/UnpaidInvoicesActionPanel.tsx

Typical integration pattern

  • GET /api/public/billing/invoices/{invoiceId} – Retrieve a single invoice by ID
  • GET /api/public/billing/invoices/{invoiceId}/pdf – Download invoice as PDF

Error Responses

error
The current user is not authenticated.