What it means
The qdt:DateTimeString under ram:SpecifiedLineTradeDelivery/ram:DespatchAdviceReferencedDocument/ram:FormattedIssueDateTime 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 referenced despatch advice's date text is written.
How to fix it
Correct the despatch advice date exported for the affected line. Add format to qdt:DateTimeString inside ram:DespatchAdviceReferencedDocument/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-001081 still fails, and which other rules do.
Related rules
- FX-SCH-A-001082 Use an allowed format code for the line despatch advice date
- FX-SCH-A-001083 Package quantity on a line needs a unit code
- FX-SCH-A-001084 Package quantity unit code must be an allowed code
- FX-SCH-A-001085 Quantity per package on a line needs a unit code
- FX-SCH-A-001086 Quantity per package unit code must be an allowed code
- FX-SCH-A-001087 Receiving advice date on a line needs a date format code