Sankhya icon

Sankhya

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

Actions137

Nota Fiscal (Gateway) → Cancelar

AI-generated

Summary

Cancel the specified Nota Fiscal (Gateway) document in the Sankhya ERP system by its number, optionally providing a cancellation reason.

Inputs

  • Número da Nota (required) — The unique identifier number of the Nota Fiscal to be canceled.
  • Motivo do Cancelamento — The reason for canceling the Nota Fiscal.

Output shape

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

The output includes the success status or any business or technical errors from the Sankhya Gateway. Errors may be thrown as exceptions including technical and business errors.

Examples

Example 1: Cancel a Nota Fiscal with cancellation reason

Provide the Número da Nota as a string and an optional Motivo do Cancelamento string explaining the reason for cancellation.

Links

Discussion