sapnote_0000679372

10
7/16/2019 sapnote_0000679372 http://slidepdf.com/reader/full/sapnote0000679372 1/10 23.05.2013 Page 1 of 10 SAP Note 679372 - DIFAL - Brazil: Tax on goods movements - Customizing  Note Language: English Version: 3 Validity: Valid Since 23.08.2005 Summary Symptom Enhancements for tax on goods movements. The base for the extension of the functionality are the development requests - MM/SD Stock transfer order (Dev.Req 3406067) - MM future delivery (Dev.Req 3407255) - MM future invoice (Dev.Req 3409901) Other terms Brazil, Taxes; 861; 862; ME27; VL02N; MB0A; Stock Transfer; DIFAL; Complement; Future Delivery; Future Invoice; Nota Fiscal Reason and Prerequisites The functionality is required by law for business process when the goods movement is cross state. DIFAL requires the posting of the ICMS complement during the goods receipt. The code changes described in note 679371 are required. Maintain tax codes as mentioned in note 844630. Solution 1. General The note describes the needed customzing to be able to calculate and post DIFAL. 2. Account keys To be able to configure the account determination for DIFAL postings new account keys are necessary. IMG: Financial Accounting -> Financial Accounting Global Settings -> Tax on Sales/Purchases -> Basic Settings -> Check and Change Settings for Tax Processing Copy account key NAV to ICD. Select DETAIL for ICD. Text = Non-d.input taxDIFAL Posting indicator = 2 Save the changes. 3. Maintain the account determination for account key ICD. IMG: Financial Accounting -> Financial Accounting Global Settings -> Tax on Sales/Purchases -> Posting -> Define Tax Accounts Choose your used chart of accounts. Choose posting key 40 for debit and 50 for credit. Choose your account where DIFAL should be posted to.

Transcript of sapnote_0000679372

7/16/2019 sapnote_0000679372

http://slidepdf.com/reader/full/sapnote0000679372 1/10

23.05.2013 Page 1 of 10

SAP Note 679372 - DIFAL - Brazil: Tax on goods movements- Customizing

 Note Language: English Version: 3 Validity: Valid Since 23.08.2005

Summary

Symptom 

Enhancements for tax on goods movements.

The base for the extension of the functionality are the development

requests

- MM/SD Stock transfer order (Dev.Req 3406067)

- MM future delivery (Dev.Req 3407255)

- MM future invoice (Dev.Req 3409901)

Other terms

Brazil, Taxes; 861; 862; ME27; VL02N; MB0A; Stock Transfer; DIFAL;

Complement; Future Delivery; Future Invoice; Nota Fiscal

Reason and Prerequisites

The functionality is required by law for business processwhen the goods movement is cross state.

DIFAL requires the posting of the ICMS complement during the

goods receipt.

The code changes described in note 679371 are required.

Maintain tax codes as mentioned in note 844630.

Solution

1. General

The note describes the needed customzing to be able to

calculate and post DIFAL.

2. Account keys

To be able to configure the account determination for DIFAL postings

new account keys are necessary.

IMG: Financial Accounting -> Financial Accounting Global Settings ->

Tax on Sales/Purchases -> Basic Settings ->

Check and Change Settings for Tax Processing

Copy account key NAV to ICD.

Select DETAIL for ICD.

Text = Non-d.input taxDIFAL

Posting indicator = 2

Save the changes.

3. Maintain the account determination for account key ICD.

IMG: Financial Accounting -> Financial Accounting Global Settings

-> Tax on Sales/Purchases -> Posting -> Define Tax Accounts

Choose your used chart of accounts.

Choose posting key 40 for debit and 50 for credit.Choose your account where DIFAL should be posted to.

7/16/2019 sapnote_0000679372

http://slidepdf.com/reader/full/sapnote0000679372 2/10

23.05.2013 Page 2 of 10

SAP Note 679372 - DIFAL - Brazil: Tax on goods movements- Customizing

Save the changes.

Note: You may flag the tax code rule in order to differentiate

account determination in screen (Maintain FI configuration:

Automatic Posting Rules).

4. New conditions.

For DIFAL processing the following new conditions must be created.

If conditions with the same name already exists it's possible to

choose a different name. All following descriptions for the

conditions must be then used for the choosen name.

The new conditions can be created as copy from the suggested

"copy from condition".

Rel.4.6c->

IMG: Financial Accounting -> Financial Accounting Global Settings

-> Tax on Sales/Purchases -> Basic Settings ->

Check Calculation Procedure -> Define Condition TypesRel.47 ->

J1btax > condition setup>calcul.procedure>calc.procedure mm

Condition Text Copy from

ICML ICMS Difal ofset out ICM3

ICMM ICMS Difal Out ICM3

ICMV ICMS DIFAL Con/Asset ICM1

ICMT ICMS Difal Investmen ICM1

ICMP ICMS Difal inv. off. ICM1

ICO1 ICMS compl. Transfer ICOP

ICO2 ICMS compl. Tra Off ICOP

ICO3 ICMS compl. NVV ICOP

ICO4 ICMS compl. NVV off ICOP

Save the changes.

5. Maintain calculation procedure

IMG: Financial Accounting -> Financial Accounting Global Settings

-> Tax on Sales/Purchases -> Basic Settings ->

Check Calculation Procedure -> Define Procedures

5.1. Traditional procedure TAXBRJ 

Insert the new defined conditions in the procedure as follow:

ICMM after ICM3 with the same settings as ICM3.

ICML after ICMM.

ICML is the offset condition for ICMM therefor the

<from reference step> is the step from ICMM.

Account key is ICC.

ICMV after ICM1 with the same settings as ICM1.

Account key is ICD.

ICMT after ICMV with the same settings as ICMV.

Account key is ICD.

ICMP after ICMT.ICMP is the offset condition for ICMT therefor the

<from reference step> is the step from ICMT.

7/16/2019 sapnote_0000679372

http://slidepdf.com/reader/full/sapnote0000679372 3/10

23.05.2013 Page 3 of 10

SAP Note 679372 - DIFAL - Brazil: Tax on goods movements- Customizing

Account key is ICC.

ICO1 after the last line before level 500 as copy from ICOP.

Requirement formula = 160.

ICO2 after ICO1 as copy from ICOX.

ICO2 is the offset condition for ICO1 therefor the

<from reference step> is the step from ICO1.

Requirement formula = 160.

ICO3 after ICO2 as copy from ICO1.

Account key is NVV.

Requirement formula = 160.

ICO4 after ICO3 as copy from ICO2.

ICO4 is the offset condition for ICO3 therefor the

<from reference step> is the step from ICO3.

Requirement formula = 160.

Save the changes.

Remark:If the requirement formula 160 does not exist in your system

you can create it.

Use transaction VOFM.

Select: Requirements -> Pricing.

Insert Routine Number 160. Push Editor.

Ignore the warnings for SAP Standard.

The system generates the form routines

FORM KOBED_160.

ENDFORM.

FORM KOBEV_160.

ENDFORM.

Change the routines as follow:

FORM KOBED_160.

sy-subrc = 0.

check xkomv-kposn = '999999'.

sy-subrc = 4.

ENDFORM.

FORM KOBEV_160.

sy-subrc = 0.

ENDFORM.

Go back to the overview. Save and activate the formula.

If the system doesn´t allow to create the formula 160 it can

be create in the customer name space between 600 and 999.Use this number instead of 160.

5.2. New procedure for condition based tax calculation TAXBRA 

transaction J1BTAX -> condition setup -> calc.procedures->

calc.procedures MM -> choose TAXBRA -> control data.

Insert the new defined conditions in the procedure as follow:

ICMM after ICM3 with the same settings as ICM3.ICML after ICMM.

ICML is the offset condition for ICMM therefor the

7/16/2019 sapnote_0000679372

http://slidepdf.com/reader/full/sapnote0000679372 4/10

23.05.2013 Page 4 of 10

SAP Note 679372 - DIFAL - Brazil: Tax on goods movements- Customizing

<from reference step> is the step from ICMM.

Account key is ICC.

maintain the value for ALTCBV = 164.

ICMV after ICM1 with the same settings as ICM1.

Account key is ICD.

ICMT after ICMV with the same settings as ICMV.

Account key is ICD.

ICMP after ICMT.

ICMP is the offset condition for ICMT therefor the

<from reference step> is the step from ICMT.

Account key is ICC.

maintain the value for ALTCBV = 164

ICO1 after the last line before level 500 as copy from ICOP.

Requirement formula = 160.

ICO2 after ICO1 as copy from ICOX.

ICO2 is the offset condition for ICO1 therefor the

<from reference step> is the step from ICO1.

Requirement formula = 160.

maintain the value for ALTCBV = 164ICO3 after ICO2 as copy from ICO1.

Account key is NVV.

Requirement formula = 160.

ICO4 after ICO3 as copy from ICO2.

ICO4 is the offset condition for ICO3 therefor the

<from reference step> is the step from ICO3.

Requirement formula = 160.

maintain the value for ALTCBV = 164

Save the changes.

5.3 Maintain tax types.

5.3.1 For condition based tax calculation TAXBRA

transaction J1BTAX -> condition setup -> tax types

maintain the tax types as follows

ICMM copy of ICM3. Description = ICMS DIFAL.

ICML copy of ICMM without taxgroup. Description = ICMS DIFAL

-Offset

ICMV copy of ICM1. Description = ICMS Difal Consumption / Asset

ICMT copy of ICMV. Description = ICMS Difal InvestmentsICMP copy of ICMT without taxgroup. Description = ICMS Difal

Investments -Offset

ICO1 copy of ICOP. Description = Complement ICMS for Transfers

ICO2 copy of ICOX without taxgroup. Description = Compl. of

ICMS-Trans - Offset

ICO3 copy of ICO1. Description = Complement ICMS for fut. del.

ICO4 copy of ICO2 without taxgroup. Description = Compl.ICMS for

fut. del.Offset

5.3.2 For traditional tax calculation procedure

Maintain entries in table view J_1BAJV with SM30.

Ignore the warning for changing SAP data.

Copy tax types

7/16/2019 sapnote_0000679372

http://slidepdf.com/reader/full/sapnote0000679372 5/10

23.05.2013 Page 5 of 10

SAP Note 679372 - DIFAL - Brazil: Tax on goods movements- Customizing

ICM3 to ICMM Text = ICMS DIFAL

ICM1 to ICMV Text = ICMS Difal Consumption / Asset

ICM1 to ICMT Text = ICMS Difal Investments

ICOP to ICO1 Text = Complement ICMS for Transfers

ICOP to ICO3 Text = Complement ICMS for fut. del.

Save your changes.

6. Maintain tax posting strings

IMG: Materials Management ->

Inventory Management and Physical Inventory ->

Nota Fiscal -> Maintain Tax Posting String

Choose the required procedure.

Copy the following entries:

WA04 ICM3 to WA04 ICML.

Maintain in the Detail view:

Field with val. = TINPZ1Field with+/- = SHTINPZ1

Line ID = Tax general

WA04 ICM3 to WA04 ICMM.

Maintain in the Detail view:

Field with val. = TOUTZ1

Field with+/- = SHTOUTZ1

Line ID = Tax general

TXBR ICOP to TXBR ICO1.

Maintain in the Detail view:

Field with val. = TINPZ1

Field with+/- = SHTINPZ1

Line ID = Tax reposting

TXBR ICOP to TXBR ICO2.

Maintain in the Detail view:

Field with val. = TOUTZ1

Field with+/- = SHTOUTZ1

Line ID = Tax reposting

TXBR ICM1 to TXBR ICMT.

Maintain in the Detail view:

Field with val. = TAX01

Field with+/- = SHTAX01Line ID = Tax reposting

TXBR ICM1 to TXBR ICMP.

Maintain in the Detail view:

Field with val. = TAX02

Field with+/- = SHTAX02

Line ID = Tax reposting

WE01 ICOP to WE01 ICO1.

Maintain in the Detail view:

Field with val. = TAX03

Field with+/- = SHTAX03Line ID = Tax reposting

7/16/2019 sapnote_0000679372

http://slidepdf.com/reader/full/sapnote0000679372 6/10

23.05.2013 Page 6 of 10

SAP Note 679372 - DIFAL - Brazil: Tax on goods movements- Customizing

WE01 ICOP to WE01 ICO3.

Maintain in the Detail view:

Field with val. = TAX04

Field with+/- = SHTAX04

Line ID = Tax reposting

Save the changes.

7. Create new tax codes

7.1. (Rel.4.6C) Traditional procedure TAXBRJ 

Transaction FTXP

Copy tax code A1 to D1.

Change text in properties to"Outp. Difal for transfer icms + offset".

Deactivate line for condition ICM3.

Activate the line with condition ICMM with 100,000

Activate the line with condition ICML with 100,000-

Save the tax code.

The tax code should be used for outgoing transfers.

With the described settings the ICMS is calculated and

posted to tax account (debit) and offset account (credit).

Copy tax code I1 to G1.

Change text in properties to "GR Difal consumption & assets".

Deactivate all active lines.

Activate the line for condition

ICMV with 100,000

ICO1 with 100,000

ICO2 with 100,000-

Save the tax code.

The tax code should be used for incoming transfers when only the

Difal / complement should be posted during goods receipt.

With the described settings the DIFAL is calculated and

posted to tax account (debit) and offset account (credit).

Copy tax code G1 to G2.

Change text in properties to "GR Difal Investments".

Deactivate all active lines.Activate the line for condition

ICMT with 100,000

ICMP with 100,000-

ICO1 with 100,000

ICO2 with 100,000-

Save the tax code.

The tax code should be used for incoming transfers when ICMS and

DIFAL / complement should be posted during goods receipt.

With the described settings ICMS and DIFAL are calculated and

posted to tax accounts (debit) and offset accounts (credit).

Copy tax code G1 to F1.Change text in properties to

"IV Future delivery Difal consumption & assets"

7/16/2019 sapnote_0000679372

http://slidepdf.com/reader/full/sapnote0000679372 7/10

23.05.2013 Page 7 of 10

SAP Note 679372 - DIFAL - Brazil: Tax on goods movements- Customizing

Deactivate all active lines.

Activate the line for condition

ICMV with 100,000

ICO1 with 100,000

Save the tax code.

With the described settings the DIFAL is calculated and added to

the material value. The offset is posted to an tax account.

It should be used in invoices for future delivery.

Copy tax code C3 to C7.

Change text in properties to

"Inp. Consumption: ICMS + CompICMS (DIFAL)"

Deactivate all active lines.

Activate the line for condition

ICM2 with 100,000

ICO1 with 100,000

ICO2 with 100,000-

With the described settings the DIFAL is calculated during

goods receipt for future invoises. The DIFAL amount is addedas a non deductable tax to the material account and the

goods receipt invoice clearing account. Additionaly it´s

posted to an seperate tax account (debit) and an offset

account (credit).

7.2. (Rel.4.7)New procedure for condition based tax calculation

TAXBRA 

Create new tax codes

Transaction J1BTAX -> Maintain MM tax codes -> procedure

TAXBRA.

Copy tax code A1 to D1.

Change text in properties to

"Outp. Difal for transfer icms + offset".

Enter and save.

Mark the tax code D1 and click on icon maintain tax code

conditions, tick the condition type ICMM, ICML.

Save.

The tax code should be used for outgoing transfers.

With the described settings the ICMS is calculated and

posted to tax account (debit) and offset account (credit).

Copy tax code I1 to G1.Change text in properties to "GR Difal consumption & assets".

Enter and save.

Mark the tax code G1 and click on icon maintain tax code

conditions, tick the condition type ICMV, ICO1, ICO2.

Save.

The tax code should be used for incoming transfers when only the

Difal / complement should be posted during goods receipt.

With the described settings the DIFAL is calculated and

posted to tax account (debit) and offset account (credit).

Copy tax code G1 to G2.

Change text in properties to "GR Difal Investments".Enter and save.

Mark the tax code G2 and click on icon maintain tax code

7/16/2019 sapnote_0000679372

http://slidepdf.com/reader/full/sapnote0000679372 8/10

23.05.2013 Page 8 of 10

SAP Note 679372 - DIFAL - Brazil: Tax on goods movements- Customizing

conditions, tick the condition type ICMT, ICMP, IC01, IC02.

Save.

The tax code should be used for incoming transfers when ICMS and

DIFAL / complement should be posted during goods receipt.

With the described settings ICMS and DIFAL are calculated and

posted to tax accounts (debit) and offset accounts (credit).

Tax codes for Future delivery.

Copy tax code G1 to F1.

Change text in properties to

"IV Future delivery Difal consumption & assets"

Enter and save.

Mark the tax code F1 and click on icon maintain tax code

conditions, tick the condition type ICMV, ICO1.

Save.

With the described settings the DIFAL is calculated and added to

the material value. The offset is posted to an tax account.

It should be used in invoices for future delivery.

Copy tax code C3 to C7.

Change text in properties to

"Inp. Consumption: ICMS + CompICMS (DIFAL)"

Enter and save.

Mark the tax code C7 and click on icon maintain tax code

conditions, tick the condition type ICM2, ICO1, ICO2.

Save.

With the described settings the DIFAL is calculated during

goods receipt for future invoises. The DIFAL amount is added

as a non deductable tax to the material account and the

goods receipt invoice clearing account. Additionaly it´s

posted to an seperate tax account (debit) and an offset

account (credit).

For both scenarios set the usage indicator for new tax codes

codes G1 & G2 in customizing to "consumption". This setting is

necessary to calculate the complement / DIFAL. In case of

industralization it´s not calculated.

Use the following IMG path:

Financial Accounting -> Financial Accounting Global Settings ->

Tax on Sales/Purchases -> Calculation ->

Settings for Tax Calculation in Brazil ->in 4.6C and lower -> Additional Standard Tax Codes

in 4.7 -> Define FI/MM Tax Codes

8. Table J_1BTXSDC

Maintain table view J_1BTXSDCV with SM30 or J_1BTAX

Copy tax code I1 to G1.

Save your changes.

9. Tax code mapping -> STO (stock transfer order)

9.1 Release 4.6c and lower

Maintain table T007_IT with SM30.

7/16/2019 sapnote_0000679372

http://slidepdf.com/reader/full/sapnote0000679372 9/10

23.05.2013 Page 9 of 10

SAP Note 679372 - DIFAL - Brazil: Tax on goods movements- Customizing

Create new entry for TAXBRJ.

Tax code G1, Alternate tax code G1, Value added tax code D1.

Save your changes.

9.2 Release 4.7Start transaction J1BTAX -> STO

Select "Maintain MM Tax codes (Shift F4).

Select your used calculation procedure. ( TAXBRA or TAXBRJ )

For tax code D1 insert G1 in the fields "TC at GR" and "SD TC".

Save your changes.

10. Future Invoice

10.1 Execute the report ZBKCOPYMVTBR.Create new movement type 871 as copy from 801.

Create new movement type 872 as copy from 802.

10.2 Maintain the field control for enjoy

IMG: Materials Management -> Inventory Management and Physical

Inventory -> Movement Types -> Copy, Change Movement Types ->

Select "Movement type" insert 871.

Select "Field selection (Enjoy)"

Insert the following entries:

MVT Field name Optional Entry Required Entry

871 J_1BEXBASE X

871 MWSKZ X

872 J_1BEXBASE X

872 MWSKZ X

Save the changes.

10.3 Create new item type 71 as copy from 01.

Transaction SM30 table J_1BITEMTYPES.

Text = Future Invoice

Save the item type.

10.4 Maintain the item type settings

IMG: Cross-Application Components -> General Application Functions

-> Nota Fiscal -> Define Nota Fiscal Item Types

Copy item type 01 to 71.In the frame general switch on ICMS statistic for consumption.

In the frame invoice switch off default item type.

Save the changes.

10.5 Nota Fiscal Types.

Create new Nota Fiscal Type F1 for Future Invoice and

F4 for returns of Future Invoices.

IMG: Cross-Application Components -> General Application Functions

-> Nota Fiscal -> Nota Fiscal Types

Copy E1 to F1.

Text = Nota Fiscal Incoming Future InvoiceAssign item type 71.

Copy E4 to F4.

7/16/2019 sapnote_0000679372

http://slidepdf.com/reader/full/sapnote0000679372 10/10

23.05.2013 Page 10 of 10

SAP Note 679372 - DIFAL - Brazil: Tax on goods movements- Customizing

Text = NF Incoming Future Invoice / Return

Assign item type 71.

Save the new types.

10.6 Maintain screen control rules.

IMG: Cross-Application Components -> General Application Functions

-> Nota Fiscal -> Maintenance -> Screen Control Group Assignment

Copy all entries from E1 to F1.

Copy all entries from E4 to F4.

Save the changes.

Header Data

Release Status: Released for Customer

Released on: 31.01.2006 07:22:58

Master Language: English

Priority: Recommendations/additional infoCategory: Legal change

Primary Component: XX-CSC-BR Brazil

Secondary Components:

MM-IM Inventory Management

The Note is release-independent

Related Notes

Number Short Text

1132804 DIFAL - Brazil: Tax on goods movements - Changed objects

756829 Wrong assignment of business place for STO Brazilian taxes

755603 Wrong assignment of business place for STO Brazilian taxes

679371 DIFAL - Brazil: Tax on goods movements - Changes on objects