What it means
The test counts document-level notes (BG-1) whose ram:SubjectCode (BT-21) equals AAB. It allows zero or one matching note. Notes with other subject codes, or no subject code, do not count. BR-FR-05_BT-22_AAB separately requires an AAB note to be present.
Why it matters
The format limits AAB to one document-level note so your early payment discount statement is kept together.
How to fix it
Under rsm:ExchangedDocument, find every ram:IncludedNote whose ram:SubjectCode is AAB. Keep one and put the wording that matches your early payment discount terms in its ram:Content (BT-22). Combine any relevant wording before removing the extra AAB notes. 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-1). Business terms: BG-1
Where this rule applies
| Rule set | Version |
|---|---|
| France CTC (CII) | 1.4.0-04 |
Check your file
Drop your e-invoice to see whether BR-FR-06_BT-21_AAB still fails, and which other rules do.
Related rules
- BR-FR-05_BT-22_AAB Add an early payment discount note (AAB)
- BR-FR-05_BT-22_PMD Add a late payment penalties note (PMD)
- BR-FR-05_BT-22_PMT Add a fixed recovery fee note (PMT)
- BR-FR-06_BT-21_PMD Use no more than one PMD note
- BR-FR-06_BT-21_PMT Use no more than one PMT note
- BR-FR-06_BT-21_TXD Use no more than one TXD note