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 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000642 still fails, and which other rules do.
Related rules
- FX-SCH-A-000643 Check the tender or lot reference type code
- FX-SCH-A-000644 Check the supporting attachment's file type
- FX-SCH-A-000645 Add a format attribute to the supporting document date
- FX-SCH-A-000646 Check the supporting document date format
- FX-SCH-A-000647 Check the supporting document type code
- FX-SCH-A-000648 Check the country code in your delivery terms