Skip to content

Fatal

BR-FR-30_BT-128: Do not repeat AFL or AVV within one line reference

In short

Fatal: fails the selected checks.

BR-FR-30_BT-128 means one line-level reference in your UBL invoice or credit note contains more than one cbc:ID with scheme AFL or more than one with scheme AVV. Within that reference, keep at most one correct identifier per scheme.

On this page

What it means

For line-level invoiced object identifiers (BT-128), the test counts matching cbc:ID children separately inside each cac:DocumentReference on an invoice or credit note line. It allows zero or one AFL identifier and zero or one AVV identifier in that reference. It does not count identifiers across all references on the line. Document-level references are checked separately by BR-FR-29_BT-18.

Why it matters

Repeated identifiers within one line reference can give competing values for the same scheme.

How to fix it

Find the affected line and inspect the cbc:ID elements inside its cac:DocumentReference elements. In the affected reference, remove repeated AFL or AVV entries, retaining at most one correct identifier for each scheme. This rule does not require you to add either scheme if it is absent. Recheck your file.

Once the file is corrected, check it again for free: Check an e-invoice

The rule as published

Parmi les identifiants d’objets facturés à la ligne (BT-128), les schémas d’identification "AFL" et "AVV" ne doivent être présents qu’une seule fois chacun. Actuellement : AFL = … occurrence(s), AVV = … occurrence(s). Veuillez supprimer les doublons pour respecter la règle.

Business terms: BT-128

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
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether BR-FR-30_BT-128 still fails, and which other rules do.

Updated 6 November 2026