Invoice detail


The /reports/invoices-detail endpoint returns detailed invoice records for a specific customer, including line items and payment information.

GET /reports/invoices-detail

Query parameters

ParameterTypeDescription
customerstringCustomer external ID to retrieve invoices for.
baseCurrencystringTarget currency for conversion. Defaults to account base currency.

Example response

200 OK
{
"result": {
"list": [
{
"invoice_ref": "in_abc123",
"invoice_number": "INV-2025-001",
"invoice_date": "2025-01-01",
"invoice_status": "paid",
"payment_date": "2025-01-01",
"customer_id": "cus_123",
"customer_name": "Acme Corp",
"customer_email": "[email protected]",
"description": "Pro Plan",
"currency": "usd",
"total": 9900,
"total_base_currency": 9900,
"transaction_count": 1,
"lines": [
{
"description": "Pro Plan - Monthly",
"amount": 9900,
"quantity": 1,
"period_start": "2025-01-01",
"period_end": "2025-02-01"
}
]
}
]
}
}

Response fields

FieldTypeDescription
invoice_refstringInvoice reference ID from billing source
invoice_numberstringInvoice number
invoice_datestringInvoice date
invoice_statusstringPayment status
payment_datestringDate payment was received
customer_idstringCustomer external ID
customer_namestringCustomer name
customer_emailstringCustomer email
descriptionstringInvoice description
currencystringOriginal invoice currency
totalnumberTotal in original currency (cents)
total_base_currencynumberTotal in base currency (cents)
transaction_countintegerNumber of transactions on invoice
linesarrayInvoice line items