Skip to main content
GET
Billing items are the individual line charges behind your company’s invoices. Each item ties a charge — such as a per-employee transit ticket — to a billing period and its net, tax, and gross amounts. Use this endpoint to see how much your company is charged, which employees received a ticket, the price of each charge, and the period it falls in. Filter on chargeType=ticket-charge together with a period to reconstruct exactly which employees were billed a ticket in a given month — the basis for your payroll data.
This endpoint requires the view-billing permission. See Authorization.

Query Parameters

integer
default:"1"
Page number to return. Starts at 1.
integer
default:"10"
Number of results per page. Maximum is 100.
string
default:"desc"
Sort direction. Allowed values: asc, desc.
string
default:"billedAt"
Field to sort results by. Allowed values: id, billingPeriod, billedAt.
string
Filter to a single charge type. Allowed values: service-charge, ticket-charge, hr-integration-charge, hr-payroll-integration-charge, api-charge. Use ticket-charge to list the per-employee transit ticket charges used for payroll.
string
Filter to a single billing period in YYYY-MM-DD format — the first day of the billed month, e.g. 2024-05-01.

Response

object
required

Authorizations

Authorization
string
header
required

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.

Query Parameters

page
integer | null
default:1

Page number to return. Starts at 1.

Required range: x >= 0
perPage
integer | null
default:10

Number of results per page. Maximum is 100.

Required range: 0 <= x <= 100
sortOrder
enum<string> | null
default:desc

Sort direction. Allowed values: asc, desc.

Available options:
asc,
desc
sortField
enum<string> | null
default:billedAt

Field to sort results by. Allowed values: id, billingPeriod, billedAt.

Available options:
id,
billingPeriod,
billedAt
chargeType
enum<string> | null

Filter to a single charge type. Use ticket-charge to list the per-employee transit ticket charges used for payroll. 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
period
string | null

Filter to a single billing period. Format YYYY-MM-DD (the first day of the billed month, e.g. 2024-05-01).

Response

200 - application/json

A paginated list of billing items.

data
object
required