Warning: You are browsing the documentation for PrestaShop 8, which is outdated.

You might want to read an updated version of this page for the current version, PrestaShop 9. Read the updated version of this page

Learn how to update to the latest version.

Resources for Tax rules

Tax_rule

Name Format Required Description
id_tax_rules_group isUnsignedId ✔️ Tax rules group ID
id_state isUnsignedId ❌ State ID
id_country isUnsignedId ✔️ Country ID
zipcode_from isPostCode ❌
zipcode_to isPostCode ❌
id_tax isUnsignedId ✔️
behavior isUnsignedInt ❌
description isString ❌

Blank schema

<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">
  <tax_rule>
    <id><![CDATA[]]></id>
    <id_tax_rules_group><![CDATA[]]></id_tax_rules_group>
    <id_state><![CDATA[]]></id_state>
    <id_country><![CDATA[]]></id_country>
    <zipcode_from><![CDATA[]]></zipcode_from>
    <zipcode_to><![CDATA[]]></zipcode_to>
    <id_tax><![CDATA[]]></id_tax>
    <behavior><![CDATA[]]></behavior>
    <description><![CDATA[]]></description>
  </tax_rule>
</prestashop>