# ibr-cl-01-jp-sb

Source: https://xmlvalid.com/rules/ibr-cl-01-jp-sb

> The document type code MUST be coded by the self-billed invoice related code lists of UNTDID 1001.

- Level: error
- Rule sets: PINT Self-Billing rules (as shipped with PINT JP) 1.1.3
- Context: `cbc:InvoiceTypeCode | cbc:CreditNoteTypeCode`
- Test: `(self::cbc:InvoiceTypeCode and ((not(contains(normalize-space(.), ' ')) and contains(' 389 ', concat(' ', normalize-space(.), ' ')))))`

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