What it means
Each qdt:DateTimeString inside ram:UltimateCustomerOrderReferencedDocument/ram:FormattedIssueDateTime must have a format attribute. This rule checks only that the attribute exists, not its value or the date text.
Why it matters
The format attribute identifies how the order date is written. The Extended profile requires this attribute whenever this date element is included.
How to fix it
Add format to ram:ApplicableHeaderTradeAgreement/ram:UltimateCustomerOrderReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString. For a date written as YYYYMMDD, use format="102". Make sure the code and date text match, then export your invoice again 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
Attribute '@format' is required in this context. 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-000784 still fails, and which other rules do.
Related rules
- FX-SCH-A-000785 Use an allowed format code for the end customer order date
- FX-SCH-A-000786 Use an allowed format code for the delivery date
- FX-SCH-A-000787 A delivery note reference needs one number field
- FX-SCH-A-000788 The delivery note date needs a format attribute
- FX-SCH-A-000789 Use an allowed format code for the delivery note date
- FX-SCH-A-000790 The despatch advice date needs a format attribute