Skip to content

Error

FX-SCH-A-001135: Date format code of a referenced invoice on a line must be valid

In short

Error: fails the selected checks.

FX-SCH-A-001135 means the format code for a referenced invoice's date on an invoice line is not allowed. Correct the format attribute on qdt:DateTimeString using a permitted code that matches the date text.

On this page

What it means

The rule checks format on qdt:DateTimeString under the line's ram:SpecifiedLineTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime against code list 17. An empty or missing value passes this code-list test. FX-SCH-A-001134 separately requires the attribute to exist.

Why it matters

The format code tells software how to interpret the referenced invoice's date text.

How to fix it

Correct format on the affected qdt:DateTimeString and ensure that the date text matches it. For format="102", use eight digits as YYYYMMDD, including leading zeros for the month and day. If your software writes an unsupported code, ask its supplier to correct the export. Export again and recheck.

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-001135 still fails, and which other rules do.

Updated 6 November 2026