From SAF-T 1.30 to 1.40.
Treat the change as a versioned export migration: update the complete source bundle, regenerate test data and pin expected validation behaviour in CI.
Migration checklist
- Read the implementation documentation, technical description and XSD together.
- Set and test AuditFileVersion explicitly.
- Version the XSD, code lists and mapping data as one bundle.
- Regenerate representative fixtures from your product.
- Test references, totals, balance and periods—not only schema validity.
- Keep separate regression coverage for old format versions and accounting years.