# Get an invoice

Canonical page: https://docs.ovok.com/api/patient-billing/get-an-invoice

`GET /v1/patient-billing/invoices/{invoiceId}`

Gets one invoice.

**Scope:** the caller's project, with `PATIENT_BILLING_ENABLED` on.

## Behaviour

- Your access policy must grant `patient_billing_invoices` `read` and let you read the invoice's patient. An invoice you cannot see answers **404** `INVOICE_NOT_FOUND`.
- An invoice issued from charges names its `clinicId`, and each line its `chargeId` and `amount`. A recorded payment has neither.

## Example

```bash
curl 'https://api.sandbox.ovok.com/v1/patient-billing/invoices/<invoiceId>' \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcyNjg4MDAsImV4cCI6MTc2NzI3MjQwMH0.Ql3B_ztDvctlyZ2z0vp4sl3ExXRQGkzmxdmTAqxNzZk'
```
