DE-R-025-2

If "Payment means type code" (BT-81) contains a code for direct debit (59), BG-17 and BG-18 shall not be provided.

About

ID
DE-R-025-2
Flag
fatal
Context
(/ubl-invoice:Invoice/cac:PaymentMeans[cbc:PaymentMeansCode = 59] | /ubl-creditnote:CreditNote/cac:PaymentMeans[cbc:PaymentMeansCode = 59])[$supplierCountryIsDE and $customerCountryIsDE]
Test
not(cac:PayeeFinancialAccount) and not(cac:CardAccount)