# BR-NL-7

Source: https://xmlvalid.com/rules/BR-NL-7

> The invoice or credit note type code (cbc:InvoiceTypeCode/cbc:CreditNoteTypeCode) MUST have one of the following values: 380, 381, 384, 389

- Level: error
- Rule sets: SI-UBL 2.0 rules (NLCIUS, UBL) 2.0.3.13, SI-UBL 2.0 G-account rules (NLCIUS, UBL) 1.0.2.13
- Context: `cbc:InvoiceTypeCode[$s]|cbc:CreditNoteTypeCode[$s]`
- Test: `. = '380' or . = '381' or . = '384' or . = '389'`

> The invoice type code (ram:TypeCode) MUST have one of the following values: 380, 381, 384, 389

- Level: error
- Rule sets: NLCIUS rules (CII) 1.0.3.13
- Context: `/*/rsm:ExchangedDocument/ram:TypeCode[$si]`
- Test: `. = 380 or . = 381 or . = 384 or . = 389`

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