Billing Items
Export Billing Items
Export every billing item for one period and charge type as a single array.
GET
Returns all billing items for one billing period and one charge type in a single, non-paginated response. This is the fastest way to pull a complete month of charges in one call.
To build payroll data, export a month’s
ticket-charge items — you get one entry per employee who received a ticket, each with the employee’s hrId, the price, and the billing period.
This endpoint requires the
view-billing permission. See Authorization.Path Parameters
The billing period to export, in
YYYY-MM-DD format — the first day of the billed month, e.g. 2024-05-01.The charge type to export. Allowed values:
service-charge, ticket-charge, hr-integration-charge, hr-payroll-integration-charge, api-charge. Use ticket-charge to export the per-employee ticket charges for payroll.Response
Array of billing item objects for the requested period and charge type. Returned in full — this response is not paginated.
Authorizations
HTTP Basic Auth using your API key credentials. Use the username and password issued from the Developer Portal. Encode them as Base64(username:password) and pass in the Authorization: Basic <token> header.
Path Parameters
The billing period to export, in YYYY-MM-DD format (the first day of the billed month, e.g. 2024-05-01).
The charge type to export. Allowed values: service-charge, ticket-charge, hr-integration-charge, hr-payroll-integration-charge, api-charge.
Available options:
service-charge, ticket-charge, hr-integration-charge, hr-payroll-integration-charge, api-charge Response
200 - application/json
All billing items for the given period and charge type.

