What it means
The qdt:DateTimeString for the end customer's order date referenced on a line must have a format attribute. This rule checks that the attribute exists, not whether its value or the date text is valid.
Why it matters
The format attribute identifies how the end customer's order date text is written.
How to fix it
Check the XML exported for the end customer's order date on the affected line. Add format to qdt:DateTimeString inside ram:UltimateCustomerOrderReferencedDocument/ram:FormattedIssueDateTime. For a date written as YYYYMMDD, use format="102". Keep the date text consistent with the chosen code, then check the corrected file again.
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-001071 still fails, and which other rules do.
Related rules
- FX-SCH-A-001072 The date format code of the end customer's order must be valid
- FX-SCH-A-001073 Give each line delivery event one date element
- FX-SCH-A-001074 Add the line delivery date format attribute
- FX-SCH-A-001075 Use an allowed format code for the line delivery date
- FX-SCH-A-001076 Use an allowed unit code for the invoiced quantity
- FX-SCH-A-001077 Add a unit code to the free-of-charge quantity