# How do I issue invoices with Focus NFe?

Focus NFe is for Brazil: the NF-e (modelo 55) of your orders, authorised by SEFAZ. Each order gets its invoice once, automatically when it is delivered (the cash is collected) or paid, or when you click **Issue invoice**; the number and the PDF show on the order and in **Latest documents**.

## Steps

1. In Focus NFe, add your company under **Empresas**, then open **Painel API › Tokens** and copy the token of the environment you use (homologação or production).
2. In Dropify, go to **Apps › Discover**, open **Focus NFe** and click **Install**.
3. On the app page, choose the **Environment** (**Test mode** for test credentials), fill in **API token** and **Company CNPJ** and click **Connect**.
4. Under **Invoicing**, choose **Issue the invoice**: "When the order is delivered (recommended for COD)" is recommended for cash on delivery. Fill in the required fields until no warning remains.
5. Set the default NCM, then NCM / CFOP per product under **Product tax codes** where they differ.
6. Test it: open a delivered order and click **Issue invoice**. The invoice number appears on the order card with **Invoice PDF**; clicking it again never creates a second invoice.

## Common problems

- "Focus NFe refused these credentials" → copy the credentials again from your Focus NFe account and use the matching environment.
- "Finish the Focus NFe settings on the app page before issuing invoices" → fill in every required field in **Invoicing**.
- "Order #… has no CPF or CNPJ" or "no valid CEP" → add the buyer's CPF/CNPJ on the invoice card, and make sure your checkout asks for the CEP.

## Related
- [How do I issue invoices with NFE.io?](https://help.dropify.shop/en/productivity_apps/nfeio/)
- [How do I issue invoices with PlugNotas?](https://help.dropify.shop/en/productivity_apps/plugnotas/)
- [How do I generate invoices and shipping labels with InvoiceCraft?](https://help.dropify.shop/en/productivity_apps/invoicecraft/)
