invalid_line_type
HTTP 400 · type invalid_request_error
When
A line type other than product, service, custom, or text, heading included.
Fix
Use one of the four.
Where it comes from
POST /v1/invoices: Create an invoicePATCH /v1/invoices/{id}: Update an invoice