What it means
This rule checks format on ram:AdditionalReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString under a line's ram:SpecifiedLineTradeAgreement. It checks attribute presence only. It does not check the format value or the date itself.
Why it matters
The attribute identifies how the referenced document's date is represented. This is the referenced document's date, not your invoice date.
How to fix it
Find the affected qdt:DateTimeString and add format with the appropriate allowed code. For a date written as YYYYMMDD, use 102. Keep the date text and code consistent. If your software omits the attribute, have its export corrected, then export and recheck.
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-001022 still fails, and which other rules do.
Related rules
- FX-SCH-A-001023 The date format code on a line document reference is not allowed
- FX-SCH-A-001024 The reference type code on a line document is not allowed
- FX-SCH-A-001025 The document type code on a line document is not allowed
- FX-SCH-A-001026 Line delivery terms need exactly one delivery terms code
- FX-SCH-A-001027 The delivery terms code on a line is not allowed
- FX-SCH-A-001028 The country code in line delivery terms is not allowed