List an employer's billing invoices
employers.list_invoices(employer_id, **kwargs) -> EmployerListInvoicesResponse { data, pagination }
GET/v1/employers/{employer_id}/invoices
Returns a cursor-paginated page of the employer’s billing invoices, newest first. Pass the next_offset from a previous page as offset to fetch the next page. The caller must be authorized for the employer; an unknown or unauthorized employer returns 404.
List an employer's billing invoices
require "vitable_connect"
vitable_connect = VitableConnect::Client.new(
api_key: "My API Key",
environment: "environment_1" # defaults to "production"
)
response = vitable_connect.employers.list_invoices("empr_abc123def456")
puts(response){
"data": [
{
"invoice_id": "INV-00042",
"period": "2026-05-01T00:00:00+00:00",
"total": 1234.56,
"status": "paid"
}
],
"pagination": {
"next_offset": "[\"1748736000000\", \"INV-00042\"]"
}
}Returns Examples
{
"data": [
{
"invoice_id": "INV-00042",
"period": "2026-05-01T00:00:00+00:00",
"total": 1234.56,
"status": "paid"
}
],
"pagination": {
"next_offset": "[\"1748736000000\", \"INV-00042\"]"
}
}