Sankhya icon

Sankhya

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

Actions137

Fiscal — NF-e / NFC-e / SAT / NFS-e (REST) → Inutilizar NFC-e

AI-generated

Summary

Send a request to the Sankhya ERP REST API to inutilize a range of NFC-e (Electronic Consumer Invoice) numbers, marking them as unusable in the fiscal system.

Inputs

  • ID (required) — The identifier corresponding to the NFC-e entity to operate on, typically referencing a fiscal document or batch.
  • Dados (JSON) (required) — A JSON object containing the fields series ('serie'), initial number ('nroInicial'), final number ('nroFinal'), and justification ('justificativa') for the inutilization request.

Output shape

The operation returns a JSON response from the Sankhya REST API indicating success or failure of the inutilization request.

The response contains the API's confirmation or error details. The operation requires valid Sankhya credentials and handles authentication internally. Errors are thrown for HTTP failures or business rule violations.

Links

Discussion