What it means
The rule checks @mimeCode on ram:AttachmentBinaryObject in a ram:AdditionalReferencedDocument containing type code 916. Non-empty values must match an entry in code list 19. This test allows an empty value and does not inspect the attachment's actual file format.
Why it matters
The MIME type describes the attachment's file format. The Extended profile limits which MIME types you can declare.
How to fix it
Check the attachment's actual format and correct its mimeCode, for example application/pdf for a PDF. If the format is not permitted, convert the attachment to a permitted format and update both the attached content and its MIME type. Do not just relabel the original file. Re-export 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 '@mimeCode' 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-000644 still fails, and which other rules do.
Related rules
- FX-SCH-A-000645 Add a format attribute to the supporting document date
- FX-SCH-A-000646 Check the supporting document date format
- FX-SCH-A-000647 Check the supporting document type code
- FX-SCH-A-000648 Check the country code in your delivery terms
- FX-SCH-A-000649 Keep at most one buyer agent ram:ID
- FX-SCH-A-000650 Give the buyer agent one name element