Duty object

Represents a single duty for a line item.

Required access

read_orders access scope.

On this page

Fields

  • countryCodeOfOrigin ([CountryCode](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/countrycode))
    The ISO code of the country of origin of the line item.
  • harmonizedSystemCode ([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    The harmonized system code of the line item.
  • id ([ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01))
    Globally unique identifier.
  • price ([MoneyBag!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneybag))
    The price of the duty for the line item.
  • taxLines ([[TaxLine!]!](https://shopify.dev/docs/admin-api/graphql/reference/orders/taxline))
    The TaxLine objects connected to the duty for the line item.

Types that return Duty

  • [LineItem.duties](https://shopify.dev/docs/admin-api/graphql/reference/orders/lineitem#duties-2021-01)
  • [RefundDuty.originalDuty](https://shopify.dev/docs/admin-api/graphql/reference/orders/refundduty#originalduty-2021-01)

Implements

  • [Node](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/node)