---
title: "Get an invoice"
method: GET
path: "/invoices/{id}"
tags: ["Invoices"]
---

# Get an invoice

`GET /invoices/{id}`

## Request

- Base URL: `https://api.lumabill.ch/v1`
- URL: `https://api.lumabill.ch/v1/invoices/{id}`
- Auth: HTTP bearer

## Response `200`

Invoice object

- Invoice
  - `id` string, uuid, required
  - `invoice_number` string, nullable, required: null while the document is an unnumbered draft. Numbers are assigned when the document is first issued (leaves draft) and never removed afterwards.
  - `client_id` string, uuid, required
  - `status` 'draft' | 'sent' | 'paid' | 'overdue', required
  - `issue_date` string, date, required
  - `due_date` string, date, required
  - `total` number, double, required: Total invoice amount including VAT
  - `currency` 'CHF' | 'EUR' | 'USD' | 'GBP' | 'JPY' | 'CAD' | 'AUD' | 'SEK' | 'NOK' | 'DKK' | 'HUF', required: ISO 4217 code of a currency the API converts (ESTV/BAZG rates). The same list applies to every currency field of the API.
  - `lines` InvoiceLine[], required
    - `description` string, required
    - `quantity` number, double, required
    - `price` number, double, required
    - `vat_rate` number, double, nullable: VAT rate as a percentage (e.g. 8.1 for 8.1 %). If omitted, the profile's default tax rate is used.
  - `notes` string, nullable
  - `payment_terms` string, nullable
  - `created_at` string, date-time, required

## Other responses

- `401`: Invalid or missing API key
- `403`: Subscription required or read-only key on a write endpoint
- `404`: Resource not found
- `429`: Rate limit exceeded
- `500`: Internal server error

---

[API](https://skmtc.dev/lumabill/apis/lumabill-api.md) · [All operations](https://skmtc.dev/lumabill/apis/lumabill-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lumabill/apis/lumabill-api/revisions/e48e7099b545?raw)
