VRBL-INV-DE-PEPPOL-6

Basic Info

Rule If the group "DIRECT DEBIT" is delivered the Payment Means Payment Mandate Payer Financial Account ID must be provided.
Context /ubl:Invoice
Pattern vrbl-invoice-de-peppol-3p0
Severity fatal

Implementation

not($DECustomerCountry = 'DE' and $DESupplierCountry = 'DE')
or
not(boolean(cac:PaymentMeans/cac:PaymentMandate))
or
boolean(cac:PaymentMeans/cac:PaymentMandate/cac:PayerFinancialAccount/cbc:ID)