← Dashboard
Section 01 of 14

The Problem

What This Does

ShipStation has a bug that's been open for 8+ years: when a Shopify order has an ORDER-LEVEL discount (like '20% off your entire order'), ShipStation ignores it when setting customs declared values on international shipments. This means customs forms show the full retail price instead of what the customer actually paid — which can cause the customer to be overcharged import duties and taxes at the border.

Why It Matters

International customers pay import duties based on the declared value on the customs form. If that value is inflated because ShipStation didn't apply the order discount, customers pay more in duties than they should. Merchants get complaints, refund requests, and lose trust. There's no existing solution — ShipStation hasn't fixed it and no other app addresses it.

How It Works

  1. 1.A customer places an order on a Shopify store with a coupon code like '20% off your order'.
  2. 2.Shopify sends the order to ShipStation for fulfillment.
  3. 3.ShipStation creates customs forms for international orders, but it uses the FULL retail price for each item — it doesn't subtract the order-level discount.
  4. 4.Line-item discounts (like '20% off this specific shirt') ARE correctly reflected by ShipStation. Only ORDER-level discounts are broken.
  5. 5.Declared automatically detects these orders, calculates the correct discounted values, and pushes the corrected customs declarations back to ShipStation via their API.
  6. 6.After pushing, it reads the values back to VERIFY that ShipStation actually saved the correction.

Key Decisions

What Could Go Wrong