Skip to content

Instantly share code, notes, and snippets.

@rabinshr
Created September 27, 2018 04:42
Show Gist options
  • Save rabinshr/be8b4177b54c978ac6df1ef794f4239a to your computer and use it in GitHub Desktop.
Save rabinshr/be8b4177b54c978ac6df1ef794f4239a to your computer and use it in GitHub Desktop.
Order taxes records before refund
[
{
"id": 59,
"order_id": 112,
"order_address_id": 11,
"tax_rate_id": 32,
"tax_class_id": 0,
"name": "NV STATE TAX - NEVADA",
"class": "NEVADA",
"rate": "4.6000",
"priority": 0,
"priority_amount": "0.0000",
"line_amount": "0.0000",
"order_product_id": null,
"line_item_type": "shipping"
},
{
"id": 60,
"order_id": 112,
"order_address_id": 11,
"tax_rate_id": 3,
"tax_class_id": 0,
"name": "NV COUNTY TAX - CLARK",
"class": "CLARK",
"rate": "3.6500",
"priority": 0,
"priority_amount": "0.0000",
"line_amount": "0.0000",
"order_product_id": null,
"line_item_type": "shipping"
},
{
"id": 61,
"order_id": 112,
"order_address_id": 11,
"tax_rate_id": 32,
"tax_class_id": 0,
"name": "NV STATE TAX - NEVADA",
"class": "NEVADA",
"rate": "4.6000",
"priority": 0,
"priority_amount": "0.4600",
"line_amount": "0.4600",
"order_product_id": null,
"line_item_type": "handling"
},
{
"id": 62,
"order_id": 112,
"order_address_id": 11,
"tax_rate_id": 3,
"tax_class_id": 0,
"name": "NV COUNTY TAX - CLARK",
"class": "CLARK",
"rate": "3.6500",
"priority": 0,
"priority_amount": "0.3700",
"line_amount": "0.3700",
"order_product_id": null,
"line_item_type": "handling"
},
{
"id": 63,
"order_id": 112,
"order_address_id": 11,
"tax_rate_id": 32,
"tax_class_id": 0,
"name": "NV STATE TAX - NEVADA",
"class": "NEVADA",
"rate": "4.6000",
"priority": 0,
"priority_amount": "10.3500",
"line_amount": "10.3500",
"order_product_id": 15,
"line_item_type": "product"
},
{
"id": 64,
"order_id": 112,
"order_address_id": 11,
"tax_rate_id": 3,
"tax_class_id": 0,
"name": "NV COUNTY TAX - CLARK",
"class": "CLARK",
"rate": "3.6500",
"priority": 0,
"priority_amount": "8.2100",
"line_amount": "8.2100",
"order_product_id": 15,
"line_item_type": "product"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment