What it means
An earlier invoice reference identifies that invoice by its number (BT-25) and may include its date (BT-26). This rule checks a non-empty format attribute on the referenced date's qdt:DateTimeString against the profile's code list. Format 102 denotes a date without separators or a time. The test does not require BT-26 or check the date text.
Why it matters
The format code describes how software should interpret the date associated with the earlier invoice reference.
How to fix it
On ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString under ram:ApplicableHeaderTradeSettlement, set format to 102 and ensure the date text uses YYYYMMDD. This field uses qdt:DateTimeString, not udt:DateTimeString. If you cannot control the attribute, ask your software supplier to check the export. Recheck the corrected file.
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 BASIC | 1.0.9-2 |
| ZUGFeRD 2.5 BASIC | 2.5.2 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000515 still fails, and which other rules do.
Related rules
- FX-SCH-A-000516 Check the payee identifier's scheme
- FX-SCH-A-000517 Check the payee's company registration scheme
- FX-SCH-A-000518 Use an allowed VAT category for the discount
- FX-SCH-A-000519 Use an allowed tax type code for an invoice discount
- FX-SCH-A-000520 Use a valid reason code for an invoice discount
- FX-SCH-A-000521 Use a valid VAT category code for an invoice charge