What it means
At each line's ram:SpecifiedTradeProduct, the test passes if there is no ram:GlobalID or if at least one ram:GlobalID has a schemeID attribute. It checks attribute presence, not whether the attribute is non-empty or its value is valid.
Why it matters
The scheme identifies the numbering system used for the standard identifier. This rule checks the XML structure, not the validity of the number or whether a recipient will accept the invoice.
How to fix it
Set the correct schemeID on each ram:GlobalID you supply. For a GTIN, the scheme code is 0160. Do not guess the scheme or leave its value empty. If you cannot establish the scheme, confirm it with the source of the identifier or omit ram:GlobalID. Keep any separate seller's item number (BT-155) in ram:SellerAssignedID. Export the revised file and check it again.
Once the file is corrected, check it again for free: Validate an invoice against EN 16931
Or fix the invoice in a form and download the corrected file, for 1 credit: Fix a rejected e-invoice
The rule as published
schemeID must be present if GlobalID is present Where this rule applies
| Rule set | Version |
|---|---|
| EN 16931 (CII) | 1.3.17 |
| XRechnung 3.0 (CII) | 3.0.2 |
| NLCIUS (CII) | 1.0.3.13 |
| France CTC (CII) | 1.4.0-04 |
Check your file
Drop your e-invoice to see whether CII-SR-046 still fails, and which other rules do.
Related rules
- CII-SR-048 Remove the separate manufacturer product number
- CII-SR-049 Remove the separate product trade name
- CII-SR-050 Remove the separate product type code
- CII-SR-051 Remove the separate product net weight element
- CII-SR-052 Remove the separate product gross weight element
- CII-SR-053 Remove the separate product group identifier