# HR-BR-43

Source: https://xmlvalid.com/rules/HR-BR-43

> Referenca ugovora (BT-12) ne smije imati više od 1024 znakova

- Level: error
- Rule sets: Croatian eRačun rules (UBL) 13.03.2026
- Context: `ubl-creditnote:CreditNote | ubl-invoice:Invoice`
- Test: `string-length(cac:ContractDocumentReference/cbc:ID) <= 1024`

In English: The contract reference (BT-12) must not be longer than 1024 characters.

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