v2
latestOpenAPI 3.0.12026-07-263104131.9 MBBilling
Get all invoices
Returns a list of invoices with optional filters
get/v2/billing/invoices
Query parameters
clientIdinteger
Filter invoices by organization/client ID.
agreementIdinteger
Filter invoices by agreement ID.
createdDateFromstring date
Filter invoices created on or after this date (inclusive). Format: yyyy-MM-dd
createdDateTostring date
Filter invoices created on or before this date (inclusive). Format: yyyy-MM-dd
periodFromstring date
Filter invoices by billing period start (inclusive). Must be provided together with periodTo. Format: yyyy-MM-dd
periodTostring date
Filter invoices by billing period end (inclusive). Must be provided together with periodFrom. Format: yyyy-MM-dd
Response
List of invoices successfully retrieved
Example response
[
{
"id": 123,
"invoiceNumber": "INV-2024-001",
"agreementName": "Monthly Service Agreement",
"agreementId": 456,
"subTotal": 1000,
"totalTax": 80,
"total": 1080,
"invoiceGenerationType": "AUTOMATIC",
"status": "PENDING",
"client": {
"id": 789,
"name": "Acme Corporation"
},
"failureReason": "Connection timeout to external system",
"currency": "USD",
"billingPeriodStartDate": "2024-01-01T00:00:00.000Z",
"billingPeriodEndDate": "2024-01-31T00:00:00.000Z",
"dueDate": "2024-02-15T00:00:00.000Z",
"hasActiveIntegrationData": true
}
]