Order Calculation understanding

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
DamanMokha
Posts: 13
Joined: 29 Mar 2023, 03:00

Order Calculation understanding

Post by DamanMokha » 26 May 2023, 04:56

Hi,

I would like to seek clarification on how the order payment is calculated. I have two products: "Perlage - Sparkling Water (Glass-300 ml)" priced at $6.99 with a tax rate of 15%, and "Jumbo Braised Beef Octagons Ravioli (1 Bag)" priced at $19.99 with a tax rate of 13%.

According to my calculations, the tax for the first product would amount to $1.05 (6.99 * 0.15 = 1.0485 ≈ 1.05), while for the second product, it would be $2.60 (19.99 * 0.13 = 2.5997 ≈ 2.60).

Thus, the grand total amount, inclusive of taxes, should be (6.99 + 1.05) + (19.99 + 2.60) = $31.63, with a total tax amount of $3.65 (1.05 + 2.60).

However, in your order description, it indicates a total of $26.98 with a tax amount of $3.21, summing up to $30.19. This seems to deviate from the calculated total.

I kindly request you to provide further information and attach any relevant screenshots to aid in resolving this discrepancy.

Thank you.
Screenshot 2023-05-26 at 10.11.31 AM-min.png
Screenshot 2023-05-26 at 10.11.31 AM-min.png (66.71 KiB) Viewed 2470 times
Screenshot 2023-05-26 at 10.11.53 AM-min.png
Screenshot 2023-05-26 at 10.11.53 AM-min.png (66.15 KiB) Viewed 2470 times
Screenshot 2023-05-26 at 10.10.42 AM.png
Screenshot 2023-05-26 at 10.10.42 AM.png (81.34 KiB) Viewed 2470 times
Screenshot 2023-05-26 at 10.10.30 AM.png
Screenshot 2023-05-26 at 10.10.30 AM.png (227.65 KiB) Viewed 2470 times

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: Order Calculation understanding

Post by aimeos » 27 May 2023, 08:55

The calculation in Aimeos is correct because your prices are gross prices which already include the tax. The net total would be 26.98 - 3.21.

If you want to use net prices instead, use the "mshop/price/taxflag = 0" config option.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
DamanMokha
Posts: 13
Joined: 29 Mar 2023, 03:00

Re: Order Calculation understanding

Post by DamanMokha » 27 May 2023, 17:02

Hi,
Thanks, But i am not able to find it, where and how to add this in the config?

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: Order Calculation understanding

Post by aimeos » 29 May 2023, 08:30

Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply