Sankhya icon

Sankhya

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

Actions137

PDV — Ponto de Venda (REST) → Sangria

AI-generated

Summary

Send a cash withdrawal (sangria) request to the PDV (Point of Sale) REST endpoint to reduce the cash balance of a specified cash register.

Inputs

  • Dados (JSON) (required) — JSON object including codigoCaixa (cash register code), codigoEmpresa (company code), valorSangria (amount to withdraw from cash), and optional observacao (observation).

Output shape

JSON object representing the API response of the sangria operation.

The operation calls POST /v1/pdv/sangria with the provided JSON body. The exact structure of the response depends on the Sankhya API. Errors are thrown on unsuccessful HTTP status or business errors indicated by Sankhya.

Links

Discussion