Centro de Ayuda

Setting up invoices, field by field

Step by step to get the NFS-e, NF-e and NFC-e ready: what each field is, where to get each value and how to move from another system without repeating numbers.

This is the full walkthrough of Settings → Finance → Invoices, in the order worth filling it in. Every field on the screen has a ? next to it: tap it to see, right there, what the value is and where to get it.

One rule applies to the whole page: tax regime, codes and rates are decisions of the company and its accountant. AllEars.Vet explains what each field means and carries what you enter to the invoice, but it does not pick codes or give tax advice. Keep this page open in a call with your accountant: together you fill everything in about 15 minutes.

Before you start: what to gather

What For which invoice Where to get it
CNPJ (or CPF, for self-employed) All CNPJ card
Tax regime and Simples rate All Accountant (DAS statement / PGDAS-D)
A1 digital certificate (.pfx or .p12 file) and its password All ICP-Brasil accredited certificate authority
Municipal registration NFS-e City hall or accountant (MEI usually has none)
State registration NF-e and NFC-e State SEFAZ, Sintegra or accountant
CSC and CSC ID NFC-e only State SEFAZ portal (see How to get the NFC-e CSC)
Series and last number used in the old system If you already issued Invoice list or XML of the old system
NCM and tax codes of the products NF-e and NFC-e Supplier purchase invoice and accountant

If you only provide services (consultations, vaccines, surgery), you only need the NFS-e: the company, certificate, issuing and check sections. If you also sell products (pet food, medicines, accessories), also fill in Product invoices and the tax profiles.

1. Company

  • CNPJ: type it and tap Look up. Legal name, regime and address come from the Federal Revenue public registry. Check before saving.
  • Legal name: the company name at the Federal Revenue, not the trade name.
  • Tax regime: MEI, Simples Nacional (ME/EPP), Lucro Presumido or Real, or Self-employed (CPF). The regime changes the fields shown below it. Your accountant confirms it.
  • Simples rate (%): Simples Nacional only. It is the effective rate the company pays, calculated in PGDAS-D and shown on the month's DAS statement; your accountant has it. It only feeds the approximate tax amount the law requires on the invoice (the pTotTribSN field on the NFS-e and vTotTrib on the NF-e and NFC-e). It is informative and does not change the tax the company pays. It is not the IBPT percentage other systems print on receipts. The effective rate changes with the last 12 months of revenue, so update it when your accountant tells you. If the company is under more than one annex (services and industry, for example), enter the services rate here, which goes on the NFS-e, and the products' rate on their tax profile.
  • ISS rate in Simples (%): the ISS share within the Simples rate. Only used when the company hiring the service withholds ISS. If no client does, leave it blank.
  • Approx. federal and municipal taxes (%): for Lucro Presumido, Real and self-employed. These are the approximate percentages of Law 12,741, given by your accountant.
  • Special regime: fixed ISS for self-employed professionals or professional partnerships. Without one, leave None.
  • 30% IBS/CBS reduction: the Tax Reform (LC 214/2025, art. 127) provides this reduction for regulated professions, such as veterinary medicine, when the legal conditions are met. Only tick it with your accountant's confirmation.
  • Municipal registration: the company registration at the city hall (CCM). It is on the operating license or with your accountant. MEI usually has none.
  • Invoice service: the national list code. 05.01.01 Veterinary medicine, 05.02.02 Veterinary clinic, 05.02.01 Veterinary hospital. On Automatic, MEI and self-employed issue 05.01.01 and other companies 05.02.02. Your accountant checks it against the company activity (CNAE).
  • Address: type the CEP; street, district, city and state fill in. The CEP also gives us the city code (IBGE) the national system requires. If the screen says the city code is missing, type the CEP again.

Tap Save.

2. Digital certificate

The invoice is signed with the issuer's A1 digital certificate: a password-protected .pfx or .p12 file.

  • e-CNPJ or e-CPF: a company uses the e-CNPJ of its own CNPJ. The e-CPF only works for the Self-employed (CPF) regime.
  • A1, not A3: A3 certificates (card or token) do not work here, because they are tied to the device.
  • Validity: an A1 is valid for one year. The app warns 30, 7 and 1 day before it expires.
  • Where to buy: from any certificate authority accredited by ICP-Brasil (the list is on the ITI website). Validation is usually by video call and the file is issued right away.
  • Already have an A1 in another system? Use the same one. Ask whoever installed it for the .pfx file, or export it from the computer where it lives (with the private key and a password).

Pick the file, type the password and tick the authorization. The password opens the certificate once and is not kept.

3. Issuing

  • Issue the invoice automatically: the invoice goes out when the charge is paid. When off, issue it from the button on the charge.
  • DPS series: numbers the service invoices issued through this system, from 1 to 49999. Each system issuing for the same CNPJ needs its own series; if two share one, numbers repeat and the national system rejects the invoice. Keep the suggested one (800) unless another system of the company already uses it.
  • Email the invoice to the guardian and accountant email: who gets what. The accountant receives the previous month's XMLs on the 1st.

4. Product invoices (NF-e and NFC-e)

  • State registration (IE): the ICMS taxpayer registration in the state. Without it, product invoices cannot be issued. It is on the registration certificate, in Sintegra or with your accountant; if the company has none, the accountant registers it with the SEFAZ.
  • NF-e series and NFC-e series: each has its own numbering, from 0 to 889. Series 890 to 999 are reserved for the SEFAZ (standalone and contingency invoices).
  • Next number: the number the next invoice of the series will get. On a new series, leave 1. It only moves forward: once saved, it cannot go back.
  • CSC ID and CSC (NFC-e): NFC-e only. The CSC (Taxpayer Security Code) is a secret code the state SEFAZ issues to the company; the app uses it to sign the receipt QR code. The ID says which CSC is in use (usually 1 or 000001). Each state's path is in How to get the NFC-e CSC. The CSC is stored encrypted and not shown after saving.

Tap Save. The line under the fields says whether the company can already issue NF-e, NFC-e or what is missing; How to fix opens the help of the missing field.

5. Coming from another system: do not repeat numbers

If the company already issued NF-e or NFC-e through another system (SimplesVet, an ERP, the SEFAZ issuer), numbering must continue without collisions. There are two ways:

  • The other system keeps issuing (during the transition, for example): use a new series here that the other system does not use, and leave Next number at 1. The two systems number on different series and never cross.
  • The other system stopped issuing: you may keep the same series. Find the last authorized invoice number there (in the invoice list or the XML) and enter the next one in Next number.

When in doubt, use a new series. It makes no difference to the client or the accountant, and avoids rejections for duplicate numbers.

The same goes for the NFS-e: if another system still issues for the CNPJ, keep a DPS series here that differs from its own.

Coming from SimplesVet: the CSC and CSC ID are there under Fiscal → Notas de produto → Configurações. The A1 certificate is the same .pfx file you installed there.

6. Tax profiles and products

For product invoices, each product needs an NCM and a tax profile.

  1. In Settings → Finance → Tax profiles, create profiles from a preset and adjust them with your accountant: CFOP, CSOSN or CST, rates and PIS/COFINS. What each field means is in Tax profiles: CSOSN, CST, CFOP and PIS/COFINS.
  2. In Finance → Products & services, open each product and fill in the product invoice block: NCM (on the supplier purchase invoice), Tax profile, Origin, Unit and, if any, the Barcode (GTIN).

7. Companies that buy from you

To issue an NF-e to another company, register it under Guardians → Companies: CNPJ (Look up fills the rest), full address and, in the invoice block:

  • ICMS contributor: Contributor (has a state registration), Exempt from registration or Not a contributor. The buying company knows.
  • State registration: required when it is a taxpayer.
  • Simples Nacional company or MEI, Withholds ISS: used for service invoices.

8. Check

Tap Check. The screen checks the company, the regime, the certificate and whether the city issues through the national system, item by item. On each item with a problem, How to fix takes you to the field that fixes it and opens its help.

  • Company: CNPJ, legal name or city code missing (type the CEP again).
  • Regime: the Simples rate or the approximate percentages are missing.
  • Certificate: not sent, expired, from another CNPJ, or an e-CPF instead of an e-CNPJ.
  • City: the city hall does not use the national issuer yet, or enables companies one by one. In the second case, if the first invoice is rejected, ask the city hall to enable the company on the national issuer.

When everything is right, the screen says so and the first invoice can go out. Issuing itself is covered in Invoices (NFS-e) and Product invoices (NF-e and NFC-e).

Frequently asked questions

Where do I get the Simples rate?

From your accountant. It is the effective Simples Nacional rate calculated in PGDAS-D, the same one on the month's DAS statement. It only fills the approximate tax amount on the invoice and does not change the tax paid.

Is the Simples rate the IBPT percentage?

No. IBPT publishes approximate tax burden tables that some systems print on receipts. Here, Simples companies enter the effective Simples rate itself, which is what the national invoice asks for.

Where do I get the NFC-e CSC?

On your state SEFAZ portal, with the company digital certificate or the accountant's access. Each state's path is in How to get the NFC-e CSC. Coming from SimplesVet, it is under Fiscal → Notas de produto → Configurações.

Can I use the same series as my old system?

Only if the old system stopped issuing. Then enter in Next number the one after the last invoice authorized there. If both systems will issue at the same time, use a new series here.

Which CFOP, CSOSN or CST do I use?

Your accountant decides, because it depends on the company regime, whether it manufactures or resells, and the product. Tax profiles explains what each code means to make that conversation easier.

I have an A3 certificate (token). Does it work?

No. Automatic issuing needs an A1 certificate, which is a file. Buy an A1 for the same CNPJ; it can coexist with the A3.

Próximos pasos

¿No encontró lo que buscaba?

Escríbanos a support@allears.vet o pregúntele a Mima, la asistente de IA dentro de la app.