EN 16931 is the European norm that defines the semantic core of an e-invoice: which fields an invoice must contain and what they mean. National formats such as XRechnung, ZUGFeRD/Factur-X and Peppol BIS are all implementations of this standard, which is why they stay interoperable.

Official source: European Commission — eInvoicing standard