What it means
Each discount (BG-27) or charge (BG-28) on an invoice line is checked for a TypeCode element, a code classifying the kind of entry. In EN 16931 the charge indicator already says whether the entry is a discount or a charge, and the reason code (UNTDID 5189 for discounts, UNTDID 7161 for charges) or the reason text says why.
Why it matters
This is a warning, so the file is still accepted. The recipient ignores the type code, so it explains nothing to the buyer. It is worth fixing for a clean check result, and so the explanation travels in a field that is actually read.
How to fix it
Delete the TypeCode from the line's SpecifiedTradeAllowanceCharge in the XML. Check that the charge indicator is right, false for a discount and true for a charge. If you want to say why the entry is there, add a reason in words or a reason code from the lists above.
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-190 still fails, and which other rules do.