Skip to main content

Get Invoices

GET 

/api/billing/invoices

Get invoices for the current tenant.

Invoices joined with the lead row; invoices whose linked lead has been soft-deleted are filtered out so the frontend never has to fetch lead details after the list query.

Args: customer_id: Optional customer ID filter subscription_id: Optional subscription ID filter status: Optional status filter (paid, open, void, etc.) start_date: Optional start datetime filter (ISO format, timezone-aware) end_date: Optional end datetime filter (ISO format, timezone-aware)

Returns: List of invoices enriched with lead_name, customer_name, and customer_email.

Request

Responses

Successful Response