FrEReport
Lister les transmissions du e-reporting français (Flux 10)
GET /api/v1/einvoicing/e-reports
Nécessite une authentification (jeton Bearer) et l’en-tête X-Organization-Id.
Historique en lecture seule de l'obligation française de e-reporting (Flux 10) : rapports mensuels TB-2 (B2B transfrontalier + transactions B2C agrégées) et TB-3 (paiements/encaissements) générés par le pipeline planifié et transmis à la DGFiP via le prestataire de facturation électronique. Paginé, période la plus récente en premier ; filtres : status (pending|queued|sent|delivered|rejected|failed), report_type (TB2|TB3), period_from/period_to. Les lignes rejetées portent le détail Schematron AIFE verbatim (préfixe [G6.xx]) dans error_message ; excluded_currencies compte les documents non-EUR exclus du périmètre v1 (EUR uniquement). La charge utile JSON frEReport n'est pas incluse ici — utilisez le point de terminaison de détail. (#958)
Paramètres
| Nom | Emplacement | Type | Requis | Description |
|---|---|---|---|---|
status |
query | string | non | |
report_type |
query | string | non | |
period_from |
query | string | non | |
period_to |
query | string | non | |
per_page |
query | integer | non |
Réponses
| Statut | Description |
|---|---|
| 200 | For non-paginated data, return as before |
| 422 | |
| 403 |
Exemple de requête
curl -X GET "https://kworia.com/api/v1/einvoicing/e-reports" \
-H "Authorization: Bearer {{access_token}}" \
-H "X-Organization-Id: {{organization_id}}" \
-H "Accept: application/json"
Afficher un e-report français avec sa charge utile
GET /api/v1/einvoicing/e-reports/{id}
Nécessite une authentification (jeton Bearer) et l’en-tête X-Organization-Id.
Récupération d'un e-report unique incluant la charge utile JSON frEReport telle que transmise au prestataire (données source du Flux 10). Limité à l'organisation — un identifiant appartenant à une autre organisation renvoie 404. (#958)
Paramètres
| Nom | Emplacement | Type | Requis | Description |
|---|---|---|---|---|
id |
path | integer | oui |
Réponses
| Statut | Description |
|---|---|
| 200 | For non-paginated data, return as before |
| 422 | |
| 403 |
Exemple de requête
curl -X GET "https://kworia.com/api/v1/einvoicing/e-reports/{id}" \
-H "Authorization: Bearer {{access_token}}" \
-H "X-Organization-Id: {{organization_id}}" \
-H "Accept: application/json"