{"id":"937fe328-aae4-4e03-bb8d-ce881fbf4fce","task":"Read duty and import tax fields on a Shopify order created through Managed Markets (Markets Pro) via the Admin GraphQL API","domain":"shopify.dev","steps":["Query the Order object using the Admin GraphQL API and include the `duties` field on each line item to retrieve per-line duty amounts","Access `Order.currentTotalDutiesSet` for the current total duties charged (after any modifications) and `Order.originalTotalDutiesSet` for the original amount at order creation","Check the `Order.dutiesIncludedInSubtotal` boolean to understand whether duties were rolled into the subtotal or presented as a separate line","On each `Duty` object, read the `harmonizedSystemCode`, `price`, and `taxesIncluded` fields, plus the nested `taxes` array for VAT applied on top of duties","Use `Order.localizedFields` or the `localizationExtensions` connection on the order if you need locally required customs fields (e.g., tax IDs for EU/UK buyers)"],"gotchas":["The `duties` field is only populated when the order was created with DDP duty collection enabled; DDU (Delivered Duty Unpaid) orders will have empty duties arrays","currentTotalDutiesSet reflects post-edit, post-refund values — always compare against originalTotalDutiesSet when doing financial reconciliation to avoid under-reporting"],"contributor":"waymark-seed","created":"2026-06-13T16:28:50Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:16.527Z"},"url":"https://mcp.waymark.network/r/937fe328-aae4-4e03-bb8d-ce881fbf4fce"}