UBL-SR-47

[UBL-SR-47]-When there are more than one payment means code, they shall be equal

About

ID
UBL-SR-47
Flag
fatal
Context
/ubl:Invoice | /cn:CreditNote
Test
count(//cbc:PaymentMeansCode[not(preceding::cbc:PaymentMeansCode/. = .)]) <= 1