• Resolved kacsalla

    (@kacsalla)


    I use WPML multicurrency on my website. I have the prices in EUR and HUF. I have the prices inclusive the VAT on my website. When someone buys on the slovak site in EUR, the prices on the invoice has 2 decimals (eg. 66,25 €, both the net price and the price with VAT), but when someone buys on the hungarian site in HUF, the prices on the invoice has 4 decimals (eg. 23535,3071 HUF, but only the price without VAT). The HUF prices should have 2 decimals as well. I didn’t find any settings, can you help me fix it?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author superfaktura

    (@superfaktura)

    Hi,

    there is no getting around this. SuperFaktura API only accepts unit price without VAT and VAT rate. It then calculates the price including VAT.

    The price without VAT cannot be rounded to 2 decimal places by the plugin, because calculating the price including VAT from the rounded price without VAT may return an incorrect price.

    For example:
    Price including VAT: EUR 4.83
    VAT rate: 20%
    Price without VAT: EUR 4.025

    If the plugin sent the price without VAT rounded to 2 decimal places (4.03 EUR), you would have a price with VAT of 4.84 EUR on the invoice and that would be a much more serious problem, because the price no longer corresponds to the price to have in the eshop.

    Thread Starter kacsalla

    (@kacsalla)

    Thank you for your answer!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Price decimal’ is closed to new replies.