All error codes › DE-R-025-2
DE-R-025-2 – If "Payment means type code" (BT-81) contains a code for direct debit (59), BG-17 and…
ErrorpeppolPeppol only
What the rule says
If "Payment means type code" (BT-81) contains a code for direct debit (59), BG-17 and BG-18 shall not be provided.
How to fix it
Fill in or correct the fields named in the rule (the BT/BG codes tell you which). The test below shows exactly what is checked in the XML. Quickest: validate the invoice to get the exact location and, for amounts, the correct value.
Paste the XML and see every error with the exact fix and the correct amounts.
Where it is checked in the XML
Context: (/ubl-invoice:Invoice/cac:PaymentMeans[cbc:PaymentMeansCode = 59] | /ubl-creditnote:CreditNote/cac:PaymentMeans[cbc:PaymentMeansCode = 59])[$supplierCountryIsDE and $customerCountryIsDE]
Test (XPath):
not(cac:PayeeFinancialAccount) and not(cac:CardAccount)
Related rules
DE-R-025-1If "Payment means type code" (BT-81) contains a code for direct debit (59), "DIRECT…