Skip to main content

E-Reporting


How to get “API Key” from Portal?

To obtain the API key used with /auth/login, navigate to Settings → ERP Management → API Management in the Portal and use Generate. See Authentication.

France — E-Reporting

E-Reporting is mandatory in France for B2C transactions and cross-border B2B transactions not covered by e-invoicing.


Configure company for E-Reporting POST

Purpose of use: Run once per company before sending any reports.

Endpoint Information

PropertyValue
URL/reporting/FR/config
MethodPOST
Content-Typeapplication/json
Base URL
Stage Environment URLhttps://app-stage.docnova.ai/
Production Environment URLhttps://api.docnova.ai/
AuthorizationBearer JWT

Get company E-Reporting config GET

Endpoint Information

PropertyValue
URL/reporting/FR/config/{companyId}
MethodGET
Base URL
Stage Environment URLhttps://app-stage.docnova.ai/
Production Environment URLhttps://api.docnova.ai/
AuthorizationBearer JWT

Update company E-Reporting config PUT

Endpoint Information

PropertyValue
URL/reporting/FR/config/{companyId}
MethodPUT
Content-Typeapplication/json
Base URL
Stage Environment URLhttps://app-stage.docnova.ai/
Production Environment URLhttps://api.docnova.ai/
AuthorizationBearer JWT

Submit report (ERP flow — recommended) POST

Purpose of use: Single-step save + send to PPF.

Endpoint Information

PropertyValue
URL/reporting/FR/submit
MethodPOST
Content-Typeapplication/json
Base URL
Stage Environment URLhttps://app-stage.docnova.ai/
Production Environment URLhttps://api.docnova.ai/
AuthorizationBearer JWT

Request body (JSON)

{
"structure": "TRANSACTION_B2C",
"companyId": "uuid",
"apiKey": "optional-api-key",
"siren": "123456789",
"siret": "12345678901234",
"vatId": "FR12345678901",
"companyName": "Acme France SAS",
"declarantRoleCode": "FR:1",
"addressCountry": "FR",
"data": [
{
"invoiceNumber": "INV-2025-001",
"invoiceDate": "2025-04-01",
"invoiceDueDate": "2025-05-01",
"invoiceType": "380",
"currency": "EUR",
"category": "B2C",
"taxableAmount": 1000.00,
"vatRate": 20.0,
"vatAmount": 200.00,
"totalAmountInclVat": 1200.00
}
]
}

structure values

ValueDescription
TRANSACTION_B2CB2C transaction e-reporting
TRANSACTION_B2BInternational B2B e-reporting
PAYMENT_B2BB2B payment data
PAYMENT_B2CB2C payment data

Responses

200 — Submitted to PPF

400 / 401 / 500


Get report status GET

Endpoint Information

PropertyValue
URL/reporting/FR/status/{reportId}
MethodGET
Base URL
Stage Environment URLhttps://app-stage.docnova.ai/
Production Environment URLhttps://api.docnova.ai/
AuthorizationBearer JWT

List reports GET

Endpoint Information

PropertyValue
URL/reporting/FR/list
MethodGET
Base URL
Stage Environment URLhttps://app-stage.docnova.ai/
Production Environment URLhttps://api.docnova.ai/
AuthorizationBearer JWT

Query parameters

ParameterTypeRequiredDescription
companyIdUUIDYesCompany ID
reportTypeStringNoFilter by structure type
statusStringNoPENDING, SENT, …
dateFromDateNoYYYY-MM-DD
dateToDateNoTo date
sirenStringNoFilter by SIREN
pageIntegerNo0-based
sizeIntegerNoPage size

Retry failed report POST

Endpoint Information

PropertyValue
URL/reporting/FR/retry/{reportId}
MethodPOST
Content-Typeapplication/json
Base URL
Stage Environment URLhttps://app-stage.docnova.ai/
Production Environment URLhttps://api.docnova.ai/
AuthorizationBearer JWT