Open ghost opened 6 years ago
Currently the only way to distinguish such orders is to refer to the <Marketplace>
value.
The <TaxeRate>
value in the product details in the XML seems to always have the same value
: <TaxeRate>0.000</TaxeRate>
In order to offer more flexibility in the future, is it possible to add a new XML tag such as <TaxesRule>
? We could then have multiple values:
<TaxesRule>
is not present in the XML.Let me know what you think about it.
A specific process for tropic market will be required.
We discard the proposition of May 31st to include a new tag such as <TaxesRule>
.
Expected behaviour
We should be able to decide/flag if the prices to import from the
getOrder
order response are with or without taxes. This way we can adapt to some specific MarketPlace. As wellActual behaviour
Prices given in
<order>[...]<\order>
from thegetOrders
API call are with taxes. The order is then created in PrestaShop using the prices as references and the taxes are applied based on PrestaShop rules. The price without taxes is therefore calculated and added to the order.Steps to reproduce the behaviour
Import an order from a marketplace having no taxes. Prices will be without taxes but imported are taxes included prices.