# BR-CL-24

Quoted from a public specification. This page is not a validator, and it is not tax, legal, or accounting advice.

- Country: EU
- Syntax: UBL
- Severity: fatal
- Statement language: en
- Last verified: 2026-10-18

## Official statement

> For Mime code in attribute use MIMEMediaType.

Source: https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-tc434/BR-CL-24/

Peppol BIS Billing 3.0, May 2026 release, EN 16931 model bound to UBL

Severity note: fatal, from the Flag column of the Peppol BIS Billing 3.0 UBL rules index retrieved 2026-10-18.

## Plain-language reading

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.

## What to change

Set mimeCode on the embedded document to one of the six media types in the published test, such as application/pdf.

## Illustration

Illustration of the condition in the official statement. Not an example published by the source.

**Fails the stated condition.** The embedded document mimeCode is application/xml.

**Passes the stated condition.** The embedded document mimeCode is application/pdf.

## Published context and test

Copied from the source. Not reimplemented on this page.

```
cbc:EmbeddedDocumentBinaryObject[@mimeCode]
```

```
((@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'))
```

[All rule notes](https://einvoicegoblin.com/rules/index.md) · [JSON](https://einvoicegoblin.com/rules/BR-CL-24.json) · [HTML](https://einvoicegoblin.com/rules/BR-CL-24/) · [llms.txt](https://einvoicegoblin.com/llms.txt) · [Invoice page](https://einvoicegoblin.com/) · [Privacy](https://einvoicegoblin.com/privacy.html)
