# How do I issue invoices with NFE.io?

NFE.io 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 NFE.io, open **Configurações › Chaves de API** and copy the "Chave de Nota Fiscal" (not the data key). Copy your company ID from **Empresas**.
2. In Dropify, go to **Apps › Discover**, open **NFE.io** and click **Install**.
3. On the app page, fill in **API key** and **Company** 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

- "NFE.io does not know this company id" → copy the credentials again from your NFE.io account.
- "Finish the NFE.io 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 Focus NFe?](https://help.dropify.shop/en/productivity_apps/focusnfe/)
- [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/)
