0000421284

4
8/10/2019 0000421284 http://slidepdf.com/reader/full/0000421284 1/4 SAP Note Header Data Symptom You have created Notas Fiscais out of SD with incorrect values for tax rate, tax amount and / or tax base. The corresponding Notas fiscais and FI postings are also incorrect. You need to correct these documents, but this is hitherto only possible by manually creating Notas Fiscais and FI documents separately without a connection between them. You wish to have a connection between those documents but still be able to manually maintain tax rate, tax amount and tax base values independent of each other (e.g. tax base 100 BRL, excluded base 30 BRL, Tax rate 10%, Tax amount 5 BRL). This is currently not possible in the system. Other Terms Brazil; Nota Fiscal, Tax Complementar, correction Reason and Prerequisites This note is only valid for Company codes in Brazil. It is only valid for R/3 Version 4.6C with Service Release 2 (=HotPack 15) applied and higher releases. This is a consulting note. Solution Starting with Service Release 2 of R/3 Version 4.6C, there exists an additional interface between SD invoices and Notas Fiscais. This interface works as follows: For each tax type (e.g. IPI3 or ICM3), you define which document condition contains the tax rate, tax amount, tax base, excluded base or other base, respectively. These data are then transferred into the Nota Fiscal during invoice creation. If you wish to use this technique to create Notas fiscais with manually entered values for Tax rate, amount etc. which are connected to the standard document flow, you have to perform the following customizing steps: 1) Define new condition types 2) Define new pricing procedure 3) Define new document types and assign them to the new pricing procedure and desired Nota Fiscal type 4) Connect pricing procedure to new sales document and invoice 5) Customize the old and new Nota-Fiscal Interface An example is given below. Please adapt this example to your own needs. 1. Define new condition types a) IPI-related Condit. type 'IPBA' Text: 'Tax comp IPI Base' Access seq. ' ' Cond. class 'A' Discount or surcharge Calculat.type 'B' Fixed amount Cond.category ' ' Rounding rule ' ' Commercial Manual entries 'C' Manual entry has priority Amount/Percent 'X' Item condition 'X' Condit. type 'IPBX' Text: 'Tax comp IPI Ex Base' Access seq. ' ' Cond. class 'A' Discount or surcharge Calculat.type 'B' Fixed amount Cond.category ' ' Rounding rule ' ' Commercial Manual entries 'C' Manual entry has priority Amount/Percent 'X' Item condition 'X' 421284 - Brazil: Tax complementar via SD sales order  Version 9 Validity:  11.12.2009 - active Language English Released On 11.12.2009 19:23:14 Release Status Released for Customer Component XX-CSC-BR Brazil SD-BF-TX Taxes Priority Correction with medium priority Category Consulting Other Components

Transcript of 0000421284

Page 1: 0000421284

8/10/2019 0000421284

http://slidepdf.com/reader/full/0000421284 1/4

SAP Note 

Header Data

Symptom 

You have created Notas Fiscais out of SD with incorrect values for tax rate, tax amount and / ortax base. The corresponding Notas fiscais and FI postings are also incorrect.

You need to correct these documents, but this is hitherto only possible by manually creating NotasFiscais and FI documents separately without a connection between them.You wish to have a connection between those documents but still be able to manually maintain taxrate, tax amount and tax base values independent of each other (e.g. tax base 100 BRL, excluded base30 BRL, Tax rate 10%, Tax amount 5 BRL). This is currently not possible in the system. 

Other Terms 

Brazil; Nota Fiscal, Tax Complementar, correction

Reason and Prerequisites 

This note is only valid for Company codes in Brazil. It is only valid for R/3 Version 4.6C withService Release 2 (=HotPack 15) applied and higher releases.This is a consulting note.

Solution Starting with Service Release 2 of R/3 Version 4.6C, there exists an additional interface between

SD invoices and Notas Fiscais. This interface works as follows:For each tax type (e.g. IPI3 or ICM3), you define which document condition contains the tax rate,tax amount, tax base, excluded base or other base, respectively. These data are then transferredinto the Nota Fiscal during invoice creation.If you wish to use this technique to create Notas fiscais with manually entered values for Tax rate,amount etc. which are connected to the standard document flow, you have to perform the followingcustomizing steps:

1) Define new condition types2) Define new pricing procedure3) Define new document types and assign them to the new pricing procedure and desired Nota Fiscaltype4) Connect pricing procedure to new sales document and invoice5) Customize the old and new Nota-Fiscal Interface

An example is given below. Please adapt this example to your own needs.

1. Define new condition types

a) IPI-related

Condit. type 'IPBA' Text: 'Tax comp IPI Base' Access seq. ' ' Cond. class 'A' Discount or surcharge Calculat.type 'B' Fixed amountCond.category ' 'Rounding rule ' ' CommercialManual entries 'C' Manual entry has priorityAmount/Percent 'X'Item condition 'X'

Condit. type 'IPBX' Text: 'Tax comp IPI Ex Base' Access seq. ' ' Cond. class 'A' Discount or surcharge Calculat.type 'B' Fixed amountCond.category ' 'Rounding rule ' ' CommercialManual entries 'C' Manual entry has priorityAmount/Percent 'X'Item condition 'X'

421284 - Brazil: Tax complementar via SD sales order  

Version  9 Validity: 11.12.2009 - active Language  English

Released On  11.12.2009 19:23:14

Release Status  Released for Customer

Component  XX-CSC-BR Brazil

SD-BF-TX TaxesPriority  Correction with medium priority

Category  Consulting

Other Components

Page 2: 0000421284

8/10/2019 0000421284

http://slidepdf.com/reader/full/0000421284 2/4

 Condit. type 'IPBO' Text: 'Tax comp IPI othBase' Access seq. ' ' Cond. class 'A' Discount or surcharge Calculat.type 'B' Fixed amountCond.category ' 'Rounding rule ' ' CommercialManual entries 'C' Manual entry has priorityAmount/Percent 'X'Item condition 'X'

Condit. type 'IPRA' Text: 'Tax comp IPI Rate' Access seq. ' ' Cond. class 'A' Discount or surcharge 

Calculat.type 'A' PercentageCond.category ' 'Rounding rule ' ' CommercialManual entries 'C' Manual entry has priorityAmount/Percent 'X'Item condition 'X'

Condit. type 'IPAM' Text: 'Tax comp IPI Amount' Access seq. 'PR00' Cond. class 'D' Taxes Calculat.type 'B' Fixed amountCond.category 'D' TaxRounding rule ' ' CommercialManual entries 'C' Manual entry has priorityAmount/Percent 'X'Item condition 'X'

b) ICMS-related

Condit. type 'ICBA' Text: 'Tax comp ICMS Base' Access seq. ' ' Cond. class 'A' Discount or surcharge Calculat.type 'B' Fixed amountCond.category ' 'Rounding rule ' ' CommercialManual entries 'C' Manual entry has priorityAmount/Percent 'X'Item condition 'X'

Condit. type 'ICBX' Text: 'Tax comp ICMS ExBas' Access seq. ' ' 

Cond. class 'A' Discount or surcharge Calculat.type 'B' Fixed amountCond.category ' 'Rounding rule ' ' CommercialManual entries 'C' Manual entry has priorityAmount/Percent 'X'Item condition 'X'

Condit. type 'ICBO' Text: 'Tax comp ICMS othBas' Access seq. ' ' Cond. class 'A' Discount or surcharge Calculat.type 'B' Fixed amountCond.category ' 'Rounding rule ' ' CommercialManual entries 'C' Manual entry has priorityAmount/Percent 'X'

Item condition 'X'Condit. type 'ICRA' Text: 'Tax comp ICMS Rate' Access seq. ' ' Cond. class 'A' Discount or surcharge Calculat.type 'A' PercentageCond.category ' 'Rounding rule ' ' CommercialManual entries 'C' Manual entry has priorityAmount/Percent 'X'Item condition 'X'

Condit. type 'ICAM' Text: 'Tax comp ICMS Amount' Access seq. 'PR00' Cond. class 'D' Taxes Calculat.type 'B' Fixed amountCond.category 'D' TaxRounding rule ' ' CommercialManual entries 'C' Manual entry has priorityAmount/Percent 'X'Item condition 'X'

c) Others

Condit. type 'INET' Text: 'Net value for NF' 

Page 3: 0000421284

8/10/2019 0000421284

http://slidepdf.com/reader/full/0000421284 3/4

Access seq. ' ' Cond. class 'B' Prices Calculat.type 'B' Fixed amountCond.category ' 'Rounding rule ' ' CommercialManual entries 'C' Manual entry has priorityAmount/Percent 'X'Item condition 'X'

2. Define new pricing procedure:

Pricing Procedure ZTAXCO:

Step Cntr Ctyp Fro To Man Mdt Stat P Subto Reqt AltCTy AltCBV ActKy100 0 INET X ERL 

640 0 IPBA X X X 641 0 IPBX X X 642 0 IPBO X X 645 0 IPRA X X X 647 0 IPAM 640 X X MW1 650 0 ICBA X X X 651 0 ICBX X X 652 0 ICBO X X 655 0 ICRA X X X 657 0 ICAM 650 X X MW2 700 0 647 X 720 0 ICMO 657 657 BRI 750 0 657 745 X 

Step 700 is named 'IPI repeated'Step 750 is named 'INVOICE VALUE:'

If you wish to use discounts in the pricing procedure, insert them between the net value and the taxrates, i.e. between condition types INET and IPBA.

If you use Condition Based Technique (CBT) and you want to create a Complementar Nota Fiscal for PISor COFINS please implement the following:- For PIS:Add condition type DPIS in the pricing just before the first PIS related condition (probably PIS taxbase).- For COFINS:Add condition type DCOF in the pricing just before the first COFINS related condition (probablyCOFINS tax base).

3. Define new document types and assign them to the new pricing procedure and desired NotaFiscal type

a) Define new document pricing procedure

Define a new document pricing procedure, e.g. N : Tax complement

b) Define new Invoice type

Copy the standard invoice type F2B to a new invoice type ZTAX and assign it to the Documentpricing procedure, 'N' ( created in Step 3a).

c) Define new sales order type

Copy the existing ORB to a new sales document type, e.g. ZTAX and assign it to the Documentpricing procedure and invoice type you have created before, e.g.Document pricing procedure 'N' (from Step 3a)Dlv-rel.billing type 'ZTAX' (Invoice type from Step 3b) Order-rel.bill.type 'ZTAX' (Invoice type from Step 3b) 

If you want to refer to the previous billing document set the mandatoryreference to "M" (mandatory With ref.to billing document).

d) Assign Nota Fiscal type

Assign the the Sales order type you have created to a a Nota-Fiscal type with document type2 (Complementar), e.g. N2:Sales order type NF type ZTAX Tax Compl. Brazil N2 Nota Fiscal Outgoing 

e) Maintain Sales document item categoryMaintain table J_1BSDICA for the item types you wish to use, e.g.

Sales doc.Ty Item cat. NF rec. ty. NF spec. case Partner ID ZTAX TBD 1 WE ZTAX TBN 1 WE ZTAX TBS 1 WE 

4. Nota-Fiscal-Interface

a) Maintain special pricing conditions

Use transaction SM30 to maintain the view J_1BSDKONV.Enter the pricing procedure you are using (e.g. ZTAXCO) and create the following entries:

Condition type Name NF Value INET Net Value for NF Value and price 

If you have inserted a discount in the pricing procedure, you have to maintain the

Page 4: 0000421284

8/10/2019 0000421284

http://slidepdf.com/reader/full/0000421284 4/4

 

assignment for it in this view.

b) Maintain new Condition-Tax-Interface for Notas Fiscais from SD

Use Transaction SM30 to maintain the view J_1BNFTXCONDV.Enter the pricing procedure you are using (e.g. ZTAXCO) and create the following entries:

Tax Type Tax Rate Tax amount Total Base Tax Base Ex. Base Other base ICM3 ICRA ICAM ICBA ICBA ICBX ICBO IPI3 IPRA IPAM IPBA IPBA IPBX IPBO

If you have customized the pricing also for PIS and COFINS, create the entries forthem accordingly, following the same logic.

If you wish to set up a pricing procedure in which the excluded base is

calculated by subtracting the tax base from the total tax base, you could do this by leaving thecolumn 'Excluded base' empty and specifying which condition contains the respective values.

5. Maintain default rates

For FI posting, the tax lines need to have a tax code, e.g. SD. This tax code is determined fromthe respective condition records. You therefore have to maintain a dummy entry for the taxconditions you want to post, including a tax code.These entries could look something like this:

Cond. <your key fields> Value Tax code ICAM <your key fields> '10' 'SD' IPAM <your key fields> '10' 'SD' 

Validity

Causes - Side Effects

References

This document refers to:

SAP Notes 

This document is referenced by:

SAP Notes (3) 

Software Component From Rel. To Rel. And Subsequent

SAP_APPL  46C  46C  

SAP_BASIS  46D  46D  

610  640  

SAP_ABA  50A  50A  

620  620  

Notes / Patches corrected with this note

Note Reason From Version To Version Note Solution Version Support Package

The table does not contain any entries

The following SAP Notes correct this Note / Patch

Note Reason From Version To Version Note Solution Version Support Package

421284 0 0 770860 0

376915 Brazil:Condition-based tax calculation in CRM and R/3 

770860 BR: Error 8B 674 after Note 727475 

1600509 Rounding general errors/solutions 

376915 Brazil:Condition-based tax calculation in CRM and R/3 

770860 BR: Error 8B 674 after Note 727475 

1600509 Rounding general errors/solutions