Skip to content

Warning

CII-DT-058: Give the VAT point date code only at invoice level

In short

Warning: worth checking.

CII-DT-058 warns that DueDateTypeCode appears in a CII tax element outside ApplicableHeaderTradeSettlement. Remove it from that location. If you need the VAT point date code (BT-8), record it in the invoice-level settlement.

On this page

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
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether CII-DT-058 still fails, and which other rules do.

Updated 6 November 2026