What it means
The test checks that the line's ram:SpecifiedTradeProduct, representing item information (BG-31), has no direct ram:TypeCode child. It does not check the code's value.
Why it matters
EN 16931 does not use ram:TypeCode in this location. A product classification or descriptive attribute has a different, defined place in the invoice.
How to fix it
Remove ram:TypeCode. If the code belongs to a recognised classification such as CPV or UNSPSC, use ram:DesignatedProductClassification/ram:ClassCode (BT-158) with the correct listID. Otherwise, explain any useful meaning in ram:Description (BT-154) or an item attribute (BG-32). 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
TypeCode 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-050 still fails, and which other rules do.
Related rules
- 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
- CII-SR-054 Remove the separate end item type code
- CII-SR-055 Remove the separate end item name
- CII-SR-056 Remove the separate area density element