How to Create a New Nota Fiscal Item Type in SAP to Enable CFOP Automatic Determination

In the Brazilian SAP Localization, the Nota Fiscal Item Type plays a key role in helping the system automatically determine the correct CFOP (Código Fiscal de Operações e Prestações) for each line item on a Nota Fiscal document.

e3_bloghero-1

Why Is the Nota Fiscal Item Type Important?

The CFOP is a legal code that defines the nature of the transaction represented by a Nota Fiscal. For example, it distinguishes between a regular sale, a sale to the Free Trade Zone, a free sample delivery, a freight invoice, and so on.

To learn more about CFOP, check our full article: CFOP – Código Fiscal de Operação e Prestação

SAP delivers only a limited number of NF Item Types by default. However, considering that there are over 300 CFOP codes for incoming and outgoing transactions, it is often necessary to create custom NF Item Types to support automatic CFOP determination accurately across various scenarios.

Step-by-Step Guide to Create a New Nota Fiscal Item Type

Step 1 – Create the NF Item Type

Use transaction SM30 to maintain table J_1BITEMTYPES.

Image

Here, define your custom Nota Fiscal Item Type. The field allows alphanumeric codes with 1 or 2 characters.

Also, provide a meaningful description that helps identify its intended use (e.g., “Free Sample Outbound” or “Freight on Behalf of Third Party”).

Image

2 – Create the NF Item Type rules

Step 2 – Define the Item Type Rules

Use SM30 to maintain table J_1BNFITEMTYPES or follow the IMG path:

SPRO > Cross-Application Components > General Application Functions > Nota Fiscal > Define Nota Fiscal Item Types

You can copy an existing NF Item Type as a template or create rules manually.

Be sure to use the same NF Item Type code created in Step 1 when populating table J_1BNFITEMTYPES. The rules maintained here will guide how this Item Type interacts with other components during CFOP determination.

Note: You may also use view J_1BNFITMRULEV for easier rule maintenance.

Image

Final Step – Link to CFOP Determination Tables

Once your custom NF Item Type is defined, don’t forget to assign it to CFOP determination logic.

You can do this by maintaining the appropriate configuration entries in:

  • J_1BAONV – for incoming goods and returns

  • J_1BAPNV – for outgoing goods and returns

This step ensures that the system correctly assigns the CFOP automatically, based on your newly created NF Item Type and other determination parameters.


Summary

Creating and configuring new Nota Fiscal Item Types in SAP is essential for companies operating in Brazil to ensure proper tax compliance and automation. It allows the SAP system to:

  • Adapt to specific business scenarios

  • Automatically assign the correct CFOP

  • Reduce manual intervention and errors

Note: Information in this blog post is current as of the publication date. Due to ongoing updates in Brazil’s tax legislation and SAP improvements, features or legal requirements may change over time.

Image

Copyright Notice: © Leo Anderson and SAPBR.COM (SAP Brazil) WordPress Blog, 2013.
Reproduction or use of this material without the express written permission of the blog’s author and/or owner is strictly prohibited. You are welcome to share brief excerpts or link to content, provided that full credit is given to Leo Anderson and SAPBR.COM, along with a clear and direct link to the original post.