# F-LIB091

Source: https://xmlvalid.com/rules/F-LIB091

> Attribute mimeCode must be a value from the codelist

- Level: error
- Rule sets: OIOUBL 2.1 Invoice rules (Denmark) 1.17.2, OIOUBL 2.1 Credit Note rules (Denmark) 1.17.2, OIOUBL 2.1 Reminder rules (Denmark) 1.17.2
- Test: `./@mimeCode = 'image/tiff' or ./@mimeCode = 'image/png' or ./@mimeCode = 'image/jpeg' or ./@mimeCode = 'image/gif' or ./@mimeCode = 'application/pdf' or ./@mimeCode = 'text/xml' or ./@mimeCode = 'text/csv' or ./@mimeCode = 'application/vnd.ms-excel' or ./@mimeCode = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' or ./@mimeCode = 'application/vnd.oasis.opendocument.spreadsheet'`

Validate a document against these rules: https://xmlvalid.com/validate
