validate_ereporting_xml
Validates FRR XML e-reporting payloads against DGFiP schema to catch structural errors before submission.
Instructions
Validate a DGFiP e-reporting (Flux 10) FRR XML payload.
Scope: XSD schema validation only, no business-rule checks. See README "Scope" section.
Checks the XML against the DGFiP Spécifications Externes v3.2 ereporting.xsd. Returns validation result with errors if any. Use this before submitting to catch structural problems early.
Validation levels (in order of preference):
xsd — full schema validation
wellformedness — XML failed to parse (malformed or unsafe input)
none — XSD files not found on disk
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml_content | Yes | FRR XML content to validate. Must be a complete Report document per DGFiP Spécifications Externes v3.2 ereporting.xsd. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||