UBL-SR-47
- Message
[UBL-SR-47]-When there are more than one payment means code, they shall be equal
- Context
/ubl:Invoice | /cn:CreditNote
- Test
count(//cbc:PaymentMeansCode[not(preceding::cbc:PaymentMeansCode/. = .)]) <= 1
[UBL-SR-47]-When there are more than one payment means code, they shall be equal
/ubl:Invoice | /cn:CreditNote
count(//cbc:PaymentMeansCode[not(preceding::cbc:PaymentMeansCode/. = .)]) <= 1