cURL
curl --request POST \ --url https://api.example.com/api/sale-invoices/{id}/cancel-writeoff \ --header 'Authorization: <authorization>' \ --header 'organization-id: <organization-id>'
Value must be 'Bearer ' where is an API key prefixed with 'bc_' or a JWT token.
"Bearer bc_1234567890abcdef"
Required if Authorization is a JWT token. The organization ID to operate within.
The sale invoice id
The sale invoice has been successfully marked as not written off.