Invoices, as data and PDF.
Each top-up that credits your balance produces an invoice, and the two routes that return them live at https://api.uncensoredllm.ai/v1. Invoice numbers run INV-<year>-<n>, counted separately for each organization within a UTC year.
Listing invoices
GET /v1/invoices returns data: every credited top-up, paid by card or by crypto, most recent first. Each entry gives its number, the amount involved, the payment method, and the path to its PDF. Every figure comes from your own payments, so this page prints none of them.
| Field | Notes |
|---|---|
number | The invoice number, INV-<year>-<n>. |
payment_id | The payment this invoice covers. |
amount_micro | What was paid, in micro-dollars. |
refunded_micro | Any amount refunded since, in micro-dollars; 0 for none. |
bonus_micro | Bonus credit that rode along with the payment, never billed. |
method | Card or Crypto. |
created_at | When the payment credited, in Unix milliseconds. |
pdf_url | The PDF path, /v1/invoices/<number>.pdf. |
curl https://api.uncensoredllm.ai/v1/invoices \ -H "Authorization: Bearer sk-ullm-live-…"Fetching one as a PDF
GET /v1/invoices/{invoice_number}.pdf renders on demand from the billing details the organization has on file at that moment (see billing details): seller, customer, the sum paid, the method as the console labels it, the date, and the credit added. It is returned as application/pdf carrying an attachment disposition, and a number that belongs to another organization answers 404 not_found. Since it is generated live, filling in a correct Bill to (company, address, tax id) before you fetch is worthwhile.
Example
curl -L https://api.uncensoredllm.ai/v1/invoices/INV-2026-1.pdf \ -H "Authorization: Bearer sk-ullm-live-…" -o invoice.pdfList your invoices first to read each entry’s pdf_url. Both routes want an admin key; a key scoped only to model calls will not reach them.
Invoices: questions
What produces an invoice?
Any top-up that credits your balance, by card or crypto. A payment that is still pending or that failed has not credited anything, so it is not in the list.
Can my company name and tax id appear on it?
Yes. Save the company, address and tax number in your billing details first; the next PDF you download prints them in its Bill to block. See billing details.
Is an invoice the same thing as a usage statement?
No. An invoice documents a top-up you paid for; a usage statement is the signed monthly summary of spend, verifiable against the public signing key on the verifier page. See verify a statement.