(BRA) About the identification of CFOP codes for transactions

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2

Código Fiscal de Operações e Prestações (CFOP) codes are specified by the Brazilian government. They are used to classify types of transactions. CFOP codes are identified based on the following parameters:

  • The order type

  • The operation type

  • The direction

  • The location

  • The delivery address on the order

  • The location of the customer or vendor

  • The address of the fiscal establishment that is associated with the fiscal document, or the address of the site of the fiscal establishment that is associated with the fiscal document

You can create CFOP codes and define the default CFOP code for a transaction and an operation type. For more information, see (BRA) Set up the CFOP codes and (BRA) Set up the CFOP matrix.

Identification of CFOP for a purchase order

The identification of the CFOP codes for Journal, Purchase order, and Returned order order types is based on the location of the site of the fiscal establishment, and the operation type, order type, direction, location of the vendor, and delivery address of the purchase order line. The direction for the Journal order type and the Purchase order order type is Incoming, and for the Returned order order type, it is Outgoing.

Identification of CFOP for a purchase requisition and request for quotation replies

The identification of the CFOP codes for a purchase requisition and a request for quotation reply is based on the order type, operation type, direction, delivery address of the fiscal establishment, and location of the vendor. The direction for a purchase requisition and a request for quotation is Incoming.

Identification of CFOP for a vendor invoice

The identification of CFOP codes for vendor invoice lines of Journal, Purchase order, and Returned order purchase order types is based on the operation type of the vendor invoice, order type, and direction. It is also based on the delivery address of the vendor invoice line, the remittance address of the vendor invoice line and the address of the fiscal establishment. The direction for Journal and Purchase order order types is Incoming, and for the Returned order order type, it is Outgoing.

For a new vendor invoice line for which purchase order information is not available, the CFOP code identification depends on the operation type of the vendor invoice, the order type, the location of the delivery address of the vendor invoice line, and the remittance address of the vendor invoice line. The delivery address for a vendor invoice line is updated with the address of the fiscal establishment of the site. The remittance address for the vendor invoice line is updated with the address of the vendor that is set up by using Remit to as the purpose in the Vendors form, or the vendor primary address when the remittance address is not set up for the vendor.

Identification of CFOP for a sales order and a sales quotation

For Journal, Subscription, Sales order, Returned order, and Sales quotation sales order types, the identification of the CFOP codes for the sales order line is based on the location of the site of the fiscal establishment, and the operation type, order type, direction, location, and delivery address of the customer.

The direction for Journal, Subscription, Sales order, and Sales quotation order types is Outgoing, and for the Returned order order type, it is Incoming.

Identification of CFOP for a free text invoice

The identification of CFOP codes for a free text invoice is based on the operation type, direction, and location of the fiscal establishment, and the delivery address of the customer. The direction for a free text invoice is Outgoing.

Identification of CFOP for a tax fiscal document

The identification of CFOP codes for a tax fiscal document is based on the direction, the location of the fiscal establishment, and the address of the tax fiscal document. The direction for the tax fiscal document is based on the value in the Direction field on the General FastTab in the Tax fiscal document form.

See also

(BRA) About fiscal establishments

(BRA) Create a fiscal establishment

(BRA) Fiscal establishments (form)

(BRA) CFOP codes (form)

(BRA) CFOP matrix (form)

(BRA) Set up a tax matrix

(BRA) Purchase order (modified form)

(BRA) Purchase requisitions - lines (modified form)

(BRA) Request for quotation reply (modified form)

(BRA) Vendor invoice (modified form)

(BRA) Sales orders (modified form)

(BRA) Sales quotation (modified form)

(BRA) Free text invoice (modified form)

(BRA) Tax fiscal document (form)