Export the FEC accounting file
Returns the French FEC (Fichier des Écritures Comptables) for a date period over the per-ticket sales read model. REQUIRES from and to as YYYY-MM-DD with from <= to; a missing, malformed or inverted period returns 400. format defaults to json (the structured payload documented here: balanced entries + preview totals + the ready-to-download text); format=file instead streams the raw, legal tab-delimited FEC text as a text/plain attachment (FEC_<from>_<to>.txt). Optionally narrow to a single store.
Authorizations
Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.
Response
The structured FEC export: balanced entries, preview totals and the FEC text.
The structured FEC export: balanced entries, preview totals and the FEC text.
-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991
