> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notfy.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Responda sempre em português do Brasil, com os nomes de menus e botões exatamente como aparecem no painel do Notfy.
> Use somente o que está documentado aqui. Se a documentação não cobrir a pergunta, diga isso e indique a página mais próxima em vez de inventar.
> Funcionalidades podem depender do plano, do segmento da empresa, das permissões do usuário e de integrações ativas: cite essa condição quando a página a mencionar.
> Nunca peça nem repita senhas, tokens ou dados pessoais de clientes.

# Issuing company

> Register the company that issues the invoices: CNPJ, regime, address, environment, NFS-e standard, digital certificate and automatic status notices.

Each issuing company is an integration of type **Notfy Tax (NFS-e)**, with its own CNPJ (Brazilian company tax ID). Tax transmission uses the Focus NFe provider; this integration holds the issuer's data, the environment and the preferences that appear on the invoices.

## When to use

On the first Tax setup, when switching environments (testing to production), when renewing the digital certificate, or when registering another company of the group.

## Before you start

* The Tax module must be included in your company's plan.
* Have at hand the CNPJ, municipal registration, address and tax regime.
* To issue in production, have the e-CNPJ type A1 digital certificate (.pfx or .p12 file) and its password.
* You need permission to edit integrations.

## Create the integration

**1. Open the integrations**

In **Settings**, open **Integrations** and create a new integration.

**2. Choose the type**

In the **Integration Type** field, select **Notfy Tax (NFS-e)**. Enter the **Integration Name** and keep **Active Integration** turned on.

**3. Save and open to edit**

After saving, the **Notfy Tax (NFS-e)** tab appears in the edit view with all the sections below.

## Sections of the Notfy Tax (NFS-e) tab

| Section | What to do |
| :- | :- |
| **Readiness to issue** | Shows warnings about what is missing. See [Readiness check](https://docs.notfy.ai/en/fiscal/prontidao.md). |
| **Tax credentials** | Enter **Provider's CNPJ** (14 digits, required and not repeated in another integration) and **Municipal Registration** (required). |
| **Environment** | **Sandbox (testing)** or **Production**. Sandbox invoices have no tax value. |
| **NFS-e standard** | **Municipal (city hall provider)** or **National NFS-e (DPS)**. With the national standard, **DPS series** and **Next DPS number** appear. |
| **Automatic status notices** | **Enable automatic notices** button. |
| **Issuer — Registration Data** | **Legal Name**, **Tax Regime**, **Primary CNAE Code**, **State Registration (IE)**, **Postal Code**, **Municipality IBGE code**, **Street**, **Number**, **Complement**, **District**, **Municipality** and **State**. |
| **Accounting** | **Accounting Regime**: cash or accrual. |
| **Responsible accountant** | Accountant's name, CRC, CPF, firm's CNPJ, municipality code (IBGE) and email. Pre-fills the SPED. |
| **Digital Certificate** | Shows the status and expiration date; **Register Company** button. |

Notfy uses a partner tax issuer to transmit invoices and fetch the result. The integration stores the issuer's CNPJ, the chosen environment and the preferences required for issuance; the taxation rules live in the [Tax profiles](https://docs.notfy.ai/en/fiscal/perfis-fiscais.md).

**Tax Regime** options: MEI, Simples Nacional, Simples Nacional (sublimit excess), Lucro Presumido (presumed profit) and Lucro Real (actual profit).

> [!TIP]
>
> In the **Issuer — Registration Data** block, the **Fill in by CNPJ** button fetches legal name, CNAE, address and suggests MEI or Simples. The regime is only a suggestion: confirm with your accountant. Details in [Lookups](https://docs.notfy.ai/en/fiscal/consultas.md).

## Register the company and the certificate

**1. Fill in the issuer**

All required issuer fields must be saved. If anything is missing, Notfy warns with "Incomplete issuer data" and lists what is missing.

**2. Click Register Company**

In the **Digital Certificate** section, open **Register Company**. Upload the certificate file and enter the **Certificate Password**.

**3. In sandbox, the certificate is optional**

Leave the file blank to use the tax issuer's shared certificate, valid only for testing.

**4. Check the status**

After success ("Company registered"), the **Certificate Status** shows "Active certificate" with the expiration date.

> [!WARNING]
>
> The certificate password is not stored in Notfy: it is used only when sending. Keep it in a safe place. The status becomes "Expires in N days" in the last 30 days and "Expired certificate" after the expiration date; renew before then so issuance is not interrupted.

## Receive status updates

In the **Automatic status notices** section, click **Enable automatic notices** and confirm. Notfy registers the NFS-e, NF-e and NFC-e notices with Focus NFe and receives the update when an invoice changes status, such as authorization or rejection.

> [!NOTE]
>
> Activation can be repeated without creating duplicate notices. Even without enabling it, Notfy runs periodic checks on invoices that are still processing.

> [!WARNING]
>
> Sandbox is for testing and does not produce an invoice with tax value. Before switching to **Production**, review CNPJ, municipal registration, address, regime, tax profiles, certificate and DPS numbering with your accountant.

## Frequently asked questions

> [accordion] Which environment should I use?
>
> Start in **Sandbox** to test the whole flow. Switch to **Production** only when profiles, certificate and issuer data have been reviewed.

> [accordion] Which NFS-e standard should I choose?
>
> The **Municipal** standard depends on the city hall's system. **National NFS-e (DPS)** works in municipalities that joined the national system. If in doubt, the readiness check warns if your municipality is not served by the municipal standard.

> [accordion] Can I delete the tax integration?
>
> Not if it already has issued invoices. In that case, deactivate the integration instead of deleting it.

> [accordion] Do I need to fill in the DPS?
>
> DPS numbering continues on its own. Change the series or the next number only if the company has already issued DPS through another system and your accountant asks you to.

> [card] [Tax profiles](https://docs.notfy.ai/en/fiscal/perfis-fiscais.md)
>
> Define the taxation rules.

> [card] [Multiple issuing companies](https://docs.notfy.ai/en/fiscal/multiplas-empresas.md)
>
> More than one CNPJ on the same account.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.