Skip to Content
Author's profile photo Leandro Nascimento

CFOP Automatic Determination

This post is a sequence of: Configuring CFOP on SAP

Now that you know what a CFOP stands for, it is time to understand how CFOP get automatically assigns to an Incoming or Outgoing Nota Fiscal.

CFOP Automatic Determination Parameters

The following parameters are relevant for CFOP determination:

1) Direction of the Movement

  • 1 – Incoming (same state)
  • 2 – Incoming (different state)
  • 3 – Incoming (different Country)
  • 5 – Outgoing (same state)
  • 6 – Outgoing (different state)
  • 7 – Outgoing (different country)

2) Material Usage (assigned at the Material Master Records)

  • 0 – Resale
  • 1 – Industrialization
  • 2 – Consumption
  • 3 – Fixed Asset

3) Material CFOP Category (assigned at the Material Master Records)

  • 0 – Material (goods)
  • 1 – Electricity
  • 2 – Communication
  • 3 – Transportation
  • 4 – Animals

4) Nota Fiscal Item Type (assigned at J_1BSDICA, NF Integration Into IM, NF Type, LIV NF assignment)

  • 01 – Standard Item
  • 02 – Stock Transfer Item
  • 21 – Returnable Packaging Shipment Item
  • 31 – Subcontracting Invoicing Item
  • 32 – Subcontracting Component Shipment Item
  • 33 – Subcontracting Component Symbolic Shipment Item
  • 41 – Future delivery invoice item without ICMS
  • 42 – Future delivery invoice item with IPI
  • 43 – Future delivery invoice item without ICMS/IPI
  • 44 – Future delivery invoice item with ICMS/IPI
  • 51 – Consignment invoice item
  • 52 – Consignment shipment item
  • 61 – Third party invoice item from vendor
  • 62 – Third party invoice item from supplier
  • 63 – Third party shipment item from supplier
  • 64 – Third party future delivery invoice item from supplier
  • 65 – Third party future delivery symbolic shipment item from supplier

5) Produced In House Indicator (assigned at the Material Master Records)

  • x – Produced in-house / Manufactured at the plant
  •    – non manufactured at the plant

6) Customer CFOP Category (only for SD)

  • 0 Industry (cooperative)
  • 1 electric co.
  • 2 communication co.
  • 3 transport co.
  • 4 service co.
  • 5 consumer industry (cooperative)
  • 6 non-contributing customer
  • 7 agricultural customer
  • 8 trading company
  • 9 producer establishment

7) NF Special Case for CFOP Determination

  •    – CFOP Determination Without Substituicao Tributaria
  • 1 – CFOP Determination with Substituicao Tributaria
  • 2 – CFOP for Services That Are Subject to ISS Tax

NF Item Types

Even with all these possible standard delivered parameters for combinations, it is not enough to cover all possible scenarios in Brazil, then it is necessary add new entries to the existing parameters such as: Nota Fiscal Item Types, Material CFOP Category and etc.

Here I will explain you how to use the NF Item type to help you getting the CFOP code automatically determined at the Incoming and Outgoing Nota Fiscal

The Nota Fiscal Item type is assigned at:

1 – SD Item Category table (J_1BSDICA)

2 – MM-IV Nota Fiscal Relevance (J_1BIM02V)

3 – NF Type

4 – LIV NF assignment

Once your process finds the NF Item Type assignment in one of these 4 possible places, you will be able to add a CFOP combination containing all the parameters above, including the NF Item Type.

1 – SD Item Category table (J_1BSDICA) – This table is used to assign an item type and a main partner function (for example, ship-to party) to a combination of sales order type, item category including the NF Item Type. You can also assign SD tax codes and specify whether the system is to calculate statistically the ICMS and IPI taxes.


2 – MM-IV Nota Fiscal Relevance (J_1BIM02V)

Here it is possible to assign to each MM-IV movement type if it is relevant for Nota Fiscal, the Nota Fiscal type and also the Nota Fiscal Item Type.


3 – NF Type


4 – Logistics Invoice Verification

Here the values from the Nota Fiscal item types are maintained depending on the item category of the purchase order


Once the NF Item type is assigned to your process as above, if a combination exists for tables J_1BAPN or J_1BAON, the CFOP code will automatically be assigned to your process:



On the next posting you will see how to create new NF Item Types…

If you still have questions, please, contact me writing a comment on this post.


Copyright Notice: © Leandro da Pia Nascimento and SAPBR.COM (SAP BRAZIL) WordPress Blog, 2013. Unauthorized use and/or duplication of this material without express and written permission from this blog’s author and/or owner is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to Leandro da Pia Nascimento and SAPBR.COM with appropriate and specific direction to the original content.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.