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 NF-e

AI-generated

Summary

Send a request to the Sankhya Fiscal REST API to inutilize (void) a range of NF-e (Electronic Invoice) numbers, specifying the series, initial and final numbers, and the justification for the inutilization.

Inputs

  • ID (required) — The identifier used in the endpoint path to specify the NF-e context to operate on.
  • Dados (JSON) (required) — A JSON object containing the inutilization details: 'serie' (the invoice series), 'nroInicial' (the starting invoice number in the range), 'nroFinal' (the ending invoice number in the range), and 'justificativa' (the reason for inutilization).

Output shape

a JSON object representing the API response from the inutilization request, indicating success or failure

Response includes the status of the inutilization operation. Errors are thrown as SankhyaTechnicalError or SankhyaBusinessError if the request or business rules fail.

Links

Discussion