If "DIRECT DEBIT" BG-19 is present, then "Debited account identifier" BT-91 shall be transmitted.
When BG-19 is present, the debited account identifier BT-91 is missing, or at least one of BT-89 and BT-90 is also missing. The test requires BT-91 and at least one of those two items when the payment means group is present.
For a direct debit, the invoice must contain the identifier of the account from which the amount will be debited. The test also requires this item together with BT-89 or BT-90.
Your invoice contains direct debit information, but the debited account identifier is missing or incomplete. Add the account information to the payment details.
- When
BG-19is present, add the debited account identifierBT-91. - Check the account details using
AddDebitorFinancialAccount(...)orGetDebitorFinancialAccounts(). - Also make sure that at least one of
BT-89orBT-90is present. - Generate the invoice again and validate it once more.
FacturXInvoice.GetDebitorFinancialAccounts()(BT-91)FacturXInvoice.AddDebitorFinancialAccount(iban, bic, id, bankleitzahl, bankName, name)(BT-91)
Technical details
The test passes when BG-19 is absent, or when BG-19 is present and both BT-91 and at least one of the BT-89 and BT-90 paths are present.
The rule applies to the invoice payment information under rsm:CrossIndustryInvoice and is triggered when payment means group BG-19 is present.
rule/@context)assert/@test)