Sankhya icon

Sankhya

Integração completa com o ERP Sankhya — REST v1/v2 e Gateway

Actions137

Movimentos / CACSP (Gateway) → Cancelar Movimento

AI-generated

Summary

Cancel a movement in the Sankhya ERP system via the Gateway service by providing its unique number and an optional cancellation reason.

Inputs

  • Número Único (nroUnico) (required) — The unique identifier of the movement to cancel.
  • Motivo — The reason for cancelling the movement, optionally provided to document the cancellation.

Output shape

a JSON object representing the cancellation response from the Sankhya Gateway service.

The operation calls the Gateway service 'MoverSimplesSP.cancelarMovimento' with the given unique number and reason. The response will be parsed for errors and returned as JSON. Errors are thrown for failed cancellations or communication issues.

Links

Discussion