What it means
The test checks that the line's ram:SpecifiedTradeProduct, representing item information (BG-31), has no direct ram:ID child. It does not prohibit the separate elements for seller, buyer or standard identifiers.
Why it matters
EN 16931 gives the seller, buyer and standard identifiers distinct meanings. The generic ram:ID element has no mapping in this part of the CII invoice.
How to fix it
Identify what the number represents. Use ram:SellerAssignedID for BT-155, ram:BuyerAssignedID for BT-156 or ram:GlobalID with the appropriate schemeID for BT-157. Do not relabel a number unless it genuinely belongs in that field. Remove ram:ID, 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
ID should not be 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-045 still fails, and which other rules do.
Related rules
- CII-SR-046 Add the scheme for the product's standard identifier
- 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