Bling ERP icon

Bling ERP

Integração com a API v3 do Bling ERP

Actions216

NFe → Criar

AI-generated

Summary

Send data to Bling's ERP system to create a new NFe (Nota Fiscal Eletrônica) with specified details for invoice type, operation nature, items, payment installments, transportation, and additional notes.

Inputs

  • nfeData (required) — A collection of fields detailing the new NFe, including type (entrada or saida), operation nature ID, purpose, issue date, associated contact details, items to invoice, payment installments, transportation info, notes, discounts, other expenses, and store ID.

Output shape

The API response object representing the created NFe, containing details about the saved invoice.

The output is a single record representing the newly created NFe as returned by the Bling API. Errors or missing required fields will result in failure responses.

Examples

Example 1: Create an outgoing NFe with two items, payment installments, and transport data, linked to a contact by its ID.

Set nfeData with tipo=1 (Saida), provide naturezaOperacao ID, finalidade, data, contato with contact ID, multiple itens with product IDs and quantities, parcelas with payment dates and amounts, and transporte details.

Links

Discussion