Skip to content

Error

FX-SCH-A-000642: Check the tender or lot reference date format

In short

Error: fails the selected checks.

FX-SCH-A-000642 means a non-empty format attribute on the date of your tender or lot reference (type code 50, BT-17) is not on the Extended profile's permitted list. Use a permitted code that matches how the date is written.

On this page

What it means

The rule checks @format on qdt:DateTimeString inside ram:FormattedIssueDateTime of a ram:AdditionalReferencedDocument containing type code 50. It compares non-empty values with code list 17. An empty value passes this test; the test does not check the date itself.

Why it matters

The format code identifies how the date is represented. The Extended profile restricts which codes you can use here.

How to fix it

Correct @format on the affected qdt:DateTimeString using the profile's permitted date-format list. For example, 102 represents YYYYMMDD, without separators. Make sure the date value matches the selected code, then re-export and recheck your invoice.

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

Updated 6 November 2026