Declarations
Read your declarations, or push quantities from your own system.
GET /declarations
Request
curl -s https://dash.eprfrancerep.com/api/v1/declarations -H "authorization: Bearer $EPR_TOKEN"
Returns every period you have sent, newest first.
POST /declarations
Sending a period that already exists replaces it. Store the response — we keep the received timestamp.
| Field | Rules |
|---|---|
period | 2026, 2026-S1, 2026-Q3 or 2026-07 |
lines[].stream | Required. Use a key from the streams endpoint |
lines[].material | Optional, free text up to 60 characters |
lines[].unit | One of kg, tonne, unit, item |
lines[].quantity | Number, 0 to 1e9 |
Anything you send that is not in this table is dropped rather than stored.