Mapping

How to map ERP fields to UBL e-invoice?

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

Short answer

Start by mapping business terms, not XML tags. ERP fields such as invoice number, supplier, customer, items, VAT, due date, IBAN and order must be assigned to EN 16931 business terms and only then to specific UBL elements. Each field should have an owner and a test case.

BT/BG

Start with meaning

Use EN 16931 business terms as a dictionary.

UBL

Only then tags

The technical element should express the correct business meaning.

VAT

Tax rules

Test rates, modes and totals separately.

Tests

Samples of documents

Verify the mapping on real types of invoices without personal data.

Conclusion

Mapping ERP to UBL is an accounting-technical task: first meaning, then XML.

Sources

  • EN 16931 business terms
  • Peppol BIS Billing 3.0 UBL syntax
  • Law no. 222/2004 Z. z. Coll. about VAT

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