Hi Shopify devs,
I have a problem with the refund. The order_id is 3953404805307 and the refund id is 811918983355.
There is the refund object. The ‘subtotal’ of refund_line_item is 11.94 and ‘the total_tax’ is 2.38. But the amount of transaction is 14.33 which isn’t equal to 11.94+2.38.
{
"id": 811918983355,
"created_at": "2021-08-02T23:10:14-04:00",
"order_id": 3953404805307,
"processed_at": "2021-08-02T23:10:14-04:00",
"restock": false,
"total_duties_set": {
"shop_money": {
"amount": "0.00",
"currency_code": "EUR"
},
"presentment_money": {
"amount": "0.00",
"currency_code": "EUR"
}
},
"order_adjustments": [],
"transactions": [
{
"id": 4908089573563,
"amount": "14.33",
"created_at": "2021-08-02T23:10:13-04:00",
"currency": "EUR",
"gateway": "bogus",
"kind": "refund",
"location_id": null,
"order_id": 3953404805307,
"parent_id": 4908081807547,
"processed_at": "2021-08-02T23:10:13-04:00",
"status": "success",
"test": true
}
],
"refund_line_items": [
{
"id": 303760507067,
"line_item_id": 10191697739963,
"location_id": null,
"quantity": 1,
"restock_type": "no_restock",
"subtotal": 11.94,
"subtotal_set": {
"shop_money": {
"amount": "11.94",
"currency_code": "EUR"
},
"presentment_money": {
"amount": "11.94",
"currency_code": "EUR"
}
},
"total_tax": 2.38,
"total_tax_set": {
"shop_money": {
"amount": "2.38",
"currency_code": "EUR"
},
"presentment_money": {
"amount": "2.38",
"currency_code": "EUR"
}
},
"line_item": {
"id": 10191697739963,
"fulfillable_quantity": 1,
"price": "11.94",
"price_set": {
"shop_money": {
"amount": "11.94",
"currency_code": "EUR"
},
"presentment_money": {
"amount": "11.94",
"currency_code": "EUR"
}
},
"product_id": 6934599008443,
"quantity": 4,
"taxable": true,
"total_discount": "0.00",
"variant_id": 40752773988539,
"tax_lines": [
{
"price": "9.55",
"price_set": {
"shop_money": {
"amount": "9.55",
"currency_code": "EUR"
},
"presentment_money": {
"amount": "9.55",
"currency_code": "EUR"
}
},
"rate": 0.2,
"title": "GB VAT"
}
],
"duties": [],
"discount_allocations": []
}
}
],
"duties": []
}