VAT calculation going wrong in dealer invoice
Hi All,
I am doing a dealer purchase scenario where in am giving basic price inclusive of excise in the PO and then while capturing excise invoice am changing the base value and excise duties manually in MIGO by checking MRP indicator such that sum of excise base value and excise duty is equal to PO price and similarly am changing base while doing MIRO but am still not getting the VAT correct.
for example
PO price excluding VAT - 102,490.00
VAT - 4,099.60 + 1,024.90
Excise duties = 6,394.00 + 128.00 + 64.00
In MIGO i have changed base value as 95,904.00 and captured and posted the above excise duties. In MIRO i have changed base value as 95,904.00 and selected the tax code with excise 10.3 and VAT 4+1. Excise duties are coming as in excise invoice but VAT is being calculated based on PO price + (excise duty based on the base value in Excise Invoice i.e., )
Plz suggest
Edited by: SAp321436 on Jan 12, 2011 6:16 AM
hi
what are the exicse % you have maintained in TAX CODE
it should be zero
like excise =0
cess=0
secess=0
and vat =4
vat1 =1
ASSIGN ACCOUNTS for all conditions including excise
now check
regards
kunal
now use this code
Similar Messages
-
VAT calculation is wrong!!
Hi,
Its concerned to Indian Excise.
<b>Scenario:</b>
1)Tax code contains only 4% VAT & other excise duty is added manually in PO conditions.
2)In PO, VAT Calculation is correct
3)During invoice verifiavtion with ref to PO,Assessable values are flowing to MIRO for all line items of PO.
<b>Error:</b> when appropriate tax code is selected (Only 4% VAT) for each line item in MIRO,VAT value which is being calculated is not exactly equals to 4% instead its diiferent for each line items like 4.19%,4.74%,4.09% and 4.37%.
Can you pls advise,what is reason for this small difference in VAT calculation.
RegdsHi,
I checked in detail,other things are correct.
But one more point is,infact there are 2 POs & 1 Invoice related to above issue.If I try to do MIRO for both POs together this Difference in VAT amount is reflecting as said before,If individual PO is considered for Invoice verification there is no such difference in VAT amount i can post the document.
Regds -
CST and VAT calculation is wrong for Tool amortisation PO
Hi,
We have tool amortization process in out company.
Vendor develops tool for us and same will be amortized for each part paying addionally some amount other than material cost ( Condition type ZAMT).
Excise duties to be calculated for tool cost also. But not VAT or CST.
Now issue is tool amortization cost is calculated for excise duties ( Base price and ZAMT price ) which is correct.
When we calculate the CST/VAT it considers tool amortization cost also for basic price due to this we need to pay additional VAT or CST .
Is there any provision can be made in MM pricing procedure for ZAMT or in TAXINN for VAT/CST to exclude tool amortization cost.
Please reply
GuruHave your pricing procedure as follows:-
100::::PR00::::::Base Price
110::::ZAMT:::::Tool Cost:::::::::::::100
120:::::::::::::::Total for ED:::::::::::100::::110
130::::ZVAT:::::VAT on Base Price::::100
140::::ZCST:::::CST on Base Price::::100
G. Lakshmipathi -
Dear all,
In dealer invoice, we have done the process by ticking the MRP indicator and entering the excise duties manually in MIGO. During MIRO, all the values are coming correctly except VAT.
For ex:
PO base value is 10000
VAT is 400
The total PO value is 10400.
Now in MIGO we have reduced the base value to the extent of excise values by clicking the MRP indicator and then posted.
So the GR entry:
Stock A/c Dr: 9917.6(1000-Excise values(80(BED)1.6(Ecess)0.8(Shecess)
to GR/IR A/c Cr. 9917.6
Now in MIRO
The following entry is coming:
GR/IR clearing a/c dr 9917.6 dr
Cenvat clearing a/c dr 80
Cenvat clearing a/c dr 1.6
Cenvat clearing a/c dr 0.8
Vat input a/c dr 396
To Vendor a/c cr 10396
Now you can see the vat input amount instead of 400 it is coming as 396. This is wrong. Please suggest me how to make it correct.
Thanks & Regards,
A.Anandarajan.Hi,
Thanks for your reply. We are using TAXINN. For dealer invoice only, the VAT is not getting calculated on BaseExcise duty. For normal invoices(exclusive), the VAT is getting calculated on BaseExcise duty. Please suggest me.
Thanks & Regards,
A.Anandarajan. -
Hi
In procurement from 1st stage or 2nd stage dealers is there any special customization in SPRO or its just we have to tick the MRP indicator and change excise base value during excise capture.
Any help will be appreciated
Thank YouHiii
I am reposting my question in the hope that may be some one answers my query.
We are using TAXINJ in our implementation process. Now when we go for dealer invoice scenario an issue is there.
We create the PO with zero tax code. We capture excise during MIGO(101) and tick the MRP indicator and also change the excise base value to its real one.
Then we post J1IEX part2. Till here evrything happens perfectly.
Now during MIRO we change the base value and give the real tax code ( which is supposed to calculate ED,Cess,SHcess and VAT). Here the systems does not take the excise posted in J1IEX part2 ( ie captured during MIGO)but calculates on the base value at 14% (which is wrong) and as a result VAT also calculated wrong.
Now my query is ...Are we supposed to do special customization for this dealer scenario or not and if yes then can anyone guide me wats tht.
Thank You -
Excise is not captured in MIRO in Dealer Invoice
In dealer invoice , In PO, for Eg: Basic price : 1000 + vat 200, Total 1200 Rs.
I have changed excise duty values in MIGO . for Eg: Basic price : 900 + Excise 100, Total 1000 Rs.MRP Indicator activated
Excise is not captured in MIRO.
Regards.,
Lakshmanan.SIn case of dealer invoice you will have to change the Tax code in MIRO in your case to get the Excise calculated.
Other way is you take excise credit first with J1IEX clicking MRP indicator and properly takin excise credit, after that MIRO will automatically take excise in to accounts. -
hi gur's
Customer invoice was posted correctly by using the inr rupees.
but the problem is In the middle of the invoice, an additional line is printed with the VAT calculated in USD.
This is for the customer information, but it seems that the calculation factor is wrong.
On invoice xxxxxxx the vat is calculated 36.484,23e usd but should be something like 364,8423 usd.
value points assigned
regards
ramhi sri,
the problem is not with tax code the invoice is calculated tax properly, for customer info the vat details will be printed but its printed wrogly.
it suppose to pront 333,666 but printed like 3.336,66
hope its clear if not please ask me more info
regards
ram -
Tax calculation on sales order and invoice is different
2007A, SP0, PL49
The tax on a sales order does not match the tax on the linked delivery and invoice by 1 cent. We take payment based on the sales order amount as the delivery and invoice are done after the fact. Why is the tax calculated differently on the delivery/invoice? We would want it to always match.
Item price = $111.04. Taxcode rate 13% has combination of 5% GST + 8% ONTAX.
On Sales Order, ONTAX = $8.88
On Delivery/Invoice, ONTAX = $8.89
Can someone please explain the difference? Is rounding/tax calcualtion controlled by system settings per document?Something must be wrong with your Sales Order tax. The actual tax would be 8.8832. Round up to 8.89 is correct. Do you have any SP, FMS or add-on been used?
Thanks,
Gordon -
VAT calculation for Import PO -China
Hi,
I am configuring import pricing procedure for China.
The calculation goes like this-
Gross price -100
Custom duty- 4 - Paid to custom vendor
VAT - 6% On (Gross price+ Custom duty) .VAT is deductible and paid to custom vendor.
In india pricing procedure i can use CVD condition for calculation and is deductible.
I am coying pricing procedure from RM0000,but in this there is no condition which can be used like CVD.
Can somebody suggest me on this.
Warm Regards,
Tushar Tandonu have to create cvd , cvd ecesss,cvd shcess and assign it in pricing procedure . also acct key CVD and accruals has to be maintained for cvd cdb type .
for tax -- vat -- corresponding acct key for tax -vat has to tick it deductable.
and mainatin vat at ftxp for the ticke on acct key, cdn type combination the tax amount.
rewds
Edited by: manu m on Sep 1, 2008 2:01 PM -
Vat no-paid till the last invoice
Hello everybody,
In France is obligatory for machinery purchases that have several invoices, to pay the VAT at the final invoice. however the VAT sometimes appears in the invoices and sometimes not.
If the VAT does not appear in the invoice, there is no problem as the automatic payment program deals with it. (F110)
But if the VAT appears in the invoice, What can be done for differ the payment till the last invoice? I mean, for the example above, how to pay 1000 instead of 1195?
Is there any program for that?
1000 frais fournisseurs 1195
195 tva
1000 fournisseurs banc 1000
thanksHi,
In France you need to to use the deferred tax functionality, i.e. VAT becomes liable to be paid when the payment happens and not at the time of invoice.
Have a look at the detailed config document from the link below:
[Deferred Tax - France|http://help.sap.com/bp_bblibrary/600/Documentation/V99_BB_ConfigGuide_MED_EN_US.doc]
cheers. -
Requirement for getting the VAT Taxes automatically from the vendor invoice
Dear All,
We Have a Requirement for getting the VAT Taxes automatically from the vendor invoice in to the Sales invoice after invoice verification process.Is this feasible?. Can anybody explain how this can be done to overcome this issue.
Thanking you,
Best regards,
R.Srinivasanhi,
technically i do not think tht can be done. but even from functional part its incorrect in the sense tht the values on which tax is calculated in purchase may be very different from tht in sales. so we may never get the correct picture.
saurabh -
Incorrect VAT calculation when a PO is raised.
Hello All,
The value of VAT calculated after a PO is raised is wrong,in my country it is 5% but the system calculates slightly higher than 5%.This is perculiar for PO.Hi,
Please check the Tax Procedures assigned for your country.
Either it is condition based or formula based.
If condition based check with your MM consultant, if it is formula based check your tax code % rates in FTXP.
Thanks & Regards,
Shashi Kanth. -
Regadring the VAT Calculation on diff amount
Dear All ,
Following is the scenario :-
For a particular state in India and for some particular materials we have to calculate the Taxes on the difference of Internal cost and MRP
i.e For a material XYZ in STATE N1 if the MRP is 1000 & Internal cost VPRS) is 200 ,I have to calulate the VAT on 800 .
For same material in rest of the states VAT calculation is on Rs 1000
Pls guide me how to configure this
Regards
SatishDear Satish
May be you can have two pricing procedure. One is normal and other one is like this.
In your pricing procedure, let us assume, you have PR00 as 1000 in step 10. Maintain VPRS (Rs.200) in Step 20. In step 30, you minus 200 from 1000 so that your net value will now be 800. For this you assign other conditions like JIN5 / JIN6 so that the tax value will be based on your PR00 less VPRS.
Next list out all the customers to whom you would like to have invoice value 1000 - 200. Maintain a different Customer Pricing Procedure for these customers, let us assume 3.
Now go to OVKK, assign your sales area, document pricing procedure and different customer pricing (3) procedure to Pricing Procedure.
Now test it and I presume this should work for you.
Thanks
G. Lakshmipathi -
Very quick and simple question about a simple sum going wrong.
Ive noticed that im having lots of ocurrences where my maths goes wrong - usually i trace this to ints multiplying doubles and stuff , or its in degrees not radians .
But this one is too simple to seem to cause problems :
screenY = 180 + ( 420 - (( 420 / 2200 ) * xE ) );
heres the code line which does the calculation, and for a particular loop it
ran as xE = 223 .
xE is an int by the way.
For some reason this code always produces screenY = 600 ,
which should only be the case if xE = 0 .
any suggestions as to how i should help the VM get it right?
thanks in advance guys.Ive noticed that im having lots of ocurrences where
my maths goes wrong - usually i trace this to ints
multiplying doubles and stuff , or its in degrees
not radians .
But this one is too simple to seem to cause problems
screenY = 180 + ( 420 - (( 420 / 2200 ) * xE ) );
heres the code line which does the calculation, and
for a particular loop it
ran as xE = 223 .
xE is an int by the way.
For some reason this code always produces screenY =
600 ,
which should only be the case if xE = 0 .It happens because in integer division 420/2200 is always equal to zero. So, regardless of the value of xE, you're adding 420 + 180, which is 600.
any suggestions as to how i should help the VM get it right? Yes:
double value = 180.0 + (420.0 - ((420.0/ 2200.0)*xE));
screenY = (int)value;You can simplify all this, of course. Why not do that 420/2200 = 0.19090909... calculation once and just substitute the constant value?
% -
Making a simple calc applet. Where am I going wrong?
Hi everyone. I'm taking a introductory java class over the summer and so far I've been doing pretty good in it. I've been able to knock out and figure out how to do most of the assignments on my own. But this latest problem is driving me up a wall. I think I might be making it more difficult then it is. I'm supposed to a take a simple calculation program, and then convert it into an applet with new button functionality and text fields. In the applet, there will be two text fields(input and result) and two buttons(Update and Reset). In the first field you put in an operator and a number. Then from there you hit the Update button and the new value is put in the second field.
For example. The program is defaulted to "0". So you put "+ 9" in the first field, then Hit Update. "9" will now appear in the second field. Go back to the first field and put in "- 3", hit update again and now the second field will go to "6." You can keep doing this all you want. Then when you want to start all over again you hit reset. Its sort of a weird program.
Here's the original calc program:
import java.util.Scanner;
Simple line-oriented calculator program. The class
can also be used to create other calculator programs.
public class Calculator
private double result;
private double precision = 0.0001; // Numbers this close to zero are
// treated as if equal to zero.
public static void main(String[] args)
Calculator clerk = new Calculator( );
try
System.out.println("Calculator is on.");
System.out.print("Format of each line: ");
System.out.println("operator space number");
System.out.println("For example: + 3");
System.out.println("To end, enter the letter e.");
clerk.doCalculation();
catch(UnknownOpException e)
clerk.handleUnknownOpException(e);
catch(DivideByZeroException e)
clerk.handleDivideByZeroException(e);
System.out.println("The final result is " +
clerk.getResult( ));
System.out.println("Calculator program ending.");
public Calculator( )
result = 0;
public void reset( )
result = 0;
public void setResult(double newResult)
result = newResult;
public double getResult( )
return result;
The heart of a calculator. This does not give
instructions. Input errors throw exceptions.
public void doCalculation( ) throws DivideByZeroException,
UnknownOpException
Scanner keyboard = new Scanner(System.in);
boolean done = false;
result = 0;
System.out.println("result = " + result);
while (!done)
char nextOp = (keyboard.next( )).charAt(0);
if ((nextOp == 'e') || (nextOp == 'E'))
done = true;
else
double nextNumber = keyboard.nextDouble( );
result = evaluate(nextOp, result, nextNumber);
System.out.println("result " + nextOp + " " +
nextNumber + " = " + result);
System.out.println("updated result = " + result);
Returns n1 op n2, provided op is one of '+', '-', '*',or '/'.
Any other value of op throws UnknownOpException.
public double evaluate(char op, double n1, double n2)
throws DivideByZeroException, UnknownOpException
double answer;
switch (op)
case '+':
answer = n1 + n2;
break;
case '-':
answer = n1 - n2;
break;
case '*':
answer = n1 * n2;
break;
case '/':
if ((-precision < n2) && (n2 < precision))
throw new DivideByZeroException( );
answer = n1 / n2;
break;
default:
throw new UnknownOpException(op);
return answer;
public void handleDivideByZeroException(DivideByZeroException e)
System.out.println("Dividing by zero.");
System.out.println("Program aborted");
System.exit(0);
public void handleUnknownOpException(UnknownOpException e)
System.out.println(e.getMessage( ));
System.out.println("Try again from the beginning:");
try
System.out.print("Format of each line: ");
System.out.println("operator number");
System.out.println("For example: + 3");
System.out.println("To end, enter the letter e.");
doCalculation( );
catch(UnknownOpException e2)
System.out.println(e2.getMessage( ));
System.out.println("Try again at some other time.");
System.out.println("Program ending.");
System.exit(0);
catch(DivideByZeroException e3)
handleDivideByZeroException(e3);
}Here's me trying to make it into an applet with the added button functionality.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.math.*;
import java.util.*;
import java.io.*;
import java.lang.*;
public class Calculator extends JApplet implements ActionListener
// Variables declaration.
private javax.swing.JPanel jPanel2;
private javax.swing.JLabel jLabel2;
private javax.swing.JTextField jTextField1;
private javax.swing.JLabel jLabel3;
private javax.swing.JTextField jTextField2;
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JTextArea resultArea;
private Container container;
// End of variables declaration
public void init () {
initComponents();
setSize(400, 200);
private void initComponents() {
container = getContentPane();
container.setLayout( new BorderLayout() );
// Creating instances of each item
jPanel2 = new javax.swing.JPanel();
jLabel2 = new javax.swing.JLabel();
jTextField1 = new javax.swing.JTextField();
jLabel3 = new javax.swing.JLabel();
jTextField2 = new javax.swing.JTextField();
jButton1 = new javax.swing.JButton();
jButton2 = new javax.swing.JButton();
resultArea = new javax.swing.JTextArea();
// End Creation
// Set text on labels, preferred size can be optional on labels,
// size should/must be used on text fields.
// Then each individual item is added to a panel.
jLabel2.setText("Input =");
jPanel2.add(jLabel2);
jTextField1.setText("");
jTextField1.setPreferredSize(new java.awt.Dimension(65, 20));
jPanel2.add(jTextField1);
container.add( jPanel2, BorderLayout.SOUTH);
jButton1.setText("Update");
jButton1.addActionListener(this);
jButton2.setText("Reset");
jButton2.addActionListener(this);
container.add(resultArea, BorderLayout.CENTER);
container.add(jButton1, BorderLayout.WEST);
container.add(jButton2, BorderLayout.EAST);
resultArea.setText("Calculator is on.\n" +
"Format of each line: " +
"\noperator space number" +
"\nFor example: + 3" +
"\nThen hit Update to compute"+
"\nHit Reset to set the result back to zero.");
private double result;
private double precision = 0.0001;
public void actionPerformed(ActionEvent e)
Calculator clerk = new Calculator( );
try
clerk.doCalculation();
catch(UnknownOpException e2)
clerk.handleUnknownOpException(e2);
catch(DivideByZeroException e2)
clerk.handleDivideByZeroException(e2);
resultArea.setText("The final result is " + clerk.getResult( )+
"\nCalculator program ending.");
public Calculator( )
result = 0;
public void reset( )
result = 0;
public void setResult(double newResult)
result = newResult;
public double getResult( )
return result;
The heart of a calculator. This does not give
instructions. Input errors throw exceptions.
public void doCalculation( ) throws DivideByZeroException,
UnknownOpException
Scanner keyboard = new Scanner(System.in);
boolean done = false;
result = 0;
resultArea.setText("result = " + result);
while (!done)
char nextOp = (keyboard.next( )).charAt(0);
if ((nextOp == 'e') || (nextOp == 'E'))
done = true;
else
double nextNumber = keyboard.nextDouble( );
result = evaluate(nextOp, result, nextNumber);
resultArea.setText("result " + nextOp + " " + nextNumber + " = " + result+
"\nupdated result = " + result);
Returns n1 op n2, provided op is one of '+', '-', '*',or '/'.
Any other value of op throws UnknownOpException.
public double evaluate(char op, double n1, double n2)
throws DivideByZeroException, UnknownOpException
double answer;
switch (op)
case '+':
answer = n1 + n2;
break;
case '-':
answer = n1 - n2;
break;
case '*':
answer = n1 * n2;
break;
case '/':
if ((-precision < n2) && (n2 < precision))
throw new DivideByZeroException( );
answer = n1 / n2;
break;
default:
throw new UnknownOpException(op);
return answer;
public void handleDivideByZeroException(DivideByZeroException e)
resultArea.setText("Dividing by zero."+
"\nProgram aborted");
System.exit(0);
public void handleUnknownOpException(UnknownOpException e)
resultArea.setText(e.getMessage( )+
"\nTry again from the beginning:");
try
resultArea.setText("Calculator is on.\n" +
"Format of each line: " +
"\noperator space number" +
"\nFor example: + 3" +
"\nHit Reset to set the result back to zero.");
doCalculation( );
catch(UnknownOpException e2)
System.out.println(e2.getMessage( ));
System.out.println("Try again at some other time.");
System.out.println("Program ending.");
System.exit(0);
catch(DivideByZeroException e3)
handleDivideByZeroException(e3);
}I'm not getting any compiling errors or anything and it launches, but it doesn't work at all. I'm sure it has something to do with the calc program and the applet actionevent. I just don't know where to go from there. Can anyone tell me where I'm going wrong? Or even make sense of what I've posted. I know its a lot. I've been looking at this thing for a day now and its killing me. Any help would be greatly appreciated. Thanks.This is a mistake
public void actionPerformed(ActionEvent e)
Calculator clerk = new Calculator( );
try
clerk.doCalculation();You don't want to create a whole new applet every time anyone pushes a button.
Make whatever changes are neccessary so that you don't have to create a new applet in your actionPerformed
Maybe you are looking for
-
Need advice on backup hardware
I am using an Xserve for a disk-to-disk backup, and as our data has expanded, we need more backup room. The Xserve is connected to a RAID, and we need to back up about 1.5 TB from that RAID once a week for offsite storage. Each night, the backups go
-
How to keep original file name in File- Soap- Soap- File scenario?
Hi Gurus, I have a requirement as bleow: There are two PI landscape for two different company and they are communicating using Soap adapter. We need to pass a flat file cross the two PI now, and need to keep the original file name.Anyone could shed s
-
When to use BPM Studio & BPM Composer
Hi, I'm aware of BPM Studio and BPM Composer components and have used them using Sales Quote example. I need to know the key differences between studio and composer that differentiate each other interms of usage. When to go with studio and composer?
-
Decimal notation in Smartforms
Hi, We have two smart from USD in one smart form it is showing as 14,840.50 in USD whereas for other smart forms it is showing as 14.840,50 USD.and both the invoices has been raised for the same customer whose country is belgium and currency is USD
-
Best way to load messages - properties file or database?
Hi Guys, I have a debate with my colleague about best way to load/keep GUI messages. As we known, all those messages are in properties file, web tier will handle the messages loading to GUI. However, my colleague suggested, we could save all the mess