What it means
This rule checks a non-empty ram:DueDateTypeCode within the document-level tax information against the allowed codes 5, 29 and 72. Despite the XML element's name, this is the VAT point date code, not the payment due date. This test does not require the element or decide which VAT point applies.
Why it matters
The code identifies the event whose date is used as the VAT point.
How to fix it
Correct ram:DueDateTypeCode within ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax. Choose the code matching your invoice's VAT point, rather than an arbitrary allowed value. Do not enter a payment due date or payment terms in this element. If you are unsure which VAT point applies, check with your bookkeeper or accountant, then recheck the corrected file.
Once the file is corrected, check it again for free: Validate a ZUGFeRD invoice
Or fix the invoice in a form and download the corrected file, for 1 credit: Fix a rejected e-invoice Beta
The rule as published
Value of 'ram:DueDateTypeCode' is not allowed. Where this rule applies
| Rule set | Version |
|---|---|
| Factur-X 1.09 BASIC | 1.0.9-2 |
| ZUGFeRD 2.5 BASIC | 2.5.2 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000509 still fails, and which other rules do.
Related rules
- FX-SCH-A-000510 Use an allowed VAT exemption reason code
- FX-SCH-A-000511 Use VAT as the tax type code
- FX-SCH-A-000512 Check the invoicing period end date's format code
- FX-SCH-A-000513 Check the invoicing period start date's format code
- FX-SCH-A-000514 Use an allowed invoice currency code
- FX-SCH-A-000515 Check the earlier invoice date's format code