UBL-CR-178: A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity…
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[UBL-CR-178]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity RegistrationDate
not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationDate)UBL-CR-178 is a warning rule in the schema layer of Peppol BIS Billing 3.0.20 · UBL. An invoice that breaks it is flagged but not rejected.
What this rule requires
This rule forbids the element cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationDate in a UBL document. The test is not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationDate), evaluated for /ubl:Invoice, /cn:CreditNote, so the rule reports every place where that element is present.
How to fix
Remove cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationDate from the document. If your system always writes it, change the export so that it leaves this element out.
Guidance on this rule. The original text above is authoritative.
Where to go next
No published Peppol BIS Billing UBL release comparison lists a change to UBL-CR-178.
Validate an invoice against these rules · All release changes