Faktura

UBL-SR-44

fatalEN 16931syntax binding ruleUBL

An Invoice may only have one unique PaymentID, but the PaymentID may be used for multiple PaymentMeans

Why it fails

Several different PaymentIDs appear on the invoice.

How to fix it

One invoice carries one payment reference (BT-83). You may repeat the same PaymentID across several PaymentMeans, but they must all be identical.

What the validator checks

UBL — context /ubl:Invoice | /cn:CreditNote

count(//cbc:PaymentID[not(preceding::cbc:PaymentID/. = .)]) <= 1

Related rules

Part of UBL-SR — UBL cardinality.

Validate an invoice against this rule →