Skip to main content

Cancel an accountant task

PUT 

/accountant-tasks/:code/cancel

Cancel an accountant task (must be in NEW or IN_PROGRESS status). A workflow lifecycle task (accountant_check_invoice, preparation_data_export, transmit_to_fi_tool, transmitted_to_fi_tool_but_no_goods_receipt) cannot be canceled here at all: it follows its invoice through the accounting workflow and is retired by moving the invoice. Restricted to the legal entities the caller reaches through their organizational units: a task belonging to any other entity, and a task belonging to none, answers 404 exactly like an unknown code. ADMIN is unrestricted.

Request​

Responses​

Successfully canceled task