Sankhya icon

Sankhya

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

Actions137

Movimentos / CACSP (Gateway) → Faturar Pedido

AI-generated

Summary

Invoke the 'SelecaoDocumentoSP.faturarPedido' gateway service to invoice an order identified by its unique number, optionally providing additional JSON fields with invoice data.

Inputs

  • Número Único (nroUnico) (required) — Unique identifier of the order/movement to be invoiced.
  • Dados (JSON) — Additional invoice data fields as a JSON object to include in the request.

Output shape

The operation returns a JSON object representing the response from the Sankhya Gateway service for invoicing the order.

The provided 'movDados' JSON fields are merged with the 'nroUnico' parameter and sent to the 'SelecaoDocumentoSP.faturarPedido' service. Errors from the Gateway service are handled as exceptions.

Examples

Example 1: Invoice an order by its unique number with extra invoice fields

Pass the 'movNroUnico' parameter with the unique order number and optionally add additional properties in 'movDados' JSON to customize the invoice request.

Links

Discussion