Accounts and balances
Query connected accounts and current balances. Use accountId to fetch transactions.
Open Finance and Invoice APIs
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 finalistOpen Finance Use Case for Businesses.
Open Finance
Choose the data your product needs. Availability depends on plan, connector and consent.
Query connected accounts and current balances. Use accountId to fetch transactions.
Read credits and debits with descriptions, amounts and operation types. Keep original descriptions and query incrementally.
Work with cards, statements and card transactions according to institution coverage.
Read investments, historical positions and movements beyond current accounts.
Connect accounts and receive structured data without maintaining a parser per bank.
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
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
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
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.
Tax situation and classification, bases, rates and IBS/CBS amounts in items and totals.
IBS/CBS fields with their own dependencies and additional fields according to the operation.
Documented IBS/CBS columns in National NFS-e CSV files for volume issuance.
Values depend on the operation and issuer tax regime. Examples illustrate fields, not a universal tax rule.
Issue and retrieve tax documents in your product with asynchronous processing and webhooks.
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
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
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 CNPJWhat arrives at your CNPJ
{
"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
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.
R$ 279.90/ month
Commercial use
5 active consents included
R$ 5.00 per additional consent / month
7-day free trial
SubscribeR$ 629.90/ month
Commercial use
50 active consents included
R$ 4.00 per additional consent / month
7-day free trial
SubscribeR$ 839.90/ month
Commercial use
250 active consents included
R$ 2.00 per additional consent / month
7-day free trial
SubscribeOn request
From R$ 1,679.80
Custom number of active consents
Additional consents negotiated
Plans include an invoice allowance and a CNPJ limit. The Growth allowance applies per CNPJ.
R$ 59.90/ month
1 CNPJ
100 invoices included / month
R$ 0.20 per additional invoice
7-day free trial
SubscribeR$ 109.90/ month
Up to 5 CNPJs
100 invoices per CNPJ included / month
R$ 0.15 per additional invoice
7-day free trial
SubscribeR$ 529.00/ month
Unlimited CNPJs
4,000 invoices included / month
R$ 0.12 per additional invoice
7-day free trial
SubscribeCustom
From R$ 1,058.00
Quota to be defined
Additional invoice price to be defined
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.
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.
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.
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.
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.
Enterprise plans have custom allowances, update frequency and support channel. Talk to the Openi team to size your operation.
Building in public
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 →Laravel Lumen · Portuguese video from DanielHe4rt’s channel.
Laravel modularization · Portuguese video from DanielHe4rt’s channel.
What the Code · X-Team · English interview about live coding and community. View original interview
Choose your API, review the plan and start with the integration your product needs now.