Rules, Schematrons, and Receivers

Read about how to use rules and schematrons to generate machine-readable content.

Rules and Schematrons govern the processing of the elements in your Documents.

Rules

Rules govern how a Document is processed for a country or format, like VRBL.

The following topics list the Rules used in each country:

Schematrons

A Schematron is a rules-based language for checking patterns in XML files. It governs how a specific type of Document, like an invoice or credit note, is processed.

Receivers

Receivers are used in routing. The following table lists the available Receivers. In most but not all countries, the same Receiver is used for B2G and B2B Documents.

Some countries, like Germany, use different Receivers for different scenarios. For example, in Germany, different Receivers are used for PEPPOL and SMTP:

CountryB2BB2CB2G
Belgium PEP: ReceiverGENERIC_PEPPOL_UBL_BE_1p0p0Not applicableGENERIC_PEPPOL_UBL_BE_1p0p0
Croatia PEP: ReceiverNot applicableNot applicableGENERIC_PEPPOL_UBL_HR_1p0p0
Denmark OL: ReceiverGENERIC_DK_OIOUBL_2p0Not applicableGENERIC_DK_OIOUBL_2p0
Denmark PEP: ReceiverNot applicableNot applicableGENERIC_PEPPOL_UBL_DK_1p0p0
Estonia PEP: ReceiverNot applicableNot applicableGENERIC_PEPPOL_UBL_EE_1p0p0
Finland PEP: ReceiverNot applicableNot applicableGENERIC_PEPPOL_UBL_FI_1p0p0
France PEP: ReceiverNot applicableNot applicableGENERIC_PEPPOL_UBL_FR_1p0p0
Germany PEP: Receivers (PEPPOL)GENERIC_PEPPOL_CII_DE and GENERIC_PEPPOL_UBL_DENot applicableNot applicable.
Germany PEP: Receivers (SMTP)GENERIC_SMTP_CII_DE and GENERIC_SMTP_UBL_DE and GENERIC_SMTP_ZUGFERD_DENot applicableNot applicable
Germany XR: Receivers (PEPPOL)Not applicableNot applicableGENERIC_PEPPOL_CII_DE_XRECHNUNG_3p0p1 and GENERIC_PEPPOL_UBL_DE_XRECHNUNG_3p0p1
Germany XR: Receivers (SMTP)Not applicableNot applicableGENERIC_SMTP_CII_DE_XRECHNUNG_3p0p1 and GENERIC_SMTP_UBL_DE_XRECHNUNG_3p0p1
Greece PEP: ReceiverGENERIC_PEPPOL_UBL_GR_1p0p0Not applicableGENERIC_PEPPOL_UBL_GR_1p0p0
India IRP: ReceiverGENERIC_IN_IRP_1p0p0Not applicableNot applicable.
Italy FPA: ReceiverGENERIC_IT_FatturaPA_1p2p2Not applicableGENERIC_IT_FatturaPA_1p2p2
Japan PEP: ReceiverGENERIC_PEPPOL_UBL_JP_1p0p0Not applicableGENERIC_PEPPOL_UBL_JP_1p0p0
Lithuania PEP: ReceiverNot supportedNot applicableGENERIC_PEPPOL_UBL_LT_1p0p0
Malaysia MYS: ReceiverGENERIC_MY_MYINVOIS_1p0p0Not applicableGENERIC_MY_MYINVOIS_1p0p0
Netherlands PEP: ReceiverNot supported.Not applicableGENERIC_PEPPOL_UBL_NL_1p0p0
Norway PEP: ReceiverNot supportedNot applicableGENERIC_PEPPOL_UBL_NO_1p0p0
Poland KSF: ReceiverGENERIC_PL_KSeF-FA_2p0p0Not applicableNot supported
Poland PEP: ReceiverNot supportedNot applicableGENERIC_PEPPOL_UBL_PL_1p0p0
Portugal PTC: ReceiverNot supportedNot applicableGENERIC_FE-AP_UBL_CIUS-PT_2p1p1
Romania PEF: ReceiverGENERIC_RO_EFACTURA_1p0p9Not applicableGENERIC_RO_EFACTURA_1p0p9
Saudi Arabia ZTA: ReceiverGENERIC_SA_EINVOIC_1p2p0Not applicableGENERIC_SA_EINVOIC_1p2p0
Serbia SRF: ReceiverNot supportedNot applicableGENERIC_RS_EINVOICE_1p0p0
Slovenia PEP: ReceiverNot supportedNot applicableGENERIC_PEPPOL_UBL_SI_1p0p0
Spain PEP: ReceiverGENERIC_PEPPOL_UBL_ES_1p0p0Not applicableNot supported
Spain FTE: ReceiverNot supportedNot applicableFACE-FACTURA-E
Sweden PEP: ReceiverNot supportedNot applicableGENERIC_PEPPOL_UBL_SE_1p0p0
Taiwan TWF: ReceiverNot supportedGENERIC_TAXAMO_JSON_TW_1p0Not applicable
UK PEP: ReceiverNot supportedNot applicableGENERIC_PEPPOL_UBL_GB_1p0p0