Invoices
Get a customer invoice summary
Customers
Invoices
Wallets
Entitlements
Environments
Events
Features
Payments
Integrations
Subscriptions
Tenants
Users
Invoices
Get a customer invoice summary
Get a customer invoice summary
GET
/
customers
/
{id}
/
invoices
/
summary
curl --request GET \
--url https://api.cloud.flexprice.io/v1/customers/{id}/invoices/summary \
--header 'x-api-key: <api-key>'
{
"customer_id": "<string>",
"default_currency": "<string>",
"summaries": [
{
"currency": "<string>",
"customer_id": "<string>",
"overdue_invoice_count": 123,
"total_invoice_count": 123,
"total_overdue_amount": 123,
"total_revenue_amount": 123,
"total_unpaid_amount": 123,
"unpaid_fixed_charges": 123,
"unpaid_invoice_count": 123,
"unpaid_usage_charges": 123
}
]
}
Authorizations
Enter your API key in the format x-api-key <api-key>*
Path Parameters
Customer ID
Response
200
application/json
OK
curl --request GET \
--url https://api.cloud.flexprice.io/v1/customers/{id}/invoices/summary \
--header 'x-api-key: <api-key>'
{
"customer_id": "<string>",
"default_currency": "<string>",
"summaries": [
{
"currency": "<string>",
"customer_id": "<string>",
"overdue_invoice_count": 123,
"total_invoice_count": 123,
"total_overdue_amount": 123,
"total_revenue_amount": 123,
"total_unpaid_amount": 123,
"unpaid_fixed_charges": 123,
"unpaid_invoice_count": 123,
"unpaid_usage_charges": 123
}
]
}