Account
English

UBL-SR: UBL syntax restrictions

Group UBL-SR holds 53 EN 16931 rules that forbid or restrict elements of the UBL 2.1 syntax which the European semantic model does not use.

Group UBL-SR holds 53 EN 16931 rules that forbid or restrict elements of the UBL 2.1 syntax which the European semantic model does not use. They are warnings: the invoice is accepted, but the element should be removed because receiving systems may ignore or reject it.

All rules in this group (53)

IDRule textElement
UBL-SR-01Contract identifier shall occur maximum once./ubl:Invoice | /cn:CreditNote
UBL-SR-02Receive advice identifier shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-03Despatch advice identifier shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-04Invoice object identifier shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-05Payment terms shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-06Preceding invoice reference shall occur maximum oncecac:BillingReference
UBL-SR-07If there is a preceding invoice reference, the preceding invoice number shall be presentcac:BillingReference
UBL-SR-08Invoice period shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-09Seller name shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-10Seller trader name shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-11Seller legal registration identifier shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-12Seller VAT identifier shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-13Seller tax registration shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-14Seller additional legal information shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-15Buyer name shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-16Buyer identifier shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-17Buyer legal registration identifier shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-18Buyer VAT identifier shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-19Payee name shall occur maximum once, if the Payee is different from the Sellercac:PayeeParty
UBL-SR-20Payee identifier shall occur maximum once, if the Payee is different from the Sellercac:PayeeParty
UBL-SR-21Payee legal registration identifier shall occur maximum once, if the Payee is different from the Sellercac:PayeeParty
UBL-SR-22Seller tax representative name shall occur maximum once, if the Seller has a tax representativecac:TaxRepresentativeParty
UBL-SR-23Seller tax representative VAT identifier shall occur maximum once, if the Seller has a tax representativecac:TaxRepresentativeParty
UBL-SR-24Deliver to information shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-25Deliver to party name shall occur maximum oncecac:Delivery
UBL-SR-26Payment reference shall occur maximum oncecac:PaymentMeans
UBL-SR-27Payment means text shall occur maximum oncecac:PaymentMeans
UBL-SR-28Mandate reference identifier shall occur maximum oncecac:PaymentMeans
UBL-SR-29Bank creditor reference shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-30Document level allowance reason shall occur maximum oncecac:AllowanceCharge[cbc:ChargeIndicator = false()]
UBL-SR-31Document level charge reason shall occur maximum oncecac:AllowanceCharge[cbc:ChargeIndicator = true()]
UBL-SR-32VAT exemption reason text shall occur maximum oncecac:TaxSubtotal
UBL-SR-33Supporting document description shall occur maximum oncecac:AdditionalDocumentReference
UBL-SR-34Invoice line note shall occur maximum oncecac:InvoiceLine | cac:CreditNoteLine
UBL-SR-35Referenced purchase order line identifier shall occur maximum oncecac:InvoiceLine | cac:CreditNoteLine
UBL-SR-36Invoice line period shall occur maximum oncecac:InvoiceLine | cac:CreditNoteLine
UBL-SR-37Item price discount shall occur maximum oncecac:InvoiceLine | cac:CreditNoteLine
UBL-SR-39Project reference shall occur maximum once./ubl:Invoice | /cn:CreditNote
UBL-SR-40Buyer trade name shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-42Party tax scheme shall occur maximum twice in accounting supplier partycac:AccountingSupplierParty/cac:Party
UBL-SR-43Scheme identifier shall only be used for invoiced object (document type code with value 130 or 50)cac:AdditionalDocumentReference
UBL-SR-44An Invoice may only have one unique PaymentID, but the PaymentID may be used for multiple PaymentMeans/ubl:Invoice | /cn:CreditNote
UBL-SR-45Due Date shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-46Payment means text shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-47When there are more than one payment means code, they shall be equal/ubl:Invoice | /cn:CreditNote
UBL-SR-48Invoice lines shall have one and only one classified tax category.cac:InvoiceLine | cac:CreditNoteLine
UBL-SR-49Value tax point date shall occur maximum once/ubl:Invoice | /cn:CreditNote
UBL-SR-50Item description shall occur maximum oncecac:InvoiceLine | cac:CreditNoteLine
UBL-SR-51An address can only have one third line.//cac:PostalAddress | //cac:Address
UBL-SR-52Document reference shall occur maximum oncecac:InvoiceLine | cac:CreditNoteLine
UBL-SR-53CompanyID (VAT Identifier) must be stated when providing the PartyTaxScheme/TaxScheme/ID.cac:PartyTaxScheme
UBL-SR-54An Invoice shall contain maximum one Payment Card account (BG-18)./ubl:Invoice | /cn:CreditNote
UBL-SR-55An Invoice shall contain maximum one Payment Mandate (BG-19)./ubl:Invoice | /cn:CreditNote