Skip to content

Error

FX-SCH-A-000509: Use 5, 29 or 72 for the VAT point date code

In short

Error: fails the selected checks.

FX-SCH-A-000509 means the VAT point date code (BT-8) is outside the list used by the Basic profiles of Factur-X and ZUGFeRD. Use 5 for the invoice date, 29 for the delivery date or 72 for the payment date, according to the VAT point applicable to your invoice.

On this page

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

Check your file

Drop your e-invoice to see whether FX-SCH-A-000509 still fails, and which other rules do.

Updated 6 November 2026