Get a receipt
One receipt by its reference (a transaction's receiptReference), with the figures the printable receipt shows.
https://app.usenotix.dev/api/v1/billing/receipts/{reference}Full access and read only keys can call this. Sending access keys cannot. Key permissions lists the extra rules some calls have.
One receipt by its reference (a transaction's receiptReference), with the figures the printable receipt shows. Another team's reference, a row that is not a receipt and a top-up that never paid answer 404.
Who can call it
A full access or read only key made by someone who is a team admin today (the team owner always is), as the billing page is for admins. A key made by a member answers 403 FORBIDDEN, and so does a key made before Notix recorded who made each key. Send-only and live AI keys answer 403 SCOPE_DENIED; a key limited to one domain answers 403 DOMAIN_PINNED. Every read is recorded in the key's audit log (GET /v1/audit-log).
The team can make 60 billing reads a minute through the API (20 for invoices, which are read from Stripe, within a limit shared by every team); when Notix cannot count them the answer is 503 SERVICE_UNAVAILABLE (try again shortly), never a 429.
Path parameters
Headers
Bearer followed by your API key.
Errors
`SCOPE_DENIED`: a send-only or live AI key. `DOMAIN_PINNED`: a key limited to one domain. `FORBIDDEN`: the key was made by a member who is not a team admin, or before Notix recorded who made each key.
No receipt with this reference in the team's wallet.
The read took longer than 10 seconds.
The team read billing 60 times in the last minute.
The rate counters cannot be read just now; try again shortly.
Every error has the same shape. See all error codes.
curl -X GET "https://app.usenotix.dev/api/v1/billing/receipts/<reference>" \
-H "Authorization: Bearer $NOTIX_API_KEY"
import { Notix } from "notix-js";
const notix = new Notix(process.env.NOTIX_API_KEY);
const { data, error } = await notix.billing.receipt("plan_42_2026-10-01");
{
"invoiceNumber": "string",
"reference": "string",
"type": "TOPUP",
"title": "string",
"description": "string",
"amountMinor": 1,
"amountFormatted": "string",
"direction": "charge",
"balanceAfterMinor": 1,
"balanceAfterFormatted": "string",
"currency": "NGN",
"createdAt": "2026-10-01T10:00:00.000Z",
"teamName": "Acme"
}