<!-- Canonical: https://www.ezdis.net/en/manual/1.0/guides/declare-focusnfe | Language: en -->

# Declare documents with Focus NFe (Brazil)

This guide shows how to issue an NF-e for store sales (B2B) or an NFC-e for direct consumer sales, using the Focus NFe integration.

> **Prerequisite:** Focus NFe must be configured and enabled in **Configuration → Invoicing**. See [Focus NFe configuration](/en/manual/1.0/config/focusnfe).

---

## Issue an NF-e (sale to store — B2B)

For product sales distributed to companies (supermarkets, distributors, gyms, etc.).

### Required store data

- **CNPJ** in the store profile.
- Full address (street, municipality, state/UF).

### Steps

1. Open the store's **invoice** (menu **Invoicing → Invoices**).
2. Verify the type is **NF-e** and the invoice has **product** lines.
3. Click **Declare**.
4. In the confirmation window:
   - **Issue date**: enter the sale date or leave blank to use the current date.
   - **Include late fees**: check if applicable.
5. Click **Confirm**.

After SEFAZ authorization:
- The invoice status changes to **Declared**.
- The **XML** and the **DANFE** (PDF) are available for download.

---

## Issue an NFC-e (counter sale — B2C)

For direct sales to end consumers.

### Steps

1. Create an invoice with **product** lines linked to a client (individual).
2. Verify the type is **NFC-e**.
3. Click **Declare** and confirm.

The client's CPF is optional for NFC-e but recommended.

---

## View and download the document

- In the invoice list, declared invoices show a fiscal note icon.
- Open the invoice and click **Download PDF** for the DANFE.
- Click **Download XML** for the NF-e XML file (required for accounting).

---

## Common errors and solutions

| Error | Likely cause | Solution |
|---|---|---|
| `Invalid issuer CNPJ` | CNPJ with fewer than 14 digits | Correct in **Configuration → Invoicing** |
| `NF-e requires store with valid CNPJ` | NF-e invoice linked to an individual | Link the invoice to a store with CNPJ |
| `Invoice has no valid items` | Invoice without product lines | Add products before declaring |
| `Missing recipient data` | Store without complete address | Complete the store profile |
| `Invoice already declared` | Attempt to declare twice | No need to declare again |
| `Focus NFe error: ...` | SEFAZ rejection | Read the message, correct fiscal data and retry |

---

## Credit / debit notes

Issuing credit and debit notes for Brazilian documents is under development. For cancellations, contact Focus NFe support directly.
