For organizersPublished on 4 min read

Automatic invoices: an NFS-e for every sale, issued by your Asaas account

Organizers with a CNPJ can now turn on automatic NFS-e on Baila: for every paid sale, Asaas issues the invoice on behalf of your company and sends it to the buyer.

In this article
  1. Watch the video
  2. What automatic invoices do
  3. What you need before turning it on
  4. How to turn it on, step by step
  5. What changes for the buyer
  6. And when something goes wrong
  7. Frequently asked questions
  8. Sources

If your company sells tickets or fan-club memberships on Baila through its own Asaas account, the service invoice for each sale (the NFS-e, Brazil's electronic service invoice) can now go out on its own. You turn it on once in Integrations, enter the tax code and ISS rate your accountant gives you, and for every paid sale Asaas issues the invoice on behalf of your company and e-mails it to the buyer.

Watch the video

Video: turning on automatic invoices in Baila with Asaas (1 min 27 s, in Portuguese)

The whole setup in a minute and a half, on Baila's YouTube channel (in Portuguese): watch on YouTube.

What automatic invoices do

Until now, organizers who had to invoice their sales did it by hand, one by one, on the city hall portal or in Asaas. Now Baila asks Asaas for the invoice the moment the payment lands:

  • Asaas issues it, on behalf of your company, on the National NFS-e Portal. Baila never sees your certificate.
  • The buyer gets the invoice by e-mail, with the PDF and the XML.
  • You follow everything in the event's orders: each sale shows whether its invoice was issued, with the number and the PDF and XML links.
  • It is optional. It stays off until you turn it on, and it never blocks a sale.
How it works on Baila

Asaas charges R$ 0.49 per invoice issued. Baila charges nothing extra for automatic invoices.

What you need before turning it on

WhatWhere
A company (CNPJ) Asaas account, connected to BailaIntegrations › Asaas
Municipal registration, tax regime and National Portal access (A1 certificate or login)At Asaas, under Notas fiscais › Configurações
National tax code and ISS rateFrom your accountant

Issuing works in cities that use the National NFS-e Portal, such as Manaus.

The Asaas panel, in Portuguese, on the invoice settings page: 1, the settings item in the side menu; 2, the issuing portal tab; 3, the National Portal option selected

How to turn it on, step by step

  1. In the dashboard, open Integrations and click Configure on the Asaas card.
  2. Under Optional · not needed to sell, open Invoices. If you are connecting Asaas right now, it shows up as step 4, right after the webhook.
  3. Under Issue invoices for, choose Tickets, Fan club or both.
  4. Under Ticket invoice amount, choose Ticket price only (without the service fee or installment interest) or Everything the buyer paid.
  5. Fill in the National tax code as 00.00.00 and the ISS rate in %. For example, 12.13.01 is the code for producing events, shows and dance. Check with your accountant that it fits your case.
  6. If you like, write a Service description. {event} and {date} become the event name and date for each sale.
  7. Click Turn on invoices.
Tip

Once it is on, tick the INVOICE_AUTHORIZED, INVOICE_ERROR, INVOICE_CANCELED and INVOICE_CANCELLATION_DENIED events on Baila's webhook at Asaas. With them, the invoice status reaches the order in seconds. Without them, Baila checks every 15 minutes.

The invoices group of the webhook at Asaas, in Portuguese, with the four events ticked and highlighted: INVOICE_AUTHORIZED, INVOICE_CANCELED, INVOICE_CANCELLATION_DENIED and INVOICE_ERROR

The step by step with the Asaas screens, from the National Portal and the certificate to the webhook, is in the help article How to issue NFS-e invoices automatically with Asaas.

What changes for the buyer

At checkout for your events, the buyer now enters their ZIP code (CEP) and street number, with a "No number" option. Nothing else changes, and organizers without invoices do not see these fields. When the invoice is authorized, the buyer gets the e-mail with the PDF and the XML.

Buyers on an older version of the app do not see the new fields. The sale goes through as usual, but without an invoice.

And when something goes wrong

  • The invoice did not go out. The order shows "Invoice not issued" with the reason Asaas gave and a "Try again" button. You also get an e-mail from Baila with the reason, a link to Asaas and a link back to the Invoices section. That alert arrives at most once a day.
  • You refunded the sale. Asaas cancels the invoice, and the order shows "Invoice cancelled".

Frequently asked questions

Does Baila issue the invoice?

No. Asaas issues it on behalf of your company. Baila asks for the invoice on each paid sale and shows the result in your orders. The tax side is still your responsibility, together with your accountant.

Does it work with a personal Asaas account?

No. Asaas only issues NFS-e from company (CNPJ) accounts. With a personal account, you keep selling as usual, without automatic invoices.

Do past sales get an invoice?

No. Only sales paid after you click Turn on invoices.

Sources

  1. How to issue NFS-e invoices automatically with Asaas, Baila help center, accessed November 12, 2026.
  2. How to connect my Asaas payment gateway, Baila help center, accessed November 12, 2026.
  3. NFS-e: Nota Fiscal de Serviço eletrônica, National NFS-e Portal (in Portuguese), accessed November 12, 2026.
Tagsinvoicesnfs-easaasbyogfan club
ShareWhatsAppXLinkedIn
Vinícius Filenga
Written byCo-founder, Baila

Co-founder of Baila. Writes about running events, technology, selling tickets and what the platform learns from organizers.

Read next

For organizers

Your next event starts here

Create the event page, set up ticket batches and track sales in real time.