📘 Screen: CFOP
The CFOP (Código Fiscal de Operações e Prestações, the Brazilian tax operation code) is the four-digit number that states, on the invoice, what is happening with the goods: 5102 is an in-state sale, 5949 is another unspecified outflow, 1102 is a purchase for resale, 5905 is a shipment to a warehouse. This screen is the list of CFOPs the farm uses — nothing more than code, description and active.
You don't need to register the more than 400 CFOPs in the official table: register only the ones that appear on the invoices the farm issues and receives. In practice there are only a few, and the farm's accountant can tell you exactly which ones.
📍 Location in the system
Menu: Basic > CFOP
🧩 Main function
Keep the list of CFOPs available to choose from on the items of NF-e Transmission and Inventory Movement (Inbound & Outbound). Without the CFOP registered, the invoice item lacks the information the tax authority uses to classify the operation.
📝 Main fields
| Field | Description |
|---|---|
| Code | The CFOP number, as it appears in the official table — 5102,
1102, 5905, 5949. |
| Name/Description | Required. What the operation means, written in a way the person issuing the invoice will recognize: "Sale of the establishment's production", "Shipment for storage", "Purchase return". |
| Active | Uncheck it to remove the CFOP from the selection lists without deleting the invoices that already used it. |
The list shows Code, Description and Active, with a search field on each column.
🧾 Where the CFOP is chosen
On the invoice item, together with the taxes — not in the header. Each product entered can have a different CFOP: it is common for the same invoice to carry the sale on one item and the freight or shipment on another. Only active CFOPs are offered.
Next to the CFOP chosen from the list there is also a free-text field, used when an imported invoice carries a code that is not registered yet.
In an Inventory Movement of the Inbound with invoice type the field does not appear: that invoice's CFOP comes from the supplier's XML.
- Whoever issues the invoice picks from a short list, instead of typing the number from memory
- The code comes out the same on every invoice for the same type of operation
- Checking with the accountant no longer depends on memory
❓ Frequently asked questions
Do I need to register every CFOP there is?
No. Register only the ones the farm actually uses on inbound and outbound invoices — usually between five and fifteen codes. If a new operation comes up, register its CFOP on the spot; the record has only three fields.
Which CFOP should I use when selling my production?
That is a tax decision, and it depends on where the goods are going and on the property's tax regime — the accountant decides. The system does not choose the CFOP for you: it just stores the list the accountant gave you and offers it when you enter the invoice.
I can't delete a CFOP. Why?
Because it has already been used on an invoice. The system warns that the record has already been used and blocks deletion, so older invoices aren't left without their tax classification. In that case, uncheck the Active field: the CFOP disappears from the selection lists and the history stays intact.