Subject: Shopify refund to NetSuite refund (GraphQL): VAT posted to Shopify Refund Adjustment item
Hi Team,
We're seeing an extra Shopify Refund Adjustment line on refunds created by the Shopify refund to NetSuite refund (add) GraphQL flow. On VAT-inclusive refunds, the amount usually equals the VAT. This has been happening since around March, and the team has been fixing each refund by hand.
Environment
Integration: Shopify – NetSuite IA
Flow: Shopify refund to NetSuite refund (add), GraphQL
Import: Post order refunds (invoice or cash sale) to NetSuite
What we've already checked
Mappings: the import's mapping matches our production flow. It has no item-line mapping. The lines are generated by the connector-owned hooks shopifyRefundOrderImportPostMapHook and shopifyRefundOrderImportPostSubmitHook.
Adjustment item: "Shopify Refund Adjustment". It is a non-inventory item for sale, non-taxable, active, and available to the affected subsidiaries.
Scope: 50+ recent cash refunds include this item, across the US, International, UK/EUR and Canadian subsidiaries.
Settings: reviewed the Deduct GST/VAT from order total, Sync GST/VAT for customer country and Add GST/VAT to refund total settings. We understand Add GST/VAT to refund total applies to the NetSuite → Shopify direction.
Patterns observed
Negative adjustment equal to VAT. Item TestAssembly: net 749.17 + 20% VAT 149.83 = 899.00 gross, adjustment −149.83, cash refund total 749.17, while Shopify refunded 899.00.
Questions
How does the GraphQL refund hook calculate the adjustment amount for tax-inclusive orders?
Why is the VAT portion posted to the non-taxable adjustment item instead of being reversed through the item line's tax?
Is this a known issue, and is a fix planned? Is there any configuration we should change in the meantime?
Thank you.
Prajakta.