What it means
The rule checks every ram element whose name ends in TradeTax and warns if it has a direct ram:CustomsDutyIndicator child. The warning applies regardless of the indicator's value.
Why it matters
The warning concerns an extra customs duty flag in the XML. It does not determine whether customs duty is owed or how you should record it on the invoice.
How to fix it
Delete ram:CustomsDutyIndicator from each affected tax element. Do not add, remove or reclassify charges solely because of this warning. If your software adds the element, ask its supplier to correct the CII export, then generate and check a new file.
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
CustomsDutyIndicator 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-051 still fails, and which other rules do.
Related rules
- CII-DT-052 Keep exemption reason codes in ApplicableTradeTax
- CII-DT-053 Do not use an extra tax basis rate in VAT information
- CII-DT-054 Give the VAT point date only at invoice level
- CII-DT-055 Do not add a free-text tax type to VAT information
- CII-DT-056 Do not add an information amount to VAT information
- CII-DT-057 Do not add a category name to VAT information