# F-CRN211

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

> Invalid cac:CertificateTypeCode: '…' Must be a value from the codelist: PackagingMarkedLabelAccreditationCode from GS1 Global Data Dictionary.

- Level: error
- Rule sets: OIOUBL 2.1 Credit Note rules (Denmark) 1.17.2
- Context: `doc:CreditNote/cac:CreditNoteLine/cac:Item/cac:Certificate/cbc:ID`
- Test: `contains($Environment_Value, concat(',', ., ','))`

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