Message

If "Payment means type code" (BT-81) contains a code for payment card (48, 54, 55), BG-17 and BG-19 shall not be provided.

Context
(/ubl-invoice:Invoice/cac:PaymentMeans[cbc:PaymentMeansCode = (48,54,55)] |/ubl-creditnote:CreditNote/cac:PaymentMeans[cbc:PaymentMeansCode = (48,54,55)])[$supplierCountryIsDE and $customerCountryIsDE]
Test
not(cac:PayeeFinancialAccount) and not(cac:PaymentMandate)
Usage
/ ubl:Invoice / cac:PaymentMeans / cac:PaymentMandate
/ ubl:CreditNote / cac:PaymentMeans / cac:PaymentMandate