---
title: "Liste les drafts (par défaut : status=draft, ordre FIFO)."
method: GET
path: "/api/v1/caisse/drafts"
tags: ["Caisse POS (V2)"]
---

# Liste les drafts (par défaut : status=draft, ordre FIFO).

`GET /api/v1/caisse/drafts`

## Request

- Base URL: `https://erp.eyeot.fr/api/v1`
- URL: `https://erp.eyeot.fr/api/v1/api/v1/caisse/drafts`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Liste les drafts (par défaut : status=draft, ordre FIFO).

    Query :
    - `session_id` : filtre par session
    - `status` : `draft` (default), `finalized`, `rejected`, `all`
    - `limit` : 1..200 (default 50)

    Tri : `received_at ASC` pour matcher l'ordre de finalize FIFO,
    sauf pour `finalized` où l'ordre `received_at DESC` est plus utile
    (les plus récents en haut).

**Permissions requises** : `caisse:read`

## Response `200`

Succès — payload `{data, meta}` (cf. API-GUIDE §3.1)

- object
  - `data` DraftResponse[]
    - `cashier_user_id` string, uuid
    - `client_id` string, uuid, nullable
    - `client_op_id` string, uuid
    - `created_offline_at` string, date-time
    - `discount_cents` integer
    - `finalize_attempts` integer
    - `finalized_ticket_id` string, uuid, nullable
    - `id` string, uuid
    - `last_finalize_attempt_at` string, date-time, nullable
    - `lines_json` object[]
    - `organization_id` string, uuid
    - `payment_methods` object[]
    - `received_at` string, date-time
    - `register_id` string, uuid
    - `rejection_reason` string, nullable
    - `session_id` string, uuid
    - `status` string
    - `subtotal_ht_cents` integer
    - `tax_breakdown` object
    - `total_ttc_cents` integer
  - `meta` PaginationMeta: Métadonnées de pagination cursor (cf. API-GUIDE §6).
    - `limit` integer
    - `next_cursor` string, nullable
    - `prev_cursor` string, nullable
    - `total_count` integer

## Other responses

- `401`: JWT manquant, expiré ou révoqué.
- `402`: L'organisation n'a pas d'abonnement actif (paywall). Rediriger vers /activate.
- `403`: Permissions `module:action` insuffisantes pour cette route.
- `404`: Ressource introuvable (ou cross-tenant — équivalent à hidden).
- `429`: Trop de requêtes. Honorer le header `Retry-After` (secondes).

---

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