What it means
This rule checks the format code value on qdt:DateTimeString under ram:QuotationReferencedDocument/ram:FormattedIssueDateTime against code list 17 in FACTUR-X_EXTENDED_codedb.xml. An empty code value passes this test. It does not check the date text. FX-SCH-A-000731 separately requires the format attribute.
Why it matters
The Extended profile of Factur-X and ZUGFeRD defines which format codes you can use here. A non-empty code outside that list does not meet this rule.
How to fix it
Correct format on the quotation date's qdt:DateTimeString. If you use format="102", write the date as YYYYMMDD. Otherwise, use another permitted code and its matching date representation. Correct the export rather than assuming another export will change it, then check the new file.
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-000732 still fails, and which other rules do.
Related rules
- FX-SCH-A-000733 Do not repeat the sales agent's ram:ID element
- FX-SCH-A-000734 The sales agent needs exactly one name
- FX-SCH-A-000735 The sales agent can have only one role code
- FX-SCH-A-000736 The sales agent can have only one electronic address block
- FX-SCH-A-000737 The sales agent can have only one tax registration
- FX-SCH-A-000738 A sales agent contact email entry needs one address element