Skip to content

Bad VAT calculation in mixed scenarios #12

@Hlavtox

Description

@Hlavtox

In certain scenarios, the VAT calculation is wrong.

Scenario 1

  • You are a French shop.
  • Tax address in Prestashop is set to invoice address.
  • You go to checkout:
  • Invoice address - German customer, valid VAT number
  • Delivery address - French customer, regular.
  • Result - 0 % VAT 🔴
  • Expected - normal VAT.
  • Reason - the module receives only one address, it needs both to resolve the proper VAT.

Scenario 2

  • You are a French shop.
  • Tax address in Prestashop is set to delivery address.
  • You go to checkout:
  • Invoice address - German customer, valid VAT number
  • Delivery address - German customer, regular.
  • Result - normal VAT 🔴
  • Expected - 0 % VAT.
  • Reason - the module receives only one address, but there is no VAT number in the delivery address.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions