Skip to content

Error

FX-SCH-A-000638: Check the invoiced object reference date format

In short

Error: fails the selected checks.

FX-SCH-A-000638 means the date format code on your invoiced object reference (BT-18, type code 130) is not allowed by the Extended profile. Correct the format attribute of qdt:DateTimeString; use 102 for a full calendar date written as YYYYMMDD.

On this page

What it means

This checks format on qdt:DateTimeString inside ram:FormattedIssueDateTime of a header ram:AdditionalReferencedDocument with ram:TypeCode 130, under ram:ApplicableHeaderTradeAgreement. A non-empty value must appear in the Extended profile's date-format list for this element. An empty value passes. This test does not check the date text.

Why it matters

The code tells software how to interpret the reference's date. The format attribute needs a recognised code, not a written date pattern.

How to fix it

Replace the unsupported format value with a listed code that matches the date text. For format="102", write the date as YYYYMMDD without separators. Do not use YYYYMMDD as the attribute value or change ram:TypeCode 130 to fix a date format error. Export the corrected file and recheck it.

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

Updated 6 November 2026