What it means
The invoice notes (BT-22) must include the statement about the early payment discount, or about its absence, marked with the code AAB between hash signs. UBL has no separate field for the note subject code (BT-21), so the code is written into the note text, normally at the start, as #AAB# followed by the wording. The check looks for the text #AAB# in the notes and does not read the wording. It applies to invoices and credit notes.
Why it matters
French commercial law requires an invoice between businesses to state the conditions for an early payment discount, or that there is none. The platform checks that the statement is there and rejects the invoice when it is missing.
How to fix it
Add a note at invoice level (cbc:Note, not on a line) that starts with #AAB# and then the statement. If you give no discount, the usual wording is: #AAB# Pas d'escompte pour paiement anticipé. In invoicing software this usually goes in a notes or legal mentions field, so set it once in your invoice template. Type the code exactly as #AAB#, with no spaces inside the hash signs, because the check looks for that exact text.
The rule as published
La mention relative à l’escompte ou à son absence (code AAB) est absente. Elle est obligatoire dans les notes (BG-3). Business terms: BG-3
Where this rule applies
| Rule set | Version |
|---|---|
| France CTC (UBL invoice) | 1.4.0-04 |
| France CTC (UBL credit note) | 1.4.0-04 |
Check your file
Drop your e-invoice to see whether BR-FR-05_BT-22-3 still fails, and which other rules do.