Error codes · EN 16931 · Germany

DE-R-020In your invoicing software

Debited account identifier (BT-91) should contain a valid IBAN if code 59...

This is the rejection, word for word: „[DE-R-020] Invalid debit IBAN format. When payment means code 59 (SEPA direct debit) is used, the debited account (BT-91) must contain a valid IBAN.“

What to have readyNothing. The file has to be re-exported from your invoicing software; we check it again afterwards.
What we doInvoice Navigator automatically fixes this issue by correcting the `cbc:Note` element in your Invoice.
If you enter it yourself in your invoicing software
Before
<cac:PaymentTerms>
  <cbc:Note>INVALID_CODE</cbc:Note>
</cac:PaymentTerms>
After
<cac:PaymentTerms>
  <cbc:Note>VALID_CODE</cbc:Note>
</cac:PaymentTerms>

Element order is part of the rule: if the element sits in the wrong place, the validator rejects with DE-R-020.

What the finding looks likeExample
FindingStructure invalid · DE-R-020
Location//cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:PostalZone
From youA re-exported file
ThenRe-export
ProofSHA-256 and /verify link after the check