Faktura

UBL-SR-35

fatalEN 16931syntax binding ruleUBL

Referenced purchase order line identifier shall occur maximum once

Why it fails

'Referenced purchase order line identifier' appears more than once, and this profile allows it at most once.

How to fix it

Keep the single correct 'Referenced purchase order line identifier' and delete the rest. Repeating an element that the semantic model treats as singular is usually a serialiser writing every value it has instead of choosing one.

What the validator checks

UBL — context cac:InvoiceLine | cac:CreditNoteLine

(count(cac:OrderLineReference/cbc:LineID) <= 1)

Related rules

Part of UBL-SR — UBL cardinality.

Validate an invoice against this rule →