---
search:
  tags:
    - Sales
    - GET
seo:
  description: >-
    Admin or pharmacist. Returns the invoice number and timestamp behind one…
    Reference for the GET /api/v1/sales/{saleId}/invoice endpoint in the
    PharmaFlow API.
sidebar:
  label: Read a sale invoice identity
  badge: GET
title: Read a sale invoice identity
type: openapi-operation
---
Admin or pharmacist. Returns the invoice number and timestamp behind one id for a reprint. Ownership is enforced as on the detail read, so another pharmacist's invoice gets 404.

`GET /api/v1/sales/{saleId}/invoice`

**Responses**

- `200` — The invoice identity
- `401` — Not authenticated
- `403` — Access forbidden for this role
- `404` — Sale invoice not found

Response example, 200:

```json
{
  "sale_id": "string",
  "invoice_number": "string",
  "sold_at": "string"
}
```
