DE-R-024-2
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.
What does this rule mean?
The payment means code (BT-81) says payment card (48, 54, 55), but BG-17 (credit transfer) and BG-19 (direct debit) are also present.
Only the detail group belonging to the stated payment means may be sent — several groups at once would contradict each other.
- BG-17
- Credit transfer (group)
- BG-19
- Direct debit (group)
- BT-81
- Payment means type code (UNTDID 4461)
Official rule message (standard)
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.
Where the rule applies
Syntax: UBL
Affected element (XPath):
(/ubl-invoice:Invoice/cac:PaymentMeans[cbc:PaymentMeansCode = (48,54,55)] |/ubl-creditnote:CreditNote/cac:PaymentMeans[cbc:PaymentMeansCode = (48,54,55)])[$supplierCountryIsDE and $customerCountryIsDE]
Technical test
The rule passes when this Schematron expression holds true:
not(cac:PayeeFinancialAccount) and not(cac:PaymentMandate)How to fix it
A missing or incorrect business entry only you can supply. Add or correct it, then re-check.
Remove BG-17 (credit transfer) and BG-19 (direct debit), or change the payment means code to the one you actually mean.
Correct the affected entry in your XML, then re-check the invoice. Validation runs locally in your browser — your file never leaves your machine.
Check an e-invoice here
Drop an XML or ZUGFeRD PDF file here. Validation runs locally in your browser against EN 16931 — your file never leaves your machine.