Sankhya icon

Sankhya

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

Actions137

PDV — Ponto de Venda (REST) → Abrir Caixa

AI-generated

Summary

Open a cash register (caixa) in the Sankhya Point of Sale (PDV) system by sending specified parameters as a JSON object.

Inputs

  • Dados (JSON) (required) — JSON object specifying the details to open the cash register, typically including 'codigoCaixa' (cash register code) and 'codigoEmpresa' (company code). Optional fields like 'valorSangria' (withdrawal amount) and 'observacao' (observation) can be included as well. This JSON matches the expected structure for the '/pdv/abrirCaixa' REST endpoint.

Output shape

a single JSON object

Returns the response from the Sankhya REST API endpoint '/v1/pdv/abrirCaixa', containing service execution results. Errors in service execution or authentication are thrown as exceptions.

Examples

Example 1: Open cash register number 1 for company 1 with no withdrawal and empty observation

Set 'Dados (JSON)' to {"codigoCaixa":1,"codigoEmpresa":1,"valorSangria":0,"observacao":""}

Links

Discussion