Remove one of your own obligations
DELETE
/v1/fiscal/custom-obligations/{id}
const url = 'https://api.emite.cr/v1/fiscal/custom-obligations/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.emite.cr/v1/fiscal/custom-obligations/example \ --header 'Authorization: Bearer <token>'Soft-delete. The filing history for it is KEPT: those rows state that something was filed, and dropping the obligation from the list does not undo that. An id that is not the company's, or was already removed, is 404 CUSTOM_OBLIGATION_NOT_FOUND. Requires fiscal:write.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Removed.