Error codes · EN 16931 · Germany

DE-R-031In your invoicing software

If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Debited...

This is the rejection, word for word: „[DE-R-031] Debited account missing. When direct debit (BG-19) is used, the debited account identifier (BT-91) containing the buyer's IBAN is required.“

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 `cac:PaymentMandate` element in your Invoice (DE-R-031).
If you enter it yourself in your invoicing software
Before
<cac:PaymentMeans>
  <cac:PaymentMandate><!-- invalid or missing value --></cac:PaymentMandate>
</cac:PaymentMeans>
After
<cac:PaymentMeans>
  <cac:PaymentMandate>correct-value</cac:PaymentMandate>
</cac:PaymentMeans>

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

What the finding looks likeExample
FindingStructure invalid · DE-R-031
Location//cac:InvoicePeriod/cbc:StartDate
From youA re-exported file
ThenRe-export
ProofSHA-256 and /verify link after the check