Skip to content

Open Finance and Invoice APIs

Open Finance and invoices, one parser away. Priced for people still building.

Read balances and transactions, issue and retrieve invoices. APIs with structured responses and webhooks for your product — without a parser for every bank or invoice format.

Open Finance Awards 2026 badge: Openi finalist in Open Finance Use Case for Businesses

Open Finance Awards 2026 finalistOpen Finance Use Case for Businesses.

API flow
  1. Your backendOpeni APIrequest

    POST /v1/connect-sessions

    with your app's redirectUrl

  2. Openi APIYour backendresponse

    201 · connectUrl

    send the customer to Connect

  3. ConnectYour backendresponse

    ?itemId=…&status=success

    the customer authorized at the bank

  4. Your backendOpeni APIrequest

    GET …/accounts/:accountId/transactions

    up to 500 per page

  5. Openi APIYour backendresponse

    200 · transactions[]

    the same format for any bank

  6. Openi APIYour webhookwebhook

    TRANSACTIONS_CREATED

    on every sync, per plan

From consent to statement. Your customer's password never touches your backend.

  • Itaú
  • SAP
  • Bradesco
  • TOTVS
  • Santander
  • Oracle
  • Caixa
  • Microsoft Dynamics
  • Banco do Brasil
  • Senior
  • Nubank
  • Sankhya
  • Inter
  • MXM Sistemas
  • BTG Pactual
  • Omie
  • Sicoob
  • Conta Azul
  • Sicredi
  • Bling
  • Safra
  • Tiny
  • C6 Bank
  • Odoo
  • Banrisul
  • Base
  • XP
  • Superlógica
  • Banco Pan
  • Nibo
  • Banco BV
  • QuickBooks
  • BMG
  • Domínio
  • BRB
  • Alterdata
  • Banco do Nordeste
  • Athenas
  • Neon
  • Unicred
  • Daycoval
  • Questor
  • Original
  • Contmatic
  • Cora
  • VTEX
  • Ailos
  • CIGAM
  • Cresol
  • Benner

Open Finance

Four products. One Open Finance API.

Choose the data your product needs. Availability depends on plan, connector and consent.

Accounts and balances

Query connected accounts and current balances. Use accountId to fetch transactions.

Transactions

Read credits and debits with descriptions, amounts and operation types. Keep original descriptions and query incrementally.

Credit cards

Work with cards, statements and card transactions according to institution coverage.

Investments

Read investments, historical positions and movements beyond current accounts.

Your client authorizes. Your product gets the data.

Connect accounts and receive structured data without maintaining a parser per bank.

  1. 01

    Create the connection

    Your backend requests a session and sends the customer to the connectUrl. They pick the bank and authorize; you get the itemId.

    Your code

    const response = await fetch(`${process.env.OPENI_API}/v1/connect-sessions`, {
      method: "POST",
      headers: {
        Authorization: `Bearer ${process.env.OPENI_API_KEY}`,
        "Content-Type": "application/json"
      },
      body: JSON.stringify({"redirectUrl": "https://app.exemplo.com/callback"})
    });
    if (!response.ok) throw new Error(await response.text());
    console.log(await response.json());

    What your customer sees

  2. 02

    Read the data

    With the itemId, list the accounts and read the transactions. Up to 500 per page, in the same format for any bank.

    Your code

    const response = await fetch(`${process.env.OPENI_API}/v1/items/${process.env.ITEM_ID}/accounts/${process.env.ACCOUNT_ID}/transactions?limit=500&createdAtFrom=2026-11-01T00:00:00Z`, {
      method: "GET",
      headers: {
        Authorization: `Bearer ${process.env.OPENI_API_KEY}`
      }
    });
    if (!response.ok) throw new Error(await response.text());
    console.log(await response.json());

    What reaches your product

  3. 03

    Receive what's new

    Register an HTTPS webhook. When the connection syncs, TRANSACTIONS_CREATED tells you and you fetch only what's new.

    Your code

    const response = await fetch(`${process.env.OPENI_API}/v1/webhooks`, {
      method: "POST",
      headers: {
        Authorization: `Bearer ${process.env.OPENI_API_KEY}`,
        "Content-Type": "application/json"
      },
      body: JSON.stringify({"url": "https://app.exemplo.com/webhooks/openi", "secret": "SEU_WEBHOOK_SECRET"})
    });
    if (!response.ok) throw new Error(await response.text());
    console.log(await response.json());

    When something new arrives

Tax Invoices

IBS and CBS are already in the API.

Tax reform fields are available for NF-e, National NFS-e and national batch CSV issuance. Follow the document rules and submit data through the same issuance flow.

NF-e

Tax situation and classification, bases, rates and IBS/CBS amounts in items and totals.

IBSCBS

National NFS-e

IBS/CBS fields with their own dependencies and additional fields according to the operation.

IBSCBS

Batch issuance

Documented IBS/CBS columns in National NFS-e CSV files for volume issuance.

IBSCBS

Values depend on the operation and issuer tax regime. Examples illustrate fields, not a universal tax rule.

Send the invoice. Follow it to the result.

Issue and retrieve tax documents in your product with asynchronous processing and webhooks.

  1. 01

    Issue the document

    Pick the model, send the JSON and keep the invoiceId. Same authentication and response format for all of them.

    Your code

    POST/v1/invoices/product/sent

    const res = await fetch("https://nf.openi.com.br/v1/invoices/product/sent", {
      method: "POST",
      headers: {
        Authorization: `Bearer ${process.env.DOCS_API_KEY}`,
        "Content-Type": "application/json",
      },
      body: JSON.stringify({
        "natureza_operacao": "Venda",
        "data_emissao": "2026-11-30",
        "tipo_documento": 1,
        "finalidade_emissao": 1,
        "cnpj_emitente": "SEU_CNPJ",
        "nome_emitente": "Razao Social Emitente Ltda",
        "uf_emitente": "SP"
      }),
    });
    const { data } = await res.json(); // { invoiceId, status: "processing" }

    The document you issue

  2. 02

    Follow it by webhook

    Issuance is asynchronous: the webhook tells you about every change and, once authorized, the XML and PDF are available.

    Your code

    // Your webhook endpoint: Openi tells you about every change to the invoice.
    app.post("/webhooks/openi", express.json(), async (req, res) => {
      res.sendStatus(200);
      // sent-product-invoice: the NF-e changed status.
      // Look the invoice up by invoiceId and download the XML and PDF.
    });

    What your system follows

  3. 03

    Retrieve what you receive

    Invoices issued against your CNPJ arrive through the same API, ready for your system.

    Your code

    const res = await fetch("https://nf.openi.com.br/v1/invoices/product/received/list", {
      headers: { Authorization: `Bearer ${process.env.DOCS_API_KEY}` },
    });
    const { data } = await res.json(); // NF-e issued against your CNPJ

    What arrives at your CNPJ

See tax reform fields
{
  "descricao": "Descrição do produto",
  "cfop": "5102",
  "valor_bruto": "47.23",
  "icms_situacao_tributaria": "41",
  "ibs_cbs_situacao_tributaria": "000",
  "ibs_cbs_classificacao_tributaria": "000001",
  "ibs_cbs_base_calculo": "47.23",
  "ibs_uf_aliquota": "0.10",
  "ibs_uf_valor": "0.05",
  "ibs_mun_aliquota": "0.00",
  "ibs_mun_valor": "0.00",
  "cbs_aliquota": "0.90",
  "cbs_valor": "0.43"
}

Current Openi plans

Find the plan for your stage.

The same pricing as our API pages, together in one place. Check allowances, overages and features before subscribing.

Billed by active consent. Available products and update frequency depend on the plan.

  • Starter

    R$ 279.90/ month

    Commercial use

    5 active consents included

    R$ 5.00 per additional consent / month

    • Checking account and investments
    • Up to 4 automatic updates per day
    • Ticket support

    7-day free trial

    Subscribe
  • Professional

    Recommended

    R$ 629.90/ month

    Commercial use

    50 active consents included

    R$ 4.00 per additional consent / month

    • All supported products
    • Up to 4 automatic updates per day
    • Ticket support

    7-day free trial

    Subscribe
  • Premium

    R$ 839.90/ month

    Commercial use

    250 active consents included

    R$ 2.00 per additional consent / month

    • All supported products
    • Up to 8 automatic updates per day
    • Ticket support

    7-day free trial

    Subscribe
  • Enterprise

    On request

    From R$ 1,679.80

    Custom number of active consents

    Additional consents negotiated

    • All supported products
    • Custom update frequency
    • Forced extra updates as contracted
    • Direct connectors included, according to contracted coverage
    • Support through a direct channel
    • Multiple payment methods
    Talk to sales

Before your first API call.

Do I need to subscribe to both APIs?

No. Open Finance and Tax Invoices are subscribed separately, each with its own plan. Start with the one your next release needs and add the other when it makes sense.

Can I test before paying?

Yes. Paid plans come with a 7-day free trial, and you use the API with your own accounts and companies before the first charge. In Open Finance, the sandbox has test connectors and CPFs that choose the connection outcome. In Tax Invoices, the test key uses the same URL as the production API.

Does my customer have to authorize access to their bank data?

Always. Every connection starts with the account holder's consent, given in Connect, and the bank password never touches your application. The customer can revoke at any time, and your system finds out through the ITEM_DELETED event.

Which banks and tax documents are available?

In Open Finance, more than 800 participating institutions, with accounts, transactions, cards and investments depending on the plan. In Tax Invoices, issuing NF-e, NFC-e, NFS-e (including the national one) and NFCom, and retrieving the invoices issued against your CNPJ.

Is there an SDK? Which language do I integrate in?

No SDK needed: it's HTTP with JSON, authenticated with a Bearer token. The examples on this page are in Node, Python, PHP and cURL. If you use a coding agent, give it the documentation's llms.txt.

What if I have a larger volume?

Enterprise plans have custom allowances, update frequency and support channel. Talk to the Openi team to size your operation.

Building in public

Danielhe4rt + Solidra

Learn, build and share.

Danielhe4rt, Henrique and Solidra are building in public with Openi. The goal is to show integration in practice: the choices, the tests and the path to putting APIs inside a product.

Code, architecture and learning in public: selected videos to discover Daniel’s work.

Follow Daniel on Twitch →

REST APIs in practice

Laravel Lumen · Portuguese video from DanielHe4rt’s channel.

Organizing a Laravel application

Laravel modularization · Portuguese video from DanielHe4rt’s channel.

Learning and community

What the Code · X-Team · English interview about live coding and community. View original interview

Ready to build your next release?

Choose your API, review the plan and start with the integration your product needs now.

Product of interest

By sending, you agree to the Privacy Policy (in Portuguese).