What it means
In UBL, the check applies to parentless GROUP billing references identifying the current document. It requires a non-blank cac:DocumentReference/cbc:ID with schemeID AVV under a reference with cbc:DocumentTypeCode 130. It excludes the values S8, B8 and M8 only. Although the main message also names S9, B9 and M9, the check itself does not exclude them. The CII wording also excludes only S8, B8 and M8; its fields are ram:IssuerAssignedID and ram:ReferenceTypeCode AVV. The CII check runs on existing AVV references and also requires ram:TypeCode 130.
Why it matters
This check requires a populated AVV reference and prevents the three specified values from being used there.
How to fix it
Enter the correct AVV value on the affected top-level GROUP line. In UBL, use a document reference with type code 130 and an ID with schemeID AVV. In CII, use ram:IssuerAssignedID with ram:ReferenceTypeCode AVV and ram:TypeCode 130. Do not use S8, B8 or M8. If you do not know the appropriate value, ask your invoicing software supplier rather than entering an arbitrary replacement.
Once the file is corrected, check it again for free: Check an e-invoice
The rule as published
Pour une ligne GROUP sans parent, une valeur d'objet facturé (ram:IssuerAssignedID) avec identifiant de schéma (ram:ReferenceTypeCode) = AVV doit être présente et différente de S8, B8, M8 ou S9, B9, M9 : Ligne : … Where France CTC (CII) run it, the rule reads:
Pour une ligne GROUP sans parent, une valeur d'objet facturé (BT-128 : ram:IssuerAssignedID) avec identifiant de schéma (BT-128-1 : ram:ReferenceTypeCode) = AVV doit être présente et différente de M8/S8/B8. 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-MV-03_BT-128_AVV still fails, and which other rules do.