What it means
Each document-level cac:AdditionalDocumentReference/cbc:ID with schemeID AFL must contain something other than whitespace. This includes invoiced object references (BT-18). The check does not apply to line-level cac:DocumentReference identifiers.
Why it matters
The AFL scheme identifies the kind of reference, but the identifier still needs a value to identify what you are referring to.
How to fix it
Find the document-level cac:AdditionalDocumentReference containing cbc:ID with schemeID AFL. Enter the correct identifier in cbc:ID. If the reference was added by mistake and is not needed, remove that reference rather than leaving its identifier blank. Recheck your file.
Once the file is corrected, check it again for free: Check an e-invoice
The rule as published
L’identifiant associé au schéma "AFL" (cbc:ID) ne doit pas être vide. Valeur actuelle : " … ". Where this rule applies
| Rule set | Version |
|---|---|
| France CTC (UBL invoice) | 1.4.0-04 |
| France CTC (UBL credit note) | 1.4.0-04 |
| France CTC (CII) | 1.4.0-04 |
Check your file
Drop your e-invoice to see whether BR-FR-29_AFL still fails, and which other rules do.