What it means
The udt:DateTimeString under ram:SpecifiedLineTradeDelivery/ram:ActualDeliverySupplyChainEvent/ram:OccurrenceDateTime 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 line's delivery date text is written.
How to fix it
Check the XML exported for the affected line's delivery date. Add format to udt:DateTimeString inside ram:ActualDeliverySupplyChainEvent/ram:OccurrenceDateTime. 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-001074 still fails, and which other rules do.
Related rules
- 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
- FX-SCH-A-001078 Use an allowed unit code for the free-of-charge quantity
- FX-SCH-A-001079 Add the line delivery note date format attribute
- FX-SCH-A-001080 Use an allowed format code for the line delivery note date