# DT-CIUS-PT-111.2

Source: https://xmlvalid.com/rules/DT-CIUS-PT-111.2

> The BT-125 does not meet the defined format: the maximum size per file is 5 Mb.

- Level: error
- Rule sets: CIUS-PT rules (Portugal, UBL) 2.1.1
- Context: `//ubl:Invoice/cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject | //cn:CreditNote/cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject`
- Test: `((string-length(.)*0.75) div 1024) < 5000`

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