Condition-Based Tax Calculation in R/3 For Brazil

R/3 4.7 ERP2004/2005

SAP Online Help

07/05/09

  Version 3.1     

Condition-Based Tax Calculation in R/3 For Brazil

2

SAP Online Help

07/05/09

Copyright 
© Copyright 2002 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
Microsoft®, WINDOWS®, NT®, EXCEL®, Word®, PowerPoint® and SQL Server® are registered trademarks of Microsoft Corporation.

IBM®, DB2®, DB2 Universal Database, OS/2®, Parallel Sysplex®, MVS/ESA, AIX®, S/390®, AS/400®, OS/390®, OS/400®, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere®, Netfinity®, Tivoli®, Informix and Informix® Dynamic ServerTM are trademarks of IBM Corporation in USA and/or other countries. ORACLE® is a registered trademark of ORACLE Corporation. UNIX®, X/Open®, OSF/1®, and Motif® are registered trademarks of the Open Group. Citrix®, the Citrix logo, ICA®, Program Neighborhood®, MetaFrame®, WinFrame®, VideoFrame®, MultiWin® and other Citrix product names referenced herein are trademarks of Citrix Systems, Inc. HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology. JAVA® is a registered trademark of Sun Microsystems, Inc. JAVASCRIPT® is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. SAP, SAP Logo, R/2, RIVA, R/3, SAP ArchiveLink, SAP Business Workflow, WebFlow, SAP EarlyWatch, BAPI, SAPPHIRE, Management Cockpit, mySAP, mySAP.com, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. MarketSet and Enterprise Buyer are jointly owned trademarks of SAP Markets and Commerce One. All other product and service names mentioned are the trademarks of their respective owners.

Condition-Based Tax Calculation in R/3 For Brazil

3

....................................2 4..................................................26 Maintenance of Tax Code Conditions ........................................................23 Tax Groups in Access Sequences ..................2 5....35 Sequence for SD Tax Law Determination .......................................................................................................... 9 Glossary And Typographic Conventions .................................2 5.....33 Check Conditions ..............................17 5.......................................6 5.................................................3 5.. 36 Steps in Initial Tax Customizing.......................................................14..14 Tax Manager’s Workplace................................................................................................................12 5.12 Revised Approach: New Calculation Procedure..........................................................1 5.......................... 11 Comparison of Old and New Tax Calculation ....................32 Migration of Tax Data to Condition Records.23 Condition Types...........25 Assignment of Condition Types to Internal Codes .........3 Version History ..........................3 5.3 5.......................................21 Access Sequences .....................27 Hints on Customizing Tax Code Conditions .............................................................................................11 5..................................................................17............................................1 4............14..........4 5..................................................................................................................................34 Collective Migration of All Tax Data..............14 Calculation Procedures for Condition-Based Tax Calculation................................31 Mapping of Tax Values to the Nota Fiscal ..........6....................26 Assignment of Condition Tables to Tax Tables ........................................................5 5.3..............21 Tax Groups of Dynamic Exceptions ...................13 5 5.................................................................26 Customizing FI/MM Tax Codes ................................................................. 10 Preface...26 One Single Tax Code Maintenance Tool........................9 5.....................................2 5....18 Condition Setup ..................................3...............1 5.............20 Customizing the Brazilian Tax Calculation ..........13 5.................................................................3...........................................................16 Tax Calculation ......8 5........2 5..1 5...................................................25 Internal Condition Codes ..............1 5.................25 Tax Calculation Procedure ..........................25 Alternative Calculation Procedure ............. 14 Activation of Condition Record Generation ........................12 New Tax Calculation Method..........18 5...............................................15 Entities ........... 37 4 Condition-Based Tax Calculation in R/3 For Brazil ..........SAP Online Help 07/05/09 Content  1 2 3 4 4........................................2 5.................................................... 12 Previous Tax Calculation Method....15 5...................................1 5...........................17............................................................14......................................................................14 5......................26 Definition of Tax Types ......................14........................7 5........................................................16 5..................4 5...........................................................35 Sequence for SD Tax Code Determination ..................................................................31 Mapping of Tax Laws to the Nota Fiscal ..............33 Convert Tax Data to Condition Records........30 Note on Transporting Tax Code Conditions ..............................................................23 Automatic Adjustment of Access Sequences ....................10 5.......6...........................35 6 7 Tax Calculation Logic..................................................................19 5.............19 Maintenance of Tax Tables .

.................................2 Customizing SD Pricing Procedures With CBT ...........................1 9......................6.................54 Condition Types MM/FI .................67 Nota Fiscal Mapping Conditions ....................................37 Procedure for Language Supplementation in Expert mode...........5......2 10...............1 7.................2.......2 10..............................2 7.............................1 7...................4 7......................................39 Migration of Tax Customizing .......38 Assign Country to Calculation Procedure..............2 Troubleshooting ...73 Condition-Based Tax Calculation in R/3 For Brazil 5 ......................1 7.......1.........71 Withholding Tax Code Conditions ....3 10.....2 10..............5 10..............................2 10.......................40 User-Specific Modification / Enhancements of Tax Calculation ................................ 43 Consistency of Condition Records ..............4...............46 Create Access Sequences ..........4......................................................3 7..38 Specify Calculation Procedures for CBT ..........................72 Nota Fiscal Mapping Condition.................................1 7.............................................4 10...............2 7.4 10...............................43 Tax Data Without Condition Record ...............................................................5............63 Condition types used in tax calculation procedure for MM ...................46 Access Sequences MM/FI ................................7 7..............................44 10 10........................................41 Define Which Taxes Are Included in MM/SD Price Conditions ..................................................1 10.....69 Condition types used in tax calculation procedure for SD .................................................. 41 Price Conditions Including Taxes ........3 10......................................................................................................................................................1...37 Transfer of Texts to Desired Language ....................................5........................4..............................................................................................1....1 7..............1 10..8 7..1.....5.......................................................3 10..........41 Price Conditions SD ..............................38 Assignment of Calculation Procedures..1.......3............6 7..............................1 9.5....6 SAP Standard Customizing .............................................39 Creation of Tax Codes.............................1...........1................................44 Condition Records Without Tax Data ...............47 Access Sequences SD .........63 Tax Rate Conditions ..................1..........................................................8..........................................39 Note on Condition Records With Only One Application .........37 Manual customizing required after BC Set activation...........................39 Creation of Default Condition Records ................39 Update of Access Sequences From Tax Groups .....................................1 8........2 Activation of BC Set CSC_BR_TAX ...................SAP Online Help 07/05/09 7.............................72 Withholding tax Tax Rate Conditions ...........................................68 Nota Fiscal Mapping Conditions With Manually Created Condition Records.40 Changes in ABAP Coding ...........................1......72 Tax Code Conditions ..1 8.46 Extend Pricing Field Catalog ........................................................................................................................................69 Withholding tax types used in tax calculation procedure for SD............41 Price Conditions MM .................................................3 10........2 8...................................3 8..42 9 9.............................40 8 8....................................4............1 7........................................69 Condition Types SD.....4 10........................3...................1 10..................5......5 10...............40 Extension of Calculation Procedure ....................................................42 Where to Insert Discounts ....8...........................................................................................................................5 7........ 46 Create Condition Table 601..............................................

....1 10....14....5 10.......2 10........................ICMS Sub..................5 Assign WHT Types to Company Codes ..Future Delivery Purchasing / Consignment ....87 Customizing Data Retrieval ........7 10.6....74 Transaction Data Retrieval ......................3 10....................118 10...........8 Tax Codes for Incoming Movements ..119 10...........86 Net price determination .....8 10........120 10.....................6 10.........13..............................................6............................11 10...............................................7..............1 10.....................3 10....7..................................................81 Define and Assign Tax Accounts......13.1 Withholing Tax Types at Payment ...........74 Customizing Data Retrieval ..............107 Tax Codes ................112 Tax codes for Incoming Movements ..................7...............12 10.....84 Calculation Procedure in SD: RVABRA.......116 10.......90 Tax Code Conditions ....10 10.....................................109 Standard Tax Codes............14...............................................6 10................................................................................Ind.........................7.........109 Withholding Tax Codes .......4 10.... + Cons..........................ISS and INSS ................4 10...............................................14..........7............3 Withholding Tax Codes ...105 Nota Fiscal Mapping .115 Tax Codes for Incoming Movements .............................................Industrialization ...8 10..................................6 10........120 10..14..6...........................92 Internal Condition Codes ..............13................................13..........................................................................89 Nota Fiscal relevant modifications to the base price including ICMS ............. Posted in SD .....13.....................................13 10..........................121 Condition-Based Tax Calculation in R/3 For Brazil 6 ..........................105 Definition of Tax Types ........................76 Tax Code Conditions .13.....10 Tax Codes for Transfer Postings .....80 Create G/L Accounts ..................................119 10...........14..... + Cons......................................................................................................................7 10..............89 Tax recalculation on the modified amount including ICMS (Step 2)...78 Create Processing keys for Withholding Tax (T007B).....................9 10...........3 10.....................4 Define Processing Key For Modified Tax Amount..........................6.........................................Ind.....7....................82 Define Account Keys for SD (T687) ........................................13...83 Results of Tax Calculation .2 10..........9 10.................................2 WHT Types at Invoice .83 Tax Code Conditions ...6...............2 10............74 Results of Tax Calculation ...........13.........117 10........14..................120 10...................Services ...............................................................7...............................................................6.......................................................... on Freight..................................6.....6..................................................90 Results of Tax Calculation ..........................121 10.............................................................Outgoing Movements ......................................................................................................................................................................94 Assignment of Internal Codes to Condition Types ................SAP Online Help 07/05/09 10..............9 Tax Codes for Outgoing Movements ...............6..................99 Assignment of Tax Rate Tables to Condition Tables .........11 10.........6 10..........................10 10..7 Calculation Procedure in MM (FI): TAXBRA .........6 Define Accounts For Withholding Tax to Be Paid Over ...................6..............................................Consumption ......112 Tax Codes for Incoming Movements ...............................Trib.................87 Tax Calculation on net amount (Step 1) ....................1 10............7 10.5 10...................14 Customizing of Extended Withholding Tax...................................110 Tax Codes for Non-Taxable Transactions..........4 10...............114 Tax Codes for Incoming Movements ...............121 10.6.............13..................82 Tax Calculation .............13..................................................................................5 10...

............21............................................................123 Other Address Changes: Organizational Structure ......18 10....................................................................................................................126 Customers (Transaction XD02) ................................................................................127 7 Condition-Based Tax Calculation in R/3 For Brazil .........................................................2 11...............2 10.....................126 Official Service Types ....................................... 126 Master Data Changes .....................2 14...........................3 Maintain Settings For External Tax Calculation .........124 COFINS ...................... 126 Tax Laws ........................................20................................................................................................................................122 Maintain Settings For External Tax Calculation............................................122 Activate External Tax Calculation ....................................126 Other Address Changes: Organizational Structure ..............123 Vendors (Transaction XK02) ......................123 Official Service Types ......................................124 NF-relevant SD-Conditions for RVABRA..................................................................2 15.. 127 COFINS ......1 15.......122 Maintain Withholding Tax SD Conditions ..............15........................125 11 11...................14.........................................................................................................1 11..121 Maintain Tax Relevant Classification.............................7 10.................................................1 10......124 ISS .................................................15.......................................14......1 14........16 10.......................122 Define Logical Destination........................123 ISS Customizing ............................3 10................126 Generic Service Types ........... 126 Vendors (Transaction XK02) ..............................................................4 10................................................................................18..............21 10.....122 Define Tax Jurisdiction Codes ......................................124 Tax Rates ........4 ISS Customizing ....3 15......SAP Online Help 07/05/09 10...123 Assign Jurisdiction Codes to Ranges of Postal Codes...............................................21.................................................................20...........................................123 Tax Laws ............................................................................................................................................................22 10.........................................................1 16..........................125 12 13 14 14...................................................125 Activate External Tax Calculation ....2 Tax Rates............................................................ 125 Assign Jurisdiction Codes to Ranges of Postal Codes....126 Assign Official Service Types ......................................................................................................123 Master Data Changes..122 Structure for Tax Jurisdiction Code (View V_TTXD) .......................4 10..............1 10...........................................20..................................................21.........................19 10....................................................................15.....124 Withholding Taxes ........................................2 10........................................................................................................................................3 10..................17 10.126 16 16.........1 10................................21... 125 Structure for Tax Jurisdiction Code (View V_TTXD) ..............2 10..............14..................................124 Generic Service Types .3 Define Tax Jurisdiction Codes .....................................................................................20 10.....................18.......................................9 10.......................124 PIS .........15 10.............125 Define Logical Destination ...................126 15 15........127 PIS ..............................................3 10..........123 Customers (Transaction XD02) ............................................................................................................2 10.....124 Reserved Tax Groups of Dynamic Exceptions ...............................20..1 10.....8 10...23 Define Official Collection Codes .......124 Assign Official Service Types ........

.....SAP Online Help 07/05/09 16.....2...................................................................................................................................138 Overview in Table Form ........................3 Material Master.5 Process Flow ............................2 Customizing Settings and Master Data for Receiving Plant 1200 ...........................................................127 17 17..................137 Process Flow ...3 17..........3.....................................2 Settings – One-Step or Two-Step Procedure ................................................................................131 18...................................................130 Vendor Data .....................2 17...........5..................3...............................131 Process Flow ....128 18.......3..........................2.....133 Customizing Settings and Master Data for Issuing Plant 1000 ....5.3.......................136 Material Master ..........128 Customizing Settings and Master Data for Receiving Plant 1200 ...2..3...........................................1 Customizing Settings and Master Data for Issuing Plant 1000 ...........139 18....................4 17.....130 18............129 Material Master ..4 Post Goods Receipt................2 17..................................133 18................................................132 Stock Transport Order using SD Delivery .......................2................2 Customizing Settings and Master Data for Receiving Plant 0001 ...................................................................138 18............................................3.....................1 17..........................2........3 17..........................3.................................2......136 18.........132 18..1 17...............................................5...4.........137 18................2................4 Post Goods Receipt......... 128 18.132 18.........................2 Create Delivery .......3..............................................................3......................................4 ISS ........... 128 Settings – One-Step or Two-Step Procedure .................129 18...............................3 Pick Delivery and Post Goods Issue ....2..............................128 Stock Transport Order using SD Delivery (IntraCompany-Code)........................2.......................4............1 17.................................. 133 18..................................133 Customizing Settings and Master Data for Receiving Plant 0001 ........4.........................................................4........................3........................2................................132 18....3 Pick Delivery and Post Goods Issue ........3 17........................................................2........................................................................133 18......4 Customizing Settings and Master Data for the Stock Transport Order Process using SD Processing.........................................139 18...........1 Create Stock Transport Order ......... 128 Stock Transport Order using SD Delivery (Intra-Company-Code)128 18.....................................3 16..................1 Customizing Settings and Master Data for Issuing Plant 1000 ...3 Material Master........128 Customizing Settings and Master Data for Issuing Plant 1000 ......138 18.......3.. 140 Condition-Based Tax Calculation in R/3 For Brazil 8 ...............................1 18.............127 Withholding Taxes .................2..138 18...3.....................................................5.......2 17.....................................140 18 Customizing Settings and Master Data for the Stock Transport Order Process using SD Processing.............................................................................4..........2............3 Stock Transport Order using SD Delivery..........5 17.. Vendor Data ..................................4 Process Flow ................2..........................................4 17.............................2 Create Delivery .............................1 Create Cross-Company-Code Stock Transport Order ..................................4 Overview in Table Form ..133 18....

1 added: Note on manual customizing after BC set activation General Revision Revision including law change MP135 General Revision The settings for the SD Conditions BXs and ISTI SD were changed Mapping for Subtrib Base into NF Tax item added for NF-e Condition-Based Tax Calculation in R/3 For Brazil 9 .7 2.2004) 2.2005) 3.2007) Troubleshooting section extended by section 9. base amount by MM-PO conditions. procedures TAXBRJ and RVXBRC).2 (29. 2.9.1 3.06.6.6 2.3 SD documentation added Version history added. Added description of missing access sequences and condition types Section 7.5 2.08. ( 01.Trib. Documented in Note 664855.02.1 added: Note on Condition Records With Only One Application. 2.1. Changes in tax calculation added that came with Note 679140: Modification of Sub.8 ( 15. Section 7.2006) (14.0 Description of Change New condition-based tax calculation (calculation procedures TAXBRA and RVABRA) replaces old one (calc.09.2005) 3.4 2.1: Consistency of condition records and corresponding Brazilian tax data (Note 686780).2 2.SAP Online Help 07/05/09 1 Version History  Document Version 2. ( 01.11.0.

text. Sections that are only relevant for Sales and Distribution are marked with a grey line and the text SD. the table with the pricing results. and other data Condition table – Table that stores the numbers of condition records Condition-based tax calculation (CBT) – Contrary to external tax calculation. Sections that are only relevant for Materials Management are marked with a grey line and the text MM. In this document. if the law change MP 135 applies are marked in red. CBT MM SD Condition-Based Tax Calculation in R/3 For Brazil 10 . in the CBT all calculation and tax rate determination is done by standard condition technique (pricing) Tax Manager’s Workplace (TMW) – A transaction that provides a workplace from which most of the Brazilian tax Customizing can be reached directly Pricing procedure results table – The table that is accessible internally after a calculation procedure was processed. sections that are only valid for specific application areas are marked at the side of the text: Sections that are only relevant for condition based tax calculation are marked with a grey line and the text CBT. Entries which are relevant. possibly units.SAP Online Help 07/05/09 2 Glossary And Typographic Conventions  Condition record – Data record with condition rate. In other words.

3). you will be guided through the steps you have to perform in order to set up CBT for Brazil. Condition-Based Tax Calculation in R/3 For Brazil 11 . step-by-step instructions are given how to proceed when customizing a system from scratch. In section 10. The coding is quite self-explanatory. This should be enough for technical consultants to get the necessary knowledge to further study the ABAP coding that performs the tax calculation. The focus is put on the activities that have changed compared to the Customizing of the classical Brazilian tax calculation. finally. In section 5.SAP Online Help 07/05/09 3 Preface  This document describes the Brazilian tax Customizing and tax calculation. In section 7. It is focused on the condition-based tax calculation (CBT).) are not described in this document. Section 6 briefly describes the technical details of the new calculation logic. account determination. This section will be updated whenever a new common problem in the area of CBT is identified. Note: Since the concept of CBT was revised (see section 4. Things that have not changed (e. nota fiscal types. etc. What differs between this approach and the classical one of external tax calculation is described in section 4.70. introduced in R/3 release 4. In a cookbook-like manner. you find a complete reference of the standard Customizing of tax calculation for Brazil delivered by SAP. all steps in Customizing the Brazilian tax calculation are described. Section 8 contains troubleshooting hints. at least support package 17 or SAP Note 664855 is required.g.

using the tax rates customized in transaction FTXP. Moreover. These records can be directly read by the pricing logic so that no extra database selections have to be performed in formulas being processed in the calculation procedure. The generation of the nota fiscal used to be partly performed in J_1BCALCULATE_TAXES in the old method. TAXBRJ. The whole calculation logic is contained in the calculation procedure itself without calling an external function module. updated. In the new method. In the old method. condition records are automatically written. but only calls the function module J_1BCALCULATE_TAXES in formula 320. J_1BTXIP1 contains the IPI rates). the tax rates are being read from the database in function J_1BCALCULATE_TAXES and not detemined by the standard condition technique that is meant to get the rates based on the actual entries in the communication structures KOMP and KOMK. the whole nota-fiscal-mapping logic is a matter of cus- Condition-Based Tax Calculation in R/3 For Brazil 12 . the condition records can easily be transferred to other systems (e. or deleted when data are maintained in the views and saved to the database. and special indicators considering the appearance of the tax line item in the nota fiscal are maintained in Brazil-specific views J_1BTX* (e. By making use of the event technique provided in the extended table maintenance (transaction SE54).SAP Online Help 07/05/09 4 Comparison of Old and New Tax Calculation  4. Formulas are only used to do special calculations that are not provided by the standard pricing functionality. All the tax calculation logic is contained in this function module. CRM systems). the base value XKAWRT of the respective line in the calculation procedure.: not only set to be 0%).g. tax laws. activating specific lines in the calculation procedure by setting the respective rate to 100%.B. Thus. Furthermore. processing at most four parameters that are stored in the work fields XWORKD and XWORKE. These formulas typically consist of only a few lines of code. a significant amount of logic that deals with specific special cases of the complicated Brazilian tax system is hidden in the function module.g. The task of tax calculation is being executed by a dedicated function module rather than by direct processing of the tax calculation procedure assigned to the country. The tax rates. does not actually make use of the calculation functionality provided by the pricing modules. Lines (taxes) which are not to be taken into account for the respective tax code have to be deactivated (N. The rates are stored as condition records and determined during the pricing procedure based on the actual values of the fields of the communication structures KOMP and KOMK. Basically. The tax code serves to indicate which taxes are due. In the new approach the data are not only stored in the J_1BTX* tables.1 Previous Tax Calculation Method  The previous way of calculating Brazilian taxes made use of the external tax interface. The generation of the condition records takes place during the view mainenance of the J_1BTX* tables. the underlying tables are being read directly in the function module J_1BCALCULATE_TAXES. all logic which values are written in which fields in the nota fiscal line items and which tax lines are generated is customized in another mapping table and by the customizing of the tax code. However. The previous standard calculation procedure assigned to Brazil. 4. the system is being told which lines and values of the table of the calculation procedure contain which tax items. and the condition rate XKOMV-KBETR. but are additionally present as condition records on the database. The values of the various taxes are being fetched by base formulas 301 – 308 and value formulas 521 – 528 which only serve to get the values stored in the global variables of function group J1BR by the module J_1BCALCULATE_TAXES.2 New Tax Calculation Method  The new approach of the Brazilian tax calculation that is decribed in this design document makes use of the standard condition technique to calculate the taxes. thus preventing a flexible and transparent adaption of the tax calculation logic to new legal requirements or special customer needs. by calls to the function module PRICING a calculation procedure is processed. Which conditions are to be generated is being customized in mapping tables that are described in section 5. During the tax calculation.

It may be that the changes described in some of the steps are already done in your system (e. PIS.SAP Online Help 07/05/09 tomizing and no longer to a great extent hard-coded. hidden in the function module J_1BCALCULATE_TAXES. This document refers to the revised calculation procedures (MM/FI and SD). This approach worked. Small condition value. The initial approach pursued the aim to perform the complete tax calculation in the calculation procedure itself. either the support package that contains the changes is installed. 2003. base. This guide also describes how to technically set up the system for the new tax functions (ISS. It refers to the changes in condition-based tax calculation for Brazil described in SAP Note 664855. the calculation logic was moved to ABAP coding. see Note 727475 and the Notes mentioned there. All entries referring to this law change are highlighted in red. For further details. For this reason. or the changes are implemented manually. but it turned out that the section in the calculation procedure where the actual calculation happened got very long and complicated to understand. Condition-Based Tax Calculation in R/3 For Brazil 13 . entries in table J_1BAJ). After implementation of the support package or the Note. This means.g. 4. The prerequisite for the implementation is that all coding and DDIC changes have already been implemented.3 Revised Approach: New Calculation Procedure  Note: This section was added on November 4. there are still manual steps necessary to work with the new taxes. and MP-135 withholding taxes). COFINS. In such case. These manual steps are described in this guide. just skip the section. and requirement formulas provide the calculation logic that cannot be achieved with the standard pricing algorithm. following the instructions of the respective Note.

Activation of condition generation. 5. you specify the calculation procedure for CBT in the new IMG activity IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Brazil  Specify Calculation Procedures for Condition-Based Tax Calculation. the maintenance view J_1BCBTAXPROCV is called. the new table J_1BCONDTAXACT is maintained. In this customizing activity. For this reason. the generation of condition records in CBT the maintenance of tax rates has to be activated by setting a flag for the respective country (see the screenshot in Figure 5-1).1 Activation of Condition Record Generation  In order to use the new condition-based tax calculation. Figure 5-1. This is necessary to either call the classical. condition records are being generated in the background during the maintenance of the Brazilian tax tables. If the flag is set for Brazil.2 Calculation Procedures for Condition­Based Tax Calculation  CBT The system needs to identify whether in the currently processed calculation procedure the tax calculation is condition-based or not. Condition-Based Tax Calculation in R/3 For Brazil 14 . A new Customizing step in the IMG has been added: IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Brazil  Condition-Based Tax Calculation Activate Condition Generation.SAP Online Help 07/05/09 5 Customizing the Brazilian Tax Calculation  5. Here. Figure 5-2 shows a screenshot. external tax calculation or the new tax calculation in condition value formula 320.

The underlying program is J_1B_MIGRATE_TAX_RATES. It is called by the transaction J1BTAX and can also be accessed from the IMG: IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Calculation  Settings for Tax Calculation in Brazil  Access Tax Manager’s Workplace.SAP Online Help 07/05/09 Figure 5-2. Condition-Based Tax Calculation in R/3 For Brazil 15 . Specification of calculation procedures used in CBT.3 Tax Manager’s Workplace  The Tax Manager’s Workplace (TMW) is a general entry point to do almost all Customizing relevant for the Brazilian tax calculation. 5.

Regions. It is not necessary to switch to the condition-based tax calculation (CBT) to use it.1.17. This new transaction can be used in any case to do the Customizing of Brazilian taxes in R/3 Enterprise.SAP Online Help 07/05/09 Figure 5-3.1 Entities  In this menu. tax laws. More detailed descriptions about the necessary Customizing steps to implement the CBT can be found in sections 5. some menu options regarding the CBT are not accessible. Figure 5-3 shows a screenshot of the initial screen of the transaction. a condition record with a rate of 100% is generated in the background whose type was assigned to the internal code TAXFREEREGION. and special flags like “Convênio 100” or “Other base”. If it is not active. In the following. The Customizing of these tables can also be found in the IMG under IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Settings for Tax Calculation in Brazil  Tax Rates. though.3.3. On the entry screen a list of all Brazilian tax tables is shown. The term “tax tables” shall mean all tables that contain Brazilian tax data being accessed during the tax calculation in order to find rates. Customizing steps are collected that define basic constants that are relevant for the Brazilian tax calculation. Initial screen of the Tax Manager’s Workplace.4 to 5.1 Tax Regions  Assignment of geographical regions to tax regions that are used in the ship-from and ship-to fields during the tax calculation. 5. This condition can be used in the tax calculation procedure to perform special handling of tax-free regions. If the Tax-Free Zone indicator is set and the condition-based tax calculation is active (see section 0). Condition-Based Tax Calculation in R/3 For Brazil 16 . 5. an overview about all menu options is given. The IMG activity that corresponds to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Brazil  Define Brazilian Tax Regions and Assign to Geograph. The corresponding maintenance view is J_1BTREGV.

1.1.3. The IMG activity that corresponds to this menu item can be found in IMG  Cross Application Components  General Application Functions  Nota Fiscal  CFOP Codes  Define CFOP Versions. The corresponding maintenance view is J_1BCFOP_XREGNV.1. 5.3 Sub.3. The IMG activity that corresponds to this menu item can be found in IMG  Cross Application Components  General Application Functions  Nota Fiscal  CFOP  Define CFOP Codes and Assign Versions.1. 5.3. The IMG activity that corresponds to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Brazil  Define ICMS Tax Laws.SAP Online Help 07/05/09 5.1. 5.1. The IMG activity that corresponds to this menu item can be found in IMG  Cross Application Components  General Application Functions  Nota Fiscal  NCM Codes  Define NCM Codes. Condition-Based Tax Calculation in R/3 For Brazil 17 .3.3. 5.3. 5.1.8 CFOP – CFOP Determination SD  Rules for the determination of the CFOP codes in SD applications.2 NCM Codes  Definition of NCM codes.7 CFOP – CFOP Determination MM  Rules for the determination of the CFOP codes in MM applications.3.1. The corresponding maintenance view is J_1BATL1V. The corresponding maintenance view is J_1BATL2V. The corresponding maintenance view is J_1BTXSTGV. The corresponding maintenance view is J_1BAPNV.10 Tax Laws ICMS  Definition of ICMS tax laws. The corresponding maintenance view is J_1BT604FV. The corresponding maintenance view is J_1BCFOPVERV.4 CFOP – CFOP Versions  Definition of CFOP versions.3. 5. The corresponding maintenance view is J_1BAONV. 5.5 CFOP – Validity Date of CFOP Versions  Definition of validity dates of CFOP versions. Groups  Definition of possible Substituição Tributária groups in the vendor and customer master. 5.Trib. The corresponding maintenance view is J_1BAGNV. The IMG activity that corresponds to this menu item can be found in IMG  Cross Application Components  General Application Functions  Nota Fiscal  CFOP Codes  Assign Validity Date to CFOP Versions. The IMG activity that corresponds SD to this menu item can be found in IMG  Cross Application Components  General Application Functions  Nota Fiscal  CFOP  CFOP Determination for Goods Issues and Returns.9 Tax Laws IPI  Definition of IPI tax laws.6 CFOP – CFOP Codes  Definition of CFOP codes. The IMG activity that corresponds MM to this menu item can be found in IMG  Cross Application Components  General Application Functions  Nota Fiscal  CFOP  CFOP Determination for Goods Receipts and Returns. The IMG activity that corresponds to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Brazil  Define IPI Tax Laws. The IMG activity that corresponds to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Calculation Settings for Tax Calculation in Brazil Define Customer Groups for SubTrib Calculation.3.1.

flags.2. These groups must not be deleted. See section 5.3. The activity can also be accessed by pressing the button in the application toolbar.14.5 Alternative Calc.The IMG activitity that corresponds to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Brazil  Assign Alternative Calculation Procedure per FI/MM Tax Code. Groups in the range from 10 to 89 can be defined.1 Maintain Tax Rates  Selecting this menu item starts the maintenance of the tax rates of the selected line in the table of the overview screen (transaction J1BTAX). 5.SAP Online Help 07/05/09 5. Details can be found in section 5. 5.2Tax Calculation  In this menu. 5.4 Tax Codes SD  Definition of tax codes that are used in SD applications. The IMG activitity that corresponds to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Calculation  Settings for Tax Calculation in Brazil  Define SD Tax Codes.3. The activity can also be accessed by pressing SD the SD button in the application toolbar.3.9. To use newly defined tax groups requires additional Customizing activities when the condition-based tax calculation is used. and texts that are used in the tax calculation.5 for further information. or deleted automatically in the background when the data are saved.2 Maintain Tax Groups  Here you define tax groups used in the dynamic tax exceptions. The IMG activitity that corresponds to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Calculation  Settings for Tax Calculation in Brazil  Define MM Tax Codes. The corresponding table is J_1BTXGRUOP. The activity can also be accessed by MM pressing the MM button in the application toolbar. The corresponding maintenance view is J_1BTAXCODEV.2. Customizing steps are collected that control the rates. The IMG activitity that corresponds to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Calculation  Settings for Tax Calculation in Brazil  Tax Rates  Maintain Tax Groups for Dynamic Exceptions. condition records are being generated. If the condition-based tax calculation is active.3. 5. Condition-Based Tax Calculation in R/3 For Brazil 18 .3. Procedure  Assignment of tax codes defined for a tax calculation procedure to a different combination of MM tax code/calculation procedure. 5.2. It can also be accessed by pressing the button in the application toolbar or by double-clicking the line in the table. modified.2.3. The IMG activities that correspond to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Calculation  Settings for Tax Calculation in Brazil  Tax Rates. The corresponding maintenance view is J_1BTAXCODEV.2.3 Tax Codes MM  Definition of FI tax codes that are used in MM applications. Details for this Customizing step can be found in section 5. The corresponding maintenance view is J_1BMWSKZKALSMV. The numbers between 0 and 9 as well as between 90 and 99 are reserved for SAP.

The corresponding maintenance view is J_1BNFTXCONDMMV.19. You need to have authorization for cross-client Customizing if you want to modify the access sequences.3. The IMG activitity that correSD sponds to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Brazil  Define Sequence for SD Tax Law Determination. At the start of the Tax Manager’s Workplace the country is determined from the set/get parameter LND. The IMG activitity that corresponds to this SD menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Brazil  Condition-Based Tax Calculation  Map SD Tax Values to Nota Fiscal Fields.SAP Online Help 07/05/09 5.8 Other Country  Here a different country can be selected. This can also be executed by choosing this menu point. 5. Details can be found in section 5.2. 5. 5.4 Nota­Fiscal Mapping – Tax Values SD  Here it is customized which fields of the table of the calculation procedure used in SD contain the CBT values of the nota fiscal. all Customizing steps are collected that are related to the condition technique in the tax calculation. The corresponding table is J_1BTXLAWSEQ. 5.3.3.3.2. 5. The IMG activitity that corresponds to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Calculation  Settings for Tax Calculation in Brazil  Define Sequence for SD Tax Code Determination.6 Tax Code Determination SD  Definition of the sequence of the determination logic of the SD tax codes.3.3.1 Migration – Tax Tables to Conditions  Choosing this menu point. 5. 5.2 Migration – Tax Groups in Access Sequences  You use this activity to automatically update access sequences after you have created or changedCBT tax groups for dynamic exceptions. The calculation procedure assigned to the selected country (in table T005) is then taken as the default value.3.15. The corresponding table is J_1BTXCODESEQ.3.3Condition Setup  In this menu.3. Details can be found in secSD tion 5. Details can be found in section 5. It is important that you ensure that tax groups are not customized differently in different clients because with each conversion to access sequences. Details can be found in section 5. If this parameter has no value the user is prompted for a country that is stored in this parameter afterwards. Details can be found in section 5.3 Nota­Fiscal Mapping – Tax Values MM  Here it is customized which fields of the table of the tax calculation procedure used in MM containCBT the values of the nota fiscal. the generation of condition records out of the entries in the Brazilian CBT tax tables can be triggered initially. There is no entry in the IMG to start this activity.3.7 Tax Law Determination SD  Definition of the sequence of the determination logic of the SD tax laws.2.3. The TMW always has to be used for this.2.3. and the correct conversion can be monitored. the previous Customizing settings will be overwritten.6. Condition-Based Tax Calculation in R/3 For Brazil 19 .15. The IMG activitity that corresponds to MM this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Brazil  Condition-Based Tax Calculation  Map MM Tax Values to Nota Fiscal Fields.The corresponding maintenance view is J_1BNFTXCONDV.17.

The IMG activity that corresponds to this menu item can be found in IMG  Sales and Distribution  Basic Functions  Pricing  Pricing Control  Define Access Sequences. These condition types can be used in the SD pricing SD procedures. The corresponding table is J_1BVIEWMAP.3.3. Details can be found in section CBT 5. The IMG activitity that corresponds to this menu item can be found in IMG  Sales and Condition-Based Tax Calculation in R/3 For Brazil 20 . These access sequences can be used in theMM tax calculation that is called by the MM applications. The corresponding table is J_1BTXCOND.3. Details can be found in section 5.3. The IMG activitity that corresponds to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Check Calculation Procedure – Access Sequences. These condition types can be used in the tax calculaMM tion that is called by the MM applications.3. The IMG CBT activitity that corresponds to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Brazil  Condition-Based Tax Calculation  Assign Internal Codes for Tax Conditions to Condtion Types. The corresponding maintenance view is J_1BCONDMAPV. The corresponding maintenance view is VV_T685A_V1.5 Nota­Fiscal Mapping – Tax Laws MM  Here it is customized which fields of the table of the tax calculation procedure used in MM containCBT the tax law texts of the nota fiscal.3.3. The corresponding view cluster is VVC_T682_TX.3. These access sequences can be used in the SD SD pricing procedures.3.3. The IMG activitity that correMM sponds to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Brazil  Condition-Based Tax Calculation  Map MM Tax Laws to Nota Fiscal Fields.3.8 Condition Mapping – Tax Rate Tables  Assignment of tax rate tables to the condition tables.3.11.12 Condition Types – Condition Types SD  Definition of condition types with application V.12. 5.3. The corresponding maintenance view is J_1BNFLWCONDMMV.10 Access Sequences – Access Sequences SD  Definition of access sequences with application V. Details can be found in section 5.6 Condition Mapping – Internal Codes  Definition of internal codes used in the condition-based tax calculation.3.7 Condition Mapping – Assign Conditions  Assignment of condition types to the internal codes.SAP Online Help 07/05/09 5.9 Access Sequences – Access Sequences MM  Definition of access sequences with application TX. The IMG activitity that corresponds to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Brazil  Condition-Based Tax Calculation  Define Internal Codes for Tax Conditions. 5.9. 5. Details can be found in section 5. 5. The IMG CBT activitity that corresponds to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Brazil  Condition-Based Tax Calculation  Assign Condition Tables to Tax Tables.11 Condition Types – Condition Types MM  Definition of condition types with application TX. 5. 5. The IMG activitity that corresponds to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Check Calculation Procedure – Define Condition Types. The corresponding view cluster is V_T682. 5.3.3.16.

5 Tax Groups of Dynamic Exceptions  The screenshot in Figure 5-4 shows the maintenance of the table J_1BTXGRUOP in which the groups of dynamic tax exceptions are defined.4 Maintenance of Tax Tables  Selecting a line of the table on the overview screen of the TMW leads to the maintenance view of the selected table. city code. 5. NCM code. This will lead to inconsistencies between the data in the Brazilian tax tables and the condition records. These access sequences can be used in the SD pricing SD procedures. The corresponding maintenance view is V_T685A.3. If the automatic condition generation is active (see section 5. For each tax group. you can set the LPP (Last Purchase Price) indicator for each tax type in order to activate the recording of the LPP.SAP Online Help 07/05/09 Distribution  Basic Functions  Pricing  Pricing Control  Define Condition Types. The IMG activitity that corresponds to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Check Calculation Procedure – Define Procedures. The Brazilian tables are no longer accessed anywhere in the applications and only serve as a comfortable way of simultaneously maintaining multiple conditions having the same key fields. vendor. Furthermore. The corresponding maintenance view is J_1BAJV. Further details can be found in the document Last purchase price in R/3 for Brazil. The number of the tax group determines which rates are taken in case of more than one matching record. For example. Here it is customized which fields of the pricing procedure results table contain the values of the Nota Fiscal. The IMG activitity that corresponds to this menu item can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Brazil  Define Tax Types. which is taken from the item level in the transactions. industry sector. 5.3.15 Tax Types  In this IMG activity. 5. You can choose from the following key fields: material. supposed tax group 50 has the key field NCM code and tax group 51 has the Condition-Based Tax Calculation in R/3 For Brazil 21 . If a table with dynamic exceptions is selected the user is prompted for the tax group prior to the table maintenance. These conditions are accessed in the tax calculation. and material master records .3. The IMG activitity that corresponds to this menu item can be found in IMG  Sales and Distribution  Basic Functions  Pricing  Pricing Control  Define And Assign Pricing Procedures. The corresponding view cluster is V_T683. it is decribed how to verify and reestablish the consistency of the data. The corresponding view cluster is VVC_T683_TX.14 Calc. Procedures – Calc. and material tax usage. never may these condition records be changed or deleted with transaction FV12 or new conditions be created with transaction FV11. Details can be found in section 5. 5. you define tax types for Brazil.3. Procedures MM  Definition of tax calculation procedures. material class/material group. All of the fields are taken from the customer. In section 5.3.13 Calc. Procedures SD  Definition of pricing calculation procedures. Procedures – Calc. tax code.3.17. customer. vendor.1). 5. The screenshot in Figure 5-5 shows an example.15.with the exception of the tax code. the maintenance view J_1BTXIP3V. condition records are generated CBT and changed automatically when the data that are entered in these views are saved. However. These calculation procedures can be used in the tax calculaMM tion that is called by the MM applications. you can specify up to three key fields that are to be used to determine the tax rates. It is possible to display the automatically generated condition records in transaction FV13.

If in the tax calculation a record is found as well for tax group 50 as for group 51. Also it can be restricted to be used only for certain tax types by only setting some tax type indicators in the columns at the right side of the table. and SubTrib (ST). IM. Using CBT. J_1BTXIC1. Maintenance of tax groups of dynamic exceptions. Condition-Based Tax Calculation in R/3 For Brazil 22 . The dynamic key fields are material and vendor. different tax rates in the invoice compared to the purchase order. this logic has to be transferred to the customizing of the access sequences belonging to the conditions that store the tax rates. Using the CBT. They are listed in Figure 5-4. are no longer supported since it makes no sense to use. In order to identify which tax group an entry in the condition table belongs to. and IV. tax group 6. this condition table is not only used for dynamic tax exceptions. condition table 382 is used for all ICMS tax tables.SAP Online Help 07/05/09 key field material class.6.1 for a detailed description how this is realized.e. i. two other applications can be selected: Sales and Distribution (SD) and Materials Management (MM). In the former tax calculation method. See section 5. J_1BCALCULATE_TAXES. Figure 5-5. the record of group 50 will be taken since it has the lower number. However. When using the new tax calculation. but for other tax tables. Furthermore. IPI. in the standard setup delivered by SAP the tax data belonging to different tax groups CBT are stored in condition records that have the same condition table. the condition table contains a key field TAXGROUP. For example. 13. You can individually activate the consideration of a tax group in the tax rate determination for the types ICMS. App. Maintenance of the tax rate table J_1BTXIP3. ISS. and J_1BTXIC3). a tax group can be restricted to be used only for certain applications by choosing a different value than General in the field Call. SAP defines standard tax groups that are not to be used by customers. Therefore. the described logic is programmed in the tax-calculating function. J_1BTXIC2. and 25 are an example which is not deliverd as standard. Groups 11. in the view J_1BTXIP3V. The individual MM sub-applications PO. for example.

SAP Online Help 07/05/09 section 10. If you do not use condition-based tax calculation.2.g. you do not need to adjust the corresponding access sequences. Condition-Based Tax Calculation in R/3 For Brazil 23 . the access sequences have to be adjusted accordingly if the condition-based tax calculation is used. you take over the assignment of fields and constant values for the fields . In consequence.if you want to include new steps in the access sequences after creating a new tax group . This calls the maintenance of the view clusters VVC_T682_TX and V_T682.2Automatic Adjustment of Access Sequences  With the report J_1B_EXT_ACC_SEQ you can automatically adjust all access sequences that CBT are used by condition types used for the condition-based tax calculation. Additionally. since the program makes cross-client changes to your data. e. This is extremely important.1Tax Groups in Access Sequences  Whenever a new tax group was created or an existing group was changed. respectively. Figure 5-6 shows the initial selection screen. Then. You need to have authorization for cross-client Customizing if you want to modify the access sequences. The other numbers are reserved for SAP. the previous Customizing settings will be overwritten. Lastly. Insert into the access sequences . You can simulate the results of the program by setting the Simulate Only indicator. This is described in section 5.if you want to delete existing steps from the access sequences.6. In this case.22. the system searches through the defined order of key fields of an active group as described above. the NCM code to field 2. On the program selection screen. If you have no authorization for crossclient customizing. A new step has to be included in all those access sequences that are used by conditions that are used to calculate taxes of the type that is switched as active in the customizing of the tax group. since they both use the same condition table (the one corresponding to material-dependent exceptions). you need to assign the city code to dynamic field 1. the maintenance of access sequences is accessed by selecting the menu item Condition Setup – Access Sequences MM and Access Sequences SD.2. In section 10. the following example illustrates what you need to change. Delete from access sequences . this indicator is set by default and cannot be cleared. is provided that can do this automatically. A program.except for the dynamic ones. 5. tax type indicators CBT were switched on and off. In the field assignment. 5. or even key fields were changed. calling application General. 5. It is important that you ensure that tax groups are not customized differently in different clients because with each conversion to access sequences. J_1B_EXT_ACC_SEQ. Suppose you create tax group 50 with two key fields city code and NCM code. the application was changed. you need to extend all MM and SD access sequences that are used in the ICMS conditions – by adding step 50.if you want to update existing steps in the access sequences. customers may only use tax group numbers in the range from 10 to 89. If you change the access sequences manually. you need to specify what type of conversion is to take place: • • • Update access sequences .6 Access Sequences  In the TMW. assign the constant value '50' to the field Tax group . the access sequences and the underlying condition tables and fields that are used for the access are listed. One example from MM is BRIB. so that the system can uniquely identify the record during rate determination. By copying step 5. and marked as active for ICMS only.6. and the constant 'X' to field 3.6. You can create step 50 by copying step 5. Access sequences are cross-client data. you enter the tax groups you want to include in the update.

then the system deletes the step from the access sequence. it overwrites the step's field assignment with the values customized for the tax group. Insert into access sequences Select this option if the tax groups you have specified have no corresponding steps and field assignments in the access sequences yet (this would be when you have created a new tax group). In detail. If the system finds a step in the access sequence that corresponds to the selected tax group. it inserts a new step. the system behaves as follows based on the selected option: A. Update access sequences • • • If the system finds a step in the access sequence that has the same number of the tax group. Delete from access sequences Condition-Based Tax Calculation in R/3 For Brazil 24 . the system displays a log that contains all messages issued during processing. in which case the system does not change the access sequence C. Selection screen of the program that automatically adjusts access sequences based on the Customizing of the tax groups of dynamic exceptions. If the system does not find a corresponding step in the access sequence. but the Customizing settings indicate that this access sequence is not to have this step. Following the conversion or the simulation. it displays one of the following in the application log: • • Warning message: if the existing field assignment is identical to the field assignment that would be generated by the conversion Error message: if the actual field assignment differs.SAP Online Help 07/05/09 Figure 5-6. B. If the system does find a step with the number of the tax group in an access sequence.

8 has been introduced. Conditions containing tax data. This tax calculation procedure has to be assigned to the country BR in table T005. they have no access sequence and no condition records in the database. The records are maintained by customizing the tax codes. A detailed description of the new standard calculation procedure TAXBRA can be found in section 10.g.5. 5. Conditions that refer to other conditions. i. The internal codes are maintained in the TMW by choosing Condition Setup – Condition Mapping – Internal Codes in the menu or maintaining the view J_1BCONDMAPV. 4.The condition Codes for withholding tax might be required and are therefore Condition-Based Tax Calculation in R/3 For Brazil 25 .SAP Online Help 07/05/09 Select this option if the tax groups you have specified are to be deleted from all access sequences used in the CBT. an extension to the concept described in section 5. They are used to reuse a condition value in another line of the calculation procedure.9 and 5.9 Alternative Calculation Procedure  In R/3 Enterprise. The corresponding IMG activity can be found in IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Assign Country To Calculation Procedure. In MM the table J_1BMWSKZKALSM.e. 2.10 Internal Condition Codes  An internal code has to be created for each condition type that is to be used in the automatic generaCBT tion of condition records during the maintenance of the Brazilian tax tables. e. in case of performance problems or new requirements.11).g. These condition types have to be entered also in the table J_1BAJ to classify them as tax type. 5. 5. Thus the user could e. Procedure MM.7 Condition Types  CBT The condition types that have to be defined can be classified in four categories: 1. Conditions indicating that a certain tax type is due. alternative calculation procedures can be specified that are to be used for certain tax codes instead of the standard one. 3. The customizing of calculation proCBT cedures is done in the view cluster VVC_T683_TX and can be reached from the TMW by choosing MM Condition Setup – Calc. 5. These conditions are manual. The customer usually is not expected to maintain this table because SAP delivers the internal codes required for the standard Brazilian tax calculation. These are conditions that have a reference condition containing the data. Only the internal codes are used in the program coding. These condition records are maintained automatically during the maintenance of the Brazilian tax rate tables. An internal code must be assigned to each condition in table J_1BTXCOND (see sections 5. The condition types used in CBT are described in section 0.8 Tax Calculation Procedure  The new standard tax calculation procedure for Brazil is TAXBRA. The maintenance of the tax types is accessed in the TMW under Condition Setup – Tax Types. the customers are free to use their own condition types. use the external tax calculation for some tax codes (by specifying TAXBRJ in the above mentioned table) or use several smaller calculation procedures. This is achieved by reading this table in a BAdI before the call to the pricing procedure and modifying the communication fields that contain the calculation procedure and the tax code. By this mapping. Conditions that are only used to mark specific lines of the calculation procedure to use them in the Nota Fiscal mapping tables.

it is not nota-fiscal relevant. It is no longer done with the transaction FTXP. you additionally specify the condition table per tax group. This can be overwritten if the feature of alternative calculation procedures (section 5. there are statistical lines that have tax code conditions (see section 10. Table 110-812 shows the standard tax types delivered by SAP. records can be generated only for condition types that are non-statistical and that have an account key assigned in the calculation procedure. However. A tax type can be assigned to a tax group. This is e.12 Assignment of Condition Tables to Tax Tables  During the maintenance of the Brazilian tax tables. it has to be defined as a tax type as well. they can define new codes beginning with Z. If you do not assign a tax group to a tax type. E. the user is prompted for the calculation procedure. Tax groups are the different Brazilian taxes (IPI. For the standard Brazilian tax calculation. For each tax type an indicator LPP can be set. the condition will be ignored in the nota fiscal generation.9) is used.2). and their assignments. Table 10. As default.shows all standard internal condition codes delivered by SAP. the case for offset conditions like ICOX. or SubTrib).14 Customizing FI/MM Tax Codes  5. In TAXBRA. 5. 5.11 Assignment of Condition Types to Internal Codes  The condition types that are actually used in the tax calculation procedure have to be assigned toCBT the above described internal codes.5). ISS. If customers need to define their own internal codes for user-specific coding. ICMS. this tax line will be transferred to the nota fiscal. the tax calculation procedure assigned to the country is displayed. They are customized in the view J_1BAJV that can be accessed in the TMW by choosing Condition Setup – Tax Types. Per group there is a separate line in the nota fiscal. The condition types are referred to as tax types in this table. SAP delivers all internal codes. This transaction cannot be used because the tax calculation procedure TAXBRA is not compatible with the functionality of the transaction. however. 5.SAP Online Help 07/05/09 listed. the respective tax group has to be assigned to the codes. and therefore no tax group is assigned to it. Before the table with the tax codes is displayed. If a tax group is assigned to the tax type that corresponds to a tax code condition. This leads to the maintenance view J_1BTAXCODEV. IPI. In the case of dynamic exceptions. In order to maintain this condition in the tax code maintenance. ISS) and the information whether it is a complementary tax or a tax on freight. indicating that for this tax type the last purchasing price is to be calculated and used in the tax rate determination. Condition-Based Tax Calculation in R/3 For Brazil 26 .13 Definition of Tax Types  The condition types that indicate whether a specific tax is due or whether specific lines are to be listed MM in the nota fiscal have to be specified in the table J_1BAJ. Details about this functionality can be found in the document Last purchase price in R/3 for Brazil. Substituição Tributaria. In the table J_1BVIEWMAP it has to be specified which condition tables are to be used for a specific tax table.6. 5. The default entries delivered by SAP are shown in Table.1 One Single Tax Code Maintenance Tool  The Customizing of FI/MM tax codes is done in the TMW by choosing Tax Calculation – Tax Codes MM MM. condition records are generated and changed CBT automatically. For the internal codes that represent condition types that contain data of a specific tax group (ICMS. conditions.14.g.g. in FTXP. This is necessary for the system to consider the access sequence of the condition type assigned to the internal code in the automatic extension of access sequences after changing tax groups of dynamic exceptions (see section 5.

2 Maintenance of Tax Code Conditions  The conditions belonging to a tax code are maintained by selecting the line with the tax code that is to MM be maintained and afterwards choosing Goto – Maintain Conditions (Ctrl+F3) or pressing the button on the application toolbar. First. all condition types are listed that are defined as tax types in the table J_1BAJ (see the previous section) and that are present in the calculation procedure assigned to the country. In case the system does not find a unique assignment of a tax calculation procedure to a country (in table T005).7. 5. finally the table T007_IT had to be maintained to map SD tax codes (defined in table J_1BTXSDC) against incoming and outgoing tax codes (defined in T007A). the user is asked to select a country first. had to be maintained with the view J_1BTXMMCV. When the data are saved in the screen displayed in Condition-Based Tax Calculation in R/3 For Brazil 27 . which contains the tax code data (except the condition records).14. For the automatic determination of tax codes in stock transfer processes. otherwise it is inactive. The new view J_1BTAXCODEV allows the maintenance of all fields mentioned in the three steps above at the same time in one line.SAP Online Help 07/05/09 Until release 4. There it was also specified whether the code belongs to input or output tax. The screenshot in Figure 5-8 shows an example of the screen where the tax code conditions are maintained. The table T007_IT has been replaced by the new table J_1BT007 in release 4. Figure 5-7 shows a screenshot of this view. A tax type is active when the respective checkbox is checked. the conditions of the tax code had to be maintained in transaction FTXP.6C three customizing steps had to be executed to customize a tax code. The Brazil-specific fields in table T007A. In the table.

SAP Online Help 07/05/09 Figure 5-7. for unchecked types the respective condition records are deleted so that the line will not appear in the pricing-procedure results table after the execution of the pricing procedure in the tax calculation. Checked tax types are transferred to condition records with a value of 100%. The tax code conditions are stored in the condition table A003 which has as key fields the country and the tax code. condition records are automatically being generated. This is different to the table T007A in which the tax codes are defined for Condition-Based Tax Calculation in R/3 For Brazil 28 .

SAP Online Help

07/05/09

Figure 5-7. Overview of the tax code maintenanec.

Figure 5-8. Conditions that belong to the selected tax code.

Condition-Based Tax Calculation in R/3 For Brazil

29

SAP Online Help

07/05/09

country and calculation procedure. In the standard tax calculation, only one tax calculation procedure can be assigned to a country in table T005. However, if the new feature of alternative calculation procedures is used (see section 5.9), a different calculation procedure can be used for certain tax codes. For this reason, the tax codes defined for different calculation procedures have to be given different names if their conditions are to be customized differently, in order its conditions do not overwrite the ones of tax codes with the same name assigned to a different calculation procedure.

5.14.3 Hints on Customizing Tax Code Conditions 
Compared with the former way of customizing Brazilian tax code conditions, some changes were inCBT troduced in the condition-based tax calculation. The basic idea is the same: You activate the lines of the calculation procedure that store the tax amounts which are to be taken for the tax code. The other MM lines that contain tax code conditions (tax types) are deactivated. The table displayed in Figure 5-8 is basically a special view on the tax calculation procedure in which only those lines are displayed that contain conditions that are tax types (defined in table J_1BAJ, see section 5.13).

What has changed is that no special internal nota-fiscal handling is performed in an external tax calculation any longer. All this logic is customizable in the nota-fiscal mapping table J_1BNFTXCOND, which is explained in section 5.15. This has the following consequences compared to the Customizing of tax codes for the classical, external tax calculation (TAXBRJ).

5.14.3.1 ICMS and IPI Lines in Nota Fiscal 
In general, a nota fiscal always has a line for ICMS and a line for IPI, no matter if ICMS and IPI CBT are due. (There are some exceptions to this rule which are, however, handled in the ABAP coding of the tax calculation.) MM In order to generate the IPI or ICMS lines in the nota fiscal that only store the calculation base in the Other Base field in case the respective tax is not due (referred to as dummy line in the following, the following conditions (lines in the table shown in Figure 5-8) have to be activated too: • • IPI0 ICM0 Activate if IPI dummy line is to be generated in the nota fiscal Activate if ICMS dummy line is to be generated in the nota fiscal

These special additional conditions that have to be maintained are only relevant for ICMS and IPI, not for ISS, SubTrib, or any other tax group. Consequently, when migrating from the old to the new tax calculation, all tax codes that have either IPI or ICMS or both not active have to be modified accordingly.

5.14.3.2 IPI Split 
In order to consider the special case of “vendor non-industry” in IPI industrialization postings, twoCBT IPI conditions have to be activated, one being deductible and one non-deductible. In the new standard these are condition types IPI1 and IPI4. IPI1 is deductible, IPI4 non-deductible. In the old tax calculaMM tion, it was condition IPI2 that had to be activated together with IPI1. This was changed, because the semantics of IPI2 is IPI consumption, and the nota-fiscal mapping is different. The ABAP coding handles the special logic and does not transfer the values in the IPI4 line to the nota fiscal if IPI split is not the case. In this situation, as well the tax amount as all base amounts are zero which indicates that such line is not to be considered in the nota fiscal. Consequently, all tax codes that have IPI industrialization active (and thus used to have conditions IPI1 and IPI2 active) have to be modified in a way that IPI2 is deactivated and instead IPI4 is activated.

Condition-Based Tax Calculation in R/3 For Brazil

30

SAP Online Help

07/05/09

5.14.3.3 Offset Postings 
In the old tax calculation, conditions for offset postings have the rate –100%. In the new tax calculaCBT tion, however, you only activate or deactivate conditions. If you activate a condition, a record with always +100% is generated. Therefore, in each line of the calculation procedure that corresponds to a MM condition type used for an offset posting, the condition base formula 164 has to be specified. This formula multiplies the base value with –1. Consequently, all tax codes that have active condition types with –100% have to be edited so that the rate is changed to +100% instead.

5.14.4 Note on Transporting Tax Code Conditions 
When you customize tax codes with transaction FTXP, you have the option to import or export CBT tax code conditions. When importing tax codes, the condition records are read from table T007V and the transaction FTXP is processed in batch input mode. The report RFTAXIMP reads the standard MM tax codes for a country. This is the way how standard tax codes can be created in a system. With the new tax calculation procedure TAXBRA, however, this is not possible because transaction FTXP cannot be used to edit tax codes (see section 5.14.1). Therefore, for the time being, tax codes have to be created manually. In section 0, the Brazilian tax codes SAP delivers as standard are described. Refer also to that section for examples and further explanations.

5.15

Mapping of Tax Values to the Nota Fiscal 

By using the new condition-based tax calculation the pricing-procedure results table contains all CBT values that need to be listed in the nota fiscal. Which values of the table are transferred to which nota fiscal fields is customized in the TMW by choosing Condition Setup – Nota-Fiscal Mapping – Tax Values MM or SD, respectively. This leads to the maintenance of the views J_1BNFTXCONDMMV (for MM) and J_1BNFTXCONDV (for SD) that define the mapping rules. The screenshot in Figure 5-9 shows an example. A tax line in the nota fiscal consists of the tax rate, pauta rate (used for IPI Pauta), the tax value, the normal base, the excluded base, and the other base. An active tax type for a tax code leads to a corresponding line in the nota fiscal. In this view it is specified from which fields in the pricing-procedure results table the above mentioned nota fiscal fields are being filled.

Condition-Based Tax Calculation in R/3 For Brazil

31

If the condition is inactive. The MM view J_1BNFTXCONDMMV is shown. 5. From which condiMM tion types the laws are taken is defined in the table J_1BNFLWCOND. the condition rate or amount. KWERT. There are three alternatives: the condition base value. The screenshot in shows the standard mapping delivered by SAP. KAWRT. the field of the line of the pricing-procedure results table has to be specified in the column Map. For each nota fiscal field the condition type that identifies the line in the calculation procedure has to be specified. Condition-Based Tax Calculation in R/3 For Brazil 32 .SAP Online Help 07/05/09 Figure 5-9. KBETR. Field. and the condition value. Furthermore.16 Mapping of Tax Laws to the Nota Fiscal  The tax laws are also stored in condition records that are generated by the maintenance of the CBT tax code or the maintenance of certain tax rate tables (e. J_1BTXIP1 or J_1BTXIC2). the respective line will not be found in the pricing-procedure results table and the initial value will be transferred. It is maintained in the TMW by choosing Condition Setup – Nota-Fiscal Mapping – Tax Laws. This leads to the maintenance of the view J_1BNFLWCONDMMV that defines the mapping. Mapping of lines in the table of the calculation procedure to tax values in the NotaFiscal.g.

5. The selections made in the Application group determine whether the conditions for the application TX (used in materials management) or V (used in sales and distribution) are being checked. 5. Mapping of lines in the table of the calculation procedure to tax law texts in the Nota-Fiscal.17 Migration of Tax Data to Condition Records  In the TMW. by choosing Condition Setup – Migration (Shift+F5) a screen is displayed where the initial CBT conversion of the entries in the Brazilian tax tables to condition records can be started and it can be checked whether all entries are successfully converted. Condition-Based Tax Calculation in R/3 For Brazil 33 .SAP Online Help 07/05/09 Figure 5-10.17. For each entry in the respective table it is checked (based on the Customizing in the mapping tables J_1BVIEWMAP and J_1BTXCOND) whether corresponding condition records exist.1 Check Conditions  The entries in the table of the selected line in the list of tax rate tables can be checked for correspondCBT ing condition records by choosing Condition Records – Check Conditions (F5) or pressing the button in the application toolbar.

SAP Online Help 07/05/09 The entries and the numbers of the corresponding conditions are displayed in the ALV list. Green traffic lights mean that every entry in the table has all corresponding condition records. otherwise errors are being issued. the user is asked in case of the previously described situation. The migration and check tool that controls the initial conversion and the consistency of entries in Brazilian tax tables to condition records. Figure 5-11. that no conditions exist so far (red). Condition-Based Tax Calculation in R/3 For Brazil 34 . The traffic lights icon in the leftmost column of the ALV list indicates whether for each field in the table line that is to have a corresponding condition record exists a condition (green). 5. By doubleclicking a condition record number a modeless popup window is displayed that contains detailed information about the condition record from the corresponding entries in the DDIC tables KONH and KONP. The icon in the leftmost column of the table control with all Brazilian tax tables gives a summary of the check: The magnifyingglass indicates that the respective table has not been checked yet since the transaction was started. If the first option is chosen. yellow means that at least one line has only some converted fields.2 Convert Tax Data to Condition Records  By choosing Condition Records – Convert (F6) or pressing the button in the application toolbar. The selection made in the group Conversion Options determines the mode of conversion. It is prerequisite that all customizing of the mapping tables described in this section is already done. only the fields are converted that do not have corresponding condition records so far. or that only some fields have corresponding conditions (yellow).17. no matter if there already exists a corresponding condition record.CBT the conversion of tax records to conditions is started. If the third option is chosen. If the second option is chosen. red means that at least one entry has no condition records so far. The screenshot in Figure 5-11 shows an example. every field is converted in any case.

Enter sequential integer numbers and assign the data sources from the drop down menu to them. In this example the system would first look up the tax exception tables. During the transaction. Example of a sequence for tax law determination. They can be either derived from the SD Item Category. the Tax Rate Exception Tables or from the Customer Master Record. the system will look up the data sources in ascending order of the sequence number until the tax laws are found. 5. the system will look up the data sources in ascending order of the sequence number until a tax code is found. or the SD Customer/Material Information Record. This program is useful in the initial migration of all tax data. Example of a sequence for tax code determination.19 Sequence for SD Tax Code Determination  In Sales and Distribution there are two places to define the SD Tax Code which can be automatically CBT determined in a transaction (e. By means of the table J_1BTXLAWSEQ. a sequence can be defined by which these data sources are accessed. During the transaction. Condition-Based Tax Calculation in R/3 For Brazil 35 . you can use the program CBT J_1B_GEN_TAX_COND_BACK. a sales order). You can also schedule it in background. Table 5-2. Enter sequential integer numbers and assign the data sources from the drop down menu to them. Sequence in Tax Code Determination 1 2 Source for Tax Code Determination Item Category Table Customer Material Information An example is shown in Table 5-1. Table 5-1.g.SAP Online Help 07/05/09 5. Sequence in Tax Law Determination 1 2 3 Source for Tax Law Determination Tax Exception Tables Item Category Table Customer Master An example is shown in Table 5-2.g. It can be either derived from the Item Category. In this example the system would first look up the item category table and if no tax code was found. a sales order). 5. Note 634981 describes the details. By means of the table J_1BTXCODESEQ. a sequence can be defined by which the various data sources are accessed.20 Sequence for SD Tax Law Determination  In Sales and Distribution there are several places to define Tax Laws for ICMS and IPI which can be CBT automatically determined in a transaction (e. the customer material information. then the item category tables if no tax laws were found and finally the customer master.18 Collective Migration of All Tax Data  In order to migrate all tax Customizing data to condition records.

Three ABAP Object classes contain the coding: CL_TAX_CALC_BR contains coding used for MM/FI and SD. and customer-specific extensions on ABAP level can be implemented more transparently (see also section 7. the formula must be called two times. The procedure is identical to the classical tax calculation. only the calculation is done there.2). in the MM/FI calculation procedure TAXBRA the tax calculation is triggered in the step that contains the condition type BX01. Discounts. already used in the classical Brazilian tax calculation.SAP Online Help 07/05/09 6 Tax Calculation Logic  Different to the initial approach of condition-based tax calculation (MM/FI calculation procedure TAXBRC). The differentiation is done by analyzing the condition type of the step in the calculation procedure in which the formula was called. whereas the second call on condition IBRX is calculating based on the amount including ICMS. was extended to work also with CBT.8). E. Instead. The ABAP coding of the tax calculation is object-oriented. By assigning internal codes to these condition types (see sections 5. the calculation is performed in ABAP coding. Freight etc. In the SD pricing. i. Functionality that is specific for an application. different to the classical Brazilian tax calculation (TAXBRJ). The formula is used as well to call the tax calculation (see section 0) as to retrieve the results of the tax calculation in order to store them in the pricing-procedure results table (section 10. MM/FI or SD is contained in two derived classes: CL_TAX_CALC_BR_MM and CL_TAX_CALC_BR_SD.11 and 0).6. However. the function module J_1B_CBT is called in which the new calculation logic is processed. For example. i.e.10). The condition value formula 320. possibly modified by other conditions inbetween. depending on this internal code either the calculation is started or a specific tax result is retrieved (identified by the internal code). If the calculation procedure is specified in the table J_1BCBTAXPROC (see section 5.e. the first call is calculating tax on the net amount on condition ICMI. This is because condition type BX01 is assigned to the internal code CALCULATE_TAX. in case there are Nota Fiscal relevant conditions (e. Condition-Based Tax Calculation in R/3 For Brazil 36 . All data retrieval and nota fiscal generation is based on the Customizing of the calculation procedure and the nota fiscal mapping tables. the tax calculation is no longer performed by the pricing algorithm in several steps of the calculation procedure.) including ICMS. coding can be reused more easily.g.g. Each line contains a condition type that is assigned to an internal code that indicates a tax result value. By the object-oriented approach. The tax results are retrieved in the next section of the calculation procedure. condition type BX12 is assigned to the internal code NF_ICMS_OBAS which indicates the ICMS other base amount (see section 0 for the complete list).

7.SAP Online Help 07/05/09 7 Steps in Initial Tax Customizing  This section describes what to do when setting up the Brazilian tax Customizing from scratch.8 5.12 Table in This Document w/ Standard Customizing Table 110-812 Table 10- Table110Table Table 10-22 Table 110Table 7. Log on to the system in the relevant client.2 Transfer of Texts to Desired Language  The BC Set had to be created in language DE (German) because of limitations of some Customizing tables. However.13 5.10 5.1 5.15 5. It contains the Customizing entries of the IMG activities listed in Table 7-1. Only valid until release 4. Select the language to be filled up (e.11 5.5 5. you have to proceed as follows after activating the BC Set. • Activate the BC Set CSC_BR_TAX with transaction SCPR20. a BC Set is available that contains most of the Customizing entries for CBT. English) and verify it is filled up from German 37 • • • Condition-Based Tax Calculation in R/3 For Brazil . Section in This Document w/ Explanations 5.1Manual customizing required after BC Set activation   Note 736675 7.g. In order to have texts also in your desired logon language.16 5.7 Table 10-11 – Table 10Error! Reference source not found. Start transaction SMLT.15 5.1 Activation of BC Set CSC_BR_TAX  The SAP standard Customizing entries are delivered and available in client 000 of the system the actual support package is installed in. the texts are English. In order to facilitate the transfer of Customizing to other clients. Table 7-1: Customizing entries in BC Set CSC_BR_TAX Customizing Activity Define Tax Types Define Internal Codes for Tax Conditions Activate Condition Generation Map MM Tax Laws to Nota Fiscal Fields Map MM Tax Values to Nota Fiscal Fields Define Tax Groups for Dynamic Exceptions Assign Condition Types to Internal Codes for Tax Conditions Assign Condition Tables to Tax Tables Specify Structure for Tax Jurisdiction Code Calculation Procedure (FI) Condition Types (FI) Activate External Tax Calculation Map SD Tax Values to Nota Fiscal Fields Special Conditions for Pricing (SD) Define and Assign Pricing Procedures (SD) Define Condition Types (SD) 5. Higher releases include this in delivered customizing. 7.1.

The default is set so that if you are logged on to client 000. a description. however. only the client-specific tables in the logon client are selected for supplementation. according to the selection you made by choosing Select. You can use the appropriate pushbuttons to change this list. 2.2. calculation procedure TAXBRA and set the CBT Act. The tables that you want to supplement appear at the bottom of the screen. On the next screen.3 Assignment of Calculation Procedures  7. application TX. we recommend this for experienced users only.. create an entry for usage A. In other clients. all cross-client and client-specific tables are supplemented in client 000. Select the tables given below for the Language fillup Repeat the process to fill up e. with transaction SM30.g. These fields are set with SAP defaults. application V. and the client in which the table will be supplemented. you can specify conditions for selecting the tables you want to supplement. Alternatively. Condition-Based Tax Calculation in R/3 For Brazil 38 . Portuguese from English. however. 4.1Specify Calculation Procedures for CBT  In the IMG. For SD. In the center of the dialog box. Indicator. Indicator. For information on the rest of the procedure. specify them here as well. see the document SAP Web AS 6.2). enter a description of your supplementation.3. . you can change them by choosing Change. 7. the supplementation mode. Create two new entries: • • For MM. create an entry for usage A. 3. Read the long texts of the dialog boxes that appear when you change the defaults. Choose the following for the language that you want to supplement: Language → Special Actions →  Supplementation (Expert).SAP Online Help • • • 07/05/09 Choose the expert mode for the language supplementation as described below. calculation procedure RVABRA and set the CBT Act.1Procedure for Language Supplementation in Expert mode  Proceed as follows after starting transaction SMLT: 1. This helps you to recognize the supplementation you have started in the transaction SMLT overview. Each table is shown with its table class.20: Language Transport  Tables to be selected for language fillup: T682T T683T T683U T685T J_1BCONDMAPT 7. call the maintenance view J_1BCBTAXPROCV (see section 5. If you want to use other calculation procedures for CBT. execute the activity IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Brazil  Specify Calculation Procedures for Condition-Based Tax Calculation.

you can’t generate such condition records with the tool. With transaction FV11.6. there are no condition types of application ‘TX’ • Condition-Based Tax Calculation in R/3 For Brazil 39 . because they are not used in the FI calculation procedure. you cannot check or convert condition records for a combination of application and table/tax group if the tax group is not valid for the selected application. Create the tax codes you need.14. However.1Note on Condition Records With Only One Application  The system usually generates condition records for as well application ‘V’ as application ‘TX’. you don’t need to check for condition records of application ‘TX’ belonging to table J_1BTXSDC.1).13 that describes the standard tax codes for Brazil. Table J_1BTXSDC contains the tax codes used in SD.2). If you have not maintained any tax rates yet. Especially when migrating all tables the first time.4).2.3. The system displays a message in such case.6 Migration of Tax Customizing  If you upgraded to release 4.4 Creation of Tax Codes  In transaction J1BTAX. create the following condition record: • Condition type BCI1 (ICMS complement base).5 Creation of Default Condition Records  Some condition records of tax rates cannot be maintained by creating entries in the Brazilian tax tables J_1BTX*. call the maintenance view V_T005.17 to see how to migrate tax Customizing to condition records for each table separately. go to the maintenance of tax codes as described in section 5. 7. you have to initially generate condition records for the entries in the Brazilian tax tables. wrong tax Customizing data can be read during the tax calculation.2Assign Country to Calculation Procedure  In the IMG. In the migration tool.2. Moreover. If you restrict the calling application of the tax group to either SD or MM (see section 5. condition records will be generated automatically when maintaining tax rates.3. Furthermore. Refer to section 5.– Table 10-21. 7. but must be created manually with transactions FV11 (for FI records) and VK11 (for SD records). Therefore. After activating the condition generation (described in section 5. • • Create tax codes based on Table 110Create the tax code condition records based on Table1 10. Refer to section 10. you do not need to run the migration tools. • Edit the entry for country BR and assign the calculation procedure TAXBRA to it. the mass migration program described in section 5.SAP Online Help 07/05/09 7. only condition records with application ‘V‘ are generated.3. for the following tables this is not the case: • In tables with dynamic tax exceptions you maintain entries for a certain tax group. with transaction SM30. which happens during activation of the BC Set (section 7. Alternatively. country BR: 100% This condition record is taken when ICMS complement is calculated and no exception of ICMS complement base reduction was defined in table J_1BTXCI1 for the material of the item being processed.18 will be helpful. If these entries do not exist.1).70 or if you switched to condition-based tax calculation after some tax Customizing had already been carried out. condition records are generated only for that application. execute the activity IMG  Financial Accounting  Financial Accounting Global Settings  Tax on Sales/Purchases  Basic Settings  Assign Country to Calculation Procedure. 7. 7. When you maintain entries of this table (see section 5.

as mentioned in the paragraph above.1Extension of Calculation Procedure  If there is the need to enhance or modify the tax calculation SAP delivers. new tax types can be defined (table J_1BAJ) and the nota-fiscal-mapping table can be extended (see section 5.6. The kind of modification that is easiest to handle is an extension of the tax calculation that does not affect the standard tax calculation.g. The object-oriented implementation of the tax calculation coding makes it easy to reuse the standard coding. execute the activity in TMW as described in this section. however. but you only use part of the results. the system still calculates all taxes according to the standard way.SAP Online Help 07/05/09 assigned to the internal codes of the values you maintain in table J_1BTXSDC (see the entries for internal codes beginning with TXSDC in section 0). it is. provided that SAP standard coding is affected. You then overwrite only those methods of the class that actually have to be changed. but from your own ones. the case for additional taxes like PIS / COFINS. the tax calculation logic can be changed deeply.7 Update of Access Sequences From Tax Groups  The access sequences used in CBT have to be extended by the steps according to the definition of tax groups for dynamic exceptions. A little more complicated is the case if some of the existing calculation logic has to be modified. In this case you can add lines to the calculation procedure that perform the calculation according to your needs. Though being a coding modification. This would be the case if e. This is because the object-oriented implementation allows a clearer discrimination of modified coding from standard one. In this way. 7. unless a customer has requirements of large changes in the tax calculation.2. Then you modify the nota-fiscal mapping for the ICMS values so that the values are no longer taken from the standard conditions. With this approach. respectively in which all the tax calculation and data transfer takes place.8. 7.15). still possible for SAP to analyze problems in the tax calculation. 7. an alternative to extending the calculation procedure is to implement the change in ABAP coding. In this case you just add additional lines to the calculation procedure.g.2Changes in ABAP Coding  If the modification turns out to be more complicated or to have a strong interaction with the standard tax calculation logic. a customer-specific condition value formula can be used. Without going in too much detail here.and SD-specific classes CL_TAX_CALC_BR_MM and class CL_TAX_CALC_BR_SD. This is e.8. If the calculation logic is too complicated to handle by the standard pricing algorithm.8 User­Specific Modification / Enhancements of Tax Calculation  7. Condition-Based Tax Calculation in R/3 For Brazil 40 . You can access all transaction-specific and tax Customizing data by referring to the respective standard lines in the calculation procedure (see section 10. the easiest way to do this is to modify the calculation procedure or the nota-fiscal mapping. For this purpose. so that most of the standard coding is used. If values need to be transferred to the nota fiscal. the ICMS calculation logic has to be modified.5). the approach would be to inherit an own ABAP class from the class CL_TAX_CALC_BR or the MM. This is explained in section 5. This kind of change would be suitable rather for industry-specific solutions than for customer extensions.

DB: Scale basis: Check value: C A RVABR2 (do not delete) Quantity Conversion: X Cond. Of course. Class: B (Prices) Calculat. corresponding price conditions should be maintained. In order to allow the system to consider correctly which taxes are already included in a price and which not.2Price Conditions MM  If necessary.g. but may contain PIS. ISS due at the municipio of the service provider. Type ZPB0 ZPB1 ZPB2 ZPB3 Description Price w/o Taxes Price+ISS Price+PIS+COF Price+ISS+PIS+COF 8.1. It is possible to either continue using existing price conditions or introduce new ones.1. all price conditions must be updated.: PR00 Manual Entries: C (Manual entry has priority) Amount/percent: X Item Condition: X Pricing Proc: Delete fr. 8. COFINS. if new price conditions are introduced. Type: C (Quantity) Cond. ISS due at the municipio of the service execution. or any combination of these. The following is a suggestion based on 4 new price conditions. create new price conditions and adapt the MM pricing procedure for Purchase Orders (e. RM0000) or create new ones by copying and modifying. Condition-Based Tax Calculation in R/3 For Brazil 41 . Category: H (Basic Price) Access Seq.1Price Conditions SD  Copy pricing procedure PR0000 to RVABR2 before creating the conditions.1 Price Conditions Including Taxes   The new solution for tax calculation supports prices which are not the real net prices. Cond.SAP Online Help 07/05/09 8 Customizing SD Pricing Procedures With CBT   Note 549179 8.

1. As an example.SAP Online Help 07/05/09 8. the SD procedure RVABRA is maintained for the conditions ZPB0 … ZPB3 Price Condition ZPB1 ZPB1 ZPB2 ZPB2 ZPB3 ZPB3 ZPB3 ZPB3 Tax Group ISSP ISS at location of service provider ISSS ISS at location where service is provided COFI COFINS PIS PIS COFI COFINS ISSP ISS at location of service provider ISSS ISS at location where service is provided PIS PIS 8.2 Where to Insert Discounts  Condition-Based Tax Calculation in R/3 For Brazil 42 . Maintain for each SD (Application V) or MM (Application M) pricing procedure the taxes that are included in each price condition type.3Define Which Taxes Are Included in  MM/SD Price Conditions  Views J_1BKON1MMVV and J_1BKON1SDVV.

To facilitate the tax Customizing (and to stay compatible with the old tax calculation). etc.1 Consistency of Condition Records  When the automatic generation of condition records in the tax Customizing is active. Program J_1B_CBT_CONSIST. Condition-Based Tax Calculation in R/3 For Brazil 43 . the Brazilian tax table (like e. For each tax rate (or whatever you customize in the Brazilian tables) there exists one condition record. Consequently. the Brazilian tables still contain this information.g. like tax rate. tax law. material number) several tax data can be specified. shipto. there is a 1:1 relationship between Brazilian tax data and corresponding condition records. exempt flag. the same information is stored at two places: 1. J_1BTXIC2) 2. reduced base rate.SAP Online Help 07/05/09 9 Troubleshooting  This section will be updated whenever a new common problem regarding CBT is identified.g. Normally. ship-from. you can have two kinds of inconsistencies in your system: 1. Each condition record of a condition type that is used for Brazilian tax determination has a corresponding entry in a Brazilian tax table. and additionally the system automatically generates corresponding condition records. 2. 9. There does not exist a corresponding condition record for a tax rate (or whatever you customize in the Brazilian tables). 2. This means: 1. There does not exist a corresponding entry in a Brazilian tax table for a condition record of a Figure 9-1. the condition database The reason for this redundancy is the fact that for a given key field combination (e.

You deleted records with customer programs or the database utility (results in type 1 or 2 inconsistencies). You can migrate them as described in section 5.SAP Online Help condition type that is used for Brazilian tax determination. and the system displays all condition records used for Brazilian tax calculation.1.17). Run program J_1B_CBT_CONSIST. At the far right.17. respectively. You manually created condition records with transactions VK11 (application V) or FV11 (application TX) (results in type 2 inconsistencies).1Tax Data Without Condition Record  You can detect inconsistencies of type 1 by running the migration tool in TMW (see section 5.2. 2. Figure 9-2: Deletion of condition records. You deactivated automatic generation of condition records and deleted tax data (results in type 2 inconsistencies). and the system displays a list of condition tables. 1.6C: 47) and Note 686780. and green means a correct corresponding entry exists. for red entries. Such inconsistencies can have several reasons: - 07/05/09 You deactivated automatic generation of condition records and created or changed tax data (results in type 1 inconsistencies). 3. Tax data without corresponding condition records are indicated by a red traffic-light icon. yellow means a record exists in the tax table.1. Select all condition records with red and yellow status. Condition-Based Tax Calculation in R/3 For Brazil 44 . and delete them by pressing the Delete condition records pushbutton. Figure 9-1 shows an example screenshot The traffic light indicates the status of the condition record: red means there is no corresponding record in the tax table. this field is blank). Double-click a table. 9. the tax rate). you see the corresponding Brazilian tax table as well as the index in the table (for condition records with yellow and green status only.2Condition Records Without Tax Data  For type 2 of inconsistencies there exists a check program. In a popup window you are asked to confirm the deletion (see Figure 9-2). but the data differs (for example. introduced with support package 19 (release 4. 9.

To ensure that there are condition records for all existing tax records. if you have made at least one change to a table. the icon includes a diskette. Repeat steps 2 and 3 for each of the condition tables. For the tax calculation to function properly. 5. all condition tables must contain green entries only.SAP Online Help 07/05/09 4. run the migration program as described in section 5.17 Condition-Based Tax Calculation in R/3 For Brazil 45 . the icon next to it changes to include a pair of eyeglasses. Once you have viewed a condition table.

Add the new components from structure KOMP.3 Create Access Sequences  New access sequences have to be created that are used in the new condition types that store the rates of the new taxes. You can choose a different number than 601 if this table is already in use for something else. Specify usage ‘A’. application ‘V’ or ‘TX’. the pricing field catalogue has to be extended by these components.1. IMG -> Sales and Distribution -> Basic Functions -> Pricing -> Define Condition Tables 10. This is performed in the maintenance view V_T681F. and field group 001. 10. In this case.SAP Online Help 07/05/09 10 SAP Standard Customizing  10. Condition-Based Tax Calculation in R/3 For Brazil 46 .2 Extend Pricing Field Catalog  In order to use the new components LOC_PR and LOC_SE in the ISS access sequences. replace 601 by your number in the access sequences described in the next sections.1.1.1 Create Condition Table 601  This table is used for ISS data.

Condition ALAND I/O = Field Assignment Doc.Struc. Excl.Field Constant BR 10 392 0 X Table 10-3: Access sequence BRCI – steps and field assignment Step Tab.SAP Online Help 07/05/09 10. Condition ALAND TXREG_ST MATNR ALAND I/O = Field Assignment Doc. Table 10-1: Access sequences used in the MM (FI) tax calculation AccSeq BRB1 BRCI BRCO BRIB BRIC BRID BRIP BRIS BRPI BRLC BRLP BRS1 BRS2 BRST BRTF BRII BRWT MWST Description Dummy 1 for Brazil Brazil ICMS Complement Brazil COFINS Brazil ICMS Base Brazil ICMS Brazil ICMS Rate SF=ST Brazil IPI Brazil ISS Brazil PIS Brazil Tax Law: ICMS Brazil Tax Law: IPI Brazi:ISS at Service Provider Brazi:ISS wh Service provided Brazil Subtrib. Req. Doc. Excl.Struc.Struc. The steps and field assignments of each access sequence are listed in the following tables.T. Req.2 Access Sequences MM/FI  Table 10-1 shows the access sequences used in the Brazilian MM/FI tax calculation. Brazil wht Country. Excl.Field Constant BR KOMP MATNR  Condition-Based Tax Calculation in R/3 For Brazil 47 .Field TXREG_ST MATNR BR Constant BR 10 349 0 X   = 20 392 0 X Table 10-4 : Access sequence BRCO -Name: Brazil COFINS Step Tab. Req. Doc. Brazil: Tax-Exempt Brazil ICMS Rate SF=ST for S. Tax Code Table 10-2: Access sequence BRB1 – steps and field assignment Step Tab. Condition 5 346 0 X ALAND DYNKEY1 I/O = Field Assignment Doc. KOMP KOMP Doc.

Use requirement formula that is never fulfilled in step 5 of the access sequence if you don’t want to consider it.Field Constant X X 5 07/05/09 Step 5 is necessary as a template to automatically update access sequences when creating new tax groups of dynamic exceptions.Field Constant BR 0 5 382 0 X    = = KOMP KOMP KOMP TXREG_SF TXREG_ST MATNR X X Condition-Based Tax Calculation in R/3 For Brazil 48 .SAP Online Help Step Tab. Excl. Excl. Req. Req. Doc. Condition ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 I/O = = Field Assignment Doc. Condition ALAND TAXBS DOCTYP ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND I/O = Field Assignment Doc. Doc.Struc. Excl. Req.Struc. Condition DYNKEY2 DYNKEY3 TAXGROUP I/O = = = Field Assignment Doc.Struc. Table 10-5: Access sequence BRIB – steps and field assignment Step Tab. KOMK KOMK Doc.Field TAXBS DOCTYP BR 0 KOMP KOMP KOMP TXREG_SF TXREG_ST MATNR X X 5 BR 0 KOMP KOMP TXREG_SF TXREG_ST X X X 98 BR Constant BR 1 344 0 X   = = 5 382 0 X    = = = = = 98 382 0 X   = = = = = 99 392 0 X Table 10-6: Access sequence BRIC – steps and field assignment Step Tab.

Struc. Condition ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND I/O = = Field Assignment Doc. Req. Doc.SAP Online Help Step Tab. Excl.Struc. Doc. Req.Field Constant BR 0 5 382 0 X    = = = = = KOMP KOMP KOMP TXREG_ST TXREG_ST MATNR X X 5 BR 0 98 382 0 X   = = = = = KOMP KOMP TXREG_ST TXREG_ST X X X 98 BR 99 392 0 X Table 10-8: Access sequence BRIF– steps and field assignment Step Tab.Field Constant BR 4 5 382 0 X    = = = KOMP KOMP KOMP TXREG_SF TXREG_ST MATNR X X 5 Condition-Based Tax Calculation in R/3 For Brazil 49 . Excl. Condition TAXGROUP 98 382 0 X ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND I/O = = = Field Assignment Doc. Doc.Field Constant 5 BR 0 KOMP KOMP TXREG_SF TXREG_ST X X X 98 BR 07/05/09   = = = = = 99 392 0 X Table 10-7: Access sequence BRID – steps and field assignment Step Tab.Struc. Condition ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP I/O = = Field Assignment Doc. Excl. Req.

Excl. Req. Excl. Condition ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP I/O = = Field Assignment Doc. Excl.Struc. KOMK KOMP Doc. Condition ALAND DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND I/O = Field Assignment Doc.Struc. Condition ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND I/O = = Field Assignment Doc.Struc.Struc.SAP Online Help Step Tab.Field MATNR X X 5 BR KOMP STEUC X X 97 BR Constant BR 5 346 0 X  = = = = 97 346 0 X  = = = = 99 392 0 X Table 10-11: Access sequence BRIR – steps and field assignment Step Tab. KOMP Doc.Field Constant BR 4 07/05/09 98 382 0 X   = = = = = KOMP KOMP TXREG_SF TXREG_ST X X X 98 BR 99 392 0 X Table 10-9: Access sequence BRII – steps and field assignment Step Tab. Doc.Field Constant BR 4 5 382 163 X    = = = KOMP KOMP KOMP TXREG_ST TXREG_ST MATNR X X 5 Table 10-10: Access sequence BRIP – steps and field assignment Step Tab. Req. Condition ALAND DOCTYP TXREG_SF I/O = Field Assignment Doc.Field DOKTYP TXREG_ST Constant BR 5 382 163 X   Condition-Based Tax Calculation in R/3 For Brazil 50 . Req. Doc. Excl. Req.

KOMP KOMP Doc.Struc. Condition TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP 98 382 0 X ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND I/O Field Assignment 07/05/09   = = = = Doc. Excl. Excl. Req. Excl. KOMP KOMP KOMP KOMP Doc.Field Constant BR 0 5 382 0 X    = = = = = KOMP KOMP KOMP TXREG_SF TXREG_ST MATNR X X 5 BR 0 98 382 0 X   = KOMP KOMP TXREG_SF TXREG_ST X Condition-Based Tax Calculation in R/3 For Brazil 51 . Req.Struc. Req.Field MATNR BR TXREG_SF TXREG_ST MATNR X X 5 BR Constant BR 1 5 121 347 0 0 X X  =    = = = = 99 392 0 X Table 10-13: Access sequence BRLC – steps and field assignment Step Tab. Doc.SAP Online Help Step Tab. Condition ALAND MATNR ALAND TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND I/O = Field Assignment Doc.Field TXREG_ST MATNR Constant X X 5 BR KOMK KOMP KOMP DOKTYP TXREG_SF TXREG_ST X X X 98 BR    = = = = = 99 392 0 X Table 10-12: Access sequence BRIS – steps and field assignment Step Tab.Struc. Condition ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 I/O = = Field Assignment Doc.

Condition ALAND DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP I/O = Field Assignment Doc.Struc. Condition ALAND DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND MWSKZ I/O = Field Assignment Doc.SAP Online Help Step Tab.Field Constant BR 5 601  = = = = Condition-Based Tax Calculation in R/3 For Brazil 52 . Excl. 0 Excl. Condition DYNKEY2 DYNKEY3 TAXGROUP 99 3 0 X ALAND MWSKZ I/O = = = = Field Assignment Doc. Excl. Condition X ALAND TXJCD DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP 99 392 0 X ALAND I/O = = KOMP KOMP LOC_PR MATNR X X 5 BR Field Assignment Doc. Req.Struc.Field MATNR X X 5 Constant BR 5 346 0 X  = = = Table 10-16: Access Sequence BRS1 – steps and field assignment Step Tab. Re q. KOMP Doc. Req. Doc.Field Constant X X 98 BR KOMK MWSKZ 07/05/09  Table 10-14: Access sequence BRLP – steps and field assignment Step Tab. Excl.Field MATNR X X 5 BR KOMP STEUC X X 97 BR KOMK MWSKZ Constant BR 5 346 0 X  = = = = 97 346 0 X  = = = = 99 3 0 X  Table 10-15: Access sequence BRPI – steps and field assignment Step Tab. KOMP Doc.Struc. Req.Struc. Doc.

SAP Online Help

07/05/09

 
Table 10-17: Access sequence BRS2 - steps and field assignment
Step Tab. Req. Excl. Condition 5 601 0 X ALAND TXJCD DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP 99 392 0 X ALAND I/O = = KOMP KOMP LOC_SE MATNR X X 5 BR Field Assignment Doc.Struc. Doc.Field Constant BR


= = = =

Step 5 is necessary as a template to automatically update access sequences when creating new tax groups of dynamic exceptions. Use requirement formula that is never fulfilled in step 5 of the access sequence if you don’t want to consider it. Step 99 is used for country default rates. A different condition table is used that has only country as key field.

Table 10-18: Access sequence BRST – steps and field assignment
Step Tab. Req. Excl. Condition ALAND TXREG_SF TXREG_ST XSUBT DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND TXREG_SF TXREG_ST XSUBT DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP I/O = Field Assignment Doc.Struc. KOMP KOMP KOMK KOMP Doc.Field TXREG_SF TXREG_ST XSUBT MATNR X X 5 BR KOMP KOMP KOMK TXREG_SF TXREG_ST XSUBT X X X 98 Constant BR

5

348

0

X

   
= = = =

98

348

0

X

  
= = = =

Table 10-19: Access sequence BRTF – steps and field assignment
Step Tab. Req. Excl. Condition ALAND TXREG_ST ALAND I/O = Field Assignment Doc.Struc. KOMP Doc.Field TXREG_ST BR Constant BR

5 10

394 3

0 0

X X


=

Condition-Based Tax Calculation in R/3 For Brazil

53

SAP Online Help
Step Tab. Req. Excl. Condition MWSKZ I/O Field Assignment

07/05/09

Doc.Struc. KOMK

Doc.Field MWSKZ

Constant

Table 10-20: Access sequence BRWT – Name: Brazil WHT
Step Tab. Req. Excl. Condition ALAND DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP I/O = Field Assignment Doc.Struc. KOMP Doc.Field MATNR X X 5 Constant BR

5

346

0

X


= = =

Step 5 is necessary as a template to automatically update access sequences when creating new tax groups of dynamic exceptions. Use requirement formula that is never fulfilled in step 5 of the access sequence if you don’t want to consider it.

Table 10-21 : Access sequence BUNI – steps and field assignment
Step Tab. Req. Excl. Condition ALAND MWSKZ ALAND I/O Field Assignment Doc.Struc. KOMK KOMK Doc.Field MWSKZ BR Constant

10 99

3 392

0 0

X X

 
=

Table 10-22: Access sequence MWST – steps and field assignment
Step Tab. Req. Excl. Condition ALAND MWSKZ I/O Field Assignment Doc.Struc. KOMK KOMK Doc.Field ALAND MWSKZ Constant

10

3

0

X

 

10.3
AccSeq BRCO BRPI BRWT DIBR IBRR IBRX ICBS ICCB ICLW ICVA

Access Sequences SD 
Description Brazil Cofins Brazil PIS Brazil wht Brazil Taxes Due Brazil: 100% offset Brazil Ext. Tax Det. BR: ICMS Tax Base Val BR: ICMS Offsetting Entry BR: ICMS Tax Laws BR: ICMS Tax Rates

Table 10-23: Access sequences used in the SD tax calculation

Condition-Based Tax Calculation in R/3 For Brazil

54

SAP Online Help
AccSeq ICXC IPBS IPLW IPVA ISS1 ISS2 IPXC ISTC ISTI ISTV ISVA IZOF Description BR: Customer ICMS Exempt BR: IPI Tax Base Value BR: IPI Tax Laws BR: IPI Tax Rates Brazil ISS at Service Provider Brazil ISS wh Service provided BR: Customer IPI Exempt BR: ICMS Rates for Subtrib BR: ICMS Rate for S.T BR: Subtrib Surcharge BR: ISS Tax Rates Zona Franca

07/05/09

Table 10-24: Access sequence BRCO– steps and field assignment
Step Tab. Req. Excl. Condition ALAND DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP I/O = Field Assignment Doc.Struc. KOMP Doc.Field MATNR X X 5 Constant BR

5

346

0

X


= = =

Table 10-25: Access Sequence BRPI - steps and field assignment
Step Tab. Req. Excl. Condition 5 346 0 X ALAND DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP I/O = Field Assignment Doc.Struc. Doc.Field Constant BR KOMP MATNR X X 5


= = =

Step 5 is necessary as a template to automatically update access sequences when creating new tax groups of dynamic exceptions. Use requirement formula that is never fulfilled in step 5 of the access sequence if you don’t want to consider it.

Table 10-26 Access sequence BRWT– Brazil WHT
Step Tab. Req. Excl. Condition ALAND DYNKEY1 DYNKEY2 DYNKEY3 I/O = Field Assignment Doc.Struc. KOMP Doc.Field MATNR X X Constant BR

5

346

0

X


= =

Condition-Based Tax Calculation in R/3 For Brazil

55

Condition ALAND TAXK1 TAXM1 30 40 342 392 0 0 X X ALAND TAXM2 ALAND I/O Field Assignment Doc. Doc.Struc. KOMP Doc. Req. Condition ALAND LLAND TAXK1 TAXM1 ALAND I/O = Field Assignment Doc. Condition ALAND I/O = Field Assignment Doc. Excl.Struc. Excl. Req. Req. KOMK KOMP Doc. Excl.Field ALAND TAXK1 TAXM1 ALAND TAXM2 BR Constant ATYP A / PRIO 1 ATYP A / PRIO 2 20 002 X      = Table 10-30: Access sequence DISI– steps and field assignment Step Tab. Req. Condition ALAND J_1BTXSDC I/O = Field Assignment Doc.Field J_1BTXSDC Constant BR 10 291 X  Table 10-28 Access sequence DICM– steps and field assignment Step Tab. Condition TAXGROUP I/O = Field Assignment Doc. Req.SAP Online Help Step Tab. Req. Use requirement formula that is never fulfilled in step 5 of the access sequence if you don’t want to consider it. KOMK KOMK KOMP Doc. Doc. Excl.Field Constant BR 1 390 0 X Condition-Based Tax Calculation in R/3 For Brazil 56 .Field ALAND MATNR Constant 10 121 0 X   Table 10-31: Access sequence IBRR – steps and field assignment Step Tab.Struc. Excl.Struc.Struc. Table 10-27: Access sequence DIBR – steps and field assignment Step Tab. Condition ALAND MATNR I/O Field Assignment Doc.Struc. KOMK KOMK KOMP KOMK KOMP Doc.Field LAND1 TAXK1 TAXM1 BR Constant BR 10 11 0 X    = 20 392 0 X Table 10-29: Access sequence DIPI – steps and field assignment Step Tab. Excl.Field Constant 5 07/05/09 Step 5 is necessary as a template to automatically update access sequences when creating new tax groups of dynamic exceptions.

Field ALAND TAXK3 Constant 1 5 341 382 0 X X   = = BR 0 KOMP KOMP KOMP TXREG_SF TXREG_ST MATNR X X 5 BR KOMP KOMP TXREG_SF TXREG_ST X X X 98 BR    = = = = = 98 382 0 X   = = = = = 99 392 0 X Table 10-35: Access sequence ICLW – steps and field assignment Step Tab.Struc.Struc. Doc.Struc.Struc. Req. Condition ALAND TXREG_ST MATNR ALAND I/O = Field Assignment Doc.Field ALAND TAXK1 TAXM1 Constant 1 002 X    Table 10-33: Access sequence ICCB – steps and field assignment Step Tab Req. Excl. Condition ALAND TAXK1 TAXM1 I/O Field Assignment Doc. KOMK KOMK Doc. Req. Excl. Condition ALAND DOCTYP TXREG_SF I/O = = Field Assignment Doc. Excl. KOMP KOMP Doc. KOMK KOMK KOMP Doc.SAP Online Help 07/05/09 Table 10-32: Access sequence IBRX – steps and field assignment Step Tab. Excl. Req. Condition ALAND TAXK3 ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND I/O Field Assignment Doc.Field TXREG_ST MATNR BR Constant BR 10 349 0 X   = 20 392 0 X Table 10-34: Access sequence ICBS – steps and field assignment Step Tab.Field Constant BR 0 5 382 0 X  KOMP TXREG_SF Condition-Based Tax Calculation in R/3 For Brazil 57 .

KOMK KOMK Doc. Excl. Req. Condition TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND MWSKZ I/O Field Assignment 07/05/09   = = = = = Doc.SAP Online Help Step Tab.Field TXREG_ST MATNR Constant X 5 BR 0 KOMP KOMP TXREG_SF TXREG_ST X X X 98 BR KOMK MWSKZ 98 382 0 X   = = = = = 99 003 0 X  Table 10-36: Access sequence ICVA – steps and field assignment Step Tab.Field ALAND TAXK3 Constant 1 341 0 X   Condition-Based Tax Calculation in R/3 For Brazil 58 . Req.Struc. Condition ALAND TAXK3 I/O Field Assignment Doc. Req. Doc.Struc. KOMP KOMP Doc. Excl.Struc. Excl. Condition ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND I/O = = Field Assignment Doc.Field Constant BR 0 5 382 0 X    = = = = = KOMP KOMP KOMP TXREG_SF TXREG_ST MATNR X X 5 BR 0 98 382 0 X   = = = = = KOMP KOMP TXREG_SF TXREG_ST X X X 98 BR 99 392 0 X Table 10-37: Access sequence ICXC – steps and field assignment Step Tab.

Excl. Excl. Req.Field TAXK2 BR MATNR X X 5 BR KOMP STEUC X X 97 BR Constant BR 1 5 293 346 0 0 X X  =  = = = = 97 346 0 X  = = = = 99 392 0 X Table 10-39: Access sequence IPLW – steps and field assignment Step Tab. Doc. Excl. KOMK KOMP Doc. Condition ALAND TAXK2 ALAND DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP 99 003 0 X ALAND MWSKZ I/O = Field Assignment Doc.Struc. Req.Struc. Condition ALAND I/O = Field Assignment Doc. Req.SAP Online Help 07/05/09 Table 10-38: Access sequence IPBS – steps and field assignment Step Tab.Field TAXK2 BR MATNR X X 5 BR KOMP STEUC X X 97 BR X X X 98 BR KOMK MWSKZ Constant BR 1 5 293 346 0 0 X X  =  = = = = 97 346 0 X  = = = = 98 346 0 X = = = = =  Table 10-40: Access sequence IPVA – steps and field assignment Step Tab. Condition ALAND TAXK2 ALAND DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND I/O = Field Assignment Doc. KOMK KOMP Doc.Field Constant BR 1 293 0 X Condition-Based Tax Calculation in R/3 For Brazil 59 .Struc.

A different condition table is used that has only country as key field. Req. Req. Step 99 is used for country default rates. KOMK KOMK Doc.Struc. Excl.43: Access Sequence ISS2 . Condition TAXK2 5 346 0 X ALAND DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND I/O Field Assignment 07/05/09  = Doc.SAP Online Help Step Tab.Field TAXK2 MATNR Constant BR X X 5 BR  = = = = 98 346 0 X  = = = = KOMP STEUC X X 98 BR 99 392 0 X Table 10-41: Access sequence IPXC – steps and field assignment Step Tab. Req.Struc.Field Constant Condition-Based Tax Calculation in R/3 For Brazil 60 . Excl. Condition ALAND TAXK2 I/O Field Assignment Doc. Excl.steps and field assignment Step Tab. Doc.Field Constant BR KOMP KOMP LOC_PR MATNR X X 5 BR 5 601 0 X ALAND TXJCD DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP  = = = = 99 392 0 X ALAND Step 5 is necessary as a template to automatically update access sequences when creating new tax groups of dynamic exceptions.Struc.Struc.Field ALAND TAXK2 Constant 1 293 0 X   Table 10.steps and field assignment Step Tab. Table 10. Excl. Doc. KOMK KOMP Doc. Condition I/O Field Assignment Doc. Use requirement formula that is never fulfilled in step 5 of the access sequence if you don’t want to consider it. Condition I/O = = Field Assignment Doc.42: Access Sequence ISS1 . Req.

Req. Condition ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND DOCTYP TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP 99 392 0 X ALAND I/O = = Field Assignment Doc. Excl. Doc. Req.Field Constant BR 07/05/09  = = = = Step 5 is necessary as a template to automatically update access sequences when creating new tax groups of dynamic exceptions. A different condition table is used that has only country as key field. Condition 5 601 392 Leer 0 X ALAND TXJCD DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP 99 392 0 X ALAND I/O = = KOMP KOMP LOC_SE MATNR X X 5 BR Field Assignment Doc. Step 99 is used for country default rates.Struc.Field Constant BR 0 5 382 163 X   KOMP KOMP TXREG_ST TXREG_ST Condition-Based Tax Calculation in R/3 For Brazil 61 .Field Constant BR 0 5 382 0 X    = = = = = KOMP KOMP KOMP TXREG_ST TXREG_ST MATNR X X 5 BR 0 98 382 0 X   = = = = = KOMP KOMP TXREG_ST TXREG_ST X X X 98 BR Table 10-45: Access sequence ISTI – steps and field assignment Step Tab.Struc. Excl. Table 10-44: Access sequence ISTC – steps and field assignment Step Tab. Use requirement formula that is never fulfilled in step 5 of the access sequence if you don’t want to consider it. Condition ALAND DOCTYP TXREG_SF TXREG_ST I/O = = Field Assignment Doc. Doc.SAP Online Help Step Tab. Excl. Doc. Req.Struc.

Struc.Field MATNR BR TXREG_SF TXREG_ST MATNR X X 5 BR Constant BR 1 5 121 347 0 0 X X  =    = = = = 99 392 0 X Table 10-48: Access sequence IZOF – steps and field assignment Step Tab. Excl. Excl. Req.Field Constant BR 5 394 0 X Condition-Based Tax Calculation in R/3 For Brazil 62 . Doc. Req. KOMP Doc.Field MATNR Constant X X 5 Table 10-46: Access sequence ISTV – steps and field assignment Step Tab. Req. Condition ALAND MATNR ALAND TXREG_SF TXREG_ST DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND I/O = Field Assignment Doc. Condition DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP I/O Field Assignment 07/05/09  = = = Doc.Struc.Struc.Field TXREG_SF TXREG_ST XSUBT MATNR X X 5 BR KOMP KOMP KOMK TXREG_SF TXREG_ST XSUBT X X X 98 Constant BR 5 382 0 X     = = = = 98 382 0 X    = = = = Table 10-47: Access sequence ISVA – steps and field assignment Step Tab. Condition ALAND TXREG_SF TXREG_ST XSUBT DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP ALAND TXREG_SF TXREG_ST XSUBT DYNKEY1 DYNKEY2 DYNKEY3 TAXGROUP I/O = Field Assignment Doc. Excl.SAP Online Help Step Tab. Condition ALAND I/O = Field Assignment Doc. KOMP KOMP KOMK KOMP Doc.Struc. Req. Excl. KOMP KOMP KOMP KOMP Doc.

KOMP Doc.Field TXREG_ST Constant 10.4 Condition Types MM/FI  10. Exempt Discount Freight Dummy Non-Statistic. Rate BRB1 BRIC BRIB BRIC BRB1 BRID BRII MWST BRIC BRID BRIP BRIP BRIP BRIP MWST BRIS BRTF BRLC BRLP BRST AcSq BRIC BRCI BRCI CalTy A A A B B A A A A A A A A A A A A A C A A A A A A CdCat D 1 1 F F 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 CCl A A A A A D A A A A A A A A A A A A B A D D A D A BST0 TX ICZF TX BIF0 TX BIC0 BIC0 TX TX BIC6 TX RfCTy Rap Condition-Based Tax Calculation in R/3 For Brazil 63 . Excl.SAP Online Help Step Tab.4. ICMS Rate ICMS Base Reduction ICMS Other Base Flag ICMS Base ICMS Rate SF=ST ICMS Rate for S.1 Condition types used in tax calculation procedure for MM   Table 10-49: Condition types used in tax calculation procedure for MM (FI) CTyp B100 BCI1 BCI2 BDIS BFRE BI00 BIC0 BIC1 BIC2 BIC6 BICH BICS BICX BIF0 BIFH BIP0 BIP1 BIP2 BIPP BIPX BIS0 BIZF BLIC BLIP BSF0 Name Convenio 100 ICMS Complement Base ICMS Complem.T.Struc. Req. Condition TXREG_ST I/O Field Assignment 07/05/09  Doc. ICMS exempt ICMS on freight ICMS Fr Rate SF=ST IPI Rate IPI Base Reduction IPI Other Base Flag IPI Pauta Amount IPI exempt ISS Rate Tax Free Region Tax Law ICMS Tax Law IPI Subtrib.

Fixprice Subtrib. BR ICMS Comp.T.Bef. Minp. Amnt. BR Tax Calculation BR ICMS Normal Base BR ICMS Exclude Base BR ICMS Other Base BR ICMS Amount BR ICMS Zona Franca BR ICMS Freight Base BR ICMS Freight Amnt.SAP Online Help BSF1 BST0 BST1 BST2 BST3 BST6 BST7 BST8 BSTF BSTI BSUB BX01 BX10 BX11 BX12 BX13 BXZF BX14 BX15 BX16 BX20 BX21 BX22 BX23 BX24 BX25 BX30 BX31 BX32 BX40 BX41 BX42 BX43 BX44 ICMS Fr Rate SF=ST Subtrib. base reduct Subtrib. Base BR ICMS Comp. Rate BR SubTrib Base BR SubTrib Amount BR SubTrib Fr. reduction 2 Subtrib. BR ICMS Rate BR IPI Normal Base BR IPI Exclude Base BR IPI Other Base BR IPI Amount BR IPI Offset Base BR IPI Offset Amount BR ICMS Comp. Rate Subtrib. Minprice Subtrib.Minpr. Base Modif.Surch. Base BR SubTrib Fr.Factor S. surch. reduction 1 Subtrib. S. type Subtrib.T. Amnt BRSubTrib NF Rate BRID BRST BRST BRST BRST BRST BRST BRST BRST BRST A A A C C A A A A A B B B B B B B B B B B B B B B B B B B B B B B B 1 1 1 1 1 1 1 1 1 1 F 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 A A A B B A A A A A A A A A A A A A A A A A A A A A A A A A A A A A 07/05/09 BIF0 TX Condition-Based Tax Calculation in R/3 For Brazil 64 .

Tributaria Out COFINS Withholding TaxSD ICMS Rev (Z.)-STO Condition-Based Tax Calculation in R/3 For Brazil 65 .F. In MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST BRTF B B B B B B A A A A A A A A A A A A A A A A A A A A A A A A A A A A 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 A A A A A A D D D D D D D D D D D D D D D D D D D D D D D D D D D D 07/05/09 ICMS Consumption In ICMS from SD Out STO-ICMS SD (ICM3) ICMS S.Clear. Consumption In Sub.T.SAP Online Help BX45 BX46 BX50 BX51 BXPA BXPO IC1C IC1O ICM0 ICM1 ICM2 ICM3 ICM4 ICMF ICOA ICN3 ICOF ICON ICOO ICOP ICOS ICOT ICOU ICOV ICOW ICOX ICOZ ICSW ICSZ ICS1 ICS2 ICS3 ICW3 ICZF BRSubtrib Basered1 BRSubtrib Basered2 BR ISS Base BR ISS Amount BR IPI Pauta Amount BR Caller = PO? ICMS Ind. offset COFINS Normal PO/GR COFINS Normal Tax COFINS deductible COFINS Normal Tax COFINS Offset Tax Included ICMS complement COFINS Normal PO/GR STO-ICMS complement COFINS COFINS Normal COFINS Offset ICOS/ICOU COFINS WHT ICMS complement 100 COFINS WHT Offset CSLL WHT CSLL WHT Offset Sub.Tributaria In S. fr. ICMS NF Zero Line ICMS Industr.Off.T.Clearing ICMS Ind.

ICMS offset Reimbursement SUBT Reimb. SUBT offset Condition-Based Tax Calculation in R/3 For Brazil 66 . In MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D 07/05/09 IPI Consumption In IPI from SD Out IPI -Split Vendor PIS Normal Tax PIS Normal PO/GR PIS Normal Tax PIS Offset Tax Included PIS Normal PO/GR PIS Normal IV NVV PIS Offset IPSS / IPSU PIS WHT PIS WHT Offset PIS WHT SD Offset PIS WHT SD Reimbursement ICMS Reimb.SAP Online Help ICZ3 IFR1 IFR3 IFS1 IFS3 IGEW IGEZ IGW3 IGZ3 IIRW IIRZ INSS INSX IPI0 IPIS IPI1 IPI2 IPI3 IPI4 IPS3 IPSA IPSN IPSO IPSS IPSU IPSV IPSW IPSZ IPZ3 IPW3 IRD1 IRD2 IRD3 IRD4 COFINS WHT SD Offset ICMS on freight In ICMS on freight Out ICMS ST freight In ICMS ST freight Out General WHT General WHT Offset General WHT SD General WHT SD Offset IR WHT IR WHT Offset INSS Incoming INSS offset (100-)-IPI NF Zero Line PIS deductible IPI Industr.

SUBT off. Category: 1 (Jur. ISS Min WHT at Prov. ISS WHT at Prov. ISS Base at Prov. ISS Law at Prov. Cal.4.NVV IR Withholding TaxSD IR WHT SD Offset ISS at Provider SD ISS WHT at Provider SD ISS at Service Loc SD ISS WHT at Service Loc SD ISS at Provider ISS WHT at Provider ISS at Service Loc ISS WHT at Service Loc ISS Offset ISS from MM In ISS from SD Out MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST A A A A A A A A A A A A A A A A A A 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 D D D D D D D D D D D D D D D D D D 07/05/09 ISS from MM In Offs CSLL Withholding Tax SD CSLL WHT SD Offset   10. Acc.Seq.2 Tax  Rate Conditions  Cond. ICMS off. DB: B (without popup) Table 10-50: Cond. ISS Taxloc at Prov.SAP Online Help IRD5 IRD6 IRW3 IRZ3 ISA3 ISB3 ISE3 ISF3 ISSA ISSB ISSE ISSF ISSG ISS2 ISS3 ISSO ISW3 ISZ3 Reimb.Type Co. BCO1 BCO2 BCOP BIS1 BIS2 BIS3 BIS5 BIS6 BIS7 Description COFINS Rate COFINS Base COFINS Pauta Amount ISS Rate at Prov. Level 1) Manual Entries: D (Not possible to process manually) Item Condition: X Delete fr. NVV Reimb.Class RefCon BRCO BRCO BRCO BRS1 BRS1 BRS1 BRS1 BRS1 BRS1 A A C A A A A A B A A B A A A A A A RefApp Condition-Based Tax Calculation in R/3 For Brazil 67 .

BX60 BX61 BX62 BX63 BX64 BX65 BX6A BX6B BX6C Description BR ISS Base Prov BR ISS ExBase Prov BR ISS Amount Prov BR ISS WTAmount Prov BR ISS WT Base Prov BR ISS WT ExBas Prov BR ISS Base Serv BR ISS ExBase Serv BR ISS Amount Serv Condition-Based Tax Calculation in R/3 For Brazil 68 . ISS WHT at Serv. ISS Taxloc at Serv. Category: 1 (Jur. Type: B (Fixed amount) Cond. Class: A (Discount or surcharge) Calculat. ISS Law at Serv. PIS Rate PIS Base PIS Pauta Amount WHT Coll. WHT Coll.SAP Online Help BISA BISB BISC BISE BISF BISG BPI1 BPI2 BPIP BW01 BW02 BW11 BW12 BW21 BW22 BW31 BW32 BW41 BW42 ISS Rate at Serv.Code Gen.4.3 Nota Fiscal Mapping Conditions  Cond. ISS Base at Serv. WHT Rate Gen.Code COFINS BRWT WHT Rate COFINS WHT Coll. ISS Min WHT at Serv.Code PIS WHT Rate PIS BRS2 BRS2 BRS2 BRS2 BRS2 BRS2 BRPI BRPI BRPI BRWT BRWT BRWT BRWT A A A A A A A A C A A A A A A A A A A A A A A A A A A B A A A A A A A A A A BIS1 BIS2 BIS3 BIS5 BIS6 BIS7 TX TX TX TX TX TX 07/05/09 WHT Coll. DB: B (without popup) Table 10-51: Cond. Level 1) Access Seq.: (empty) Manual Entries: D (Not possible to process manually) Item Condition: X Delete fr.Code CSLL WHT Rate CSLL WHT Coll.Code IR WHT Rate IR BRWT BRWT BRWT BRWT BRWT 10.

10. Base BR COFINS Amount BR COFINS Off.5 Condition Types SD  10.4 cords     Nota Fiscal Mapping Conditions With Manually Created Condition Re­ Cond. BR PIS Base BR PIS Excl. Level 1) Manual Entries: D (Not possible to process manually) Item Condition: X Delete fr. DB: B (without popup) Table 10-52: Cond.4. BR ICMS Normal Base BR ICMS Exclude Base BR ICMS Other Base BR ICMS Amount BR ICMS Freight Base IBRX B B B B AcSq IBRX CalTy A CdCat D 1 1 1 D 1 CCl D A A A D A IBRX V RfCTy IBRX RAp V Condition-Based Tax Calculation in R/3 For Brazil 69 .Class Cal.5. BXWT Description BR WHT Base Amount Acc. Base BR PIS Amount BR PIS Off.TxIncl BR COFINS Pauta Amt.TxIncl BR PIS Pauta Amount 07/05/09 10. Co.SAP Online Help BX6D BX6E BX6F BX6O BX70 BX71 BX72 BX7O BX7P BX80 BX81 BX82 BX8O BX8P BR ISS WTAmount Serv BR ISS WT Base Serv BR ISS WT ExBas Serv BR ISS Offset TxIncl BR COFINS Base BR COFINS Excl.Type RefCon BRB1 D A RefApp With transaction FV11.1 Condition types used in tax calculation procedure for SD   Table 10-51: CTyp BI00 BX10 BX11 BX12 BX13 BX14 Name Dummy Non-Statistic. create a condition record for this condition type with rate 100% and tax code ‘SD’.Seq. Category: 1 (Jur.

BR: ICMS 0 excempt ICMS Tax Base BR: ICMS comp. Base BR SubTrib Fr.Trib.excmpt BR: ICMS on freight BR: ICMS Law ICMS from SD Price+Tax (for NF) ICMS offset BR: ICMS other base Sub. BR ICMS Rate BR IPI Normal Base BR IPI Exclude Base BR IPI Other Base BR IPI Amount BR SubTrib Base BR SubTrib Amount BR SubTrib Fr. Zona Fr. from SD ISS offset ICMS Tax Rate BR Cust ICMS Exempt ICMS Disc. ICMS on freight SD ICMS ST freight SD IBRR ICVA ICXC IZOF IBRR ICVA IBRX DIBR DIBR DIBR DIBR DIBR IZOF DIBR DIBR IBRX DIBR ICBS ICCB ICCB ICVA ICLW IBRX IBRX IBRX IBRX IBRX B B B B A B B B B B B B B B B B A A A A A A A A A A A A A A A A A C A A A A A A A A A H D 1 H D D 1 1 1 D 1 1 1 H D 1 D 1 D 1 1 1 1 D 1 D D D D D D 1 D D 1 D D D D D D 1 D A A A A D A D A D A A A A D A D D D D D D D D D D D D D D D D D B A D D A D A D D D 07/05/09 IBRX V IBRX IBRX IBRX V V V IBRX V ICZF V Condition-Based Tax Calculation in R/3 For Brazil 70 . Brazil tax calc.base BR: ICMS comp. Amnt BRSubTrib NF Rate BRSubTrib Basered1 BRSubTrib Basered2 BR ISS Base BR ISS Amount BR IPI Pauta Amount BR ICMS Zona Franca Devido ICMS Freight Devido ICMS BR: Devido IPI Devido ICMS s/IPI Devido ISS Zona Franca Devido Sub Trib Devido SubTrib Fr.SAP Online Help BX15 BX16 BX20 BX21 BX22 BX23 BX40 BX41 BX42 BX43 BX44 BX45 BX46 BX50 BX51 BXPA BXZF DICF DICM DIPI DISI DISS DIZF DSUB DSUF IBRX IC0X ICBS ICCB ICCX ICFR ICLW ICM3 ICMI ICMO ICOB ICS3 ICSO ICVA ICXC ICZF IFR3 IFS3 BR ICMS Freight Amnt.

2 Withholding tax types used in tax calculation procedure for SD    Table 10-62: Tax Type ICN3 ICW3 IGW3 IPS3 IPW3 IRW3 ISA3 ISB3 ISE3 ISF3 ISW3 ICZ3 IGZ3 IPZ3 Description COFINS from SD COFINS Withholding TaxSD General WHT SD PIS Normal Tax PIS WHT SD IR Withholding TaxSD ISS at Provider SD ISS WHT at Provider SD ISS at Service Loc SD ISS WHT at Service Loc SD CSLL Withholding Tax SD COFINS WHT SD Offset General WHT SD Offset PIS WHT SD Offset AcSq MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST MWST IBRR IBRR IBRR CalTy A A A A A A A A A A A A A A CdCat 1 1 1 1 1 1 1 1 1 1 1 1 1 1 CCl D D D D D D D D D D D D D D RfCTy RAp ICMO V ICMO V ICMO V Condition-Based Tax Calculation in R/3 For Brazil 71 .Factor Subtrib Surcharge BR: Sub.Trib FixPric S.Trib MinPric Subtrib.T.5.Minpr. BR: Sub.Trib SurType BR: ISS amount ISTV ISTV ISTV ISTI ISTV ISTV ISTV ISTV ISTV ISTV ISVA IPVA IPLW IPVA IPVA IPXC ISTC DIBR IPBS A A A A A A A A A A A A A A C A C A A A A D D D D D D 1 D D D D D D 1 D D D D D D D D D D D D A D D D D D D D A D A D D D 07/05/09 ICVA V 10.T.Surch. Minp.Bef. base reduct ICMS Rate for S.SAP Online Help IP0X IPBS IPI3 IPIP IPLW IPOB IPVA IPXC ISIC ISS3 IST2 ISTB ISTC ISTD ISTF ISTI ISTM ISTN ISTS ISTT ISVA BR: IPI 0 excempt IPI Tax Base IPI from SD BR: IPI Pauta BR: IPI Law BR: IPI other base IPI Tax Rate BR Cust IPI Exempt ICMS Rate SF=ST ISS from SD BR: Sub. BR: Sub.Trib 2 Sub. Trib Base Value Subtrib.

Description BCO1 COFINS Rate BCO2 COFINS Base BCOP COFINS Pauta Amount ISVB ISVC ISVD ISVF ISVG ISVH ISVN ISVO ISVP ISVR ISVS ISS Rate at Prov.SAP Online Help IRZ3 ISZ3 ICO2 IPS2 IR WHT SD Offset CSLL WHT SD Offset COFINS Offset SD PIS Offset SD IBRR IBRR IBRR IBRR A A A A 1 1 07/05/09 D D A A ICMO V ICMO V ICMO V ICMO V 10.5.3 Withholding Tax Code Conditions  Table 10-73 Tax Type IKW4 ILW4 ICW4 IPW4 ISW4 IRW4 IGW4 Description ISS provider WHT cde ISS service WHT cde COFINS WHT code PIS WHT code CSLL WHT code IR WHT code General WHT code AcSq J1AG J1AG J1AG J1AG J1AG J1AG J1AG CalTy A A A A A A A CdCat D D D D D D D CCl W W W W W W W RfCTy RAp 10.5 Withholding tax Tax Rate Conditions   Table 10-95: Cond. ISS WHT at Prov. ISS Law at Prov. ISS Min WHT at Prov. ISS Law at Serv.4  Tax Code Conditions   Table 10-84: Tax Type DCOF DPIS DWHT Description COFINS Due PIS Due WHT Due AcSq DIBR DIBR DIBR CalTy A A A CdCat D D D CCl D D D RfCTy RAp 10. ISS Taxloc at Serv. AcSq CalTy CdCat CCl RfCTy RAp D D D D D D D D D D D D D D D D D D D D D D D D D D D D ISVB ISVC ISVD ISVF ISVG V V V V V BRCO A BRCO A BRCO C ISS1 ISS1 ISS1 ISS1 ISS1 ISS1 ISS2 ISS2 ISS2 ISS2 ISS2 A A A A A B A A A A A Condition-Based Tax Calculation in R/3 For Brazil 72 . ISS Rate at Serv. ISS Base at Prov. ISS Base at Serv.5. ISS WHT at Serv.5. ISS Taxloc at Prov.

TxIncl BR COFINS Pauta Amt.Code COFINS BRWT A BW22 WHT Rate COFINS BW31 WHT Coll. Base BR PIS Amount AcSq CalTy B B B B B B B B B B B B B B B B B B B B B CdCat 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 CCl A A A A A A A A A A A A A A A A A A A A A RfCTy RAp Condition-Based Tax Calculation in R/3 For Brazil 73 . BR PIS Base BR PIS Excl.Code Gen.Code IR BW42 WHT Rate IR BRWT A BRWT A BRWT A BRWT A BRWT A 10.SAP Online Help ISVT BPI1 BPI2 BPIP ISS Min WHT at Serv. BX60 BX61 BX62 BX63 BX64 BX65 BX6A BX6B BX6C BX6D BX6E BX6F BX6O BX70 BX71 BX72 BX7O BX7P BX80 BX81 BX82 Description BR ISS Base Prov BR ISS ExBase Prov BR ISS Amount Prov BR ISS WTAmount Prov BR ISS WT Base Prov BR ISS WT ExBas Prov BR ISS Base Serv BR ISS ExBase Serv BR ISS Amount Serv BR ISS WTAmount Serv BR ISS WT Base Serv BR ISS WT ExBas Serv BR ISS Offset TxIncl BR COFINS Base BR COFINS Excl. BW02 WHT Rate Gen.5. BW11 WHT Coll. Base BR COFINS Amount BR COFINS Off.6 Nota Fiscal Mapping Condition   Table 10-106: Cond.Code CSLL BW32 WHT Rate CSLL BW41 WHT Coll.Code PIS BW12 WHT Rate PIS BRWT A BRWT A BRWT A BRWT A BW21 WHT Coll. PIS Rate PIS Base PIS Pauta Amount ISS2 BRPI BRPI BRPI B A A C D D D D D D D D D D D D D D D D D B D D D D D D D D D D ISVH V 07/05/09 BW01 WHT Coll.

BSUB). the freight (step 013. It is structured in the following sections: • • • • • Transaction data retrieval Customizing data retrieval Tax calculation Results of tax calculation Tax code conditions Each of the sections forms a connected block in the calculation procedure. BR Caller = PO? From 000 000 001 000 000 000 001 000 To 000 000 000 000 000 000 000 000 Reqt 000 000 000 000 000 000 000 160 Stat X X X X X X X AltCTy 000 000 000 320 320 320 000 000 AltCBV 000 000 000 160 160 160 000 160 ActKy 10. and the S. In the first section of the calculation procedure. each of the sections of the new calculation procedure will be discussed.2 Customizing Data Retrieval  In the next section. Table 10-111: Retrieval of transaction data in the calculation procedure Step 001 010 011 012 013 014 015 017 BASB BDIS BFRE BSUB BXPO CTyp Description First line: zero Base Amount Tax-relev. the calling application (PO/ IM or IV) is determined (step 017.g. the discount (step 012.T. It is used to refer to it in lines of the calculation procedure that only contain explanatory texts (like e.6. data specific to the item that is processed in the tax calculation are processed. which is called in MM transactions. BXPO). The access is done based on the actual values in the communication structures KOMP and KOMK and is controlled by the access sequences assigned to the condition types. conditions: Discount Freight S. and other flags) are read from the condition database. base modification amount (step 014. This is discussed in section 6.1 Transaction Data Retrieval  The first line of the calculation procedure just contains a zero value. laws. The entries in dark blue are due to withholding tax law change (MP135) Table 10-62: Retrieval of tax Customizing data in the calculation procedure Step CTyp Description From To Reqt Stat AltCTy AltCBV ActKy Condition-Based Tax Calculation in R/3 For Brazil 74 . BFRE). These are the net value (step 010. BASB). BDIS). Base Modif. This calculation procedure is assigned to the country in table T005. 10. The steps in red are only required for CBT. the tax Customizing data (rates.T. step 011) in order that no confusing intermediate sum appears in such lines on the pricing results screen in the transactions. Furthermore.SAP Online Help BX8O BX8P BR PIS Off.TxIncl BR PIS Pauta Amount 07/05/09 B B 1 1 A A 10. The calculation part is completely moved to a formula. If Using the classical calculation please skip the step.6 Calculation Procedure in MM (FI): TAXBRA  The calculation procedure TAXBRA is used in the FI tax calculation. In the following.6.

T.Bef.T. ISS Law at Prov. Subtrib. base reduct Subtrib. reduction 2 Subtrib. Rate Subtrib. ISS Base at Prov. reduction 1 Subtrib. ISS New 2004 ISS Rate at Prov. Fixprice Subtrib. Exempt ICMS on Freight ICMS on freight ICMS Fr Rate SF=ST IPI IPI Rate IPI Base Reduction IPI Other Base Flag IPI Pauta Amount IPI exempt Steuergesetz IPI ISS ISS Rate Sub. From 001 001 000 000 000 000 000 000 000 000 001 000 000 001 000 000 001 000 000 000 000 000 000 001 000 001 000 000 000 000 000 000 000 000 000 1 000 000 000 To 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Reqt 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Stat X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X AltCTy 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 160 160 160 07/05/09 AltCBV 000 000 160 160 160 160 160 160 160 160 000 160 160 000 160 160 000 160 160 160 000 160 160 000 160 000 160 160 000 000 160 160 160 160 160 ActKy Condition-Based Tax Calculation in R/3 For Brazil 75 . ICMS Complement ICMS Complement Base ICMS Complem.Trib.SAP Online Help Step 019 020 021 022 023 024 025 026 027 028 030 031 032 040 041 042 050 051 052 053 054 055 056 060 061 070 071 072 073 074 075 076 077 078 079 080 081 082 083 BIS1 BIS2 BIS3 BST0 BST1 BST2 BST3 BST6 BST7 BST8 BSTF BSTI BIS0 BIP0 BIP1 BIP2 BIPP BIPX BLIP BIF0 BIFH BCI1 BCI2 BIC0 BIC1 BIC2 BICX B100 BLIC BICH BICS CTyp Description Read tax data: ICMS ICMS Rate ICMS Base Reduction ICMS Other Base Flag ICMS exempt Convenio 100 Steuergesetz ICMS ICMS Rate SF=ST ICMS Rate for S. surch.Factor S.Surch.Minpr. Minprice Subtrib. type Subtrib. Minp.

3 Results of Tax Calculation  The results of the tax calculation are retrieved in the next section of the calculation procedure. ISS Taxloc at Serv. For these new condition types.7. ISS Ins. ISS WHT at Serv.SAP Online Help Step 084 085 086 087 091 092 093 094 095 096 101 097 110 111 112 113 121 122 123 BCO1 BCO2 BCOP BPI1 BPI2 BPIP CTyp BlS4 BIS5 BIS6 BIS7 BISA BISB BISC BISD BISE BISF BX01 BISG Description ISS Ins. Table 10-63: Call to tax calculation in the calculation procedure Step 100 101 BX01 CTyp Description Call Tax Calculation: BR Tax Calculation From 001 010 To 000 000 Reqt 000 000 Stat X X AltCTy 000 320 AltCBV 000 000 ActKy   190 191 BX01 Call Tax Calculation: BR Tax Calculation 1 10 X X 320 In MP 135   10. corresponding internal codes are defined which are used in the coding to transfer the tax results back to the calculation procedure. respectively. PIS. This coding is processed in the call to the condition value formula 320 as well (see section 6). COFINS COFINS Rate COFINS Base COFINS Pauta Amount PIS Rate PIS Base PIS Pauta Amount From 000 000 000 000 000 000 000 000 000 000 1 000 1 000 000 000 000 000 000 To 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Reqt 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Stat x X X X X X X x X X x X X X X X X X X AltCTy 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 160 160 160 160 07/05/09 AltCBV 160 160 160 160 160 160 160 160 160 160 160 160 ActKy Rot markierte Stellen stehen so in MP135 After all data are retrieved that are necessary to calculate the taxes. ISS Min WHT at Prov. ISS Base at Serv.6. For each value. ISS Rate at Serv. the tax calculation is performed by processing the condition value formula 320 which is discussed in section 6. BR Tax Calculation ISS Min WHT at Serv. ISS Law at Serv.Cal at Serv. Cal at Prov. a condition type is defined that serves to indicate the result in the pricing procedure results table. ISS Taxloc at Prov. The condition types and internal codes are listed in sections 0 and 10. Condition-Based Tax Calculation in R/3 For Brazil 76 . ISS WHT at Prov.

Base BR SubTrib Fr. Amnt BRSubTrib NF Rate BRSubTrib Basered1 BRSubTrib Basered2 BR ICMS Freight Base BRICMS Freight Amnt. Rate BR SubTrib Base BR SubTrib Amount BR SubTrib Fr. BR ISS Base BR ISS Amount BR ISS Base Prov BR ISS ExBase Prov BR ISS Amount Prov BR ISS WTAmount Prov BR ISS WT Base Prov BR ISS WT ExBas Prov BR ISS Base Serv BR ISS ExBase Serv BR ISS Amount Serv From 001 001 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 To 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Reqt 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Stat X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X AltCTy 000 000 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 AltCBV 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 07/05/09 ActKy 200 210 215 220 225 226 227 230 235 240 245 246 247 248 250 255 256 260 265 270 275 277 278 279 280 285 290 295 300 301 305 310 311 312 315 316 320 Condition-Based Tax Calculation in R/3 For Brazil 77 .SAP Online Help Table 10-64: Results of tax calculation in the calculation procedure Step 100/190 CTyp Description Call Tax Calculation: Tax Results: BX10 BX11 BX12 BX13 BXZF BX16 BX20 BX21 BX22 BX23 BX24 BX25 BXPA BX30 BX31 BX32 BX40 BX41 BX42 BX43 BX44 BX45 BX46 BX14 BX15 BX50 BX51 BX60 BX61 BX62 BX63 BX64 BX65 BX6A BX6B BX6C BR ICMS Normal Base BR ICMS Exclude Base BR ICMS Other Base BR ICMS Amount BR ICMS Zona Franca BR ICMS Rate BR IPI Normal Base BR IPI Exclude Base BR IPI Other Base BR IPI Amount BR IPI Offset Base BR IPI Offset Amount BR IPI Pauta Amount BR ICMS Comp. BR ICMS Comp. Amnt. Base BR ICMS Comp.

fr.6.Off. In Sub.Tributaria In ICMS S. BR PIS Base BR PIS Excl. Base BR COFINS Amount BR COFINS Off. Table 10-65: Tax code conditions in the calculation procedure Step 100/190 400 405 406 410 412 415 420 425 430 435 440 445 450 455 510 IPI0 ICM0 IPI1 IPI4 ICM1 ICS1 ICMF IFR1 IFS1 IP1C IP1O IC1C IC1O IPI2 CTyp Description Call Tax Calculation: Tax Code Conditions: IPI NF Zero Line ICMS NF Zero Line IPI Industr.TxIncl BR PIS Pauta Amount From 000 000 000 000 000 000 000 000 000 000 000 000 000 000 To 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Reqt 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Stat X X X X X X X X X X X X X X AltCTy 320 320 320 320 320 320 320 320 320 320 320 320 320 320 AltCBV 000 000 000 000 000 000 000 000 000 000 000 000 000 000 07/05/09 ActKy   10. i. ICMS Ind.Clearing ICMS Ind. Base BR PIS Amount BR PIS Off. In From 001 001 245 225 245 247 225 265 225 285 275 245 440 225 415 245 To 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Reqt 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Stat X X X X AltCTy 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 AltCBV 000 000 000 000 000 000 000 000 164 000 000 000 164 000 164 000 VST VST VS1 NVV VS2 VS3 IC1 VS3 VS3 IPC IPC ICC ICC NVV ActKy IPI -Split Vendor ICMS Industr.Off. IPI Consumption In Condition-Based Tax Calculation in R/3 For Brazil 78 . The condition base values are taken from the lines in the calculation procedure that contain the tax results described in the section before.T.4 Tax Code Conditions  The last section of the tax calculation procedure contains the tax code conditions. offset ICMS on freight In ICMS ST freight In IPI Ind.SAP Online Help Step 325 330 335 339 350 351 355 360 365 370 371 375 380 385 CTyp BX6D BX6E BX6F BX6O BX70 BX71 BX72 BX7O BX7P BX80 BX81 BX82 BX8O BX8P Description BR ISS WTAmount Serv BR ISS WT Base Serv BR ISS WT ExBas Serv BR ISS Offset TxIncl BR COFINS Base BR COFINS Excl.e. the conditions that you activate (100%) or deactivate (no record) by customizing the tax codes.Clear.Clear.TxIncl BR COFINS Pauta Amt.Clearing IPI Ind.

TxIncl PIS/COFINS DEDUCTIBLE COFINS deductible PIS deductible Cofins Offset 164 Condition-Based Tax Calculation in R/3 For Brazil 79 . SUBT off.SAP Online Help Step 515 520 525 530 535 555 560 610 615 620 625 630 640 645 650 680 685 710 715 720 725 730 735 750 755 760 765 770 775 779 780 782 784 786 789 790 791 792 ICOF IPIS ICOV ICON ICOO IPSN IPSO ISSA ISSB ISSE ISSF ISSG CTyp ICM2 ICS2 ICOP ICOT ICOX ISS2 ISSO IPI3 ICM3 ICS3 ISS3 ICZF IFR3 IFS3 ICM4 INSS INSX IRD1 IRD2 IRD3 IRD4 IRD5 IRD6 Description ICMS Consumption In S.Tributaria Out ISS from SD Out ICMS Rev (Z.)-STO ICMS on freight Out ICMS ST freight Out STO-ICMS SD (ICM3) INSS Incoming INSS offset (100-)-Reimbursment ICMS Reimb.NVV ISS ISS at Provider ISS WHT at Provider ISS at Serv.Loc. ISS Offsets PIS/COFINS NONDEDUCTIBLE COFINS NVV COFINS NVVOff TxIncl PIS NVV PIS NVV Off.T. SUBT offset Reimb. ICMS offset Reimbursment SUBT Reimb. NVV Reimb. Consumption In ICMS complement STO-ICMS complement ICMS complement 100 ISS from MM In ISS from MM In Offs IPI from SD ICMS from SD Out Out From 225 265 255 255 525 295 555 245 225 265 295 225 285 275 225 010 680 010 710 010 720 010 010 1 305 310 320 325 339 1 355 360 375 380 1 355 375 360 1 1 1 1 1 X X X 1 1 1 1 1 X To 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Reqt 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Stat AltCTy 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 X AltCBV 000 000 000 000 164 000 164 000 000 000 000 164 000 000 000 000 164 000 000 000 000 000 000 07/05/09 ActKy NVV NVV ICP ICP ICX IC1 MW4 MW1 MW2 MW3 MW4 ICZ MW3 MW3 MW2 VST INX IR1 IR2 IR3 IR4 NVV NVV Sub. ICMS off.Loc.F. ISS WHT at Serv.

PO/GR PIS non deductib. 915 950 910 955 920 960 925 965 905 970 From 360 360 355 380 380 380 375 1 380 160 161 360 To Reqt 160 161 Stat 1 1 1 1 1 1 1 X X X X X X X X X X X X AltCTy AltCBV 07/05/09 ActKy 164 5 5 5 5 5 5 5 5 5 5 5 164 164 164 164 164 163 10. WHT Coll. Offset IPSS / IPSU PIS deduct.SAP Online Help Step 793 794 795 796 797 798 799 900 901 904 905 909 910 914 915 919 920 924 925 950 951 955 956 960 961 965 966 970 971 999 BXWT BW01 BW02 BW11 BW12 BW21 BW22 BW31 BW32 BW41 BW42 ICOW ICOZ IPSW IPSZ ICSW ICSZ IIRW IIRZ IGEW IGEZ BI00 CTyp ICOS ICOU ICOA IPSV IPSS IPSU IPSA Description COFINS deduct.5 Create Processing keys for Withholding Tax  (T007B)  For the withholding tax new processing keys (account keys) have to be created to post taxes to separate accounts and to identify withholding tax amounts in the normal tax calculation. not inc.Code COFINS WHT Rate COFINS WHT Coll.Code IR WHT Rate IR COFINS WHT COFINS WHT Offset PIS WHT PIS WHT Offset CSLL WHT CSLL WHT Offset IR WHT IR WHT Offset General WHT General WHT Offset Dummy Non-Statistic.6. WITHHOLDING TAXES BR WHT Base Amount WHT Coll. not inc. IV PIS ded. Tax Type: Not deductible: 2 (input tax) X Posting indicator: 3 (Distribute to relevant expense/revenue items) Condition-Based Tax Calculation in R/3 For Brazil 80 . WHT Rate Gen.Code PIS WHT Rate PIS WHT Coll.Code CSLL WHT Rate CSLL WHT Coll.Code Gen. PO/GR Cofins IV Non Deduct Cofins ded.

The following is just a suggestion.6 Create G/L Accounts  If you need to post the new taxes to separate accounts. create new G/L accounts.6.SAP Online Help 07/05/09 Table 10-66 Processing Key ISW WTC WTG WTI WTP WTS Description ISS WHT COFINS WHT General WHT IR WHT PIS WHT CSLL WHT Tax type: 2 (input tax) space Non deductible: Posting indicator: 2 (separate line item) Table 10-67 Processing Key CO3 PI3 Description COFINS Clearing PIS Clearing Tax type: 1 (output tax) space Non deductible: Posting indicator: 2 (separate line item) Table 10-65 Processing Key COF PIS WK3 WC3 WC4 WG3 WG4 WI3 WI4 WP3 WP4 WS3 WS4 Description COFINS PIS ISS WHT Cofins WHT Cofins WHT offset General WHT General WHT offset IR WHT IR WHT offset PIS WHT PIS WHT offset CSLL WHT CSLL WHT offset 10. 177011: COFINS Withholding Tax Posting at Payment Condition-Based Tax Calculation in R/3 For Brazil 81 .

6.6.8 Define Account Keys for SD (T687)  Table 10-67 Account Key COF PIS WK3 WC3 WC4 WG3 WG4 Description COFINS PIS ISS WHT Cofins WHT Cofins WHT offset General WHT General WHT offset Condition-Based Tax Calculation in R/3 For Brazil 82 .7 Define and Assign Tax Accounts  Posting Keys: 40 – 50 Table 10-66 Account Key CO3 COF PI3 PIS WK3 WC3 WC4 WG3 WG4 WI3 WI4 WP3 WP4 WS3 WS4 Account 154008 177031 154031 177030 177040 177011 177011 177022 177022 177021 177021 177013 177013 177020 177020 10.SAP Online Help 177013: PIS Withholding Tax Posting at Payment 177020: CSLL Withholding Tax Posting at Payment 177021: IR Withholding Tax Posting at Payment 177022: General Withholding Tax (PIS/COFINS/CSLL/IR) 177030: PIS Normal Tax 177031: COFINS Normal Tax 154031: PIS Tax deductible 154008: COFINS Tax deductible 177040: ISS Withholding Tax 07/05/09 10.

a condition type is defined that serves to indicate the result in the pricing procedure results table. Rate BR SubTrib Base BR SubTrib Amount BR SubTrib Fr. This coding is processed in the call to the condition value formula 320 as well (see section 6). The condition types and internal codes are listed in sections 0 and 10.SAP Online Help WI3 WI4 WP3 WP4 WS3 WS4 IR WHT IR WHT offset PIS WHT PIS WHT offset CSLL WHT CSLL WHT offset 07/05/09 10. Table 10-68: Call to tax calculation in the calculation procedure Step 100 101 BX01 CTyp Description Call Tax Calculation: BR Tax Calculation From 001 010 To 000 000 Reqt 000 000 Stat X X AltCTy 000 320 AltCBV 000 000 ActKy 10.10 Results of Tax Calculation  The results of the tax calculation are retrieved in the next section of the calculation procedure. BR ICMS Comp. After all data are retrieved that are necessary to calculate the taxes. the tax calculation is performed by processing the condition value formula 320 which is discussed in section 6. corresponding internal codes are defined which are used in the coding to transfer the tax results back to the calculation procedure. Base From 001 010 001 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 To 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Reqt 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Stat X X X X X X X X X X X X X X X X X X X X X AltCTy 000 320 000 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 AltCBV 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 ActKy Condition-Based Tax Calculation in R/3 For Brazil 83 . For these new condition types.6. For each value.7. Amnt. Table 10-69: Results of tax calculation in the calculation procedure Step 190 191 200 210 215 220 225 227 230 235 240 245 246 247 248 250 255 256 260 265 270 BX01 BX10 BX11 BX12 BX13 BX16 BX20 BX21 BX22 BX23 BX24 BX25 BXPA BX30 BX31 BX32 BX40 BX41 BX42 CTyp Description Call Tax Calculation: BR Tax Calculation Tax Results: BR ICMS Normal Base BR ICMS Exclude Base BR ICMS Other Base BR ICMS Amount BR ICMS Rate BR IPI Normal Base BR IPI Exclude Base BR IPI Other Base BR IPI Amount BR IPI Offset Base BR IPI Offset Amount BR IPI Pauta Amount BR ICMS Comp. Base BR ICMS Comp.9 Tax Calculation  This is only relevant for the classical calculation. respectively.6.

The condition base values are taken from the lines in the calculation procedure that contain the tax results described in the section before. the conditions that you activate (100%) or deactivate (no record) by customizing the tax codes.11 Tax Code Conditions  The last section of the tax calculation procedure contains the tax code conditions. BR ISS Base BR ISS Amount BR ISS Base Prov BR ISS ExBase Prov BR ISS Amount Prov BR ISS WTAmount Prov BR ISS WT Base Prov BR ISS WT ExBas Prov BR ISS Base Serv BR ISS ExBase Serv BR ISS Amount Serv BR ISS WTAmount Serv BR ISS WT Base Serv BR ISS WT ExBas Serv BR ISS Offset TxIncl BR COFINS Base BR COFINS Excl. Table 10-69: Tax code conditions in the calculation procedure Step 100 400 CTyp Description Call Tax Calculation: Tax Code Conditions: From 001 001 To 000 000 Reqt 000 000 Stat X X AltCTy 000 000 AltCBV 000 000 ActKy Condition-Based Tax Calculation in R/3 For Brazil 84 .e.TxIncl BR COFINS Pauta Amt. Base BR PIS Amount BR PIS Off. BR PIS Base BR PIS Excl. i.SAP Online Help Step 275 277 278 279 280 285 290 295 300 301 305 310 311 312 315 316 320 325 330 335 339 350 351 355 360 365 370 371 375 380 385 CTyp BX43 BX44 BX45 BX46 BX14 BX15 BX50 BX51 BX60 BX61 BX62 BX63 BX64 BX65 BX6A BX6B BX6C BX6D BX6E BX6F BX6O BX70 BX71 BX72 BX7O BX7P BX80 BX81 BX82 BX8O BX8P Description BR SubTrib Fr. Base BR COFINS Amount BR COFINS Off.TxIncl BR PIS Pauta Amount From 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 To 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Reqt 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Stat X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X AltCTy 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 320 AltCBV 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 07/05/09 ActKy 10.6. Amnt BRSubTrib NF Rate BRSubTrib Basered1 BRSubTrib Basered2 BR ICMS Freight Base BRICMS Freight Amnt.

SAP Online Help Step 405 406 410 412 415 420 425 430 435 440 445 450 455 510 515 520 525 530 535 555 560 610 615 620 625 630 640 645 650 680 685 710 715 720 725 730 735 750 755 760 765 770 775 779 780 782 784 ICON ICOO IPSN ISSA ISSB ISSE ISSF ISSG CTyp IPI0 ICM0 IPI1 IPI4 ICM1 ICS1 ICMF IFR1 IFS1 IP1C IP1O IC1C IC1O IPI2 ICM2 ICS2 ICOP ICOT ICOX ISS2 ISSO IPI3 ICM3 ICS3 ISS3 ICZF IFR3 IFS3 ICM4 INSS INSX IRD1 IRD2 IRD3 IRD4 IRD5 IRD6 Description IPI NF Zero Line ICMS NF Zero Line IPI Industr.F. fr. ICMS Ind. ISS WHT at Serv. NVV Reimb.Loc.Off.Clearing IPI Ind. Consumption In ICMS complement STO-ICMS complement ICMS complement 100 ISS from MM In ISS from MM In Offs IPI from SD Out ICMS from SD Out Sub.)-STO ICMS on freight Out ICMS ST freight Out STO-ICMS SD (ICM3) INSS Incoming INSS offset (100-)-Reimbursment ICMS Reimb.Loc. In IPI -Split Vendor ICMS Industr. ISS Offsets PIS/COFINS DEDUCTIBLE COFINS NVV COFINS NVVOff TxIncl PIS NVV NONFrom 245 225 245 247 225 265 225 285 275 245 440 225 415 245 225 265 255 255 525 295 555 245 225 265 295 225 285 275 225 010 680 010 710 010 720 010 010 1 305 310 320 325 339 1 355 360 375 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 To 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Reqt 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Stat X X AltCTy 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 07/05/09 AltCBV 000 000 000 000 000 000 164 000 000 000 164 000 164 000 000 000 000 000 164 000 164 000 000 000 000 164 000 000 000 000 164 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 NVV NVV NVV ActKy VST VST VS1 NVV VS2 VS3 IC1 VS3 VS3 IPC IPC ICC ICC NVV NVV NVV ICP ICP ICX IC1 MW4 MW1 MW2 MW3 MW4 ICZ MW3 MW3 MW2 VST INX IR1 IR2 IR3 IR4 NVV NVV X NVV ISW NVV ISW NVV Condition-Based Tax Calculation in R/3 For Brazil 85 .T.Tributaria Out ISS from SD Out ICMS Rev (Z. IPI Consumption In ICMS Consumption In S.NVV ISS ISS at Provider ISS WHT at Provider ISS at Serv.Clear.Clearing ICMS Ind.Clear. In Sub. SUBT offset Reimb.Tributaria In ICMS S.T. ICMS offset Reimbursment SUBT Reimb. offset ICMS on freight In ICMS ST freight In IPI Ind.Off. ICMS off. SUBT off.

Code IR WHT Rate IR COFINS WHT COFINS WHT Offset PIS WHT PIS WHT Offset CSLL WHT CSLL WHT Offset IR WHT IR WHT Offset General WHT General WHT Offset Dummy Non-Statistic. IV PIS ded.7 Calculation Procedure in SD: RVABRA  The calculation procedure RVABRA is delivered as a sample SD pricing procedure. it will most likely be necessary to adapt it to the individual needs. not inc.Code Gen. Since it contains normal conditions besides the tax conditions. not inc. WHT Coll. WITHHOLDING TAXES BR WHT Base Amount WHT Coll. From 380 1 355 375 360 360 360 355 380 380 380 375 1 000 000 000 000 000 000 000 000 000 000 000 915 950 910 955 920 960 925 965 905 970 000 To 000 000 000 000 000 000 000 360 000 000 000 380 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Reqt 000 000 000 000 000 160 161 000 000 160 161 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Stat 000 X X X 000 000 000 000 000 000 000 000 X X X X X X X X X X X X 000 000 000 000 000 000 000 000 000 000 000 AltCTy 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 07/05/09 AltCBV 000 000 000 000 164 000 000 000 164 000 000 000 000 5 5 5 5 5 5 5 5 5 5 5 000 164 000 164 0000 164 000 164 000 164 163 WTC NVV WTP NVV WTS NVV WTI NVV WTG NVV VS1 VST VST CO3 CO3 NVV CO3 PI3 PI3 NVV PI3 ActKy NVV 10.SAP Online Help Step 786 789 790 791 792 793 794 795 796 797 798 799 900 901 904 905 909 910 914 915 919 920 924 925 950 951 955 956 960 961 965 966 970 971 999 BXWT BW01 BW02 BW11 BW12 BW21 BW22 BW31 BW32 BW41 BW42 ICOW ICOZ IPSW IPSZ ICSW ICSZ IIRW IIRZ IGEW IGEZ BI00 ICOF IPIS ICOV ICOS ICOU ICOA IPSV IPSS IPSU IPSA CTyp IPSO Description PIS NVV Off.Code COFINS WHT Rate COFINS WHT Coll. Condition-Based Tax Calculation in R/3 For Brazil 86 . PO/GR Cofins IV Non Deduct Cofins ded.Code PIS WHT Rate PIS WHT Coll. PO/GR PIS non deductib. TxIncl PIS/COFINS DEDUCTIBLE COFINS deductible PIS deductible Cofins Offset COFINS deduct. WHT Rate Gen. Offset IPSS / IPSU PIS deduct.Code CSLL WHT Rate CSLL WHT Coll.

In the following. If using CBT use the red entries. The entries in dark blue are due to withholding tax lax change MP135.g. each of the sections of the new calculation procedure will be discussed. The access is done based on the actual values in the communication structures KOMP and KOMK and is controlled by the access sequences assigned to the condition types. It is used to refer to it in lines of the calculation procedure that only contain explanatory texts (like e. The rest covers the determination of the net price (price excluding any kind of tax).2 Customizing Data Retrieval  In the next section. ignore the red entries. id using the classical procedure.7. and other flags) are read from the condition database.1 Net price determination  The first line of the calculation procedure just contains a zero value. laws. e.7. This is discussed in section 6. Examples for other procedures (like RVXBRE etc. 10. since the changes are the same.SAP Online Help It is structured in the following sections: • • • • • • • Net price determination Customizing data retrieval Tax calculation on net amount (Step 1) Nota Fiscal relevant modifications to the base price including ICMS Tax recalculation on the modified amount including ICMS (Step 2) Results of tax calculation Tax code conditions 07/05/09 Each of the sections forms a connected block in the calculation procedure. the tax Customizing data (rates. The step 10 may only be included whether with the red or the black entry.g.) are not given. Table 10-72: Retrieval of tax Customizing data in the calculation procedure Step 200 201 Cntr CTyp DICM ICVA Description Devido ICMS ICMS Tax Rate From 000 000 To 000 000 Reqt 000 000 Stat X X AltCTy 000 000 AltCBV 000 160 ActKy Condition-Based Tax Calculation in R/3 For Brazil 87 . step 011) in order that no confusing intermediate sum appears in such lines on the pricing results screen in the transactions. The calculation part is completely moved to a formula. Table 10-71: Retrieval of transaction data in the calculation procedure Step 001 010 010 010 010 010 045 050 199 RB00 Discount Net Base 1 2 3 4 ZPB0 ZPB1 ZPB2 ZPB3 PR00 Cntr CTyp Description **** Zero **** Price w/o Taxes Price+ISS Price+PIS+COF Price+ISS+PIS+COF Price From 000 000 000 000 000 000 001 000 000 To 000 000 000 000 000 000 000 000 000 Reqt 000 002 002 002 002 002 000 002 000 X Stat X Prt AltCTy 000 000 000 000 000 000 000 000 000 AltCBV 000 000 000 000 000 000 000 000 000 ActKy 10. taking into account discounts which should not have impact on Nota Fiscal.

ISS Rate at Serv. ISS Min WHT at Prov.Cal at Prov. ISS Taxloc at Prov.T BR Cust ICMS Exempt Zona Franca Devido ICMS Freight BR: ICMS on freight Devido ICMS s/IPI Devido IPI IPI Tax Rate IPI Tax Base BR: IPI other base BR: IPI Pauta BR: IPI 0 exempt BR: IPI Law BR Cust IPI Exempt COFINS Due COFINS Rate COFINS Base COFINS Pauta Amount PIS Due PIS Rate PIS Base PIS Pauta Amount Devido ISS ISS New 2004 ISVB ISVC ISVD ISVE ISVF ISVG ISVH ISVN ISS Rate at Prov. ISS Base at Prov. ISS WHT at Prov. ISS Law at Prov. 1 From 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 To 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Reqt 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Stat X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X 160 160 160 160 160 160 160 160 160 160 160 160 AltCTy 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 07/05/09 AltCBV 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 ActKy 204 205 206 207 208 209 210 220 221 230 240 241 242 243 244 245 246 247 250 251 252 253 255 256 257 258 260 265 266 267 268 269 270 271 272 273 Condition-Based Tax Calculation in R/3 For Brazil 88 .SAP Online Help Step 202 203 Cntr CTyp ICBS ICOB IC0X I100 ICLW ISIC ISTD ICXC DIZF DICF ICFR DISI DIPI IPVA IPBS IPOB IPIP IP0X IPLW IPXC DCOF BCO1 BCO2 BCOP DPIS BPI1 BPI2 BPIP DISS Description ICMS Tax Base BR: ICMS other base BR:ICMS 0 exempt BR: ICMS Convênio 100 BR: ICMS Law ICMS Rate SF=ST ICMS Rate for S. ISS Ins.

Since these conditions are not really part of the tax calculation. Devido Sub Trib Subtrib Surcharge BR: Sub. ISS Law at Serv. Table 10-73: Call to tax calculation in the calculation procedure Step 300 CTyp ICMI Description Price+Tax (for NF) From 000 To 000 Reqt 002 Stat Prt X AltCTy 320 AltCBV 002 ActKy ERL 10. the tax calculation is performed by processing the condition value formula 320 which is discussed in section 6. The step range foreseen for these kinds of conditions is between 301 and 599. insurance or other expenses. ISS Ins.3 Tax Calculation on net amount (Step 1)  After all data are retrieved that are necessary to calculate the taxes. the price including ICMS which results from the first step of the calculation amount can be used to apply conditions that modify this amount.SAP Online Help Step 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 Cntr CTyp ISVO ISVP ISVQ ISVR ISVS ISVT DSUB ISTS ISTT ISTM ISTF ISTB IST2 ISTC ISTN ISTI DSUF Description ISS Base at Serv. freight.g. base reduct Subtrib.Minpr. ISS Taxloc:1=PR. the section given below must be seen as an example only.T.Trib SurType BR: Sub. Trib Base Value BR: Sub. Nota Fiscal relevant discounts.7.Factor S.7.Surch.Trib FixPric Sub. Devido SubTribFreight 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 From To Reqt Stat X X X X X X X X X X X X X X X X X 000 000 000 000 000 000 000 000 000 000 000 AltCTy 07/05/09 AltCBV 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 ActKy 10.2=SR ISS WHT at Serv. Minp.Bef.4 Nota Fiscal relevant modifications to the base price including ICMS   In this part.Trib 2 Subtrib.Trib MinPric R: Sub. e. Table 10-74: Call to tax calculation in the calculation procedure Step 310 320 321 322 400 K004 K007 K005 KF00 Cntr Ctyp Description **** Modify Base **** Material Customer Customer/Material Freight Fro m 001 000 000 000 000 To 00 0 00 0 00 0 00 0 00 0 Req t 000 002 002 002 002 Sta t X Pr t AltCTy 000 000 000 000 000 AltCB V 000 000 000 000 000 ERS ERS ERS ERF ActKy Condition-Based Tax Calculation in R/3 For Brazil 89 .Cal at Serv. ISS Min WHT at Serv. but are specific to individual requirements.

7.5 Tax recalculation on the modified amount including ICMS (Step 2)  The modification amounts that have been applied in the previous part require a recalculation of the taxes. The condition types and internal codes are listed in sections 0 and 10. For each value.6 Results of Tax Calculation  The results of the tax calculation are retrieved in the next section of the calculation procedure. For these new condition types. Amnt BRSubTrib NF Fro m 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 To 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 Reqt 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 X X X X X X X X M Sta t X X X AltCTy 320 320 320 320 320 X 320 320 320 320 320 320 320 320 320 320 320 320 AltCB V 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 MW 3 MW3 MW1 MW3 MW2 MWS ActKy Condition-Based Tax Calculation in R/3 For Brazil 90 . a condition type is defined that serves to indicate the result in the pricing procedure results table. This coding is processed in the call to the condition value formula 320 as well (see section 6).7. corresponding internal codes are defined which are used in the coding to transfer the tax results back to the calculation procedure. Base BR SubTrib Fr. this time on the modified gross amount Table 10-75: Call to tax calculation in the calculation procedure Step 600 Cntr CTyp IBRX Description Brazil tax calc.7.SAP Online Help 07/05/09 10. Table 10-76: Results of tax calculation in the calculation procedure Step 610 612 614 616 617 618 620 622 624 626 628 630 636 638 640 642 644 Cntr CTyp BX10 BX11 BX12 BX13 BXZF BX14 BX15 BX16 BX20 BX21 BX22 BX23 BX40 BX41 BX42 BX43 BX44 Description BR ICMS Normal Base BR ICMS Exclude Base BR ICMS Other Base BR ICMS Amount BR ICMS Zona Franca BR ICMS Freight Base BR ICMS Freight Amnt BR ICMS Rate BR IPI Normal Base BR IPI Exclude Base BR IPI Other Base BR IPI Amount BR SubTrib Base BR SubTrib Amount BR SubTrib Fr. From 300 To 599 Reqt 002 Stat X Prt AltCTy 320 AltCBV 002 ActKy 10. respectively.

Base BR COFINS Amount BR COFINS Pauta Amt. Base BR PIS Amount BR PIS Pauta Amt.SAP Online Help Step Cntr CTyp Description Rate 645 646 647 648 650 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 672 675 677 679 680 683 BX45 BX46 BX50 BX51 BXPA BX60 BX61 BX64 BX65 BX6A BX6B BX6E BX6F BX51 BX62 BX63 BX6C BX6D BX6O BX70 BX71 BX72 BX7P BX7O BX80 BX81 BX82 BX8P BX8O BRSubTrib Basered1 BRSubTrib Basered2 BR ISS Base BR ISS Amount BR IPI Pauta Amount BR ISS Base Prov BR ISS ExBase Prov BR ISS WT Base Prov BR ISS WT ExBas Prov BR ISS Base Serv BR ISS ExBase Serv BR ISS WT Base Serv BR ISS WT ExBas Serv BR ISS Amount BR ISS Amount Prov BR ISS WTAmount Prov BR ISS Amount Serv BR ISS WTAmount Serv BR ISS offset BR COFINS Base BR COFINS Excl. BR COFINS offset BR PIS Base BR PIS Excl. BR PIS offset 679 679 1 1 X 668 668 1 X X 320 320 320 320 1 X 660 664 1 1 1 1 1 1 X X 320 320 320 320 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 X X X X 320 320 320 320 320 X X X X X X X X 000 000 000 000 000 320 320 320 320 320 320 320 320 320 320 320 320 320 Fro m To Reqt M Sta t AltCTy 07/05/09 AltCB V ActKy MW 4 Condition-Based Tax Calculation in R/3 For Brazil 91 .

ICMS on freight SD ISS at Provider not defined Cond type From 001 001 001 001 001 001 001 001 1 1 1 1 1 1 1 1 702 001 616 001 616 13 16 650 000 000 000 718 616 000 000 164 To 000 000 000 000 000 000 000 000 Reqt 000 000 000 000 000 000 000 000 X X X X X X X X Stat X X X X AltCTy 000 000 000 000 000 000 000 000 AltCBV 000 000 000 000 000 000 000 000 X X X X X X X X ActKy ISS WHT at Provider Cond type not defined ISS WHT Off. The part between step 730 and 998 can be used for additional conditions.Loc. The conditions ICMO and ISSO are the known ICMS ans ISS offset conditions. Cond type not defined ISS WHT Again Prov.e.7 Tax Code Conditions  The last section of the tax calculation procedure contains the tax code conditions. Cond type not defined ISS at Serv. In the SD procedure they are present only to provide a counterpart. e. i. cash discount or rounding difference conditions. The true postings are being done directly by the tax result conditions of the previous section. the conditions that you activate (100%) or deactivate (no record) by customizing the tax codes for the MM/FI calculation procedure. Cond type not defined ISS WHT at Serv.Loc. Table 10-77: Tax code conditions in the calculation procedure Step 700 702 704 706 708 710 712 714 715 715 715 715 715 715 715 715 719 720 720 730 720 740 ICMO ICMO ISSO ICMO DIFF 1 2 3 4 5 6 7 8 IPI3 ICM3 ISS3 ICZF IFR3 IFS3 ISSA ISSB ISSC ISSD ISSE ISSF ISSG ISSH Cntr CTyp Description **** Tax Code Conditions **** Tax Code Conditions: IPI from SD ICMS from SD Sub.SAP Online Help 07/05/09 10. Zona Fr. however they act as a dummy. Prov.7. SrvLoc Cond type not defined ISS WHT Again SrvLoc Cond type not defined Total Tax ICMS ST freight SD ICMS offset ICMS offset ICMS offset Rounding Off Condition-Based Tax Calculation in R/3 For Brazil 92 . from SD ISS from SD ICMS Disc.g. Cond type not defined ISS WHT Off.Trib.

WITHHOLDING TAXES ON GROSS BR General WHT Code Cond type not defined BR PIS WHT Code BR COFINS WHT Code BR CSLL WHT Code BR IR WHT Code BR ISS WHT Code WHT Due BR WHT Base Amount WHT Coll. Act.Code PIS WHT Rate PIS WHT Coll.Code Gen.C A. It can be configured in the following way: Table 10-78: St 10 10 10 C 1 2 3 CTyp ZPB0 ZPB1 ZPB2 Description Price w/o Taxes Price+ISS Price+PIS+COF Fro To M M S P S Req A. WHT Coll. WHT Rate Gen.Code CSLL WHT Rate CSLL WHT Coll.SAP Online Help Step 750 800 810 999 899 900 901 902 903 904 905 906 910 915 916 920 921 925 926 930 931 935 936 960 965 970 975 980 999 WGEC WPIC WCOC WCSC WIRC WISC DWHT BXWT BW01 BW02 BW11 BW12 BW21 BW22 BW31 BW32 BW41 BW42 BGEZ BPSZ BCOZ BCSZ BIRZ BI00 SKTO VPRS BI00 Cash Discount Cost Dummy Non-Statistic.Code COFINS WHT Rate COFINS WHT Coll.K Condition-Based Tax Calculation in R/3 For Brazil 93 .B.Code IR WHT Rate IR BR General WHT off BR PIS WHT Offset BR COFINS WHT offset BR CSLL WHT offset BR IR WHT offset Dummy for Tax 916 921 926 931 936 1 X 1 1 001 1 000 000 X 9 4 B 000 Cntr CTyp Description From To Reqt Stat AltCTy 07/05/09 AltCBV ActKy 4 X X 000 X X X X X X X X X X X X X X X In Doku PIS/ COFINS so enthalten The SD pricing procedure below is the new price supplement procedure RVABR2 which is introduced for the optional new price conditions.

SAP Online Help 10 40 40 40 40 4 1 2 3 4 ZPB3 RA00 RB00 RC00 RD00 Price+ISS+PIS+COF % Discount from Net Discount (Value) Quantity Discount Weight Discount 07/05/09 10.8 Internal Condition Codes  Description Calculate 2nd pass including ICMS Marks line where tax calculation is called Check Caller = PO COFINS Tax Base COFINS Pauta Rate COFINS Tax Rate Sum of freight amounts relevant for SubTrib ICMS Reduced Base Rate ICMS Complement. Tax Exemption ICMS Code: Convênio 100 ICMS exempt Customer ICMS Discount for Tax Free Zones ICMS on Freight ICMS on Freight Rate SF=ST ICMS Tax Law ICMS Base in Excluded Base. If Not ICMS-Relevant ICMS Code: Other Base ICMS Tax Rate ICMS Rate SF=ST ICMS Exception Rate for SubTrib IPI Reduced-Base Rate Sum of discounts/surcharges not relevant for IPI base IPI exempt Customer IPI Tax Law IPI Base in Excluded Base. Tax Base ICMS Complement. If Not IPI-Relevant IPI Code: Other Base IPI IPI ICST IPI ICMS ICMS ICMS ICMS ICMS ICMS COFI COFI COFI TaxGrp Table 10-79: Internal condition codes Internal TC Code CALCULATE_INCL_2ND CALCULATE_TAX CALLER_PO COFINSBASE COFINSPAUTA COFINSRATE FREIGHTSUBTRIB ICMSBASE ICMSCOMPBASE ICMSCOMPEXEMPT ICMSCONV100 ICMSCUSTEXEMPT ICMSDISCOUNT ICMSFREIGHT ICMSFREIGHT_INTRA ICMSLAW ICMSNULLEXEMPT ICMSOTHER ICMSRATE ICMSRATE_INTRA ICMSSUBTRIB IPIBASE IPIBASEMOD IPICUSTEXEMPT IPILAW IPINULLEXEMPT IPIOTHER Condition-Based Tax Calculation in R/3 For Brazil 94 .

: COFINS Offset due to tax incl. 07/05/09 IPI IPI ISS ISS ISS Minimum Value For Withholding Tax at Provider ISS Minimum Value For Withholding Tax at Service Loc. ISS Tax Rate ISS Rate at Provider ISS Rate at Service Loc. ISS Tax-Relevant Location at Provider ISS Tax-Relevant Location at Service Loc.: IPI exclude base Result of tax calc.: ICMS Zona Franca Discount Result of tax calc.: ICMS on freight amount Result of tax calc.: ICMS exclude base Result of tax calc.: ICMS complement amount Result of tax calc. ISS Indicator: Withholding Tax at Provider ISS Indicator: Withholding Tax at Service Loc.: ICMS amount Result of tax calc. Result of Tax Calculation: COFINS Normal Tax Amount Result of Tax Calculation: COFINS Base Amount Result of Tax Calculation: COFINS Exclude Base Amount Result of tax calc.: IPI other base ISS ISS ISS ISS ISS Condition-Based Tax Calculation in R/3 For Brazil 95 .T.: ICMS on freight base amount Result of tax calc.: COFINS Pauta rate Result of tax calc.SAP Online Help IPIPAUTA IPIRATE ISSBASE_PR ISSBASE_SE ISSLAW_PR ISSLAW_SE ISSMINVALWT_PR ISSMINVALWT_SE ISSRATE ISSRATE_PR ISSRATE_SE ISSTAXRELLOC_PR ISSTAXRELLOC_SE ISSWITHHOLD_PR ISSWITHHOLD_SE NF_COFINS_AMOUNT NF_COFINS_BASE NF_COFINS_EBAS NF_COFINS_OFFSET NF_COFINS_PAUTA_RATE NF_ICMS_AMOUNT NF_ICMS_COMP_AMOUNT NF_ICMS_COMP_BASE NF_ICMS_COMP_RATE NF_ICMS_EBAS NF_ICMS_FREIGHT_AMOUNT NF_ICMS_FREIGHT_BASE NF_ICMS_NBAS NF_ICMS_OBAS NF_ICMS_RATE NF_ICMS_ZONAFRANCA NF_IPI_AMOUNT NF_IPI_EBAS NF_IPI_NBAS NF_IPI_OBAS IPI Pauta Rate IPI Tax Rate ISS Base at Provider ISS Base at Service Loc. ISS Law at Provider ISS Law at Service Loc.: ICMS rate (normal/freight/S.) Result of tax calc. in price Result of tax calc.: ICMS normal base Result of tax calc.: IPI amount Result of tax calc.: IPI normal base Result of tax calc.: ICMS complement base amount Result of tax calc.: ICMS complement rate Result of tax calc.: ICMS other base Result of tax calc.

: ISS Law Result of tax calc.Trib.: Sub.: ISS amount at location of service Result of tax calc. of service Result of tax calc.Trib.Trib.: ISS amount at location of provider Result of tax calc. base at loc.: ISS normal base at location of service Result of tax calc.: Sub.: PIS Pauta rate Result of tax calc.: ISS WT excl. base at location of provider Result of tax calc.: ISS WT amount at location of service Result of tax calc.: Sub. base at location of service Result of tax calc.: IPI offset base for IPI split vendor Result of tax calc.: ISS WT normal base at loc. of service Result of Tax Calculation: PIS Normal Tax Amount Result of Tax Calculation: PIS Base Amount Result of Tax Calculation: PIS Exclude Base Amount Result of tax calc.: ISS Offset due to tax included in price Result of tax calc.: ISS normal base at location of provider Result of tax calc. of provider Result of tax calc. on freight base amount PIS Tax PIS Base PIS Pauta Rate PIS PISPAUTA Condition-Based Tax Calculation in R/3 For Brazil 96 .: IPI offset amount for IPI split vendor Result of tax calc.: ISS amount Result of tax calc.: ISS base amount Result of tax calc. rate on nota fiscal Result of tax calc.: ISS WT amount at location of provider Result of tax calc.: Sub.Trib.SAP Online Help NF_IPI_OFFSET_AMOUNT NF_IPI_OFFSET_BASE NF_IPI_PAUTA_RATE NF_ISS_AMOUNT NF_ISS_BASE NF_ISS_AMOUNT_PROV NF_ISS_AMOUNT_SERV NF_ISS_EBAS_PROV NF_ISS_EBAS_SERV NF_ISS_LAW NF_ISS_NBAS_PROV NF_ISS_NBAS_SERV NF_ISS_OFFSETS NF_ISS_WTAMOUNT_PROV NF_ISS_WTAMOUNT_SERV NF_ISS_WT_EBAS_PROV NF_ISS_WT_EBAS_SERV NF_ISS_WT_NBAS_PROV NF_ISS_WT_NBAS_SERV NF_PIS_AMOUNT NF_PIS_BASE NF_PIS_EBAS NF_PIS_OFFSET NF_PIS_PAUTA_RATE NF_SUBTRIB_AMOUNT NF_SUBTRIB_BASE NF_SUBTRIB_BASERED1 NF_SUBTRIB_BASERED2 NF_SUBTRIB_NFRATE NF_SUB_FREIGHT_AMOUNT NF_SUB_FREIGHT_BASE PISBASE 07/05/09 Result of tax calc.: ISS WT excl. base amount Federal base reduction Rate for Subtrib State Base reduction Rate for Subtrib Result of tax calc. of provider Result of tax calc.: PIS Offset due to tax incl.: IPI Pauta rate Result of tax calc. on freight amount Result of tax calc.: Sub.Trib. amount Result of tax calc. in price Result of tax calc. base at loc.: ISS excl.: ISS excl.: ISS WT normal base at loc.

SAP Online Help PIS Tax PIS Rate Discount from PO Freight from PO 07/05/09 PISRATE PO_DISCOUNT PO_FREIGHT PO_SUBTRIBBASE SUBTRIBBASE1 SUBTRIBBASE2 SUBTRIBFIXPRICE SUBTRIBICMS SUBTRIBMINFACTOR SUBTRIBMINPRICE SUBTRIBSURCHARGE SUBTRIBSURCHIN SUBTRIBSURTYPE TAXFREEREGION TXSDCICMS TXSDCICMSFREIGHT TXSDCINDUS TXSDCIPI TXSDCISS TXSDCSUBTRIB TXSDCSUBTRIBFREIGHT Sum of discounts/surcharges modifying SubTrib base Substituição Tributária: Reduced Base 1 Substituição Tributária: Reduced Base 2 Substituição Tributária: Fixed Price Substituição Tributária: ICMS Reduction Substituição Tributária: Minimum Price Factor Substituição Tributária: Minimum Price Substituição Tributária: Surcharge Rate Substituição Tributária: Compare Minprice before Surcharge Substituição Tributária: Calculation Rule Tax Free Region Indicator (Zona Franca) SD Tax Code: Calculate ICMS SD Tax Code: Calculate ICMS on Freight SD Tax Code: Material Usage Indicator SD Tax Code: Calculate IPI SD Tax Code: Calculate ISS SD Tax Code: Calculate Substituição Tributária SD Tax Code: Calculate Substituição Tributária on Freight ICST ICST ICST ICST ICST ICST ICST ICST ICST Changes due t0 MP 135 Internal TC Code COFINSBASE COFINSPAUTA COFINSRATE ISSBASE_PR ISSBASE_SE ISSLAW_PR ISSLAW_SE ISSMINVALWT_PR ISSMINVALWT_SE ISSRATE_PR ISSRATE_SE Description COFINS Tax Base COFINS Pauta Rate COFINS Tax Rate ISS Base at Provider ISS Base at Service Loc. ISS Law at Provider ISS Law at Service Loc. ISS ISS ISS TaxGrp COFI COFI COFI ISS Condition-Based Tax Calculation in R/3 For Brazil 97 . ISS Rate at Provider ISS Rate at Service Loc. ISS Minimum Value For Withholding Tax at Provider ISS Minimum Value For Withholding Tax at Service Loc.

: PIS Pauta rate PIS Tax Base PIS Pauta Rate PIS Tax Rate Calculate COFINS Calculate PIS Calculate Withholding Taxes Official Collection Code .SAP Online Help ISSTAXRELLOC_PR ISSTAXRELLOC_SE ISSWITHHOLD_PR ISSWITHHOLD_SE NF_COFINS_AMOUNT NF_COFINS_BASE NF_COFINS_EBAS NF_COFINS_OFFSET NF_COFINS_PAUTA_RATE NF_ISS_AMOUNT_PROV NF_ISS_AMOUNT_SERV NF_ISS_EBAS_PROV NF_ISS_EBAS_SERV NF_ISS_LAW NF_ISS_NBAS_PROV NF_ISS_NBAS_SERV NF_ISS_OFFSETS NF_ISS_WTAMOUNT_PROV NF_ISS_WTAMOUNT_SERV NF_ISS_WT_EBAS_PROV NF_ISS_WT_EBAS_SERV NF_ISS_WT_NBAS_PROV NF_ISS_WT_NBAS_SERV NF_PIS_AMOUNT NF_PIS_BASE NF_PIS_EBAS NF_PIS_OFFSET NF_PIS_PAUTA_RATE PISBASE PISPAUTA PISRATE TXSDCCOFINS TXSDCPIS TXSDCWHT WHTCOLL_COFINS WHTCOLL_CSLL WHTCOLL_GEN WHTCOLL_IR WHTCOLL_PIS WHTRATE_COFINS ISS Tax-Relevant Location at Provider ISS Tax-Relevant Location at Service Loc. base at loc. of service Result of tax calc.: COFINS Offset due to tax incl.: ISS amount at location of provider Result of tax calc. base at loc.: ISS WT amount at location of provider Result of tax calc.: ISS excl.: PIS Offset due to tax incl.: ISS WT excl.COFINS Official Collection Code . in price Result of tax calc.: ISS normal base at location of provider Result of tax calc.: ISS WT normal base at loc.: ISS excl.: ISS Offset due to tax included in price Result of tax calc.: ISS amount at location of service Result of tax calc.: ISS Law Result of tax calc. in price Result of tax calc.: ISS normal base at location of service Result of tax calc. ISS Indicator: Withholding Tax at Provider ISS Indicator: Withholding Tax at Service Loc.: ISS WT amount at location of service Result of tax calc. 07/05/09 ISS ISS Result of Tax Calculation: COFINS Normal Tax Amount Result of Tax Calculation: COFINS Base Amount Result of Tax Calculation: COFINS Exclude Base Amount Result of tax calc.: ISS WT normal base at loc. base at location of service Result of tax calc.: ISS WT excl. base at location of provider Result of tax calc.General Official Collection Code – IR Official Collection Code – PIS COFINS Withholding Tax Rate WHT WHT WHT WHT WHT WHT PIS PIS PIS Condition-Based Tax Calculation in R/3 For Brazil 98 . of provider Result of tax calc.: COFINS Pauta rate Result of tax calc. of service Result of Tax Calculation: PIS Normal Tax Amount Result of Tax Calculation: PIS Base Amount Result of Tax Calculation: PIS Exclude Base Amount Result of tax calc. of provider Result of tax calc.CSLL Official Collection Code .

SAP Online Help WHTRATE_CSLL WHTRATE_GEN WHTRATE_IR WHTRATE_PIS CSLL Withholding Tax Rate General Withholding Tax Rate IR Withholding Tax Rate PIS Withholding Tax Rate 07/05/09 WHT WHT WHT WHT 10.9 Assignment of Internal Codes to Condition Types   App V TX V TX TX V TX V TX V TX TX V TX V TX V TX V V TX V TX V TX TX V TX V TX V CTyp IBRX BX01 ICMI BXPO BCO2 BCO2 BCOP BCOP BCO1 BCO1 BIS2 BIC1 ICBS BCI1 ICCB BCI2 ICCX B100 I100 ICXC ICZF IDZF BIF0 ICFR BIFH BLIC ICLW BICX IC0X BIC2 ICOB Table 110-80: Assignment of condition types to internal codes Internal TC Code CALCULATE_INCL_2ND CALCULATE_TAX CALCULATE_TAX CALLER_PO COFINSBASE COFINSBASE COFINSPAUTA COFINSPAUTA COFINSRATE COFINSRATE ISSBASE_PR ICMSBASE ICMSBASE ICMSCOMPBASE ICMSCOMPBASE ICMSCOMPEXEMPT ICMSCOMPEXEMPT ICMSCONV100 ICMSCONV100 ICMSCUSTEXEMPT ICMSDISCOUNT ICMSDISCOUNT ICMSFREIGHT ICMSFREIGHT ICMSFREIGHT_INTRA ICMSLAW ICMSLAW ICMSNULLEXEMPT ICMSNULLEXEMPT ICMSOTHER ICMSOTHER Condition-Based Tax Calculation in R/3 For Brazil 99 .

SAP Online Help ICMSRATE ICMSRATE ICMSRATE_INTRA ICMSRATE_INTRA ICMSSUBTRIB ICMSSUBTRIB IPIBASE IPIBASE IPICUSTEXEMPT IPILAW IPILAW IPINULLEXEMPT IPINULLEXEMPT IPIOTHER IPIOTHER IPIPAUTA IPIPAUTA IPIRATE IPIRATE IPIRATE_MM ISSBASE_PR ISSBASE_SE ISSBASE_SE ISSLAW_PR ISSLAW_PR ISSLAW_SE ISSLAW_SE ISSMINVALWT_PR ISSMINVALWT_PR ISSMINVALWT_SE ISSMINVALWT_SE ISSRATE ISSRATE ISSRATE_PR ISSRATE_PR ISSRATE_SE ISSRATE_SE ISSTAXRELLOC_PR ISSTAXRELLOC_PR ISSTAXRELLOC_SE TX V TX V TX V TX V V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX BIC0 ICVA BICH ISIC BICS ISTD BIP1 IPBS IPXC BLIP IPLW BIPX IP0X BIP2 IPOB BIPP IPIP BIP0 IPVA IPI3 ISVC BISB ISVO BIS3 ISVD BISC ISVP BIS7 ISVH BISG ISVT BIS0 ISVA BIS1 ISVB BISA ISVN BIS5 ISVF BISE 07/05/09 Condition-Based Tax Calculation in R/3 For Brazil 100 .

SAP Online Help ISSTAXRELLOC_SE ISSWITHHOLD_PR ISSWITHHOLD_PR ISSWITHHOLD_SE ISSWITHHOLD_SE NF_COFINS_AMOUNT NF_COFINS_AMOUNT NF_COFINS_BASE NF_COFINS_BASE NF_COFINS_EBAS NF_COFINS_EBAS NF_COFINS_OFFSET NF_COFINS_OFFSET NF_COFINS_PAUTA_RATE NF_COFINS_PAUTA_RATE NF_ICMS_AMOUNT NF_ICMS_AMOUNT NF_ICMS_COMP_AMOUNT NF_ICMS_COMP_BASE NF_ICMS_COMP_RATE NF_ICMS_EBAS NF_ICMS_EBAS NF_ICMS_FREIGHT_AMOUNT NF_ICMS_FREIGHT_AMOUNT NF_ICMS_FREIGHT_BASE NF_ICMS_FREIGHT_BASE NF_ICMS_NBAS NF_ICMS_NBAS NF_ICMS_OBAS NF_ICMS_OBAS NF_ICMS_RATE NF_ICMS_RATE NF_ICMS_ZONAFRANCA NF_IPI_AMOUNT NF_IPI_AMOUNT NF_IPI_EBAS NF_IPI_EBAS NF_IPI_NBAS NF_IPI_NBAS NF_IPI_OBAS V TX V TX V TX V TX V TX V TX V TX V TX V TX TX TX TX V TX V TX V TX V TX V TX V V TX V TX V TX V TX ISVR BIS6 ISVG BISF ISVS BX72 BX72 BX70 BX70 BX71 BX71 BX7O BX7O BX7P BX7P BX13 BX13 BX31 BX30 BX32 BX11 BX11 BX15 BX15 BX14 BX14 BX10 BX10 BX12 BX12 BX16 BX16 BXZF BX23 BX23 BX21 BX21 BX20 BX20 BX22 07/05/09 Condition-Based Tax Calculation in R/3 For Brazil 101 .

SAP Online Help NF_IPI_OBAS NF_IPI_OFFSET_AMOUNT NF_IPI_OFFSET_BASE NF_IPI_PAUTA_RATE NF_IPI_PAUTA_RATE NF_ISS_AMOUNT NF_ISS_AMOUNT NF_ISS_AMOUNT_PROV NF_ISS_AMOUNT_PROV NF_ISS_AMOUNT_SERV NF_ISS_AMOUNT_SERV NF_ISS_BASE NF_ISS_BASE NF_ISS_EBAS_PROV NF_ISS_EBAS_PROV NF_ISS_EBAS_SERV NF_ISS_EBAS_SERV NF_ISS_NBAS_PROV NF_ISS_NBAS_PROV NF_ISS_NBAS_SERV NF_ISS_NBAS_SERV NF_ISS_OFFSETS NF_ISS_OFFSETS NF_ISS_WTAMOUNT_PROV NF_ISS_WTAMOUNT_PROV NF_ISS_WTAMOUNT_SERV NF_ISS_WTAMOUNT_SERV NF_ISS_WT_EBAS_PROV NF_ISS_WT_EBAS_PROV NF_ISS_WT_EBAS_SERV NF_ISS_WT_EBAS_SERV NF_ISS_WT_NBAS_PROV NF_ISS_WT_NBAS_PROV NF_ISS_WT_NBAS_SERV NF_ISS_WT_NBAS_SERV NF_PIS_AMOUNT NF_PIS_AMOUNT NF_PIS_BASE NF_PIS_BASE NF_PIS_EBAS V TX TX TX V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX BX22 BX25 BX24 BXPA BXPA BX51 BX51 BX62 BX62 BX6C BX6C BX50 BX50 BX61 BX61 BX6B BX6B BX60 BX60 BX6A BX6A BX6O BX6O BX63 BX63 BX6D BX6D BX65 BX65 BX6F BX6F BX64 BX64 BX6E BX6E BX82 BX82 BX80 BX80 BX81 07/05/09 Condition-Based Tax Calculation in R/3 For Brazil 102 .

SAP Online Help NF_PIS_EBAS NF_PIS_OFFSET NF_PIS_OFFSET NF_PIS_PAUTA_RATE NF_PIS_PAUTA_RATE NF_SUBTRIB_AMOUNT NF_SUBTRIB_AMOUNT NF_SUBTRIB_BASE NF_SUBTRIB_BASE NF_SUBTRIB_BASERED1 NF_SUBTRIB_BASERED1 NF_SUBTRIB_BASERED2 NF_SUBTRIB_BASERED2 NF_SUBTRIB_NFRATE NF_SUBTRIB_NFRATE NF_SUB_FREIGHT_AMOUNT NF_SUB_FREIGHT_AMOUNT NF_SUB_FREIGHT_BASE NF_SUB_FREIGHT_BASE PISBASE PISBASE PISPAUTA PISPAUTA PISRATE PISRATE PO_DISCOUNT PO_FREIGHT PO_SUBTRIBBASE SUBTRIBBASE1 SUBTRIBBASE1 SUBTRIBBASE2 SUBTRIBBASE2 SUBTRIBFIXPRICE SUBTRIBFIXPRICE SUBTRIBICMS SUBTRIBICMS SUBTRIBMINFACTOR SUBTRIBMINFACTOR SUBTRIBMINPRICE SUBTRIBMINPRICE V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX TX TX TX V TX V TX V TX V TX V TX V BX81 BX8O BX8O BX8P BX8P BX41 BX41 BX40 BX40 BX45 BX45 BX46 BX46 BX44 BX44 BX43 BX43 BX42 BX42 BPI2 BPI2 BPIP BPIP BPI1 BPI1 BDIS BFRE BSUB BST6 ISTB BST7 IST2 BST3 ISTF BST8 ISTC BSTF ISTN BST2 ISTM 07/05/09 Condition-Based Tax Calculation in R/3 For Brazil 103 .

SAP Online Help SUBTRIBSURCHARGE SUBTRIBSURCHARGE SUBTRIBSURCHIN SUBTRIBSURCHIN SUBTRIBSURTYPE SUBTRIBSURTYPE TAXFREEREGION TAXFREEREGION TXSDCICMS TXSDCICMSFREIGHT TXSDCINDUS TXSDCIPI TXSDCISS TXSDCCOFINS TXSDCPIS TXSDCSUBTRIB TXSDCSUBTRIBFREIGHT TXSDCWHT WHTCOLL_COFINS WHTCOLL_COFINS WHTCOLL_CSLL WHTCOLL_CSLL WHTCOLL_GEN WHTCOLL_GEN WHTCOLL_IR WHTCOLL_IR WHTCOLL_PIS WHTCOLL_PIS WHTRATE_COFINS WHTRATE_COFINS WHTRATE_CSLL WHTRATE_CSLL WHTRATE_GEN WHTRATE_GEN WHTRATE_IR WHTRATE_IR WHTRATE_PIS TX V TX V TX V TX V V V V V V V V V V V TX V TX V TX V TX V TX V TX V TX V TX V TX V TX BST0 ISTS BSTI ISTI BST1 ISTT BIZF DIZF DICM DICF DISI DIPI DISS DCOF DPIS DSUB DSUF DWHT BW21 BW21 BW31 BW31 BW01 BW01 BW41 BW41 BW11 BW11 BW22 BW22 BW32 BW32 BW02 BW02 BW42 BW42 BW12 07/05/09 Condition-Based Tax Calculation in R/3 For Brazil 104 .

Off. Condition-Based Tax Calculation in R/3 For Brazil 105 . on freight SD IPI clearing IPI Ind.5). In SAP’s standard concept. the condition table is the same for all tax groups (see section 5.Trib.Off. Clear. from SD ICMS Discount Zona Franca ICMS on freight ICMS on freight from SD ICMS Sub.Trib. IPI NF zero line IPI Deductible IPI Non-deductible LPP * SAP does not deliver standard Customizing of dynamic tax exeptions. Non-deductible ICMS Sub. should you need to follow a different concept of Customizing access sequences you can specify different condition tables per tax group.10 Assignment of Tax Rate Tables to Condition Tables  Table10-81: Assignment of Brazilian tax tables to condition tables Table Name J_1BTAXCODEV J_1BTREGX J_1BTXCI1 J_1BTXDEF J_1BTXIC1 J_1BTXIC2 J_1BTXIC3 Tax Group Condition Table 3 394 349 392 382 jetzt 905 382 909 382 346 346 362 346 121 346 601 121 347 346 291 348 348 348 346 J_1BTXCOF J_1BTXIP1 J_1BTXIP2 J_1BTXIP3 any * Any J_1BTXISS J_1BTXIS1 J_1BTXIS3 any* Any except country default ( this is table 392) any* Any J_1BTXPIS J_1BTXSDC J_1BTXST1 J_1BTXST2 J_1BTXST3 J_1BTXWITH 912 911 any* any* 10. ICMS NF zero line ICMS Deductible ICMS Non-deductible ICMS from SD Industralization ICMS from SD Consumption ICMS on freight offset Complement of ICMS Complement of ICMS ICMS Complement offset ICMS Sub.Trib.Trib.Trib. If you create new tax groups you have to specify a new entry for each group you use. on freight ICMS Sub. We recommend to stay with the standard concept of one tax group per table. However.SAP Online Help 07/05/09 10.Clear.11 Definition of Tax Types  Table 110-812: Definition of Brazilian tax types TxTy IC1C IC1O ICM0 ICM1 ICM2 ICM3 ICM4 ICMF ICOP ICOT ICOX ICS1 ICS2 ICS3 ICZF IFR1 IFR3 IFS1 IFS3 IP1C IP1O IPI0 IPI1 IPI2 TxGr ICMS ICMS ICMS ICMS ICMS ICMS ICMS ICMS ICOP ICOP ICST ICST ICST ICMS ICFR ICFR ICFS ICFS IPI IPI IPI IPI IPI Description ICMS Clearing ICMS Ind. ICMS Sub.

offset NVV ISS from MM ISS from SD ISS from MM Offset LPP X X X X X X 07/05/09 Create Entries in J_1BAJ Table 110-83: Tax Type ICN3 ICOA ICOF ICON ICOO ICOS ICOU ICOV ICOW ICOZ ICSW ICSZ ICW3 IGEW IGEZ IGW3 IIRW IIRZ IPIS IPS3 IPSA IPSN IPSO IPSS IPSU IPSV IPSW IPSZ IPW3 WHPI PIS PIS PIS PIS PIS PIS PIS PIS WHPI WHT WHIR WHCO WHT WHCS Tax Group COFI COFI COFI COFI COFI COFI COFI COFI WHCO ---. offset ICMS Reim.SAP Online Help TxTy IPI3 IPI4 IRD1 IRD2 IRD3 IRD4 IRD5 IRD6 ISS2 ISS3 ISSO TxGr IPI IPI RBIC RBIC RBST RBST RBIC RBST ISS ISS ISS Description IPI from SD Industralization IPI from SD Consumption ICMS Reimbursement ICMS Reimbur.offset NVV SUBT Reim. offset SUBT Reimbursement SUBT Reimbur.im QPT 005 nicht enthalten Description COFINS Normal Tax COFINS Normal PO/GR COFINS Deductible COFINS Normal Tax COFINS Offset Tax Included COFINS Normal PO/GR COFINS COFINS Normal IV NVV COFINSOffset ICOS/ICOU COFINS WHT COFINS WHT Offset CSLL WHT CSLL WHT Offset COFINS Withholding TaxSD General WHT General WHT Offset General WHT SD IR WHT IR WHT Offset PIS Deductible PIS Normal Tax PIS Normal PO/GR PIS Normal Tax PIS Offset Tax Included PIS Normal PO/GR PIS Normal IV NVV PIS Offset IPSS / IPSU PIS WHT PIS WHT Offset PIS WHT SD WHT Offset X X X X X X X X X X X X Condition-Based Tax Calculation in R/3 For Brazil 106 .

SAP Online Help IRW3 ISA3 ISB3 ISE3 ISF3 ISSA ISSB ISSE ISSF ISSG ISW3 WHIR ISSP ISSP ISSS ISSS ISSP ISSP ISSS ISSS ISSP WHCS IR Withholding TaxSD ISS at Provider SD ISS WHT at Provider SD ISS at Service Loc SD ISS WHT at Service Loc SD ISS at Provider ISS WHT at Provider ISS at Service Loc ISS WHT at Service Loc ISS Offset CSLL Withholding Tax SD X X X X X X X 07/05/09   10.12 Nota Fiscal Mapping  Table10-84: Mapping of nota fiscal values (all) TxTy IC1C ICM0 ICM1 ICM2 ICM3 ICM4 ICMF ICOF ICON ICOP ICOW ICS1 ICS2 ICS3 ICSW ICZF IFR1 IFR3 IFS1 IFS3 IGEW IIRW BX16 BX16 BX16 BX16 BX16 BCO1 BCO1 BX32 BW22 BX44 BX44 BX44 BW32 BX16 BIF0 BIF0 BICH BICH BW02 BW42 Tax Rate BX16 Mapping Value Value Value Value Value Value Value 1 1 Value 1 Value Value Value 1 Value Rate Rate Rate Rate 1 1 BCOP BCOP Pauta Rate Mapping Value Value Value Value Value Value Value 0 0 Value 0 Value Value Value 0 Value Value Value Value Value 0 0 ICM1 ICM2 ICM3 ICM4 ICMF ICOF ICON ICOP ICOW ICS1 ICS2 ICS3 ICSW ICZF IFR1 IFR3 IFS1 IFS3 IGEW IIRW Tax Amount IC1C Mapping Value Value Value Value Value Value Value 0 0 Value 0 Value Value Value 0 Value Value Value Value Value 0 0 BXWT BXWT BXWT BX70 BX70 BX30 BXWT BX10 BX10 BX10 BX10 Tax Base BX10 Mapping Value Value Value Value Value Value Value 0 0 Value 0 Value Value Value 0 Value Value Value Value Value 0 0 BX71 BX71 Ex. Base BX11 BX11 BX11 BX11 BX11 BX11 Mapping Value Value Value Value Value Value Value 0 0 Value 0 Value Value Value 0 Value Value Value Value Value 0 0 BX14 BX14 BX42 BX42 BX40 BX40 BX40 Other Base BX12 BX12 BX12 BX12 BX12 BX12 Mapping Value Value Value Value Value Value Value 0 0 Value 0 Value Value Value 0 Value Value Value Value Value 0 0 BW01 BW41 BW31 BW21 Wht code Condition-Based Tax Calculation in R/3 For Brazil 107 .

SAP Online Help IPIS IPSN IPSW IP1C IPI0 IPI1 IPI2 IPI3 IPI4 ISSA ISSB ISSE BIP0 BIP0 BIP0 BIP0 BIS1 BIS1 BISA BPI1 BPI1 BW12 BIP0 1 1 1 Rate Value Rate Rate Rate Rate 1 1 1 BXPA BXPA BXPA BXPA BXPA BPIP BPIP 0 0 0 Rate Value Rate Rate Rate Rate 0 0 0 IPI1 IPI2 IPI3 IPI4 ISSA ISSB ISSE IPIS IPSN IPSW IP1C 0 0 0 Value Value Value Value Value Value 0 0 0 BX60 BX64 BX6A BX20 BX20 BX20 BX80 BX80 BXWT BX20 0 0 0 Value Value Value Value Value Value 0 0 0 BX21 BX21 BX21 BX21 BX21 BX21 BX61 BX65 BX6B BX81 BX81 0 0 0 Value Value Value Value Value Value 0 0 0 07/05/09 0 0 0 BX22 BX22 BX22 BX22 BX22 BX24 Value Value Value Value Value Value 0 0 0 Nicht in QPT einpfe lgbar !!! BW11 ISSF ISS2 ISS3 BISA BIS0 BIS0 1 Rate Rate 0 Value Value ISSF ISS2 ISS3 0 Value Value BX6E BX50 BX50 0 Value Value BX6F 0 Value Value 0 Value Value (SD only) TxTy Tax Rate Map Pauta Rate BX7P Map Tax Map Total Amount Base 0 0 0 0 0 BX8P 0 0 0 0 0 0 BX72 BW22 BW32 BW02 BW42 BX82 BW12 BX62 BX63 BX6C BX6D 0 0 0 0 0 0 0 0 0 0 0 BX70 BXWT BXWT BXWT BXWT BX80 BXWT BX60 BX64 BX6A BX6E Map Tax Base 0 0 0 0 0 0 0 0 0 0 0 BX70 BXWT BXWT BXWT BXWT BX80 BXWT BX60 BX64 BX6A BX6E Map Ex. Base 0 0 0 0 0 0 0 0 0 0 0 BX61 BX65 BX6B BX6F Map Other Base 0 0 0 0 0 0 0 0 0 0 0 Map WHT Code 0 0 0 0 0 0 0 0 0 0 0 BW11 BW21 BW31 BW01 BW41 ICON BCO1 1 ICOW BW22 1 ICSW BW32 1 IGEW BW02 1 IIRW BW42 1 IPSN BPI1 1 IPSW BW12 1 ISSA ISVB ISSB ISVB ISSE ISVN ISSF ISVN 1 1 1 1 Table110-87: Mapping of nota fiscal tax laws TxGr CTyp ICMS IPI ISSP ISSS BLIC BLIP BIS3 BISC Condition-Based Tax Calculation in R/3 For Brazil 108 .

Consumption: ICMS + ComInp. In the following sections./Sales Prod.: ICMS Out. Cons./Sales X Prod. Note: The tax codes described here refer to the condition-based tax calculation procedure TAXBRA. Tax Inp.13 Tax Codes  10. Tax Inp. Tax Outp.: No tax A1 A3 B0 B1 B3 C0 C1 C2 C3 C4 C5 CF I0 I1 I2 I3 I4 I5 I6 I7 I9 IE IF IG Out. Tax Inp. Prod. Tax Inp.T. ISS Inp.: ICMS + IPI In.: No tax Typ Outp. Indust. Cons. Consumpt. Tax + S./Sales Service ICMS ICMS IPI Text Text ex. Tax In.: ICMS + ICMS on Inp. Cons. Cons.: ICMS + IPI Out. Indust./Sales Prod. Tax Outp. Tax Outp.14) for all standard tax codes./Sales Consumpt. Indust. Indust. Indust.: ICMS + CompICMS Inp.: IPI In.T. Tax In. on Inp. Tax Inp. Table 110-88: Overview of standard tax codes Tax Description Code A0 Out. Indust.shows the Customizing of the view J_1BTAXCODEV (see also section 5. Consumpt. some tax codes have a different definition than the former tax codes used for TAXBRJ. it might be necessary to clone the existing tax codes and apply the modification to the cloned tax codes. In case it is required to use both CBT and the classic tax calculation in the same system.: No tax Out. Table 110. Indust.T. Indust. on Inp. Consumpt. Tax Inp. TC at GR I0 I1 I3 C0 C1 C3 SD TC I0 I1 I3 C0 C1 C3 In./Sales Prod. Tax In./Sales Prod. Cons./Sales Prod. Cons. Tax Freight Condition-Based Tax Calculation in R/3 For Brazil 109 . Tax Inp. To simplify the documentation only the active lines per tax codes are listed.T.: ICMS + S. + IPI In. Tax Input: Tax exempt transactions Inp. In.T.: ICMS + S. Indust. Indust. Tax Outp. Cons.: ICMS In.1 Standard Tax Codes   In the Brazilian localization tax codes are used to determine which type of taxes are calculated for a line item. Tax Inp. Tax freight) In. Consumpt.SAP Online Help 07/05/09 10./Sales Prod. + IPI In. Indust. Consumpt./Sales Prod./Sales Prod.: ICMS + IPI: Reselling In. Tax freight) Inp./Sales Prod. In.T.T. Cons.: ICMS (S. Consumpt.: ICMS (S. In this case it is also necessary to make sure that the correct set of tax codes is being applied in the respective transactions./Sales Prod. the usage of the material on the incoming side (MM). Consumpt. Consumpt. Tax Usage Prod. Tax + IPI In.: ICMS Out. Consumpt. Tax Inp. Therefore.: ICMS + S. + IPI: Reselling In.: ICMS + CompICMS Inp.13. Tax Outp. and how the taxes are posted in FI (separate line items or not). IC4 IP1 IC0 IC0 IC4 IC0 IC0 IC4 IC0 IC0 IC0 IC0 IC4 IC0 IC4 IC0 IC1 IC0 IC1 IC4 IC0 IC0 ISS IC4 IC0 IC0 IP1 IP0 IP1 IP1 IP0 IP1 IP1 IP1 IP0 IP0 IP2 IP1 IP1 IP1 IP1 IP0 IP1 IP0 IP0 IP0 ISS IP1 IP1 IP1 IPI ex.: ICMS + IPI In. Tax pICMS + S. Indust.: ICMS + CompICMS Inp. Indust. the condition records of these tax codes are listed. Cons.: No tax Inp./Sales Prod.: IPI Inp.

Tax Inp.Shipment G/R Inp. Type ICON ICOO Description COFINS NVV Normal Tax COFINS NVV Offset Tax Included Tax Group COFI COFI Acct. Key NVV NVV Table 110-90: activate PIS non-deductible: Active X X Cond.Indust.Invoice I/R Inp. Tax Consignment .SAP Online Help IN K0 K1 K2 K3 K5 K6 K8 K9 S0 SD SE SI SZ INSS 15% Future delivery purchasing I/R Future delivery G/R ./Sales Prod./Sales Prod./Sales Prod. Key NVV NVV Table 110-91: activate COFINS deductible: Condition-Based Tax Calculation in R/3 For Brazil 110 . Tax Output SD tax: ICMS Zona Outp. all taxes Future delivery I/R .1 Tax Codes Used in MM  Table 110-89: activate COFINS non-deductible: Active X X Cond.2 Withholding Tax Codes  For withholding tax law change activate the following existing tax codes or create new ones: 10. all tax Consignment . Tax Franca   10.2. Tax Prod.Trib. Output SD: Tax exempt transOutp.13./Sales Prod./Sales Prod. Tax ICMS/IPI/Sub. Type IPSN IPSO Description PIS NVV Normal Tax PIS NVV Offset Tax Included Tax Group PIS PIS Acct. Tax actions Output SD tax: ISS Outp. Tax Indust.13. Tax X INS IC0 IC5 IC1 IC0 IC0 IC5 IC5 IC5 IC4 IC1 IC4 ISS Prod. Tax Output SD tax: Outp./Sales Inp./Sales Prod./Sales Prod./Sales Prod./Sales IC1 INS IP2 IP0 IP1 IP0 IP0 IP2 IP2 IP1 IP1 IP0 IP1 ISS IP0 07/05/09 Future delivery purchasing G/R Inp./Sales Prod./Sales Prod. Tax chasing I/R Output SD tax: No tax Outp. Tax Inp. Tax Future delivery Resale G/R – Inp. Tax Inp. all tax Future delivery Resale purInp.Indust.

Type ICOF ICOV ICOS ICOU ICOA Description COFINS Deductible COFINSOffset ICOS/ICOU COFINS Normal PO/GR COFINS Normal IV NVV COFINS Normal PO/GR Tax Group COFI COFI COFI COFI COFI Acct.SAP Online Help Active X X X X X Cond. Key VST PI3 PI3 NVV X IPSA PIS Normal PO/GR COFI PI3 Table 110-92: activate withholding taxes: Active X X X X X X X X X X Cond. Key VST CO3 CO3 NVV CO3 07/05/09 Table 110-92: activate PIS deductible: Active X X X X Cond. Key WTC NVV WTP NVV WTS NVV WTI NVV WTG NVV Table 110-93: activate ISS New 2004: Condition-Based Tax Calculation in R/3 For Brazil 111 . Type IPIS IPSV IPSS IPSU Description PIS Deductible PIS Offset IPSS / IPSU PIS Normal PO/GR PIS Normal IV NVV Tax Group PIS PIS COFI COFI Acct. Type ICOW ICOZ IPSW IPSZ ICSW ICSZ IIRW IIRZ IGEW IGEZ Description COFINS WHT COFINS WHT Offset PIS WHT PIS WHT Offset CSLL WHT CSLL WHT Offset IR WHT IR WHT Offset General WHT General WHT Offset WHT WHIR WHCS WHPI Tax Group WHCO Acct.

3 Tax Codes for Non­Taxable Transactions  For non-taxable transactions special tax codes have to be defined on company code level.4 Tax codes for Incoming Movements ­ Industrialization  For each of the industrialization tax codes the field Usage of the Brazilian tax code enhancements (see Table 110-) has to be set to Prod. Type IPI0 ICM0 Description IPI NF Zero Line ICMS NF Zero Line Tax Group IPI ICMS Acct.13. Table 110-96: Tax code I0: In.13. Tax Group ISSP ISSP ISSS ISSS Acct. ISS WHT at Service Loc. Key VST VST 10. Type IPI0 ICM0 Description IPI NF Zero Line ICMS NF Zero Line Tax Group IPI ICMS Acct. Key VST VST Table1 10-95: Tax code SE: Output SD: Tax exempt transactions Active X X Cond. Key NVV ISW NVV ISW 07/05/09   10.SAP Online Help Active X X X X Cond. Type IPI0 ICM0 Description IPI NF Zero Line ICMS NF Zero Line Tax Group IPI ICMS Acct.: No tax Active X X Cond. In the properties of these tax codes the field Relevant to tax must be set to 2.13./Sales. Type ISSA ISSB ISSE ISSF Description ISS at Provider ISS WHT at Provider ISS at Service Loc. 10. Table1 10-94: Tax code IE: Input: Tax exempt transactions Active X X Cond.2. Indust. Key VST VST Condition-Based Tax Calculation in R/3 For Brazil 112 .2  Tax Codes used in SD (View J_1BTXSDCV)  Activate additional or on newly taxes for SD tax codes by flagging the relevant taxes on the SD tax codes.

: ICMS Active X X Cond. Indust.: ICMS + IPI Active X X X Cond. Type ICM0 IPI1 IPI4 Description ICMS NF Zero Line IPI Deductible IPI Vendor Split Tax Group ICMS IPI IPI Acct. Indust.Trib.T.SAP Online Help Table 110-137: Tax code I1: In. + IPI Active X X X X Cond.: ICMS + S. Type IPI1 IPI4 ICM1 Description IPI Deductible IPI Vendor Split ICMS Deductible Tax Group IPI IPI ICMS Acct. Indust. Key VS1 NVV VS2 Table 110-100: Tax code I4: In.: ICMS + S. Key VST VS1 NVV Table110-102: Tax code I6: In. Type IPI0 ICM1 ICS1 Description IPI NF Zero Line ICMS Deductible ICMS Sub. Key VST VS2 VS3 Table 110-99: Tax code I3: In. Key VS1 NVV VS2 VS3 Table 110-101: Tax code I5: In.: IPI Active X X X Cond. Type IPI0 ICM1 Description IPI NF Zero Line ICMS Deductible Tax Group IPI ICMS Acct.T. Type IPI1 IPI4 ICM1 ICS1 Description IPI Deductible IPI Vendor Split ICMS Deductible ICMS Sub. Key VST VS2 07/05/09 Table 110-98: Tax code I2: In. Active X X X Cond. Type ICM1 IPI2 Description ICMS Deductible IPI Non-deductible Tax Group ICMS IPI Acct. Key VS2 NVV Condition-Based Tax Calculation in R/3 For Brazil 113 . Indust. Indust. Tax Group IPI ICMS ICST Acct.: ICMS + IPI: Reselling Active X X Cond. Indust. Tax Group IPI IPI ICMS ICST Acct.Trib.

Key VST NVV ICP ICX Table 110-106: Tax code C2: In. Cons. Consumption: ICMS + CompICMS + S.T. Indust. Non-deductible Complement of ICMS Complement of ICMS Tax Group IPI ICMS ICST ICOP Acct. Type IPI0 ICM2 ICS2 ICOP ICOX Description IPI NF Zero Line ICMS Non-deductible ICMS Sub.: ICMS + S. Type IPI0 ICM2 ICOP ICOX Description IPI NF Zero Line ICMS Non-deductible Complement of ICMS Complement of ICMS Tax Group IPI ICMS ICOP Acct.: No tax Active X X Cond. Type ICM1 ICS1 IPI2 Description ICMS Deductible ICMS Sub.SAP Online Help Table 110-103: Tax code I7: In.: ICMS + CompICMS Active X X X X Cond. Key VST VST Table 10-105: Tax code C1: In.Trib.13.T. Active X X X X X Cond.5 Tax Codes for Incoming Movements ­ Consumption  For each of the industrialization tax codes the field Usage of the Brazilian tax code enhancements has to be set to Consumption.Trib. Key VS2 VS3 NVV 07/05/09 10. Table 10-104: Tax code C0: In. + IPI: Reselling Active X X X Cond. Type IPI0 ICM0 Description IPI NF Zero Line ICMS NF Zero Line Tax Group IPI ICMS Acct. IPI Non-deductible Tax Group ICMS ICST IPI Acct. Cons. Key VST NVV NVV ICP ICX Condition-Based Tax Calculation in R/3 For Brazil 114 .

Key NVV NVV ICP ICX 07/05/09 Table 110-108: Tax code C4: In.Trib. Table 10-110: Tax code IF: Inp. on Freight  For the processing of ICMS Sub. a different tax code must be used (industrialization / consumption). + IPI Active X X X X X Cond. Indust.6 Tax Codes for Incoming Movements ­ ICMS Sub.: IPI Active X X Cond. Type ICM0 IPI2 Description ICMS NF Zero Line IPI Non-deductible Tax Group ICMS IPI Acct.Trib.T. on freight) Active X X X Cond. Cons. Key VST VS2 IC1 Condition-Based Tax Calculation in R/3 For Brazil 115 . Cons. Non-deductible Complement of ICMS Complement of ICMS Tax Group IPI ICMS ICST ICOP Acct. on freight special tax codes are necessary to support the required posting logic. Type IPI2 ICM2 ICS2 ICOP ICOX Description IPI Non-deductible ICMS Non-deductible ICMS Sub.: ICMS (S. Key VST NVV 10. Type IPI2 ICM2 ICOP ICOX Description IPI Non-deductible ICMS Non-deductible Complement of ICMS Complement of ICMS Tax Group IPI ICMS ICOP Acct.13.SAP Online Help Table 110-107: Tax code C3: In.: ICMS + CompICMS + IPI Active X X X X Cond.Trib.: ICMS + CompICMS + S. The calculation and posting of the tax is the same for both tax codes.T. Cons. Type IPI0 ICM1 ICMF Description IPI NF Zero Line ICMS Deductible ICMS on freight offset Tax Group IPI ICMS ICMS Acct. Depending on the usage of the respective material. Key NVV NVV NVV ICP ICX Table 10-109: Tax code C5: In.

Tax Group IPI ICMS ICMS Acct.T. ICMS Ind. Tax Group IPI ICMS IPI ICMS Acct. on freight) Active X X X Cond. all taxes Active X X X X Cond. Key VST VS2 ICC Table 110-114: Tax code K1: Future delivery purchasing I/R Active X X Cond.13. Type IPI1 ICM1 IP1O IC1O Description IPI Deductible ICMS Deductible IPI Ind.Clear. Type IPI1 IC1C Description IPI Deductible ICMS Clearing Tax Group IPI ICMS Acct.: ICMS + ICMS on Freight Active X X X Cond. Key VST VS2 VS3 07/05/09 Table 110-112: Tax code CF: Inp. Type IPI0 ICM1 IC1O Description IPI NF Zero Line ICMS Deductible ICMS Ind. Cons. Clear.7 Tax  Codes  for  Incoming  Movements  ­  Future  Delivery  Purchasing  /  Consignment  Table 110-113: Tax code K0: Future delivery purchasing G/R Active X X X Cond.: ICMS (S.Indust.SAP Online Help Table 110-111: Tax code IG: Inp. Key VS1 ICC Table 110-115: Tax code K2: Future delivery G/R . Type IPI0 ICM1 ICMF Description IPI NF Zero Line ICMS Deductible ICMS on freight offset Tax Group IPI ICMS ICMS Acct. Key VST VS2 IC1 10. Clear. Type IPI0 ICM1 IFR1 Description IPI NF Zero Line ICMS Deductible ICMS on freight Tax Group IPI ICMS ICFR Acct.Off. Off. Indust. Off. Key VS1 VS2 IPC ICC Condition-Based Tax Calculation in R/3 For Brazil 116 .

Type ICM1 IC1O IPI2 Description ICMS Deductible ICMS Ind.Invoice I/R Active X X Cond. ISS Active X Cond. Clear. Key MW4 Condition-Based Tax Calculation in R/3 For Brazil 117 . Type IPI1 ICM1 IP1O IC1O Description IPI Deductible ICMS Deductible IPI Ind. Type IC1C IPI2 Description ICMS Clearing IPI Non-deductible Tax Group ICMS IPI Acct. Type IP1C IC1C Description IPI clearing ICMS Clearing Tax Group IPI ICMS Acct. all tax Active X X Cond.SAP Online Help Table 110-116: Tax code K3: Future delivery I/R . Key VS2 ICC NVV Table 110-120: Tax code K9: Future delivery Resale purchasing I/R Active X X Cond.8 Tax Codes for Incoming Movements ­ Services ­ ISS and INSS  For the incoming services tax code the field ‘Service’ of the Brazilian tax code enhancements has to be marked.Indust. Key VS1 VS2 IPC ICC Table 110-118: Tax code K6: Consignment . Table110-121: Tax code I9: In. Off. Off. Key ICC NVV 10.Off.Shipment G/R Active X X X X Cond. ICMS Ind. all tax Active X X X Cond. IPI Non-deductible Tax Group ICMS ICMS IPI Acct. Clear.Clear. Key IPC ICC 07/05/09 Table 110-117: Tax code K5: Consignment . Key IPC ICC Table 110-119: Tax code K8: Future delivery Resale G/R .Indust. Tax Group IPI ICMS IPI ICMS Acct. Type ISS3 Description ISS from SD Tax Group ISS Acct.13. Type IP1C IC1C Description IPI clearing ICMS Clearing Tax Group IPI ICMS Acct.

In SD the usage of the product by the customer is always taken from the Brazil-specific SD tax code in the sales order item. Type ICM3 ICS3 ICZF Description ICMS from SD Industralization ICMS Sub. Since the tax code maintenance in transaction J1BTAX only allows activating or deactivating conditions. Type INSS INSX Description INSS Incoming INSS offset Tax Group Acct. Posted in SD  For each of these tax codes the field Usage of the Brazilian tax code enhancements has to be set to Production/Sales as a default. Key VST INX 10. from SD Tax Group IPI ICMS ICST Acct. Type IPI0 ICM0 Description IPI NF Zero Line ICMS NF Zero Line Tax Group IPI ICMS Acct. FI condition records can be maintained. Key MW1 MW2 MW3 Table 110-124: Tax code SZ: Output SD tax: ICMS Zona Franca Active X X X Cond. Key MW2 MW3 ICZ Table110-14: Tax code S0: Output SD tax: No tax Active X X Cond. Also a record of 100% for the INSS offset condition INSX must be created manually. Key MW4 Condition-Based Tax Calculation in R/3 For Brazil 118 . use transaction FV12. Type ISS3 Description ISS from SD Tax Group ISS Acct. Table 110-123: Tax code SD: Output SD tax: ICMS/IPI/Sub.9 Tax Codes for Outgoing Movements ­ Ind. Active X X X Cond.Trib. which means creating a record with rate 100% or deleting a record.Trib.13. from SD ICMS Discount Zona Franca Tax Group ICMS ICST ICMS Acct.SAP Online Help 07/05/09 For INSS the tax code must contain the proper tax rate (here: 15% INSS). Type IPI3 ICM3 ICS3 Description IPI from SD Industralization ICMS from SD Industralization ICMS Sub. Key VST VST For the outgoing services tax code the field ‘Service’ of the brazilian tax code enhancements has to be marked. to display FV13.Trib. + Cons. In this transaction. the condition records for INSS have to be created with transaction FV11. Table 110. Table 10-15: Tax code SI: Output SD tax: ISS Active X Cond.122: Tax code IN: INSS 15% Rate 15% 100% Cond. To change condition records.

Cons. Indust. Key VST MW2 Table 10-18: Tax code A3: Out. Type IPI0 ICM3 Description IPI NF Zero Line ICMS from SD Industralization Tax Group IPI ICMS Acct. For incoming movements the normal codes ‘I*’ and ‘C*’ can be used.  For the MM-IM transfer postings the following tax codes can be used for outgoing movements. Indust. Key MW1 MW2 10.: No tax Active X X Cond. Cons. Type IPI0 ICM0 Description IPI NF Zero Line ICMS NF Zero Line Tax Group IPI ICMS Acct.: ICMS Active X X Cond. Key VST VST Table 10-17: Tax code A1: Out. Key MW1 MW2 Table 10-19: Tax code B0: Out. Key VST MW2 Table 10-21: Tax code B3: Out. Type IPI3 ICM3 Description IPI from SD Industralization ICMS from SD Industralization Tax Group IPI ICMS Acct. Key VST VST Table 10-20: Tax code B1: Out.10 Tax Codes for Transfer Postings ­ Outgoing Movements ­ Ind.SAP Online Help 07/05/09 10. Cons. Type IPI3 ICM3 Description IPI from SD Industralization ICMS from SD Industralization Tax Group IPI ICMS Acct. Table 10-16: Tax code A0: Out. + Cons.14 Customizing of Extended Withholding Tax  Condition-Based Tax Calculation in R/3 For Brazil 119 .: ICMS Active X X Cond. Indust. Type IPI0 ICM0 Description IPI NF Zero Line ICMS NF Zero Line Tax Group IPI ICMS Acct.13. Type IPI0 ICM3 Description IPI NF Zero Line ICMS from SD Industralization Tax Group IPI ICMS Acct.: ICMS + IPI Active X X Cond.: No tax Active X X Cond.: ICMS + IPI Active X X Cond.

3 Withholding Tax  Codes  Percentage subject to tax: 100.SAP Online Help ---.14.14.1 Withholing Tax Types at Payment  Base amount Rounding rule Cash Discount Post w/tax amount No accumulation W/tax base manual Manual w/tax amount No cert numbering Base amount Withholding tax amount No central invoice Minimum Check at item level =X =X = W/tax code level = W/tax code level =X = Modified Tax Amount = W/tax comm round = C/disc pre W/tx =X W/Tax Type CP GP PP RP SP Description COFINS at Payment General WHT (PIS/COF/CSLL/IR) at Payment PIS at Payment IR at Payment CSLL at Payment 10.14.00% With/tax rate: 100.2 WHT Types at Invoice  Base amount Rounding rule Post w/tax amount No accumulation W/tax base manual Manual w/tax amount No cert numbering Base amount Withholding tax amount =X =X = W/tax code level = W/tax code level =X = Modified Tax Amount = W/tax comm round =X W/Tax Type IW Description ISS WHT 10.00% Condition-Based Tax Calculation in R/3 For Brazil 120 .ev own document as attachment ???? 07/05/09 10.

14. 10.6 Define Accounts For Withholding Tax to Be Paid Over  Assign G/L accounts for WHT to WHT types.SAP Online Help 07/05/09 W/Tax Type CP GP IW PP RP SP W/Tax Code CP CP IW PP RP SP Description COFINS 100% WHT Amount General 100% WHT Amount ISS 100% WHT Amount PIS 100% WHT Amount IR 100% WHT Amount CSLL 100% WHT Amount   10. flag Subject to w/tax in customer data.14. To activate for SD. flag With/tax agent in vendor data and assign validity. • • To activate for MM. define them in view V_T059Z_WITHCD2 Assign Condition Types to Withholding Tax Types Condition-Based Tax Calculation in R/3 For Brazil 121 . 10.4 Define Processing Key For Modified Tax Amount  WHT Type IW IW CP CP PP PP SP SP RP RP GP GP Processing Key IW IW CP CP PP PP SP SP RP RP GP GP Base amnt for w/tax type IW was not defined with modified tax amount.14.14. assign all relevant WHT types to all Brazilian company codes that are subject to them. Instead.5   Assign WHT Types to Company Codes  In IMG.7 Define Official Collection Codes  The official WHT codes cannot be used to specify collection codes. 10.

SAP Online Help
WHT Type IW CP PP SP RP GP Condition Type IKW4 ICW4 IPW4 ISW4 IRW4 IGW4

07/05/09

10.14.8 Maintain Tax Relevant Classification 
Argentina Customizing: view V_1ATXREL, according to Note 178824
Tax rel. IW CP GP PP RP SP Text ISS WHT Invoice Cofins Payment General WHT payment PIS WHT Payment IR WHT Payment CSLL WHT payment

10.14.9 Maintain Withholding Tax SD Conditions 
Transaction VK11. Country BR. Maintain for all conditions a rate of 100%, assign validity.
Condition IKW4 ICW4 IPW4 ISW4 IRW4 IGW4 Tax Rel. Class. IW CP PP SP RP GP W/tax code IW CP PP SP RP GP

10.15 Maintain Settings For External Tax Calculation 
10.15.1 Structure for Tax Jurisdiction Code (View V_TTXD) 
New entry for TAXBRA. Level1 = 3, level2 = 4.

10.15.2 Activate External Tax Calculation 
For calculation procedure TAXBRA, specify ext. system C.

10.15.3 Define Logical Destination 
For ext. system C, specify: C JUR J_1BTAXJUR_DETERMINE_NEW

Condition-Based Tax Calculation in R/3 For Brazil

122

SAP Online Help C TAX J_1BCALCULATE_TAXES --- nicht CBT

07/05/09

10.16 Define Tax Jurisdiction Codes 
For new ISS calculation, two-level jurisdiction codes should be maintained. The proposal is to use the first three digits for the state (e.g. ‘SP ‘ for Sao Paulo) and the last four digits to define the municipio. A suggestion is to use the digits 4 through 7 of the IBGE code for this. As an example, ‘SP 0308’ would be the municipio of SAO PAULO, ‘SP 4850’ the municipio of SANTOS, etc.)

10.17 Assign Jurisdiction Codes to Ranges of Postal Codes 
For proper tax jurisdiction code validation and value help, assign valid ranges of postal codes to the newly created tax jurisdiction codes.

10.18 Master Data Changes 
There are changes to master data necessary in order to correctly effectuate the new tax calculation.

10.18.1 Vendors (Transaction XK02) 
Assign all WHT types and codes that are applicable. Update address with new tax jurisdiction code for correct ISS calculation.

10.18.2 Customers (Transaction XD02) 
Assign all WHT types and codes that are applicable. Update address with new tax jurisdiction code for correct ISS calculation.

10.19
• • • •

Other Address Changes: Organizational Structure 

In order to allow correct calculation of ISS, all relevant adresses must be updated with the new Jurisdiction codes. This is necessary for: Company Codes Plants Business Places (Filial) General addresses of central address management that are used as delivery addresses

10.20 ISS Customizing 
Details about the ISS Customizing logic can be found in the ISS documentation. Here, only an overview of the necessary Customizing steps is given.

10.20.1 Tax Laws 
View: J_1BATL3V. Maintain definitions for ISS tax laws.

Condition-Based Tax Calculation in R/3 For Brazil

123

SAP Online Help

07/05/09

10.20.2 Official Service Types 
Define official service types for purchasing (view J_1BSERVTYPES1V) and sales (view J_1BSERVTYPES2V) processes.

10.20.3 Generic Service Types 
Define generic service types in view J_1BGENSERVTV.

10.20.4 Assign Official Service Types 
Assign official service types as needed: • • to generic service types (table J_1BSERVASSIGN1) to material numbers (J_1BSERVASSIGN2)

10.21 Tax Rates 
10.21.1 COFINS 
Maintain entries in transaction J1BTAX (view J_1BTXCOFV). Use the tax groups of dynamic exceptions you created.

10.21.2 PIS 
Maintain entries in transaction J1BTAX (view J_1BTXPISV). Use the tax groups of dynamic exceptions you created.

10.21.3 ISS 
Maintain entries in transaction J1BTAX (view J_1BTXISSV). Use the tax groups of dynamic exceptions you created.

10.21.4 Withholding Taxes 
Maintain entries in transaction J1BTAX (view J_1BTXWITHV). Use the tax groups of dynamic exceptions you created. You define either a general WHT collection code and a combined rate or the four individual withholding taxes separately.

10.22 Reserved Tax Groups of Dynamic Exceptions 
Table 10-22: Tax groups of dynamic exceptions reserved for SAP
Tax Group 1 5 97 Usage MM: ICMS base reduction carrier SD: ICMS base reduction customer ISS rates (material-dependent) ICMS, IPI, S.T. material-dependent exceptions MM: ISS exceptions (dependent on ship-from, ship-to, material) SD: IPI tax laws (based on NCM code)

Condition-Based Tax Calculation in R/3 For Brazil

124

3 Define Logical Destination  For ext. base amount or if they are relevant for Sub. The proposal is to use the first three digits for the state (e. this customizing indicates how the modification conditions should be taken into account.2 Activate External Tax Calculation  For calculation procedure TAXBRA. 11. specify ext. ship-to. group) Default taxes (based on country) SD: IPI tax laws (based on tax code) 07/05/09 99 10. ‘SP 4850’ the municipio of SANTOS. system C. 11. S. on freight. standard tax rates (based on ship-from. two-level jurisdiction codes should be maintained. specify: C C JUR TAX J_1BTAXJUR_DETERMINE_NEW J_1BCALCULATE_TAXES 12 Define Tax Jurisdiction Codes  For new ISS calculation. The following settings are delivered for pricing procedure RVABRA: Table 10-23: NF-relevant SD conditions Cond Type BXZF ICMI K004 K005 K007 KF00 NF Value 1 Discount 5 Value and Price 1 Discount 1 Discount 1 Discount 2 Freight X X X X + ST base X IPI excl ST Mod. i. As an example. if they affect the Sub.1 Structure for Tax Jurisdiction Code (View V_TTXD)  New entry for TAXBRA. A suggestion is to use the digits 4 through 7 of the IBGE code for this.g. system C.Trib.T.e. ST freight   11 Maintain Settings For External Tax Calculation  11.23 NF­relevant SD­Conditions for RVABRA  In order to allow the correct recalculation of the taxes on the amount including tax during the second step of the SD pricing. ‘SP 0308’ would be the municipio of SAO PAULO.SAP Online Help Tax Group 98 Usage IPI standard taxes (based on NCM code) SD: IPI tax laws (based on country) ICMS standard tax rates (based on ship-from and ship-to) S. ‘SP ‘ for Sao Paulo) and the last four digits to define the municipio.Trib. etc.) Condition-Based Tax Calculation in R/3 For Brazil 125 .T. if they are included or not in the IPI base. Level1 = 3. level2 = 4.

15. assign valid ranges of postal codes to the newly created tax jurisdiction codes. 15.4 Assign Official Service Types  Assign official service types as needed: • • to generic service types (table J_1BSERVASSIGN1) to material numbers (J_1BSERVASSIGN2) Condition-Based Tax Calculation in R/3 For Brazil 126 . Maintain definitions for ISS tax laws.3 Other Address Changes: Organizational Structure  In order to allow correct calculation of ISS.1 Vendors (Transaction XK02)  Assign all WHT types and codes that are applicable.1 Tax Laws  View: J_1BATL3V. This is necessary for: • • • • Company Codes Plants Business Places (Filial) General addresses of central address management that are used as delivery addresses 15 ISS Customizing  Details about the ISS Customizing logic can be found in the ISS documentation.2 Customers (Transaction XD02)  Assign all WHT types and codes that are applicable. 15. only an overview of the necessary Customizing steps is given.SAP Online Help 07/05/09 13 Assign Jurisdiction Codes to Ranges of Postal Codes  For proper tax jurisdiction code validation and value help. 14 Master Data Changes  There are changes to master data necessary in order to correctly effectuate the new tax calculation. 14. Here. all relevant adresses must be updated with the new Jurisdiction codes. 14. Update address with new tax jurisdiction code for correct ISS calculation.3 Generic Service Types  Define generic service types in view J_1BGENSERVTV. 14.2 Official Service Types  Define official service types for purchasing (view J_1BSERVTYPES1V) and sales (view J_1BSERVTYPES2V) processes. Update address with new tax jurisdiction code for correct ISS calculation. 15.

1 COFINS  Maintain entries in transaction J1BTAX (view J_1BTXCOFV).SAP Online Help 07/05/09 16 Tax Rates  16. You define either a general WHT collection code and a combined rate or the four individual withholding taxes separately. 16.4 Withholding Taxes  Maintain entries in transaction J1BTAX (view J_1BTXWITHV).2 PIS  Maintain entries in transaction J1BTAX (view J_1BTXPISV). 16. Use the tax groups of dynamic exceptions you created. Condition-Based Tax Calculation in R/3 For Brazil 127 . Use the tax groups of dynamic exceptions you created.3 ISS  Maintain entries in transaction J1BTAX (view J_1BTXISSV). Use the tax groups of dynamic exceptions you created. 16. Use the tax groups of dynamic exceptions you created.

IMG -> Materials Management -> Purchasing -> Purchase Order -> Set Up Stock Transport Order (OMGN) Button Purchasing document type: If you are working with the one-step procedure. Specify the checking rule according to your settings in ATP (not relevant for other processes).2 Stock Transport Order using SD Delivery (IntraCompany­Code)  17. Condition-Based Tax Calculation in R/3 For Brazil 128 .1 Customizing Settings and Master Data for Issuing Plant 1000  IMG -> Enterprise Structure -> Assignment -> Logistics .1 Settings – One­Step or Two­Step Procedure  In Customizing. IMG -> Materials Management-> Purchasing -> Purchase Order -> Set Up Stock Transport Order (OMGN) Button Plant: Set sales area (sales area = sales org. + distribution channel + division) The division of a material must not be the same as the division of the found sales area.General -> Assign plant to company code (OX18) Issuing plant 1000 and receiving plant 1200 have the same company code (company code 1000).SAP Online Help 07/05/09 17  Customizing  Settings  and  Master  Data  for  the  Stock  Transport Order Process using SD Processing  Pricing procedure RVABRE/G ? 17. Example: For Plant 1000: Sales organization 1000 Distribution channel 10 Division: Any Button Assign delivery type/checking: For UB (Stock transport order) set the delivery type NL (Replenishment delivery). you can specify whether the process should be carried out using a one-step or a twostep procedure.2. Example: Issuing plant 1000/ Issuing plant 1200 UB √ or blank Issuing plant 1000/ Issuing plant 0001 NB √ or blank 17. the system should display the relevant indicator for the combination of Issuing Plant/Receiving Plant.

at the latest by the time the goods are received. Under Sales area-> All sales areas you can see which sales areas are authorized for customers. Example: Plant 1000 Shipping point 1000 IMG -> Logistics Execution -> Shipping -> Basic Shipping Functions -> Shipping Point and Goods Receiving Point Determination -> Assign Shipping Points (trans. 17. Example: Plant 1000 Shipping conditions 01 Loading group 0001 Shipping point 1000 Stock has to be available in the storage location of the issuing plant. OVL2) The shipping point is assigned to the issuing plant. Condition-Based Tax Calculation in R/3 For Brazil 129 .SAP Online Help 07/05/09 IMG -> Enterprise Structure-> Assignment-> Sales and Distribution -> Assign sales organization – distribution channel – plant (OVX6) You have to assign the plant to the sales org.2 Customizing Settings and Master Data for Receiving Plant 1200  Logistics -> Sales and Distribution -> Master Data -> Business partners -> Customer -> Create > Complete (XD01) Create customers for the company code 1000.2. Example: For Plant 1000: Sales organization 1000 Distribution channel 10 IMG -> Enterprise Structure-> Assignment–> Logistics Execution -> Assign shipping point to plant (OVXC) Assign the shipping point to the plant. Here the Shipping Conditions of the Customers (Sold-to / Ordering party) and the Loading Group from the Material Master (Sales: General/Plant Data view) can also be taken into account to determine the shipping points./distribution channel (so that the issuing plant function is possible).

. (trans.SAP Online Help 07/05/09 You must maintain the Shipping Conditions in the Shipping view (on Sales area data screen). Example: Company code 1000 Purchasing org. 1000 17. These are important for determining the Shipping points Example: Company code 1000 Sales organization 1000 Distribution channel 10 Division: Any Shipping conditions: 01 IMG -> Enterprise Structure-> Assignment-> Logistics . This purchasing organization must either have the same company code as the receiving plant..3 Material Master  You have to maintain the material for the issuing plant and receiving plant. Logistics –> Materials Management–> Material Master -> . MM01) Condition-Based Tax Calculation in R/3 For Brazil 130 . + distribution channel + division) You have to assign a customer to a plant here.General -> Assign plant to company code (OX18) The issuing plant and receiving plant have the same company code (company code 1000). IMG -> Materials Management-> Purchasing -> Purchase Order -> Set Up Stock Transport Order -> Define Shipping Data for Plants Button Plant: Set sales area (sales area = sales org. or not have a company code at all (in the case of cross-company-code Purchasing). The customer must maintain the relevant sales area. Example: For Plant 1200: Insert customer number Sales org.2. 1000 Distribution channel 10 Division: any IMG –> Enterprise Structure-> Assignment-> Materials Management–> Assign purchasing organization to company code (OX01) You have to assign the receiving plant to a purchasing organization.

Data 1 3.4 Vendor Data  When creating a plant for stock transfer. under Grouping Terms . 1000 Distribution channel 10 Loading group 0001 Receiving Plant: 1. Basic Data 2. To be able to assign the vendor to a plant you might need to change the following settings in customizing: Omsg -> account group vom vendor: Details -> purchasing data -> additional purchasing data > plant: optional entry (+) Assign the vendor to the plant: xk03 ->Purchasing data -> extras -> additional purchasing data-> plant assignment Condition-Based Tax Calculation in R/3 For Brazil 131 . Accounting Example: Plant 1000 Sales org. Accounting Example: Plant 1200   17. Data 2 You have to enter NORM in the Item category group field. Sales: Sales Org. Basic Data 2. Sales: General/Plant Data Under General data you can set the availability check.SAP Online Help 07/05/09 Issuing Plant 1000: 1. which may be used for Shipping point determination Transport group is optional (necessary for route determination). however this is not compulsory.2. including the Loading Group . the vendor needs to be assigned to the plant as well. 5. Purchasing Data 3. Under Shipping data you can maintain data specific to the shipping. Sales: Sales Org. 4.

Choose Delivery to display the delivery.2. Shipping Conditions . Select the purchase order and choose Save.SAP Online Help 07/05/09 17.5.org.5 Process Flow  17.5B you should choose Other Selection Screen and enter the purchase order number) -> Execute. 1000 Plant 1200    Create Delivery  Logistics -> Sales and Distribution -> Shipping and Transportation -> Outbound Delivery -> Create -> Collective Processing of Documents Due for Delivery-> Purchase Orders (VL10B) Specify the shipping point (you can find this in the customers‘ settings. and you can view this in OVL2) Set the date in the future (end of the year is always a good choice) For selected documents : Choose Purchase orders Range of documents: Enter purchase order number (before 4.Material Master – Loading Group. Example: Shipping point 1000 Condition-Based Tax Calculation in R/3 For Brazil 132 .1  Create  Stock Transport Order   Logistics –> Materials Management-> Purchasing -> Purchase Order -> Create -> Stock Transfer (ME27) Example: Issuing plant 1000 Pur.2. The system creates the delivery.

the GR must be posted 17. Button Assign delivery type/checking: Condition-Based Tax Calculation in R/3 For Brazil 133 . the GR is posted at the same time as the GI.6 (MIGO) Transaction MB01 cannot be used. 17.3.General -> Assign plant to company code (OX18) Issuing plant and receiving plant belong to different company codes.5. The goods receipt should be carried out using transaction VL07 (up to and including Release 3.5. If the one-step procedure is selected. receiving plant 0001 to code 0001 IMG -> Materials Management-> Purchasing -> Purchase Order -> Set Up Stock Transport Order (TA OMGN) Button Plant: Set up sales area (sales area = sales org. Issuing plant 1000 to code1000.6 (VL02N) Enter delivery.2. Movement type 101. storage location. since the delivery will then not be updated.1 Customizing Settings and Master Data for Issuing Plant 1000  IMG -> Enterprise Structure-> Assignment-> Logistics .2 Pick Delivery and Post Goods Issue  Logistics -> Sales and Distribution -> Shipping and Transportation -> Outbound Delivery -> Change (VL02) since 4.3 Stock Transport Order using SD Delivery   17.SAP Online Help 07/05/09 17. Enter receiving plant.3  Post Goods Receipt  Logistics –> Materials Management-> Inventory Management-> Goods Movement-> Goods Receipt-> For Purchase Order -> PO Number Unknown (MB0A) as of 4.0).2.1I) or with MB0A (as of Release 4. In the two-step procedure. and delivery number. and post GI. choose button Picking. + distribution channel + division) The division of a material does not have to be the same as the division of the sales area that has been found.

Example: For Plant 1000: Sales org.SAP Online Help 07/05/09 For NB (standard purchase order). Example: For Plant 1000: Sales org. Example: Plant 1000 Shipping conditions 01 Loading group 0001 Shipping point 1000 Logistics -> Materials Management-> Purchasing -> Master Data -> Vendor -> Central -> Create (XK01) Condition-Based Tax Calculation in R/3 For Brazil 134 . 1000 Distribution channel 10 IMG -> Enterprise Structure-> Assignment–> Logistics Execution -> Assign shipping point to plant (TA OVXC) Assign the shipping point to the plant.distribution channel – plant (TA OVX6) You have to assign the plant to sales org. Specify the checking rule according to your settings in ATP (not relevant for other processes). 1000 Distribution channel 10 Division: Any IMG -> Enterprise Structure-> Assignment-> Sales and Distribution -> Assign sales organization ./distribution channel (so that you can use the issuing plant function). Here the Shipping Conditions with the Customers (ordering party) and the Loading Group from the Material Master (Sales: General/Plant Data view) are included in shipping point determination. set the delivery type NLCC (Replenishment delivery crosscompany). Example: Plant 1000 Shipping point 1000 IMG -> Logistics Execution -> Shipping -> Basic Shipping Functions -> Shipping Point and Goods Receiving Point Determination -> Assign shipping points (TA OVL2) You must assign the shipping point to the issuing plant.

Stock must be available in the storage location of the issuing plant. In the Purchasing data. 0001 Assign issuing plant 1000 Condition-Based Tax Calculation in R/3 For Brazil 135 . at the latest when the goods are issued.SAP Online Help 07/05/09 You must create the vendor for the company code and the purchasing organization of the receiving plant. org. then enter the issuing plant. 0001 Pur. choose Extras -> Additional Data Purchasing. Example: CoCd.

Example: Condition-Based Tax Calculation in R/3 For Brazil 136 . you do not need to assign these organizational units.. you must simply assign sales org. distribution channel. Maintain the shipping conditions in the shipping view.2 Customizing Settings and Master Data for Receiving Plant 0001  Logistics -> Sales and Distribution -> Master Data -> Business partners -> Customer Either create the customers by choosing Create -> Sales and Distribution (VD01) and do not assign a company code. Receiving plant 0001 to code 0001 and issuing plant 1000 to code 1000. Choose Extras -> Sales Areas -> All Sales Areas to find out which sales areas are permissible for customers. as the plant appears as a customer in this process.3. 1000 Distribution channel 10 Division: Any Shipping conditions 01 IMG -> Enterprise Structure-> Assignment-> Logistics . be available for the appropriate customer master record in the relevant sales area. The plant must.SAP Online Help 07/05/09 17. however. In order for a stock transfer process to work using a delivery and an SD billing document. and division for intercompany billing to the issuing plant. These are important for the Shipping point determination Example: CoCd 1000 Sales org. Or choose Create -> Complete (XD01) where you can create the customers for the company code of the issuing plant. For the receiving plant. IMG -> Materials Management-> Purchasing -> Purchase Order -> Set Up Stock Transport Order (TA OMGN) Button Plant: You must assign a customer to the plant.General -> Assign plant to company code (OX18) The issuing plant and the receiving plant belong to different company codes.

3. under Grouping Terms . org. 1000 Distribution channel 10 Division: Any 07/05/09 IMG –> Enterprise Structure-> Assignment-> Materials Management–> Assign purchasing organization to company code (OX01) Assign the receiving plant to a purchasing organization. Data 2 You have to enter NORM in the Item category group field. 1000 Distribution channel 10 Loading group 0001 Receiving Plant: Condition-Based Tax Calculation in R/3 For Brazil 137 . Sales: Sales Org. 0001 17.3 Material Master  You must maintain the material for the issuing plant and receiving plant. MM01) Issuing Plant: 1. Sales: General/Plant Data Under General data you can set the availability check. or not have one at all (when working with crosscompany-code Purchasing). 5. which may be used for Shipping point determination. Logistics –> Materials Management–> Material Master (trans. Basic Data 2. however this is not compulsory. 4. Data 1 3.SAP Online Help For Plant 0001: Enter customer no: not necessary Sales org. including the Loading Group . Under Shipping data you can maintain data specific to the shipping. Sales: Sales Org. Example: CoCd. This purchasing organization must either have the same company code as the receiving plant. Accounting Example: Plant 1000 Sales org. 0001 Pur. Transport group is optional (necessary for route determination).

also CoCd.3.4 Process Flow  17.SAP Online Help 1. Choose Delivery to display the delivery.2 Create Delivery  Logistics -> Sales and Distribution -> Shipping -> Delivery -> Worklist -> Order/Purchase Order -> Direct (VL04) Logistics -> Sales and Distribution -> Shipping and Transportation -> Outbound Delivery -> Create -> Collective Processing of Documents Due for Delivery -> Purchase Orders (VL10B) Specify the shipping point (you can find this in the customers‘ settings. Accounting Example: Plant 0001 07/05/09 17. org 0001 Plant 0001 In 4. Shipping Conditions .5B you should choose Other Selection Screen and enter the purchase order number) -> Execute.1. Example: Vendor: Before 3.4. and the purchasing organization of the receiving plant. Select the purchase order and choose Save.1 Create Cross­Company­Code Stock Transport Order  Logistics –> Materials Management-> Purchasing -> Purchase Order -> Create -> Vendor/ Supplying Plant Known (ME21) as of 4.Material Master – Loading Group. Basic Data 2. 0001 17. Condition-Based Tax Calculation in R/3 For Brazil 138 . and you can view this in OVL2) Set the date in the future (end of the year is always a good choice) For selected documents : Choose Purchase orders Range of documents: Enter purchase order number (before 4.3.4. created vendor or vendor plant 1000 Pur.3.6 (ME21N) You enter the vendor who was assigned to the issuing plant as the vendor. Purchasing Data 3.6. The system creates the delivery.

4 Post Goods Receipt  Logistics –> Materials Management-> Inventory Management-> Goods Movement-> Goods Receipt-> For Purchase Order -> PO Number Unknown (MB0A) as of 4. button Picking.3. storage location.SAP Online Help 07/05/09 Example: Shipping point 1000 17. since the delivery will then not be updated. Movement type 101.3 Pick Delivery and Post Goods Issue  Logistics -> Sales and Distribution -> Shipping and Transport -> Outbound Delivery -> Change (VL02) since 4. and delivery number.6 (VL02N) Enter delivery.4. post GI. If the one-step procedure is selected.3.4.0). The goods receipt should be carried out using transaction VL07 (up to and including Release 3. the GR must be posted 17.6 (MIGO) Transaction MB01 cannot be used. Condition-Based Tax Calculation in R/3 For Brazil 139 . the GR is posted at the same time as the GI. Enter receiving plant. In the two-step procedure.1I) or with MB0A (as of Release 4.

XK01) CoCd 0001 Pur.: 1000 Distribution Channel: 10 Vendor (trans.: 1000 Distribution Channel: 10 Customer XX (trans. Receiving Plant 1200 (trans. Pur.: 1000 Assign Issuing Plant 1000 Distribution Channel: 10 Plant 0001 Purchasing: 0001 10 Material (trans.: 1000 Distribution Channel: 10 Customer XX (trans. OMGN) OMGN) Sales Org. MM01) Intra-Company-Code Stock Transfer Issuing Plant 1000 (trans. MM01) Plant: 1000 Sales Org. Receiving Plant 0001 (trans. 0001 Assign Issuing Plant 1000 Plant 1200 Purchasing: 1000 10 Material (trans. OMGN) OMGN) Sales Org.: 1000 Distribution Channel: Material (trans.: 1000 Distribution Channel: 10 Customer: XX Sales Org. 0001 Sales Org. XD01) CoCd. 1000 Sales Org.: 1000 Distribution Channel: 10 Customer: XX Sales Org. MM01) Condition-Based Tax Calculation in R/3 For Brazil 140 .4 Overview in Table Form  Cross-Company-Code Stock Transfer Issuing Plant 1000 (trans. Org. MM01) Plant: 1000 Sales Org. 1000 or no CoCd.: 1000 Distribution Channel: Material (trans.SAP Online Help 07/05/09 17. XK01) VD01) CoCd 0001 CoCd. Org. XD01/ Vendor (trans.

7: BC Set Go to transaction SCPR20 and run the BC Set CSC_BR_TAX.zip and AC0K026206. This BC Set is part of the attached transport. After activating the BC Set. Details are described in the attached documentation. This report will ensure the pricing routines included in the transport are available during pricing. most of the necessary Customizing entries are in your system.7 Follow the steps described in the attached documentation. you have to proceed in the following way: a) Automatic Customizing for Release 4. Coding Changes for Release 4. you have to undo that change in order to activate structure KOMP. transport the attached transport files contained in the files P9CK425188. Customizing Release 4. Second. 3. Third. use transaction SE38 to run the report RV80HGEN.SAP Online Help 07/05/09 2. Basically. They contain the new coding objects and the BC-Sets required in the next step. If you have extended the KOMP structure before with the fields TXREG_SF and TXREG_ST as described in Note 376915.zip to your system. Condition-Based Tax Calculation in R/3 For Brazil 141 . append the structure KOMP_BRAZIL to the structure KOMPAZ.6C First.

Sign up to vote on this title
UsefulNot useful