What it means
This rule checks the non-empty format value on udt:DateTimeString inside ram:ApplicableTradePaymentDiscountTerms/ram:BasisDateTime against the profile's date format code list. This test allows an empty value. FX-SCH-A-000979 separately checks whether the attribute exists.
Why it matters
The format code identifies the notation used for the discount terms' basis date.
How to fix it
Correct the format attribute of ram:SpecifiedTradePaymentTerms/ram:ApplicableTradePaymentDiscountTerms/ram:BasisDateTime/udt:DateTimeString. Choose a permitted code and make sure the date matches it. For format="102", use YYYYMMDD. If your software exports an invalid code, ask its supplier to correct 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 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-000980 still fails, and which other rules do.
Related rules
- FX-SCH-A-000981 Format attribute for a late payment penalty date
- FX-SCH-A-000982 Permitted format code for a late payment penalty date
- FX-SCH-A-000983 Use an allowed due date format code
- FX-SCH-A-000984 Payee identifier in payment terms is repeated
- FX-SCH-A-000985 Payee in payment terms needs exactly one name
- FX-SCH-A-000986 Payee role code in payment terms is repeated