What it means
Each qdt:DateTimeString inside ram:ReceivingAdviceReferencedDocument/ram:FormattedIssueDateTime must have a format attribute. This rule checks only that the attribute exists, not its value or the date text.
Why it matters
The format attribute identifies how the referenced receiving advice date is written. The Extended profile requires this attribute whenever this date element is included.
How to fix it
Add format to ram:ApplicableHeaderTradeDelivery/ram:ReceivingAdviceReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString. For a date written as YYYYMMDD, use format="102". Make sure the code and date text match, then export your invoice again and recheck it.
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-000792 still fails, and which other rules do.
Related rules
- FX-SCH-A-000793 Use an allowed format code for the receiving advice date
- FX-SCH-A-000794 Use at most one ship-from party ID
- FX-SCH-A-000795 Use at most one ship-from role code
- FX-SCH-A-000796 Use at most one ship-from electronic address block
- FX-SCH-A-000797 Use at most one ship-from tax registration
- FX-SCH-A-000798 The ship-from contact email block needs one address field