What it means
The qdt:DateTimeString for a line's referenced quotation 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 quotation date text is written.
How to fix it
Check the XML exported for the line's quotation date. Add format to qdt:DateTimeString inside ram:QuotationReferencedDocument/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-001067 still fails, and which other rules do.
Related rules
- FX-SCH-A-001068 The date format code of a quotation reference must be valid
- FX-SCH-A-001069 Add the seller's order date format attribute
- FX-SCH-A-001070 The date format code of the seller's order must be valid
- FX-SCH-A-001071 Add the end customer's order date format attribute
- 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