What it means
For each ram element whose name ends in TradeTax, the rule checks that a direct ram:DueDateTypeCode child is absent unless the tax element has ram:ApplicableHeaderTradeSettlement as an ancestor. This test checks location, not the code's value or how many codes you supply.
Why it matters
Despite its XML name, DueDateTypeCode represents the VAT point date code (BT-8), not your payment due date. This warning does not determine whether you need the code or which code applies.
How to fix it
Remove ram:DueDateTypeCode from each tax element outside ram:ApplicableHeaderTradeSettlement. If BT-8 is needed, record it in the appropriate ApplicableTradeTax within the invoice-level settlement. Do not change your payment due date to address this warning. Generate the file again 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
DueDateTypeCode 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-058 still fails, and which other rules do.
Related rules
- CII-DT-059 Do not add a format attribute to the VAT rate
- CII-DT-060 Do not add an accounting account to VAT information
- CII-DT-061 Leave the service supply country out of the VAT details
- CII-DT-062 Leave the buyer's repayable tax account out of the tax details
- CII-DT-063 Leave the seller's payable tax account out of the tax details
- CII-DT-064 Leave the seller's refundable tax account out of the tax details