The mandate reference is missing for a direct debit
`Mandate reference identifier` (BT-89) must be provided when the payment means is a direct debit (49 or 59).
Only the issuer holds this value: Factlint reports it and never fabricates it. Test your invoice to find out whether it is affected.
The message your validator prints
Copied verbatim from the sealed artefact: this is the exact sentence the check prints when this rule fails.
Mandate reference MUST be provided for direct debit.
Quoted from schematron-xrechnung 3.0.2, licensed under Apache-2.0.
Common searches around this code
These phrases mirror what an integrator searches for: code, syntax, rule, business field and correction.
Test your file with this error in mind
Upload the invoice involved: the report will say whether this code appears, where it appears in the document, and whether Factlint can only report it or also fix it.
To automate this check in an ERP flow, call the validation API and link every returned code to its public page.
Why this error happens
The rule covers one code more than BR-DE-25-a: 49 (non-SEPA direct debit) in addition to 59. It is the unique reference of the mandate the debtor signed — without it the bank ties the collection to no authorisation.
How to fix it
Copy the mandate reference from your direct debit system. Factlint does not write it: it is a payment detail (rule 1).
XML correction example
<ram:TypeCode>59</ram:TypeCode> — ram:DirectDebitMandateID absent
<ram:DirectDebitMandateID>MANDAT-2026-0042</ram:DirectDebitMandateID>