/api/v1/invoices read:inventory Lists your invoices, newest period first. Invoice numbers embed your account identifier and a per-account sequence that increments across periods — treat invoice_number as opaque and use id for lookups.
GET /api/v1/invoices?limit=10 These inputs are shared across all docs pages, so an id entered here carries over.
Not run yet. Press Run to make a live call against https://service.rip.fun (through this demo's server-side proxy; the API key never reaches the browser).
curl -X GET 'https://service.rip.fun/api/v1/invoices?limit=10' \ -H 'X-API-Key: rip_…'
| Field | Type | Required | Description |
|---|---|---|---|
limit / offset | query int | — | limit 1..100 default 50; offset 0..10_000 default 0. Non-integer values are a 400 (invalid_pagination). The response carries a pagination object { limit, offset, has_more, next_offset } beside the array |
data)| Field | Description |
|---|---|
invoices[].id / invoice_number | Lookup id + opaque display number, e.g. "INV-2026-05-T{account}-001" |
invoices[].period_start / period_end / status | Billing period + DRAFT | SENT | PAID | VOID |
invoices[].subtotal_cents / tax_cents / total_cents / currency | Amounts (integer cents) |
invoices[].issued_at / due_at / paid_at / payment_terms_days | Billing lifecycle |
invoices[].notes / created_at / updated_at | Free-form notes + timestamps |