Sankhya icon

Sankhya

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

Actions137

Financeiro (REST) → Atualizar Receita

AI-generated

Summary

Updates an existing revenue (receita) record in Sankhya via REST API.

Inputs

  • id (required) — Unique identifier of the revenue record to update.
  • financeiroDados (required) — JSON object containing update fields. For receita: {codParc, codConta, dtVenc, vlrDesdobramento, historico, codTipTit}. For baixarReceita: {dtBaixa, valorBaixa, codContaBancaria}.

Output shape

a single record

Returns the updated record from Sankhya. If the record does not exist, the operation typically fails.

Examples

Example 1: Update a revenue record with a new due date and amount.

ID: 123, Dados: {"codParc": 1, "codConta": 1, "dtVenc": "2026-02-28", "vlrDesdobramento": 150.00, "historico": "Payment updated", "codTipTit": "BOL"}

Example 2: Register a payment (baixa) for a revenue record.

ID: 123, Dados: {"dtBaixa": "2025-01-15", "valorBaixa": 100.00, "codContaBancaria": 5}

Links

Discussion