List invoices
List invoices
Returns a paginated list of invoices for the authenticated merchant, filterable by status, date range, app and payment/LNURL request ids.
Auth
x-api-key header with Merchant.invoice.read. Also accepts JWT user and limited JWT user tokens.
Filtering conventions
Statususes enum-filter syntax: a bare value (new) or an operator form such asin:new,complete.start_at/end_atmust be supplied together (each requires the other) and are parsed as date-times.includeselects extra attributes to embed in each invoice (repeatable / array).sortaccepts one or more of the allowed order fields.- Pagination via
page(default 1) andper_page(default 10).
Notas: FilterInvoiceDto extends FilterDateDto (which extends PaginationDto), so date-range and pagination params are inherited. Field names are PascalCase to match the Prisma Invoices model.
Authentication
Headers
Scope the request to a specific store / account instead of the one resolved from the API key. Aliases: the x-account-id header, or the application_account_id / account_id query parameter.
Query parameters
Start of the Created date range (ISO 8601). Must be sent together with end_at — supplying only one is a validation error.
End of the Created date range (ISO 8601). Must be sent together with start_at.
Filter by checkout invoice status.
Allowed values: new, invalid, expired, complete, paid
Allowed operators: equals, in, not, notIn
Formats: value (defaults to equals), operator:value, operator|value, a comma-separated list for in / notIn (in:a,b), or a JSON object ({"in":["a","b"]}).
Return only archived (true) or unarchived (false) charges.
Return only charges belonging to this app / terminal.
Return only charges generated by this LNURL-pay request.
Sort by one or more fields, comma-separated.
Allowed fields: Status, Created, AppId, PaymentRequestId, Archived
Formats: field (ascending by default), +field, -field, field:asc, field:desc (| also works as the separator).
Extra attributes to embed in each charge. Repeat the parameter to request several.
Allowed values: buyer.all, buyer.contact, pos_data, pos_data.json, summary, app, refund
