Skip to content

NFC-eSynchronous response

NFC‑e API: the consumer invoice comes out of your POS

An nfce api for retail: send the sale as JSON and get SEFAZ's answer right away, with the DANFCe ready and contingency when SEFAZ goes down.

FromR$ 59.90/month

  • 14-day free trial
  • No setup fee
Docs

NF-e 10472

Sale, R$ 1,284.90

draft

Issuer

Razao Social Emitente Ltda

Recipient

Customer

  1. POST sent/v1/invoices/product/sent
  2. processinginvoiceId pi_1234567890
  3. webhooksent-product-invoice
  4. issueddelivered to the customer
  • NFC-e
  • NFS-e
  • NFS-e Nacional
  • NFCom
  • Received invoices
  • Batch download

Clients and partners

  • Santander
  • Nuvemshop
  • Tray
  • Unisuam
  • Kora Saúde
  • Fiotec
  • NDD
  • Reserva
  • Avocado Pay
  • CF Contabilidade
  • SolarGrid
  • Transfero
  • RioCard Mais
  • WAM Group
CNPJs issuing invoices at SplitC
200+
invoices issued by Theos
350k+

Tax reform · NFC-e

The reform reached the receipt. And the checkout line won't wait.

The NFC-e now states IBS and CBS too. Every counter sale carries two tax systems, and an outdated POS turns the line into rejections.

  1. 2026

    Test year: 0.9% CBS and 0.1% IBS stated on every invoice.

  2. 2027

    CBS comes in full and PIS and Cofins cease to exist.

  3. 2029 to 2032

    ICMS and ISS fall year by year while IBS rises. Two systems on the same invoice.

  4. 2033

    ICMS and ISS cease to exist. Only IBS and CBS.

POS · checkout 03
  1. Item 2: IBS/CBS group missing · sale rejected
  2. SEFAZ not responding
  3. Openi: NFC-e issued in contingency
  4. Contingency completed · sent-consumer-invoice webhook
  • Sale rejected at checkout

    Item without IBS/CBS or with the wrong classification: the invoice bounces with the customer at the counter.

  • SEFAZ down

    Without contingency, the checkout stops. With poor contingency, the invoice stays pending forever.

  • Lost numbering

    Skipped numbers must be voided. Forgetting becomes an issue with the tax authority.

  • An update every year

    Transition rates until 2033. Every turn of the year is a POS to update.

The NFC-e's IBS and CBS fields have the same names as the NF-e's, and the API issues in contingency when SEFAZ doesn't answer and completes the invoice later.

How it works

  1. 1Create the account and generate the API key

    Pick a plan, register the company and the digital certificate and set up the company's NFC-e (CSC and series).

  2. 2Test in staging

    Use a test key on the same API URL and validate your POS before selling for real.

  3. 3Send the sale as JSON

    POST /v1/invoices/consumer/sent with the items and payment methods.

  4. 4Get the result right away

    The response status is SEFAZ's result. The DANFCe is available and the webhook reports later changes.

Your first NFC-e in a few lines

# Shortened body. The full schema is in the documentation.
curl -X POST "https://nf.openi.com.br/v1/invoices/consumer/sent" \
  -H "Authorization: Bearer $DOCS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "cnpj_emitente": "YOUR_CNPJ",
    "data_emissao": "2026-11-30T10:00:00-03:00",
    "cpf_destinatario": "12345678909",
    "items": [
      { "descricao": "ARROZ TIPO 1 5KG", "cfop": "5102",
        "quantidade_comercial": "1", "valor_unitario_comercial": "29.90" }
    ],
    "formas_pagamento": [{ "forma_pagamento": "01", "valor_pagamento": "50.00" }],
    "valor_troco": "20.10"
  }'

Differentiators

Several CNPJs in one account

One API key serves every registered company, from 1 CNPJ on Inicial to unlimited CNPJs on Escala.

  • Inicial: 1 CNPJ
  • Expansão: up to 5 CNPJs
  • Escala: unlimited CNPJs

Webhooks

One event per invoice change, with retries. Your system knows the moment the invoice is authorized.

Staging environment

Test the integration with a test key, on the same URL, before issuing real invoices.

Batch download

Request the XMLs and PDFs of a period and get notified when the batch is ready.

Technical support in Portuguese

Ticket support on paid plans, and a direct channel on Enterprise.

IBS and CBS on NFC‑e with the same names as NF-e

The tax reform fields on NFC-e follow the NF-e names: whoever already issues NF-e with Openi reuses the same code.

Fields
ibs_cbs_situacao_tributaria, ibs_cbs_classificacao_tributaria, ibs_uf_valor, cbs_valor and others
In 2026
0.9% CBS and 0.1% IBS stated
Contingency
Offline issuing, completed later
POST /v1/invoices/product/sent · itens[0]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"}

Plans from R$ 59.90/month

14-day free trial and no setup fee. After the trial, the chosen plan is billed monthly.

  • Starter

    R$ 59.90/ month

    1 CNPJ

    100 invoices included / month

    R$ 0.20 per additional invoice

    • Issuance and capture of NF‑e, NFS‑e and CT‑e
    • Issuance of NFC‑e, NFCom and NFS‑e Nacional
    • Ticket support

    14-day free trial

    Subscribe
  • Growth

    R$ 109.90/ month

    Up to 5 CNPJs

    100 invoices per CNPJ included / month

    R$ 0.15 per additional invoice

    • Issuance and capture of NF‑e, NFS‑e and CT‑e
    • Issuance of NFC‑e, NFCom and NFS‑e Nacional
    • Ticket support

    14-day free trial

    Subscribe
  • Scale

    Recommended

    R$ 529.00/ month

    Unlimited CNPJs

    4,000 invoices included / month

    R$ 0.12 per additional invoice

    • Issuance and capture of NF‑e, NFS‑e and CT‑e
    • Issuance of NFC‑e, NFCom and NFS‑e Nacional
    • Ticket support

    14-day free trial

    Subscribe
  • Enterprise

    Custom

    From R$ 1,058.00

    Quota to be defined

    Additional invoice price to be defined

    • Issuance and capture of NF‑e, NFS‑e and CT‑e
    • Issuance of NFC‑e, NFCom and NFS‑e Nacional
    • Support through a direct channel
    • Multiple payment methods
    Talk to sales

CaseTax invoices

Theos integrated in 1 day

Since then it has issued more than 350,000 invoices with Openi.

to integrate the API
1 day
invoices issued since the integration
350k+
From issuance to invoice event
Example
Invoice sent (API)Event (webhook)
  • NFS-e · Company 1

    R$ 1,840.00

    Authorized

    Authorized

    Document available

  • NF-e · Company 2

    R$ 12,300.00

    Authorized

    Authorized

    Document available

  • NFS-e · Company 1

    R$ 560.00

    Rejected

    Rejected

    With the reason

  • NF-e · Company 3

    R$ 4,215.90

    processing

    Processing

Sample data, to illustrate the flow.

Frequently asked questions

Does the NFC-e answer right away?

Yes. Unlike the NF-e, the response status is already SEFAZ's result. The sent-consumer-invoice webhook only reports later changes, like completing an invoice issued in contingency.

What happens when SEFAZ is down?

With contingency enabled, the invoice is issued in contingency and the API completes it when SEFAZ comes back. You can also send an invoice issued offline by the POS.

Do I need to set up anything besides the certificate?

Yes: the company's NFC-e settings, through the API, before the first issuing.

The software I use doesn't issue this invoice. What now?

Recommend Openi to your software vendor: they integrate the API in a few lines and start issuing for you and their other clients. If you prefer, talk to our team and we'll talk to them.

Can I issue for several CNPJs?

Yes. One key serves several companies: Inicial covers 1 CNPJ, Expansão up to 5 and Escala unlimited CNPJs.

How does the free trial work?

You pick a plan and get a 14-day free trial, with no setup fee. The staging environment lets you validate the integration before issuing in production.

How much does it cost per month?

Plans start at R$ 59.90 a month with 100 invoices included. Expansão costs R$ 109.90 and covers up to 5 CNPJs, and Escala costs R$ 529.00 with 4,000 invoices. Each extra invoice costs from R$ 0.20 down to R$ 0.12.

Role
Monthly volume of invoices
Invoice types (optional)

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