Skip to content

NFGás

NFGás API: the gas invoice comes out of your billing

For gas distributors and utility billing software: send the bill as JSON and get the authorized NFGás.

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+

How it works

  1. 1Create the account and generate the API key

    Pick a plan, get the key and register the issuing company and its digital certificate. One key serves several CNPJs.

  2. 2Test in staging

    Use a test key on the same API URL and validate your NFGás before issuing in production.

  3. 3Send the NFGás data as JSON

    Send the consumer's bill with the metered consumption. The API validates and returns the identifier.

  4. 4Get the XML, the PDF and the status

    The webhook reports the authorization, and the XML is available for download.

Your first NFGás in a few lines

# Illustrative example. Full routes and fields in the documentation.
curl -X POST "https://nf.openi.com.br/v1/invoices/gas/sent" \
  -H "Authorization: Bearer $DOCS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "cnpj_emitente": "12345678000190",
    "consumidor": { "documento": "12345678909", "codigo_instalacao": "000812" },
    "competencia": "2026-11",
    "consumo_m3": "18.4",
    "valor_total": "142.70"
  }'

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.

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

Is NFGás available for my distributor?

Talk to our team about your state and volume before signing up: we confirm coverage and enable your access.

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.

Do I need a digital certificate?

Yes, for the services that depend on it. The certificate is registered on the company through the API, at creation or later, and its document must match the company's.

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).