(BRA) Set up the CFOP codes
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
You can create Código Fiscal de Operações e Prestações (CFOP) codes, or fiscal operation codes, by using the CFOP codes form. You can also define the default CFOP code for a transaction type or operation type by using the CFOP matrix form.
Fiscal operation codes are set up for transactions based on the location of the customer, location of the vendor, location of the fiscal establishment, the direction of the movement of items, and the operation type.
The default location and direction are updated in the Location and Direction fields in the CFOP codes form based on the first digit of the CFOP code. The following table shows the first digits of CFOP codes, and the corresponding default locations and directions.
First digit of CFOP code |
Location |
Direction |
---|---|---|
1 |
Same state – The customer or vendor is located in the same state as the fiscal establishment. |
Incoming – Items are entering the fiscal establishment. |
2 |
Other state – The customer or vendor is located in the same country/region as the fiscal establishment, but in a different state. |
|
3 |
Outside country/region – The customer or vendor is located in a different country/region than the fiscal establishment. |
|
5 |
Same state – The customer or vendor is located in the same state as the fiscal establishment. |
Outgoing – Items are leaving the fiscal establishment. |
6 |
Other state – The customer or vendor is located in the same country as the fiscal establishment, but in a different state. |
|
7 |
Outside country – The customer or vendor is located in a different country than the fiscal establishment. |
Note
If the CFOP code starts with 0, 4, 8, 9, or any alphabetic character, the default location is updated to Same state. However, you can enter a different location in the Location field in the CFOP codes form. You can also select Incoming or Outgoing as the direction of the movement of items in the Direction field.
Use the following procedure to create CFOP codes.
Click General ledger > Setup > Sales tax > CFOP codes.
Create a CFOP code.
In the CFOP and Name fields, enter the CFOP code and the name of the CFOP code. The Location and Direction fields are updated based on the CFOP code that you enter.
Note
If the CFOP code starts with 0, 4, 8, 9, or any alphabetic character, you can select the location and direction in the Location and Direction fields.
In the Text ID field, select the identification code of the default fiscal document text for the transactions that you the selected the CFOP code for.
In the Purpose field, select one of the following options to indicate the purpose of the CFOP code for transfer orders:
None
Shipment – The CFOP code is for shipments.
Fiscal establishment transfer – The CFOP code is for the transfer of items from one warehouse to another at different fiscal establishments.
Return – The CFOP code is for the return of items.
In the Delivery CFOP field, select the CFOP code to use for delivery slips. You can select the CFOP code that starts with the same digit as the CFOP code that you enter in the CFOP field.
Note
This field is available for CFOP codes that have the Outgoing direction.
Select the Consider in CIAP check box to indicate that the fiscal documents that are associated with this CFOP code are added together to form the basis of calculation for the Credit ICMS Control of Permanent Assets Book (CIAP) factor.
Select the Fiscal reference required check box to indicate that fiscal reference information is required for the transactions that use the selected CFOP code.
In the Fiscal document source text field, select the identification code of the default fiscal document text for the fiscal references of the transactions that use the selected CFOP code.
See also
(BRA) Purchase order (modified form)
(BRA) Sales orders (modified form)