/ubl:Invoice | /cn:CreditNote
[BR-04]-An Invoice shall have an Invoice type code (BT-3).
Hitting this rule in production? Paste the invoice into the validator or wire the API into CI so it never ships broken again.