Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Table of Contents

VAT calculation problem

The problem with VAT calculation was fixed in Koongo Connector 6.3.0.0. Thus, if you are using older version we encourage you to upgrade to the latest connector version. This article describes the problem in connector version 6.2.1.0 and older and shows the workaround how to fix the VAT issue witout the need for connector upgrade.

Generall information

Using Attribute Mapping table you may choose the type of Price attribute exported into XML feed file, as shown below:

Problem in connector 6.2.1.0 and older

In some cases, the price was always exported without VAT amount, even with selected VAT-included price attribute in Attribute Mapping table. The problem was caused by settings under System → Configuration → Shipping settings → Shipping origin country, since Tax class determination for price export was dependent only on Shipping origin country,state and region:

In other words, when shipping origin is set as USA and you have defined tax classes only for Netherland, the price is always exported without VAT amount, since the tax rule for USA doesn't exist.

Solution

Connector 6.2.1.0

In Koongo Connector 6.2.1.0 and older you need to check the existence of tax rule for country defined as Shipping origin country, as shown above.

Connector 6.3.0.0

Since Koongo Connector 6.3.0.0 the tax class determination for price export fully reflects Magento configuration in following way:

Navigate to System → Configuration → Tax → Calculation Settings → Tax Calculation Based On and choose the settings according to your needs:

  • Shipping origin. VAT is calculated for address defined under System → Configuration → Shipping settings → Origin → Country/State/Region
  • Shipping address / Billing address. VAT is calculated according to the address defined under System → Configuration → Tax → Default Tax Destination Calculation

Basically, since version 6.3.0.0 the connector fully reflects Magento configuration and exports the same prices (with or without tax) as shown in frontend.

For developers

The VAT calculation issue was fixed here:

  • app/code/community/Nostress/Nscexport/Model/Mysql4/Cache/Tax.php

Issue tracking system: 

 

Error rendering macro 'jira' : Unable to locate Jira server for this macro. It may be due to Application Link configuration.

  • No labels