Remove line item

Detaches one line item from a draft invoice and synchronizes the invoice total and accounts. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (Invoice1)

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

invoice_idstringRequired
invoice_line_item_idstringRequired

Response

Successful Response
_idstring
created_at_timestampdatetime
created_by_user_idstring

Must be a string starting with user_

currency_codeenum
invoice_typeenum
last_edited_at_timestampdatetime
last_edited_by_user_idstring

Must be a string starting with user_

owned_by_org_idstring

Must be a string starting with org_

schema_versioninteger
approved_at_timestampdatetime or null
approved_by_user_idstring or null

Must be a string starting with user_

counterparty_account_idslist of strings
counterparty_off_chrt_org_data_idstring or null
counterparty_org_idstring or null

Must be a string starting with org_

descriptionstring or null<=32768 characters
export_ref__sage__customer_idstring or null<=255 characters
export_ref__sage__department_idstring or null<=255 characters
file_exported_at_timestampdatetime or null
file_exported_by_user_idstring or null

Must be a string starting with user_

invoice_line_item_idslist of strings
merge_exported_at_timestampdatetime or null
merge_exported_by_user_idstring or null

Must be a string starting with user_

merge_invoice_idstring or null<=255 characters
merge_invoice_numberstring or null<=255 characters
merge_invoice_urlstring or null<=2048 characters
merge_linked_account_idstring or null<=255 characters
merge_remote_idstring or null<=1024 characters
merge_remote_was_deletedbooleanDefaults to false
merge_statusenum or null
namestring or null<=255 characters
statusenum
stripe_exported_at_timestampdatetime or null
stripe_exported_by_user_idstring or null

Must be a string starting with user_

stripe_invoice_idstring or null<=255 characters
stripe_invoice_numberstring or null<=255 characters
stripe_invoice_urlstring or null<=2048 characters
stripe_statusenum or null
stripe_was_deletedbooleanDefaults to false
total_amountdouble or null
void_reasonstring or null<=32768 characters
voided_at_timestampdatetime or null
voided_by_user_idstring or null

Must be a string starting with user_

Errors

422
Invoices Remove Line Item V1request Unprocessable Entity Error