{
"data": {
"id": "xYZkjABcde",
"type": "tax_rules",
"links": {
"self": "https://yourdomain.commercelayer.io/api/tax_rules/xYZkjABcde"
},
"attributes": {
"name": "Fixed 22%",
"tax_rate": 0.22,
"country_code_regex": "AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT",
"not_country_code_regex": "AT|BE|BG|CZ|DK|EE|DE",
"state_code_regex": "A[KLRZ]|C[AOT]|D[CE]|FL",
"not_state_code_regex": "A[KLRZ]|C[AOT]",
"zip_code_regex": "(?i)(JE1|JE2|JE3|JE4|JE5)",
"not_zip_code_regex": "(?i)(JE1|JE2|JE3)",
"freight_taxable": false,
"payment_method_taxable": false,
"gift_card_taxable": false,
"adjustment_taxable": false,
"breakdown": {
"41": {
"tax_rate": 0.22
}
},
"created_at": "2018-01-01T12:00:00.000Z",
"updated_at": "2018-01-01T12:00:00.000Z",
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"metadata": {
"foo": "bar"
}
},
"relationships": {
"manual_tax_calculator": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/tax_rules/xYZkjABcde/relationships/manual_tax_calculator",
"related": "https://yourdomain.commercelayer.io/api/tax_rules/xYZkjABcde/manual_tax_calculator"
}
},
"versions": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/tax_rules/xYZkjABcde/relationships/versions",
"related": "https://yourdomain.commercelayer.io/api/tax_rules/xYZkjABcde/versions"
}
}
},
"meta": {
"mode": "test",
"organization_id": "xRRkjDFafe",
"trace_id": "69abaa3545913c78132e5578bd26208d44aa9043647d78698fd0021f3958cd74"
}
}
}