What it means
This rule checks a non-empty format attribute on ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString under ram:ApplicableHeaderTradeSettlement. Use 102 for YYYYMMDD. The date belongs to the preceding invoice reference associated with BT-25. An empty format value passes this code-list test; it does not check the date or reference number.
Why it matters
The format code specifies how the referenced invoice's date is written. It does not establish that the reference identifies the intended invoice.
How to fix it
Keep the actual date of the preceding invoice, not the date of the current invoice or credit note. Correct its XML representation in ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString to YYYYMMDD with format="102". Note that this element uses qdt, not udt. Regenerate and recheck your invoice.
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
Value of '@format' is not allowed. Where this rule applies
| Rule set | Version |
|---|---|
| Factur-X 1.09 EN 16931 | 1.0.9-2 |
| ZUGFeRD 2.5 EN 16931 | 2.5.2 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000596 still fails, and which other rules do.
Related rules
- FX-SCH-A-000597 Use a listed payee identifier scheme
- FX-SCH-A-000598 Use a listed payee registration scheme
- FX-SCH-A-000599 Use a listed invoice-level discount VAT category
- FX-SCH-A-000600 Check the tax type for the invoice discount
- FX-SCH-A-000601 The reason code for an invoice discount must be valid
- FX-SCH-A-000602 Check the VAT category code for the invoice charge