SAF-T XML validation workflow
ONESOURCE Income Tax Compliance (OIC) validates SAF-T XML files through XSD schema and DUK compliance before generating the approved output.
When you initiate Romania SAF-T report generation, OIC routes the XML file through 2 sequential validation stages. Errors at either stage stop the process and display the relevant failures. Only when both stages pass does OIC generate and deliver the approved output.

SAF-T XSD Validation
- The user initiates Romania SAF-T report generation.
- OIC generates the compliant SAF-T XML file.
- OIC performs XSD schema validation to check structural integrity.
- If schema errors are detected, OIC displays XSD schema errors and the process stops.
- If no schema errors are detected, the process continues to DUK validation.
DUK Validation
- OIC invokes the DUK Validator via integration.
- The DUK Validator performs business rule and compliance validation.
- If DUK errors are detected, OIC displays DUK compliance errors and the process stops.
- If no DUK errors are detected, OIC generates and delivers the output as an XML file, PDF, or both.