UBL-SR-51:An address can only have one third line.
Duplicate address line 3. An address can have at most one additional address line (third line).
Engine Classification
Requires user confirmation before application
What is UBL-SR-51?
UBL-SR-51 is a fatal validation rule defined in the EN16931 specification. It validates the AddressLine element in the UBL invoice XML.
When this rule fires, the invoice is non-compliant and will be rejected by Peppol access points and national validation services. The sending system receives a rejection response and the invoice does not reach the buyer.
Target path: //cac:PostalAddress/cac:AddressLine
Why This Error Matters
Invoice will be rejected by EN16931 validators. These structural rules enforce cardinality and conditional requirements. Fix the duplicate element or provide the required companion element.
UBL-SR-51 is a hard failure. Invoices that trigger this rule are rejected at the access point and never reach the recipient. In Peppol networks, this means your sending system receives an MLR (Message Level Response) with a rejection status. The invoice must be corrected and re-sent, adding delay to your payment cycle.
Validator Behavior
- ·Causes invoice rejection
- ·Fails EN 16931 business rule validation
- ·Error returned: UBL-SR-51
- ·Specification: EN16931
XML Example
Generic example based on the rule's target XPath. Your actual XML structure may differ.
<!-- Required block is missing --> <!-- <cac:AddressLine> ... </cac:AddressLine> -->
<!-- Add the required block --> <cac:AddressLine> <!-- child elements --> </cac:AddressLine>
Technical Reference
//cac:PostalAddress/cac:AddressLineCommon Causes
- ·Address contains multiple AddressLine/Line elements
- ·Only one cbc:AdditionalStreetName or one third line allowed
- ·Address line 3 appears more than once
- ·Duplicate third address line in postal address
- ·ERP exports multiple AddressLine elements
Seeing this in production? The API handles UBL-SR-51 automatically. See the fix response →
See Also
Last updated: 21 February 2026
Handle UBL-SR-51 Automatically in Your Pipeline
The compliance engine auto-remediates this error with controlled safety policies and evidence pack generation.