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 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000638 still fails, and which other rules do.
Related rules
- FX-SCH-A-000639 Check the invoiced object identifier scheme
- FX-SCH-A-000640 Check all type codes in the invoiced object reference
- FX-SCH-A-000641 Add the tender or lot reference date format
- FX-SCH-A-000642 Check the tender or lot reference date format
- FX-SCH-A-000643 Check the tender or lot reference type code
- FX-SCH-A-000644 Check the supporting attachment's file type