What it means
The test counts occurrences of the exact text #AAB# across the combined document-level notes (BG-3 in this rule). The marker represents subject code AAB (BT-21) within note text (BT-22). Zero or one occurrence passes this test; two occurrences fail even if they are within one note. BR-FR-05_BT-22-3 separately requires the marker to be present.
Why it matters
The AAB marker identifies your early payment discount statement, and this format limits it to one occurrence in the combined notes.
How to fix it
Find every #AAB# in the document-level cbc:Note elements of your invoice or credit note. Check which wording matches your actual discount terms. Keep that wording with one #AAB# marker, removing duplicate markers and any conflicting or repeated text. Generate the file again and recheck it.
Once the file is corrected, check it again for free: Check an e-invoice
The rule as published
Le code sujet AAB (mention d’escompte ou d’absence d’escompte) ne doit apparaître qu'une seule fois 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-06_BT-21-3 still fails, and which other rules do.
Related rules
- BR-55 Preceding invoice number is required
- BR-DE-26 A corrected invoice should refer to the invoice it corrects
- BR-FR-05_BT-22-1 Add the recovery fee note (#PMT#)
- BR-FR-05_BT-22-2 Add the late payment penalties note (#PMD#)
- BR-FR-05_BT-22-3 Add the early payment discount note (#AAB#)
- BR-FR-06_BT-21-1 Use the recovery fee marker #PMT# at most once