Invoice type codes
The invoice_type attribute in the invoice model uses codes from the UNCL1001 codelist to specify the functional type of the invoice.
Credit note type codes (UNCL1001 subset)
TIP
Use 380 for Debit Invoices and 381 for Credit Invoices.