API action
List your invoices
Read your invoices, newest first. Each one shows the amount before tax, the tax and the total.
About this action
- What it does
- Lists your 24 newest , each with its lines. After them it lists your recent payments. It only reads.
- When to use it
- To show your invoices in your own system, or to check which invoice is still unpaid.
- Who can use it
- A only. The key needs the
billing:read. - Address
GEThttps://api.zimmerstack.com/api/v1/connect-api/v1/billing/invoices- Before this
- A key with this scope is made in the by the account owner or an Admin.
Things to know
- Only invoices that were sent to you. A draft is never in the list. A cancelled invoice is never in the list.
- It only reads. No answer has a payment link. A person pays on the Billing page of the partner portal.
- The list has one part only. This request takes no
cursorand nolimit. It always answers the 24 newest invoices. - A test key and a live key get the same answer. A bill belongs to your company, not to one hotel or one .
The request, in your language
Put your key in place of zsk_test_YOUR_KEY.
Open a terminal and run this. On Windows PowerShell, type curl.exe instead of curl.
curl "https://api.zimmerstack.com/api/v1/connect-api/v1/billing/invoices" -H "Authorization: Bearer zsk_test_YOUR_KEY"What comes back
The is 200. The invoices are in items, and your recent payments are in payments.
{
"statuscode": 200,
"message": "OK",
"data": {
"billed": true,
"items": [
{
"id": "inv_8f3k2m9q",
"number": "ZS/26-27/0441",
"about": "MONTH",
"periodStart": "2027-01-01",
"periodEnd": "2027-01-31",
"currency": "INR",
"status": "OPEN",
"issuedAt": "2027-01-03T04:30:00.000Z",
"dueAt": "2027-01-10T18:29:59.999Z",
"paidAt": null,
"overdue": true,
"beforeTax": "3191.00",
"beforeTaxMinor": 319100,
"tax": "574.38",
"taxMinor": 57438,
"total": "3765.38",
"totalMinor": 376538,
"paid": "0.00",
"credited": "0.00",
"balance": "3765.38",
"balanceMinor": 376538,
"lines": [
{
"description": "The Lantern House — Channel manager, January 2027 (live on 2027-01-01) · Hotel, 24 rooms · USD 9.00 at INR 88.6344 per USD (RBI reference rate, 31 Dec 2026)",
"hotel": null,
"quantity": 1,
"kind": "RECURRING",
"total": "941.30",
"totalMinor": 94130
}
]
}
],
"payments": [
{
"receivedAt": "2026-12-08T09:12:44.000Z",
"amount": "5229.43",
"amountMinor": 522943,
"currency": "INR",
"method": "RAZORPAY",
"invoiceNumber": "ZS/26-27/0398"
}
]
}
}- number
- The invoice number, as it is printed on the invoice.
- about
- What the invoice is for.
MONTH: your hotels for one month.ONBOARDING_FEE: the one-time .PAID_AHEAD: money you . - periodStart, periodEnd
- The first day and the last day the invoice is for.
- status
- The value
OPENmeans: not paid.PARTIALLY_PAID: a part is paid.PAID: all of it is paid. - dueAt
- The time by which the invoice must be paid.
- overdue
- The value
truemeans: the invoice is pastdueAt, and a part of it is still unpaid. - beforeTax, tax, total
- The amount before tax, the tax, and the amount after tax.
- paid, credited, balance
- What is paid so far, what a credit note took off, and what is still unpaid.
- lines
- What the invoice is made of. Each line has a
description, aquantityand atotal. - payments
- Your recent payments. Each one has the time it arrived, its amount, how it was paid, and the number of its invoice.
Common mistakes
- 403 COMPANY_KEY_REQUIRED
- You used a hotel key. This request works with a company key only.
Other errors this request can give
- 401 API_KEY_INVALID
- The key is not right. Copy it again, all of it, with no space before or after.
- 403 SCOPE_MISSING
- The key is not allowed to do this. It needs the scope
billing:read. - 403 IP_NOT_ALLOWED
- The key only works from the addresses its owner allowed.
- 429 RATE_LIMITED
- Too many requests in a short time. Wait the number of seconds in the
Retry-Afterheader, then send again. - 401 API_KEY_REVOKED
- The key was switched off, or it was replaced and its extra 24 hours are over. Ask the key's owner for the new key. Nothing else makes this key work.
- 404 PROPERTY_NOT_FOUND
- The property id is not a hotel this key may use. Read GET /properties again. The hotel's owner may have ended your access.
- 404 PROPERTY_REQUIRED
- You hold a company key, and the request did not say which hotel. Add the header X-ZS-Property with the id of one of your hotels. The answer already lists the first 20 in details.properties (id and name), with details.total for how many there are. GET /properties lists them all.
- 409 ARI_NOT_AUTHORITATIVE
- The hotel is not live yet: your software is not its source of truth, so nothing was saved. GET /readiness says what is missing, and POST /go-live makes the switch. To send rates before that, add the header X-ZS-Before-Go-Live: true. It is the same for a company key and for a hotel's own key: a hotel key with ari:read or ari:write can be made before its hotel is live.
- 409 CHANNEL_MANAGER_DISABLED
- The hotel's channel manager is off, so nothing would be sent to an OTA. details.reason says why. not_on_channel_manager: the hotel was never put on it. With a company key, send its room types and rate plans (PUT /catalog/room-types, then PUT /catalog/rate-plans), or press Finish setup in the Channels app. Either puts it there. switched_off: the hotel's owner switched it off. Only the owner can switch it back on.
- 409 PROPERTY_UNAVAILABLE
- The hotel is deleted or is a demo. Or a test key was used on a real hotel, or a live key on a sandbox. Check which key you send. If the key is right, contact the hotel's owner.
Try it now
No code and no install. This box sends a real request to your . It works with a only, so it can never change a real hotel.
Try it here: list your invoices
It starts with zsk_test_. It is kept in this browser tab only. Never paste a live key into a web page.
Go deeper
- Your bills by API: Read what you owe and your invoices from your own software.
Words on this page
- Invoice
- A bill.
- Company key
- The key of a software company. One key works for all the hotels of that company.
- Scope
- One permission of a key. For example ari:write lets the key update availability, rates and restrictions.
- Partner portal
- The website where your company signs in to make keys, add hotels and pay invoices.
- Sandbox
- Your test hotel. It works like a real hotel, but no OTA can see it and it costs nothing.
- Status code
- A number in every response. 200 to 299 means it worked. 400 and above means there is a problem.
- Onboarding fee
- A fee you pay one time only, before your first live key.
- Pay ahead
- To pay money before an invoice asks for it. Later invoices use it, and it can raise your quota.
- Test key
- A key that starts with zsk_test_. It works only on a sandbox, so it can never change a real hotel.
New here? Start with the partner path or the one-hotel path.
Routes, samples, limits and codes on this page come from the API's public contract, read live, Fri, 04 Dec 2026 20:59:19 UTC.