Skip to content

NFS-e

Service invoice API: the NFS‑e comes out of your system, in any standard

For service providers and the systems that serve them. Issue NFS-e in the national or the city's standard, one by one or in batches.

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 NFS-e before issuing in production.

  3. 3Send the NFS-e data as JSON

    Send to the national or the municipal route, depending on the city. The API validates and returns the invoiceId.

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

    The webhook reports each invoice's result, and the XML and PDF are available for download.

Your first NFS-e in a few lines

# Shortened body. The full schema is in the documentation.
curl -X POST "https://nf.openi.com.br/v1/invoices/service/sent" \
  -H "Authorization: Bearer $DOCS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "issuedAt": "2026-11-30T10:00:00-03:00",
    "issuer": { "document": "12345678000190", "operationNature": "1" },
    "recipient": {
      "document": "98765432000110",
      "documentType": "CNPJ",
      "companyName": "Empresa Tomadora LTDA",
      "address": { "state": "SP", "zipCode": "01310100", "cityCode": "3550308" }
    },
    "service": {
      "value": "1500.00",
      "description": "Consultoria em tecnologia da informação",
      "item": "01.01",
      "aliquot": "5.00",
      "issRetained": false
    }
  }'

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 already on the service invoice

With the tax reform, the NFS-e states IBS and CBS. The fields are already in the API, in the national and the municipal standard.

In 2026
0.9% CBS and 0.1% IBS stated
Until 2033
ISS falls and IBS rises
In the API
IBS/CBS group on national and municipal NFS-e

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

What's the difference between municipal NFS-e and NFS-e Nacional?

Municipal NFS-e follows each city's standard. NFS-e Nacional follows a single standard, from the Sistema Nacional NFS-e. The API issues both, with the same key and the same response format.

How do I know which standard my city uses?

Look up the city with the municipal services and tax codes endpoints. They tell you what the city accepts.

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.

Which languages can I integrate with?

Any language that can make an HTTP call: the API is REST, with JSON and Bearer token authentication. The documentation has examples in cURL, JavaScript, Node.js, Python and PHP.

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