Sankhya icon

Sankhya

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

Actions137

PDV — Ponto de Venda (REST) → Incluir Recebimento

AI-generated

Summary

Include a payment receipt in the PDV (Point of Sale) system by sending JSON data specifying unique receipt number, payment method, and value.

Inputs

  • Dados (JSON) (required) — JSON object containing receipt details with keys: nroUnico (unique receipt number), formaPagamento (payment method), and valor (amount).

Output shape

a JSON object representing the response from the Sankhya REST API endpoint

The operation sends a POST request to '/v1/pdv/incluirRecebimento' with the provided JSON data. The response will be parsed and validated, throwing errors for any technical or business-level issues. Successful calls return the API's JSON response.

Examples

Example 1: Add a new payment receipt with unique number 123, payment method 'credit card', and amount 100.50.

Set 'resource' to 'PDV — Ponto de Venda (REST)', 'operation' to 'Incluir Recebimento', and 'Dados (JSON)' to {"nroUnico":123,"formaPagamento":"credit card","valor":100.50}.

Links

Discussion