# HR-BR-33

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

> Račun ne smije sadržavati prazne xml elemente osim elementa s elektroničkim potpisom računa.

- Level: error
- Rule sets: Croatian eRačun rules (UBL) 13.03.2026
- Context: `//*[not(*) and not(normalize-space()) and not(ancestor-or-self::sig:UBLDocumentSignatures)]`
- Test: `false()`

In English: The invoice must not contain empty XML elements, except the element holding the invoice's electronic signature.

## Why it fails

- An element is empty or holds only whitespace, for example `<cbc:Note/>` or `<cbc:Telephone></cbc:Telephone>`, often written by a template for a field nobody filled in.

## How to fix it

- Leave out every element without a value. The only exception is the signature container, `sig:UBLDocumentSignatures`.

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