Skip to content

Taxrule data format

Piotr Karwatka edited this page Dec 18, 2017 · 1 revision

The suggested data format is a combined result of:

{
    "id": 2,
    "code": "Poland",
    "priority": 0,
    "position": 0,
    "customer_tax_class_ids": [
        3
    ],
    "product_tax_class_ids": [
        2
    ],
    "tax_rate_ids": [
        4
    ],
    "calculate_subtotal": false,
    "rates": [
        {
            "id": 4,
            "tax_country_id": "PL",
            "tax_region_id": 0,
            "tax_postcode": "*",
            "rate": 23,
            "code": "VAT23%",
            "titles": []
        }
    ],
    "tsk": 1510603185144
}
Clone this wiki locally