---
title: "Invoices API: pull credited top-ups and their PDFs"
canonical: https://uncensoredllm.ai/docs/invoices
generated: 2026-11-23T06:12:12.492Z
source: https://uncensoredllm.ai/docs/invoices
base_url: https://api.uncensoredllm.ai/v1
---

# Invoices, as data and PDF.

Updated November 22, 2026.

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.

[Get a key](https://app.uncensoredllm.ai/console)

## 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`. |

```bash
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](https://uncensoredllm.ai/docs/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

```bash
curl -L https://api.uncensoredllm.ai/v1/invoices/INV-2026-1.pdf \
  -H "Authorization: Bearer sk-ullm-live-…" -o invoice.pdf
```

List 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.

## Read next

- [MCP servers](https://uncensoredllm.ai/docs/mcp-servers)
- [Log export](https://uncensoredllm.ai/docs/exports)
- [Billing details](https://uncensoredllm.ai/docs/billing-details)
- [Statement signing key](https://uncensoredllm.ai/docs/statements-public-key)
- [Keys](https://uncensoredllm.ai/docs/keys)
- [Requests and receipts](https://uncensoredllm.ai/docs/requests)
- [Balance and spend limits](https://uncensoredllm.ai/docs/budgets)
- [Batches](https://uncensoredllm.ai/docs/batches)
- [Files](https://uncensoredllm.ai/docs/files)
- [Count tokens](https://uncensoredllm.ai/docs/count-tokens)
- [App usage stats](https://uncensoredllm.ai/docs/stats-apps)
- [Auth keys](https://uncensoredllm.ai/docs/auth-keys)
- [Webhook deliveries](https://uncensoredllm.ai/docs/webhooks-deliveries)
- [Docs: connect in two minutes](https://uncensoredllm.ai/docs)
- [Pricing and top-ups](https://uncensoredllm.ai/pricing)
