# Retrieve one invoice, with its lines

`GET /lokta-lms/api/v1/invoices/{id}`

Returns one partner invoice with its lines.

`gst_treatment` and `gst_rate_pct` are snapshotted onto the document. A partner who registers for GST next month must not retrospectively change the tax on an invoice already issued; the rate that applied is a fact about this document, not about the partner today. Do not re-derive tax from the partner's current details.

Under `reverse` charge, `gst_rate_pct` is null and `gst_amount` is `"0.00"`: the recipient bears the tax, so the invoice carries none. That is different from a zero rate, and rendering it as "GST 0%" would state something false.

Lines are grouped by fee line, not by loan; "Sourcing fee · 26,250", not a thousand loan-level rows. Every loan-level figure survives in `/fee-runs/{id}/accruals`, so the summary can always be opened up: the invoice is the statement, the accruals are the evidence.

`invoice_number` is gap-free within its financial year and is kept on cancellation; GST requires a consecutive series, so a cancelled number stays spent rather than being reissued to a different document.

## Parameters
- `id` (path, string, required): Opaque invoice id, spi_…

## Responses
- `default`: default response

## Example request (cURL)
```bash
curl -X GET \
  'https://default.lokta.tech/lokta-lms/api/v1/invoices/{id}' \
  -u '{username}:{password}' \
  -H 'Tenant-Identifier: default'
```

Interactive: https://developer.lokta.ai/reference#operation/retrieveOne_4
