Skip to content

UBL-SR: UBL syntax rules

All validation rules whose ID starts with UBL-SR. Frequently reported rules and rules with a detailed explanation are listed first.

Rule Meaning Severity Applies to
UBL-SR-01 Contract identifier shall occur maximum once. Error EN 16931 (UBL)
UBL-SR-02 Receive advice identifier shall occur maximum once Error EN 16931 (UBL)
UBL-SR-03 Despatch advice identifier shall occur maximum once Error EN 16931 (UBL)
UBL-SR-04 Invoice object identifier shall occur maximum once Error EN 16931 (UBL)
UBL-SR-05 Payment terms shall occur maximum once Error EN 16931 (UBL)
UBL-SR-06 Preceding invoice reference shall occur maximum once Error EN 16931 (UBL)
UBL-SR-07 If there is a preceding invoice reference, the preceding invoice number shall be present Error EN 16931 (UBL)
UBL-SR-08 Invoice period shall occur maximum once Error EN 16931 (UBL)
UBL-SR-09 Seller name shall occur maximum once Error EN 16931 (UBL)
UBL-SR-10 Seller trader name shall occur maximum once Error EN 16931 (UBL)
UBL-SR-11 Seller legal registration identifier shall occur maximum once Error EN 16931 (UBL)
UBL-SR-12 Seller VAT identifier shall occur maximum once Error EN 16931 (UBL)
UBL-SR-13 Seller tax registration shall occur maximum once Error EN 16931 (UBL)
UBL-SR-14 Seller additional legal information shall occur maximum once Error EN 16931 (UBL)
UBL-SR-15 Buyer name shall occur maximum once Error EN 16931 (UBL)
UBL-SR-16 Buyer identifier shall occur maximum once Error EN 16931 (UBL)
UBL-SR-17 Buyer legal registration identifier shall occur maximum once Error EN 16931 (UBL)
UBL-SR-18 Buyer VAT identifier shall occur maximum once Error EN 16931 (UBL)
UBL-SR-19 Payee name shall occur maximum once, if the Payee is different from the Seller Error EN 16931 (UBL)
UBL-SR-20 Payee identifier shall occur maximum once, if the Payee is different from the Seller Error EN 16931 (UBL)
UBL-SR-21 Payee legal registration identifier shall occur maximum once, if the Payee is different from the Seller Error EN 16931 (UBL)
UBL-SR-22 Seller tax representative name shall occur maximum once, if the Seller has a tax representative Error EN 16931 (UBL)
UBL-SR-23 Seller tax representative VAT identifier shall occur maximum once, if the Seller has a tax representative Error EN 16931 (UBL)
UBL-SR-24 Deliver to information shall occur maximum once Error EN 16931 (UBL)
UBL-SR-25 Deliver to party name shall occur maximum once Error EN 16931 (UBL)
UBL-SR-26 Payment reference shall occur maximum once Error EN 16931 (UBL)
UBL-SR-27 Payment means text shall occur maximum once Error EN 16931 (UBL)
UBL-SR-28 Mandate reference identifier shall occur maximum once Error EN 16931 (UBL)
UBL-SR-29 Bank creditor reference shall occur maximum once Error EN 16931 (UBL)
UBL-SR-30 Document level allowance reason shall occur maximum once Error EN 16931 (UBL)
UBL-SR-31 Document level charge reason shall occur maximum once Error EN 16931 (UBL)
UBL-SR-32 VAT exemption reason text shall occur maximum once Error EN 16931 (UBL)
UBL-SR-33 Supporting document description shall occur maximum once Error EN 16931 (UBL)
UBL-SR-34 Invoice line note shall occur maximum once Error EN 16931 (UBL)
UBL-SR-35 Referenced purchase order line identifier shall occur maximum once Error EN 16931 (UBL)
UBL-SR-36 Invoice line period shall occur maximum once Error EN 16931 (UBL)
UBL-SR-37 Item price discount shall occur maximum once Error EN 16931 (UBL)
UBL-SR-39 Project reference shall occur maximum once. Error EN 16931 (UBL)
UBL-SR-40 Buyer trade name shall occur maximum once Error EN 16931 (UBL)
UBL-SR-42 Party tax scheme shall occur maximum twice in accounting supplier party Error EN 16931 (UBL)
UBL-SR-43 Scheme identifier shall only be used for invoiced object (document type code with value 130 or 50) Error EN 16931 (UBL)
UBL-SR-44 An Invoice may only have one unique PaymentID, but the PaymentID may be used for multiple PaymentMeans Error EN 16931 (UBL)
UBL-SR-45 Due Date shall occur maximum once Error EN 16931 (UBL)
UBL-SR-46 Payment means text shall occur maximum once Error EN 16931 (UBL)
UBL-SR-47 When there are more than one payment means code, they shall be equal Error EN 16931 (UBL)
UBL-SR-48 Invoice lines shall have one and only one classified tax category. Error EN 16931 (UBL)
UBL-SR-49 Value tax point date shall occur maximum once Error EN 16931 (UBL)
UBL-SR-50 Item description shall occur maximum once Error EN 16931 (UBL)
UBL-SR-51 An address can only have one third line. Error EN 16931 (UBL)
UBL-SR-52 Document reference shall occur maximum once Error EN 16931 (UBL)