API version: unstable
API version: 2021-04 Release candidate
API version: 2021-01 Latest
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 Unsupported

Duty object

Version unstable

Represents a single duty for a line item.

Required access

read_orders access scope.

Fields

  • countryCodeOfOrigin (CountryCode)

    The ISO code of the country of origin of the line item.

  • harmonizedSystemCode (String)

    The harmonized system code of the line item.

  • id (ID!)

    Globally unique identifier.

  • price (MoneyBag!)

    The price of the duty for the line item.

  • taxLines ([TaxLine!]!)

    The TaxLine objects connected to the duty for the line item.

Types that return Duty

Implements

Version 2021-04 (Release candidate)

Represents a single duty for a line item.

Required access

read_orders access scope.

Fields

  • countryCodeOfOrigin (CountryCode)

    The ISO code of the country of origin of the line item.

  • harmonizedSystemCode (String)

    The harmonized system code of the line item.

  • id (ID!)

    Globally unique identifier.

  • price (MoneyBag!)

    The price of the duty for the line item.

  • taxLines ([TaxLine!]!)

    The TaxLine objects connected to the duty for the line item.

Types that return Duty

Implements

Version 2021-01 (Latest)

Represents a single duty for a line item.

Required access

read_orders access scope.

Fields

  • countryCodeOfOrigin (CountryCode)

    The ISO code of the country of origin of the line item.

  • harmonizedSystemCode (String)

    The harmonized system code of the line item.

  • id (ID!)

    Globally unique identifier.

  • price (MoneyBag!)

    The price of the duty for the line item.

  • taxLines ([TaxLine!]!)

    The TaxLine objects connected to the duty for the line item.

Types that return Duty

Implements

Version 2020-10

Represents a single duty for a line item.

Required access

read_orders access scope.

Fields

  • countryCodeOfOrigin (CountryCode)

    The ISO code of the country of origin of the line item.

  • harmonizedSystemCode (String)

    The harmonized system code of the line item.

  • id (ID!)

    Globally unique identifier.

  • price (MoneyBag!)

    The price of the duty for the line item.

  • taxLines ([TaxLine!]!)

    The TaxLine objects connected to the duty for the line item.

Types that return Duty

Implements

Version 2020-07

Represents a single duty for a line item.

Required access

read_orders access scope.

Fields

  • countryCodeOfOrigin (CountryCode)

    The ISO code of the country of origin of the line item.

  • harmonizedSystemCode (String)

    The harmonized system code of the line item.

  • id (ID!)

    Globally unique identifier.

  • price (MoneyBag!)

    The price of the duty for the line item.

  • taxLines ([TaxLine!]!)

    The TaxLine objects connected to the duty for the line item.

Types that return Duty

Implements

Version 2020-04

Represents a single duty for a line item.

Required access

read_orders access scope.

Fields

  • countryCodeOfOrigin (CountryCode)

    The ISO code of the country of origin of the line item.

  • harmonizedSystemCode (String)

    The harmonized system code of the line item.

  • id (ID!)

    Globally unique identifier.

  • price (MoneyBag!)

    The price of the duty for the line item.

  • taxLines ([TaxLine!]!)

    The TaxLine objects connected to the duty for the line item.

Types that return Duty

Implements

Samples