What it means
The check flags ram:BasisQuantity in every CII ram element whose name ends in TradeTax. This includes tax blocks in the VAT breakdown, on lines, and on document-level discounts or charges. It does not prohibit quantity fields outside those tax blocks.
Why it matters
This CII tax mapping does not use the extra tax basis quantity field. The warning does not establish acceptance or confirm the VAT calculation.
How to fix it
Remove ram:BasisQuantity from the affected tax block. Keep the invoice's legitimate billed quantities and price base quantities in their proper fields. Do not change the taxable amount, VAT rate or VAT amount merely to remove this element. If your software keeps adding it, ask its supplier to correct the CII export. Export the corrected file and recheck it.
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
BasisQuantity 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-DT-040 still fails, and which other rules do.
Related rules
- CII-DT-041 Keep taxable amounts in the header settlement
- CII-DT-042 Do not use a unit basis amount in VAT information
- CII-DT-043 Do not use a line total basis amount in VAT information
- CII-DT-044 Do not use a discount or charge basis amount in VAT information
- CII-DT-045 Leave the code list ID off a line's VAT category code
- CII-DT-046 Leave the code list agency off a line's VAT category code