Factuarea API

purchase_invoice_not_deletable_in_current_state

Only draft and cancelled purchase invoices can be deleted. A pending or paid one is part of the expense ledger.

CodeTypeHTTPCategory
purchase_invoice_not_deletable_in_current_stateinvalid_request_error422Purchase Invoices

Cause

Only draft and cancelled purchase invoices can be deleted. A pending or paid one is part of the expense ledger.

What to do

Cancel the invoice instead of deleting it; a cancelled invoice can then be removed if you really do not want it on record.

On this page