Skip to main content
GET
List invoices (local custom invoices merged with Stripe invoices)
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

GET /billing/invoices Combines locally-stored custom TenantInvoice rows with live Stripe invoices for the tenant’s Stripe customer, normalizes both shapes, and sorts by createdAt descending. Authorization:
  • Required role: admin or higher

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Query Parameters

limit
integer
default:50

Max number of Stripe invoices to fetch (local invoices are not limited).

Response

Invoices retrieved

status
string
Example:

"success"

data
object[]