In Progress

Magento Debugging - Fix Tax Calculation

I am displaying tax for items and shipping during checkout and on invoices. Also I am displaying gross subtotal and gross shipping cost.

This for some reason is not working correctly on pdf invoice sometimes. Here, the tax amount of the shipping cost is being added to the gross subtotal amount - but it is also included in the tax itself. The grandtotal however is correct - only the gross subtotal is wrong.

Here is an example:

Correct value during checkout and in backend:

Subtotal (incl tax): 19,90

Shipping (incl tax): 4,95

Incl Tax: 3,97

Grandtotal: 24,85

Incorrect value on pdf invoice:

Subtotal (incl tax): 20,69

Shipping (incl tax): 4,95

Incl Tax: 3,97

Grandtotal: 24,85

As you can see, the subtotal is wrong. It is 0,79 more than the correct value. 0,79 beeing exactly 19% (tax) of the 4,95 shipping costs.

This issue only exists on some invoices. It doesn't seem to be related to a payment method and so far I have not been able to find the common constant.

Screenshots of all settings can be provided. Backend or DB access can be given if needed although I would prefer avoiding this.

Skills: Magento

See more: magento tax, magento tax calculation wrong, magento wrong subtotal invoice, magento invoice tax incorrect, magento tax calculation fix, incorrect tax magento, wrong tax calculation checkout magento, magento tax calculation subtotal, magento wrong tax, magento pdf invoice incorrect, magento tax fix, magento tax calculation method, debugging invoice pdf magento, wrong invoice, checkout tax calculation magento, magento tax wrong calculation, issue tax added subtotal invoice pdf magento, subtotal pdf correct magento, magento wrong tax fix, magento pdf invoice subtotal incl tax, value added tax example, magento shipping, mAGENTO issue, magento fix issue, invoice example

About the Employer:
( 7 reviews ) Arnstein, Germany

Project ID: #1285332

Awarded to:

magegalaxy

Hello, We are ready to start working on the project. Please check your inbox for more details, thanks!

€70 EUR in 1 day
(37 Reviews)
5.4

6 freelancers are bidding on average €78 for this job

AStonetech

Please refer PMB

€75 EUR in 2 days
(147 Reviews)
6.8
phpdevindia

Magento Experts here to solve the [url removed, login to view] check your inbox. Thanks

€80 EUR in 1 day
(30 Reviews)
5.0
Shayanarshad

Please check pm

€80 EUR in 5 days
(0 Reviews)
0.0
expartwe

Hello sir, I am Joydip Ghosh from icoresystem. I have been seen your all project requirement of your word press site. I've confident my self and my dedicated team. I have developed many word press,joomla,php, mage More

€100 EUR in 4 days
(0 Reviews)
0.0
hemanth1221

HI i got 2+ exp in magento see some of my works in magento

€60 EUR in 1 day
(0 Reviews)
0.0