VRBL-INV-DK-OIOUBL-2p0-90

Basic Info

Rule When the Payment Means Type Code is "31" and the Payment Means Payment Channel Code is "IBAN", the Payment Service Provider ID must not be provided.
Context /ubl:Invoice/cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cbc:ID
Pattern vrbl-invoice-dk-oioubl-2p0
Severity fatal

Implementation

not(boolean(../../../cbc:PaymentMeansCode)) or ../../../cbc:PaymentMeansCode!='31'
or
not(boolean(../../cbc:PaymentChannelCode)) or ../../../cbc:PaymentChannelCode!='IBAN'
or
false()