Why are there multiple tax lines for an item in an order

csilk
New Member
3 0 0

Does anyone know why there are multiple per order? I would have thought there would only be one e.g.

 

"tax_lines": [
{
"price": "0.58",
"price_set": {
"shop_money": {
"amount": "0.58",
"currency_code": "NZD"
},
"presentment_money": {
"amount": "0.58",
"currency_code": "NZD"
}
},
"rate": 0.15,
"title": "GST"
},
{
"price": "0.76",
"price_set": {
"shop_money": {
"amount": "0.76",
"currency_code": "NZD"
},
"presentment_money": {
"amount": "0.76",
"currency_code": "NZD"
}
},
"rate": 0.15,
"title": "GST"
},
{
"price": "0.59",
"price_set": {
"shop_money": {
"amount": "0.59",
"currency_code": "NZD"
},
"presentment_money": {
"amount": "0.59",
"currency_code": "NZD"
}
},
"rate": 0.15,
"title": "GST"
},
{
"price": "0.40",
"price_set": {
"shop_money": {
"amount": "0.40",
"currency_code": "NZD"
},
"presentment_money": {
"amount": "0.40",
"currency_code": "NZD"
}
},
"rate": 0.15,
"title": "GST"
},
{
"price": "0.51",
"price_set": {
"shop_money": {
"amount": "0.51",
"currency_code": "NZD"
},
"presentment_money": {
"amount": "0.51",
"currency_code": "NZD"
}
},
"rate": 0.15,
"title": "GST"
}
],

0 Likes
bundleup
Excursionist
13 2 4

Hi

From docs:

An array of tax line objects, each of which details a tax applicable to the order. Each object has the following properties:

  • price: The amount of tax to be charged in the shop currency.
  • rate: The rate of tax to be applied.
  • title: The name of the tax.
  • channel_liable: Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for the tax line.

When creating an order through the API, tax lines can be specified on the order or the line items but not both. Tax lines specified on the order are split across the taxable line items in the created order.

From the example looks like each order line has had the tax calculated separately so hence multiple lines.

Sam

Bundleup - bundle your products and unbundle your orders.
Channelup is a product data management solution helping Shopify stores automate their processes.
If you require custom development or would like to test out our features contact me at support@channelup.io
csilk
New Member
3 0 0

The JSON I posted was from one line item. Each like item was broken down like this with the SUM being the correct amount for each item.

Wouldn’t we expect to see this only once per item?

0 Likes