List billing history
Changed onPaginated invoice history for the caller's organization with optional filters and sort.
Request
- Base URLhttps://api.axilio.ai/api/v1
- AuthAPI key in header X-Axilio-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
max items per page
pagination offset
free-text search across invoice number/description
filter by billing cycle
only invoices at this status
only invoices created at/after this time (RFC 3339)
only invoices created at/before this time (RFC 3339; with invoiced_after, an exact calendar month)
filter by plan name
filter to invoices for a dedicated phone
Sort expression '<field> [asc|desc]', direction defaulting to desc; field is invoiced_at, amount_microdollars, status, plan_name, invoice_number or paid_at.
Response
OK
Changes
- breaking
the
queryrequest parameterbilling_cyclewas restricted to a list of enum values - breaking
the
queryrequest parameterstatuswas restricted to a list of enum values - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - warning
deleted the
queryrequest parameterdate_from - warning
deleted the
queryrequest parameterdate_to - warning
deleted the
queryrequest parametersort_by - warning
deleted the
queryrequest parametersort_order - warning
removed the optional property
//from the response with the status - warning
added the new
dailyenum value to the//response property for the response status - warning
added the new
monthlyenum value to the//response property for the response status - warning
added the new
weeklyenum value to the//response property for the response status - warning
added the new
yearlyenum value to the//response property for the response status - info
added the new optional
queryrequest parameterinvoiced_after - info
added the new optional
queryrequest parameterinvoiced_before - info
added the new optional
queryrequest parameterorder_by - info
added the new enum value
dailyto thequeryrequest parameterbilling_cycle - info
added the new enum value
failedto thequeryrequest parameterstatus - info
added the new enum value
monthlyto thequeryrequest parameterbilling_cycle - info
added the new enum value
paidto thequeryrequest parameterstatus - info
added the new enum value
pendingto thequeryrequest parameterstatus - info
added the new enum value
voidto thequeryrequest parameterstatus - info
added the new enum value
weeklyto thequeryrequest parameterbilling_cycle - info
added the new enum value
yearlyto thequeryrequest parameterbilling_cycle - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking
- breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
added the new
failedenum value to the//response property for the response status - warning
added the new
paidenum value to the//response property for the response status - warning
added the new
pendingenum value to the//response property for the response status - warning
added the new
voidenum value to the//response property for the response status - info
the endpoint scheme security
bearerAuthwas removed from the API - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking