UBL-SR-51: An address can only have one third line
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[UBL-SR-51]-An address can only have one third line.
not(cac:AddressLine) or count(cac:AddressLine) = 1UBL-SR-51 is a fatal rule in the schema layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected.
What this rule requires
For every cac:PostalAddress or cac:Address, the rule requires at most one cac:AddressLine child; zero address lines are permitted, and exactly one is permitted. A document fails when such an address contains more than one cac:AddressLine.
How to fix
In the offending cac:PostalAddress or cac:Address, remove all but one cac:AddressLine element, or combine multiple lines into a single cac:AddressLine. If the address does not need a third line, omit cac:AddressLine entirely.
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-SR-51.
Validate an invoice against these rules · All release changes