What it means
Each qdt:DateTimeString inside ram:ContractReferencedDocument/ram:FormattedIssueDateTime under ram:ApplicableHeaderTradeAgreement must have a format attribute. This rule checks its presence, not its value or the date text.
Why it matters
The format attribute identifies how the referenced contract date is written.
How to fix it
Add the missing format attribute to the contract reference's qdt:DateTimeString in your CII XML. For a date written as YYYYMMDD, use format="102". Make sure the date text matches the chosen format, then export the corrected file 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-000705 still fails, and which other rules do.
Related rules
- FX-SCH-A-000706 Use an allowed contract date format code
- FX-SCH-A-000707 Use an allowed contract reference type code
- FX-SCH-A-000708 Do not repeat the end user's identifier field
- FX-SCH-A-000709 Include exactly one end user name field
- FX-SCH-A-000710 Use at most one end user role code
- FX-SCH-A-000711 Do not repeat the end user's electronic address block