Peppol BIS Billing 3.0 · rule
UBL-CR-186
What does UBL-CR-186 mean? A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CorporateRegistrationScheme
Why did my invoice fail UBL-CR-186?
This EN 16931 rule warns when the UBL element cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:CorporateRegistrationScheme is present: the invoice should not include a corporate registration scheme block for the seller. EN 16931 identifies the registration scheme via the schemeID attribute on the legal registration identifier (BT-30-1), not via a separate CorporateRegistrationScheme structure. The element is not forbidden by UBL itself, but it lies outside the EN 16931 core invoice model, so remove it to keep the invoice fully conformant and interoperable.
Official rule text
A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CorporateRegistrationScheme
Common causes
- Registration scheme mapped to the child element instead of the schemeID attribute on cbc:CompanyID
- Generic UBL 2.1 export enabling all optional structures
- Copy-paste from a non-EN 16931 sample invoice
How do I fix it?
<cac:PartyLegalEntity> <cbc:RegistrationName>Example Ltd</cbc:RegistrationName> <!-- scheme goes in the schemeID attribute (BT-30-1), not CorporateRegistrationScheme --> <cbc:CompanyID schemeID="0002">123456789</cbc:CompanyID> </cac:PartyLegalEntity>
Related rules
UBL-CR-001 · UBL-CR-002 · UBL-CR-003 · UBL-CR-004 · UBL-CR-005 · UBL-CR-006 · UBL-CR-007 · UBL-CR-008
Paste it into the live demo, or call POST /v1/validate. See the quickstart.