# BR-04 — Invoice type code missing

> https://billhorse.com/en/rules/br-04/

## What does this error mean?

The invoice type code (BT-3, UNTDID 1001) is mandatory — e.g. 380 for invoice, 381 for credit note.

## How to fix it

UBL: <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>. CII: ram:TypeCode inside ExchangedDocument.
