Bling ERP icon

Bling ERP

Integração com a API v3 do Bling ERP

Actions216

Conta a Pagar → Criar

AI-generated

Summary

Create a new 'Conta a Pagar' (accounts payable) record in the Bling ERP system with specified details such as due date, amount, contact ID, and recurrence settings.

Inputs

  • Dados da Conta — Collection of fields defining the accounts payable to create, including due date (vencimento, YYYY-MM-DD), amount (valor), contact ID (contato), transaction description (historico), document number (numeroDocumento), competence date (competencia, YYYY-MM-DD), payment form ID (formaPagamento), bank account ID (portador), category ID (categoria), recurrence data (ocorrencia) with type, installments, and due day, and any observations (observacoes).

Output shape

a single newly created 'Conta a Pagar' resource object as returned by the Bling ERP API

The output includes all fields returned by the API upon creation. The operation is synchronous and returns the created record data or an error if the creation fails.

Examples

Example 1: Create a single accounts payable entry for supplier 123 with a due date, amount, and monthly recurrence

Set 'Dados da Conta' with vencimento = '2024-07-31', valor = 1500.00, contato = 123, historico = 'Monthly subscription', ocorrencia.tipo = 3 (Mensal), ocorrencia.parcelas = 12, ocorrencia.diaVencimento = 5

Links

Discussion