Get an invoice

The PDF invoice of one month: the usage and the cost of each VM.

GET /v1/tenants/{tenant}/invoices/{month}

curl -X GET "https://api.shako.dev/v1/tenants/acme/invoices/2026-10" \
  -H "Authorization: Bearer $SHAKO_API_KEY"

200 (excerpt)

{
  "name": "shako-invoice-acme-2026-10.pdf",
  "total": "4.21",
  "pdf": "JVBERi0xLjQK..."
}

Authenticate with Authorization: Bearer <API key> on https://api.shako.dev. Role: owner.

Path parameters

tenantstringrequired
The tenant's name, from GET /v1/tenants.
monthstringrequired
The month, as YYYY-MM.

Query parameters

utc_offsetinteger, -840 to 840default: 0
The clock of the days and the months, in minutes east of UTC, for example 60 for UTC+1.

Response

200 with the invoice object.

The errors. All the endpoints of Billing.