Skip to content

Error

FX-SCH-A-001023: The date format code on a line document reference is not allowed

In short

Error: fails the selected checks.

FX-SCH-A-001023 means the date on your line's document reference has a format code outside the Extended profile's permitted list. Replace the format attribute on qdt:DateTimeString with an allowed code and make sure the date text matches it.

On this page

What it means

For a line's ram:AdditionalReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString, a non-empty format attribute must contain a code from the Extended profile's date format list. An empty value passes this particular check; the check does not establish whether the attribute exists or the date itself is valid.

Why it matters

The format code describes how you have written the date. A code outside the permitted list does not meet the Extended profile's requirements.

How to fix it

Correct the date format on the affected line's document reference. In the XML, update the format attribute on ram:AdditionalReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString. For an eight-digit date written as YYYYMMDD, use format="102" and make the date text match. Export again and recheck the 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 '@format' is not allowed.

Where this rule applies

Rule set Version
Factur-X 1.09 EXTENDED 1.0.9-2
ZUGFeRD 2.5 EXTENDED 2.5.2
Rule text from phive-rules 4.6.4.

Check your file

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

Updated 6 November 2026