{
  "id": "BR-CL-24",
  "country": "EU",
  "syntax": "ubl",
  "group": "code-list",
  "severity": "fatal",
  "severity_note": "fatal, from the Flag column of the Peppol BIS Billing 3.0 UBL rules index retrieved 2026-10-18.",
  "spec": "Peppol BIS Billing 3.0, May 2026 release, EN 16931 model bound to UBL",
  "statement": "For Mime code in attribute use MIMEMediaType.",
  "statement_lang": "en",
  "context": "cbc:EmbeddedDocumentBinaryObject[@mimeCode]",
  "test": "((@mimeCode = 'application/pdf' or @mimeCode = 'image/png' or @mimeCode = 'image/jpeg' or @mimeCode = 'text/csv' or @mimeCode = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' or @mimeCode = 'application/vnd.oasis.opendocument.spreadsheet'))",
  "meaning": "The statement says to use MIMEMediaType for a MIME code in the attribute, and the published test allows six media types. It ends with a period and does not say MUST. The context is cbc:EmbeddedDocumentBinaryObject[@mimeCode]. The test compares @mimeCode to application/pdf, image/png, image/jpeg, text/csv, the spreadsheetml sheet type, and the oasis opendocument spreadsheet type, with spaces around =. It does not read @schemeID or @unitCode. It does not call exists.",
  "fix": "Set mimeCode on the embedded document to one of the six media types in the published test, such as application/pdf.",
  "example_fail": "The embedded document mimeCode is application/xml.",
  "example_pass": "The embedded document mimeCode is application/pdf.",
  "example_note": "Illustration of the condition in the official statement. Not an example published by the source.",
  "source_url": "https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-tc434/BR-CL-24/",
  "source_retrieved": "2026-10-18",
  "last_verified": "2026-10-18"
}
