Baixar contrato de antecipação
DELETE/api/v2/cash-advances/:cashAdvanceId
Aplica o processo de baixa do contrato de antecipação. O processamento é assíncrono: o 202 indica que o pedido foi aceito e a confirmação no registrador externo acontece em segundo plano. Escopo: manage:contracts:cash-advances
Requisição
Respostas
- 202
- 401
- 403
- 404
- 409
Deletion accepted, including an idempotent replay. The body is unchanged, {"cashAdvanceId": "..."}.
Trusted OAuth service identity context is missing or inconsistent.
OAuth token does not grant the required scope.
Cash advance not found for the authenticated client.
Nothing was changed: the registrar has not answered the creation of the cash advance yet (registration in progress), its status cannot be written off (FINISHED, EXPIRED, DELETION_FAILED...), or its automatic write-off (the canonical cycle decision of its receipts) is already under way. The body is {"message": "..."}.