Versions

How to deal with XML versioning of e-invoice export?

⚠ Machine-translated answer, not yet manually reviewed. For the exact wording, see the Slovak original.

Short answer

For each XML export, record the mapping version, the profile version, the validator version and the hash of the resulting XML. If you later change the export logic, old invoices should not be overwritten. It must be clear according to which version of the rules a particular document was created.

Mapping

Rules version

Save according to which XML mapping it was created.

Validator

Control version

The result of the validation depends on the rules at the time of the check.

Hash

Fixed output

The hash will distinguish the original XML from the new export.

Release

Change log

Each export modification should have a brief reason.

Conclusion

Export versioning protects the company from the chaos of rule and ERP changes.

Sources

  • Law no. 431/2002 Z. z. Coll. about accounting
  • Law no. 222/2004 Z. z. Coll. about VAT
  • EN 16931 and versioned validation rules

Not legal advice. Machine-translated answer, not yet manually reviewed. For the exact wording, see the Slovak original.