# F-INV011

Source: https://xmlvalid.com/rules/F-INV011

> Invalid InvoiceTypeCode: '…'. Must be a value from the codelist

- Level: error
- Rule sets: OIOUBL 2.1 Invoice rules (Denmark) 1.17.2
- Context: `doc:Invoice/cbc:InvoiceTypeCode`
- Test: `./@listID = $InvTypeCode_listID and not (contains($InvTypeCode, concat(',',.,',')))`

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