cbc:InvoiceTypeCode | cbc:CreditNoteTypeCode[BR-CL-01]-The document type code MUST be coded by the invoice and credit note related code lists of UNTDID 1001.
Hitting this rule in production? Paste the invoice into the validator or wire the API into CI so it never ships broken again.