Customs Info for Shipments

Provide customs details about your package in your API calls.

About customs and shipments

In international shipping, customs commonly refers to any applicable duties, fees, or taxes charged on items being shipped from one country to another. When shipping internationally, your organization may be required to provide additional customs details about your package.

This document includes example API calls for customs-specific shipping scenarios, including when international document printing is required, when electronic export information (EEI) is not required, when EEI is required, and when you want to pass all customs details for a shipment.

Finally, common definitions associated with customs and international shipping are included.

Carrier-specific requirements

Customs information needed may differ by carrier. Shipium recommends checking specific carrier requirements when shipping internationally. You can find guidance for Shipium-supported carriers with additional customs requirements in the following carrier-specific documentation: Amazon - Ship With Amazon, AMPM, Estafeta, LaserShip, and Paquetexpress.

In addition, UPS recommends including an email address for both the shipper and recipient for international shipments. You can include this information in the shipmentParameters or multiParcelShipmentParameters of your API call as the shipFromAddress.emailAddress and destinationAddress.emailAddress.

⚠️

UPS item descriptions must be detailed

When shipping internationally with UPS, item descriptions provided in customsInfo.customsItems.commodityDescription must be meaningful product descriptions. UPS does not accept SKUs, part numbers, or other reference codes as valid item descriptions and may reject commercial invoices that contain them.

Use descriptive language that accurately identifies the goods, such as "cotton crew-neck t-shirt" rather than "SKU-12345".

📋

Commercial invoice availability varies by carrier

For some carriers, the commercial invoice is managed entirely by the carrier and is not returned in the internationalDocuments field of the Shipium API response. This applies to the following supported carriers:

  • Asendia
  • Canada Post
  • Landmark
  • Passport, including Express and Expedited service methods
  • Purolator E-Ship

For Global-e, behavior is conditional: if the commercial invoice is not electronically submitted, it is returned ininternationalDocuments. If electronically submitted (the default for most shipments), Global-e manages it independently and the field will be empty in the Shipium response.

To obtain a copy of the commercial invoice for shipments with these carriers, contact the carrier directly.

Customs items to order item quantity mapping

For certain carriers, accurate customs declaration requires a precise mapping between the individual items declared in your customs information and the corresponding items within each parcel. Shipium facilitates this by connecting the productId values provided in your customsInfo.customsItems with the productId values in your package's orderItemQuantities.

How it works. When you provide customs information for a shipment with the following carriers, Shipium expects that each customsItem will have a productId that matches a productId in one of the orderItemQuantities. This connects each item declared for customs with its corresponding item in your parcel.

Important. If the productId values do not match between your customsInfo.customsItems and your orderItemQuantities, the system will be unable to send complete and accurate customs and item information to the carrier. This may result in:

  • Shipment delays
  • Customs clearance issues
  • Incorrect duties and taxes calculations
  • Shipment rejection by the carrier

Carriers requiring this mapping. The following carriers require this explicit productId mapping for customs declarations:

  • Amazon - Ship With Amazon
  • Cirro
  • ECMS
  • FlavorCloud
  • Reliable Logistics

Action required. When preparing shipments for these carriers, you'll want to ensure that:

  • Every item you declare in customsInfo.customsItems has a unique and accurate productId.
  • Every item listed in your package's orderItemQuantities also has a productId.
  • The productId for each item in customsInfo.customsItems precisely matches the productId of its corresponding item in orderItemQuantities.

Example API calls and responses for international shipping customs

Minimum fields required for international, no EEI required for shipment

This is a sample cURL call to the API including the minimum required information for international shipping when an EEI is not required.

{
    ...
    "labelParameters": {...},
    "shipmentParameters": {
     ...,
     "shipOption": "InternationalTwoToFiveDay",
      "customsInfo": {
          "totalCustomsValue": 54.95,
          "totalCustomsValueCurrency": "usd",
          "customsDescription": "9 mm steel screws",
          "reasonForExport": "sale",
          "invoiceDate": "2022-06-13",
          "customsItems": [
              {
                  "customsValue": 18.31,
                  "customsValueCurrency": "usd",
                  "commodityDescription": "9 mm steel screws",
                  "countryOfManufacture": "US",
                  "customsWeight": {
                      "weight": 4,
                      "weightUnit": "lb"
                  },
                  "quantity": 3,
                  "quantityUnitOfMeasurement": "box",
                  "harmonizedTariffNumber": "9876543210"
              }
          ]
      }
  }
}

Minimum fields for a shipment that requires an EEI, and EEI is filed through AES Direct

This is a sample cURL call to the API including the minimum required information for international shipping when an EEI is required and it is filed through the Automated Commercial Environment (ACE) AESDirect.

{
    ...
    "labelParameters": {...},
    "shipmentParameters": {
     ...,
     "shipOption": "InternationalTwoToFiveDay",
      "customsInfo": {
          "totalCustomsValue": 54.95,
          "totalCustomsValueCurrency": "usd",
          "customsDescription": "9 mm steel screws",
          "reasonForExport": "sale",
          "invoiceDate": "2022-06-13",
          "aesInternalTransactionNumber": "X20220613366903",
          "customsItems": [
              {
                  "customsValue": 18.31,
                  "customsValueCurrency": "usd",
                  "commodityDescription": "9 mm steel screws",
                  "countryOfManufacture": "US",
                  "customsWeight": {
                      "weight": 4,
                      "weightUnit": "lb"
                  },
                  "quantity": 3,
                  "quantityUnitOfMeasurement": "box",
                  "harmonizedTariffNumber": "9876543210"
              }
          ]
      }
  }
}

Sample API call with customs information included

This is a sample cURL call to the API including customs information. Importer of record and broker are not included in this sample call; the Broker & Importer of Record document provides details about these optional fields that can be included in your API call. The Tax Identification Number document includes information about the optional tax ID field in the sample call.

{
    ...
    "labelParameters": {...},
    "shipmentParameters": {
     ...,
     "shipOption": "InternationalTwoToFiveDay",
     "customsInfo": {
          "totalCustomsValue": 54.95,
          "totalCustomsValueCurrency": "usd",
          "customsDescription": "9 mm steel screws",
          "reasonForExport": "sale",
          "invoiceDate": "2022-06-13",
          "invoiceNumber": "123-abc-456",
          "businessIndicator": "B2C",
          "europeanUnionInfo": {
              "vendorIossNumber": "123456789012",
              "vendorIossAddress": {
                  "name": "Acme Fiscal Rep BV",
                  "street1": "Keizersgracht 123",
                  "city": "Amsterdam",
                  "postalCode": "1015 CJ",
                  "countryCode": "NL"
              }
          },
          "ultimateConsigneeAddress": {
              "name": "Wile E. Coyote",
              "phoneNumber": "1112223333",
              "emailAddress": "[email protected]",
              "street1": "123 Test",
              "city": "St. John's",
              "state": "NL",
              "countryCode": "CA",
              "postalCode": "A1A 2H4",
              "addressType": "residential"
          },
          "ultimateConsigneeType": "direct_consumer",
          "aesInternalTransactionNumber": "X20220613366903",
          "electronicExportInformation": { // Note: not needed if an aesInternalTransactionNumber is provided
              "exportDate": "2022-06-15",
              "pointOfOrigin": "CO"
          },
         "b13AFilingOption": "NOT_REQUIRED",
          "exportComplianceStatement": "AESX20220714987654",
          "permitNumber": "12345",
          "incoterm": "ddp",
          "invoicePrePaidAmount": {
              "value": 25.50,
              "currencyCode": "USD"
    },
          "declarationStatement": "I declare that the information provided is true and accurate. These commodities are licensed by the United States for export to the destination country",            
          "taxIdentificationNumber": "12345",
          "customsItems": [
              {
                  "customsValue": 18.31,
                  "customsValueCurrency": "usd",
                  "commodityDescription": "9 mm steel screws",
                  "countryOfManufacture": "US",
                  "customsWeight": {
                      "weight": 4,
                      "weightUnit": "lb"
                  },
                  "quantity": 3,
                  "quantityUnitOfMeasurement": "box",
                  "harmonizedTariffNumber": "9876543210",
                  "productId": "ABC123",
                  "commodityPartNumber": "12345",
                  "manufacturerProductId": "MPN-77B-XL",
                  "standardizedProductIds": [
                      { "type": "GTIN", "value": "0123456789012" }
                  ],
                  "marksAndNumbers": "1 of 1",
                  "electronicExportCommodityInformation": { // Note: not needed if the carrier is not filing an EEI
                      "exportType": "domestic",
                      "exportInformationCode": "LC",
                      "scheduleBInformation": {
                          "scheduleBNumber": "6404195500",
                          "scheduleBQuantity": 3,
                          "scheduleBUnitOfMeasurement": "pack"
                      },
                      "eccnNumber": "EAR99",
                      "exportLicenseInformation": {
                          "licenseType": "C33",
                          "licenseExemptionCode": "NLR",
                          "exportLicense": {  // Note: not needed if you have provided a licenseExemptionCode
                              "licenseNumber": "123ABC",
                              "licenseLineValue": 1000,
                              "licenseExpiration": "2025-06-13"
                          }
                      }
                  }
              }
          ]
      }
  }
}

Sample response with customs information included in the API call

This is a sample JSON response from the API when customs information was included in the API call.

{
  "carrierSelection": {
    ....
  },
  ....,
  ....,
  "carrierLabel": {
    ....,
    ....,
    "documents": [
      {
        "labelExpiration": "2023-11-19T21:08:54.305Z",
        "labelFormat": "zpl",
        "labelImage": {
          "imageContents": "BASE64LOOKINGSTUFFANDWHATHAVEYOUETCETCETC",
          "imageEncoding": "base64"
        },
        "labelUrl": "https://api.shipium.com/labels/1a486afc-2ffc-4c37-928f-8d6aa014b35b.zpl"
      }
    ],
    "internationalDocuments": [
      {
        "documentType": "commercial_invoice", // "commercial_invoice", "electronic_export_information", "ps_2976", "air_waybill" or "multiple"
        "documentExpiration": "2023-11-19T21:08:54.305Z",
        "documentFormat": "pdf",
        "documentImage": {
          "documentEncoding": "base64",
          "documentContents": "BASE64LOOKINGSTUFFANDWHATHAVEYOUETCETCETC"
        },
        "electronicallySubmitted": false
      }
    ]
    ....,
    ....,
  },
  ....,
  ....
}

Minimum fields required for U.S. territory, APO, FPO, DPO

Shipium’s guidance is that as much of the following information be provided as possible for a shipment to a U.S. territory or a military region to ensure that the shipment is not returned. While some fields are marked as not required for one carrier and required for another carrier, it is not known which carrier will be chosen during carrier selection. Therefore, it is best to supply enough information for all carriers.

{
    ...
    "labelParameters": {...},
    "shipmentParameters": {
     ...,
      "customsInfo": {
          "totalCustomsValue": 54.95,
          "totalCustomsValueCurrency": "usd",
          "reasonForExport": "sale",                   // not strictly required for USPS
          "invoiceDate": "2022-06-13",                 // required for UPS
          "customsItems": [
              {
                  "customsValue": 18.31,
                  "customsValueCurrency": "usd",
                  "commodityDescription": "9 mm steel screws",
                  "countryOfManufacture": "US",       // not strictly required for USPS
                  "customsWeight": {
                      "weight": 4,
                      "weightUnit": "lb"
                  },
                  "quantity": 3,
                  "quantityUnitOfMeasurement": "box"  // required for UPS
              }
          ]
      }
  }
}

Definitions of API request fields for customs and international shipping

This section includes Shipium descriptions of API request fields common to customs and international shipping. All fields are included within customsInfo in the shipmentParameters (or multiParcelShipmentParameters for multi-parcel shipments) of your call, with the exception of shipOption, which is included at the shipmentParameters (or multiParcelShipmentParameters) level.

Importer of record and broker are not included here; the Broker & Importer of Record document provides details about these optional fields that can be included in your API call. Likewise, the Tax Identification Number document includes information about tax IDs that is not included here.

Ship option

The shipOption field is included in the shipmentParameters of the API call (or in multiParcelShipmentParameters for a multi-parcel shipment). You can find more information about ship options in our Ship Options documentation.

Request fieldDetails
shipOptionType: String (enumeration)
Values: International24Hour, InternationalOneToThreeDayEarly, InternationalOneToThreeDay, InternationalTwoToFiveDay, InternationalTwoToTenDay, InternationalOneToTwoWeek, InternationalOneToFourWeek
Description: The kind of international shipment performance

Customs info

The customsInfo fields are included in the shipmentParameters (or in multiParcelShipmentParameters for a multi-parcel shipment) of the API call.

Required fields

Request fieldDetails
totalCustomsValueType: Float
Description: The total customs value of the package in total customs value currency units
totalCustomsValueCurrencyType: String
Example: usd
Description: The currency to use for the package value in the totalCustomsValue field; this must be a valid ISO 4217 currency code.
customsDescriptionType: String
Example: 9 mm steel screws
Description: A shipment-level summary of the goods being shipped; this is a general description of the overall shipment, not the per-item description that prints on the commercial invoice and customs forms. Those per-item descriptions come from commodityDescription in customsItems.
reasonForExportType: String (enumeration)
Values: sale, gift, sample, returns, personal_effects
Description: The reason to export an international shipment
invoiceDateType: LocalDate
Description: Date when the invoice was created; ideally, this is the same as the ship date.
incotermType: String (enumeration)
Values: cpt (carriage paid to), ddp (delivery duty paid), ddu (delivery duty unpaid), dap (delivered at place), dpu (delivered at place unloaded), exw (ex works), fca (free carrier), fob (free on board)
Description: The incoterm, or international commerce term, defines the delivery duty responsibility for buyers and sellers for any mode of transport; the default value is ddp.
customsItemsType: Array
Description: Contains customs information for each item in the shipment. See the Customs Items tables for details.

Conditional fields

Request fieldDetails
ultimateConsigneeAddressType: Object
Condition: Required fields within this object vary by carrier.
Description: The address of the person or company who receives the goods for end use; if no value is sent, we will use the destinationAddress.
ultimateConsigneeAddress.countryCodeType: String
Condition: Required if ultimateConsigneeAddress is provided; required fields within this object vary by carrier.
Description: The ISO 3166-1 country code for the address
ultimateConsigneeAddress.postalCodeType: String
Condition: Required if ultimateConsigneeAddress is provided; required fields within this object vary by carrier. Description: A country-appropriate postal code for the address
ultimateConsigneeAddress.phoneNumberType: String
Condition: Some carriers require a phone number.
Description: The phone number of the contact
europeanUnionInfo.vendorIossAddress.postalCodeType: String
Condition: Required if vendorIossAddress is provided
Description: A country-appropriate postal code for the address
europeanUnionInfo.vendorIossAddress.countryCodeType: String
Condition: Required if vendorIossAddress is provided
Description: The ISO 3166-1 country code for the address
b13AFilingOptionType: String (enumeration)
Values: NOT_REQUIRED, MANUALLY_ATTACHED, FILED_ELECTRONICALLY, SUMMARY_REPORTING, CARRIER_TO_STAMP, UNKNOWN
Condition: Required for non-document shipments originating in Canada destined for any country other than Canada, the United States, Puerto Rico, or the U.S. Virgin Islands
Description: Specify the filing option being exercised.
electronicExportInformation.exportDateType: String (date-time)
Condition: Required if including EEI
Description: The date the goods will be leaving the country in ISO 8601 format
electronicExportInformation.pointOfOriginType: String
Condition: Required if including EEI
Description: The 2-character state abbreviation from which the goods were shipped

Optional fields

FieldDetails
invoiceNumberType: String
Description: The Commercial Invoice number, if the Commercial Invoice was generated by your organization
europeanUnionInfo.vendorIossNumberType: String
Description: An Import One-Stop-Shop (IOSS) number is a 12-digit identification number that is used to pay value added tax (VAT) and declare imports to the European Union (EU). The IOSS number is a type of VAT identification, but it is not the same as a resident VAT registration.
ultimateConsigneeAddress.nameType: String
Description: The name associated with the address
ultimateConsigneeAddress .phoneNumberCountryCodeType: String
Description: The country code of the phone number of the contact
ultimateConsigneeAddress.emailAddressType: String
Description: The email address of the contact
ultimateConsigneeAddress.companyType: String
Description: The company name for the address
ultimateConsigneeAddress.street1Type: String
Description: The first address line
ultimateConsigneeAddress.street2Type: String
Description: The second address line
ultimateConsigneeAddress.cityType: String
Description: The name of the city for the address
ultimateConsigneeAddress.stateType: String
Description: The name of the state for the address
ultimateConsigneeAddress.addressTypeType: String (enumeration)
Values: commercial or residential
Description: The type of location for this address
ultimateConsigneeAddress .addressLineComponentsType: Object
Description: The address line components for the address, used for some international shipments. The street1 and street2 fields should not be included if using addressLineComponents, or an error will be returned. Preferred for Mexican addresses. You can find out more about Mexican addresses in Non-U.S. Address Formats.
ultimateConsigneeTypeType: String (enumeration)
Values: direct_consumer, government_entity, reseller
Description: The type of the ultimate consignee, the person or company receiving the shipment; if no value is sent, it will default to direct_consumer.
soldToType: Object
Description: The party who purchased the goods; this may differ from both the recipient and the importer of record. Some carriers, such as FedEx, require this information for certain customs filings. See Broker & Importer of Record for more details on customs parties.
soldTo.addressType: Object
Description: The address of the sold-to party
soldTo.address.nameType: String
Description: The name associated with the address
soldTo.address.companyType: String
Description: The company name for the addres
soldTo.address.street1Type: String
Description: The first address line
soldTo.address.street2Type: String
Description: The second address line
soldTo.address.cityType: String
Description: The name of the city for the address
soldTo.address.stateType: String
Description: The 2-letter abbreviation of the state for the address
soldTo.address.postalCodeType: String
Description: A country-appropriate postal code for the address
soldTo.address.countryCodeType: String
Description: The ISO 3166-1 country code for the address
soldTo.address.phoneNumberType: String
Description: The phone number of the contact
soldTo.address.phoneNumberCountryCodeType: String
Description: The country code of the phone number of the contact
soldTo.address.emailAddressType: String
Description: The email address of the contact
soldTo.address.addressTypeType: String (enumeration)
Values: commercial or residential
Description: The type of location for this address
soldTo.taxIdentificationNumbersType: Array
Description: Array of tax identification number objects for the sold-to party
soldTo.taxIdentificationNumbers.tinTypeType: String (enumeration)
Values: business_national, business_state, business_union, federal, personal_national, personal_state
Description: The type of tax identification number
soldTo.taxIdentificationNumbers.tinNumberType: String
Description: The tax identification number value
soldTo.taxIdentificationNumbers .tinIssuingCountryType: String
Description: The ISO 3166-1 country code of the country that issued the tax identification number
soldTo.accountNumberType: String
Description: The carrier account number information for the sold-to party
aesInternalTransactionNumberType: String
Description: The number received if the Electronic Export Information (EEI) was filed and has been accepted in the Automated Export System (AES)
electronicExportInformationType: Array
Description: Information for the Electronic Export Information (EEI) customs form, only used when the EEI will be filed directly by the carrier (i.e., not filed by your organization using AESDirect or otherwise)
exportComplianceStatementType: String
Example: AESX20220714987654
Description: For U.S. export shipments requiring an EEI, enter the ITN number received from AES when you filed your shipment or the FTR (Foreign Trade Regulations) exemption number. The proper format for an ITN number is AES XYYYYMMDDNNNNNN where YYYYMMDD is date and NNNNNN are numbers generated by the AES. For Canada export shipments, it can be proof of report number (15-32 alphanumeric), summary proof of report number (7-32 alphanumeric) or exemption number (2 digit) based on the selected b13AFilingOption.
permitNumberType: String
Description: This is a permit number. This field is applicable only to Canada export non-document shipments of any value to any destination. No special characters are allowed.
invoicePrePaidAmountType: Object
Description: The prepaid shipping or handling charges for the shipment, used to include freight costs on the commercial invoice. Currently supported for DHL Express DDP shipments. See DHL for carrier-specific configuration and requirements.
invoicePrePaidAmount.valueType: Number (float)
Description: The monetary amount of the prepaid shipping or handling charges
invoicePrePaidAmount.currencyCodeType: String
Description: The ISO 4217 currency code for the prepaid amount
declarationStatementType: String
Example: I declare that the information provided is true and accurate. These commodities are licensed by the United States for export to the destination country.
Description: A customs declaration statement for the shipment that, if provided, will appear on generated commercial invoices
taxIdentificationNumberType: String
Description: The employer identification number (EIN) tax identification number of the shipper; you can find more details about this field in Tax Identification Number.
businessIndicatorType: String (enumeration)
Values: B2C, B2B
Description: Whether the sale is to a consumer (B2C) or to a business (B2B); provide this for shipments to the European Union, where the consumer-or-business distinction affects customs handling.
europeanUnionInfo.vendorIossAddressType: Object
Description: The name and address of the IOSS VAT registrant, provided alongside vendorIossNumber. It accepts the same sub-fields as other Shipium customs addresses, listed below. countryCode and postalCode are required when vendorIossAddress is provided.
europeanUnionInfo.vendorIossAddress.nameType: String
Description: The name of the IOSS registrant
europeanUnionInfo.vendorIossAddress.street1Type: String
Description: The first address line
europeanUnionInfo.vendorIossAddress.street2Type: String
Description: The second address line
europeanUnionInfo.vendorIossAddress.cityType: String
Description: The name of the city for the address
europeanUnionInfo.vendorIossAddress.stateType: String
Description: The name of the state or region for the address
europeanUnionInfo.vendorIossAddress.companyType: String
Description: The company name for the address
europeanUnionInfo.vendorIossAddress.phoneNumberType: String
Description: The phone number of the contact
europeanUnionInfo.vendorIossAddress .phoneNumberCountryCodeType: String
Description: The country code of the phone number of the contact
europeanUnionInfo.vendorIossAddress.emailAddressType: String
Description: The email address of the contact
europeanUnionInfo.vendorIossAddress.addressTypeType: String (enumeration)
Values: commercial, residential
Description: The type of location for this address
europeanUnionInfo.vendorIossAddress .addressLineComponentsType: Object
Description: The address line components for the address, used for some international shipments. Do not include street1 or street2 if using addressLineComponents, or an error will be returned. See Non-U.S. Address Formats for details.
📘

Understanding soldTo vs. importerOfRecord

The soldTo field represents the party who purchased the goods, while importerOfRecord represents the party legally responsible for customs compliance. These may be the same entity or different parties depending on your shipping scenario. For detailed guidance on when to use each field, see Broker & Importer of Record.

Customs items

The customsItems fields are included within customsInfo in the API call.

📋

customsDescription and commodityDescription serve different roles

customsDescription is a shipment-level summary of the goods. The detailed, per-item descriptions that print on the commercial invoice and customs forms come from commodityDescription in each customsItems entry. To control how an item reads on customs paperwork, you'll set that item's commodityDescription. Carriers enforce their own character limits on this per-item description. Keeping each commodityDescription meaningful and within the smallest limit among the carriers you route to, with the most important detail first, is best practice.

Required fields

Request fieldDetails
customsValueType: Float
Description: The value of each individual item to report to customs in customs value currency
customsValueCurrencyType: String
Description: The ISO 4217 currency code representing the totalCustomsValue
commodityDescriptionType: String
Description: A per-item description of the product provided to customs; this is the description that appears on the commercial invoice and customs forms. Carriers enforce their own character limits on this field. Keeping each description meaningful and within the smallest limit among the carriers you route to is best practice.
countryOfManufactureType: String
Description: The ISO 3166-1 country code
customsWeight.weightType: Float
Description: The weight of the item to report to customs in units of weight unit
customsWeight.weightUnitType: String (enumeration)
Values: g, kg, lb, oz
Description: The weight unit
quantityType: Integer (int32)
Description: The number of units of this customs item
quantityUnitOfMeasurementType: String (enumeration)
Values: bag, barrel, box, case_of_goods, container, crate, cylinder, envelope, pallet, piece, roll, tube
Description: The unit of measurement of the item
harmonizedTariffNumberType: String
Description: The 6- to 15-digit Harmonized System Tariff classification code

Conditional fields

Request fieldDetails
electronicExportCommodityInformation .exportTypeType: String (enumeration)
Values: domestic or foreign
Condition: Required if including electronicExportInformation
Description: The type of the export
electronicExportCommodityInformation .exportInformationCodeType: String
Condition: Required if including electronicExportInformation
Description: The 2-character export information code for the commodity
electronicExportCommodityInformation .scheduleBInformationType: Array
Condition: Required if including electronicExportInformation
Description: The Schedule B information for the commodity
electronicExportCommodityInformation .scheduleBInformation.scheduleBNumberType: String
Condition: Required if including electronicExportInformation
Description: The 10-digit Schedule B classification code for the item being exported
electronicExportCommodityInformation .scheduleBInformation.scheduleBQuantityType: Integer (int32)
Condition: Required if including electronicExportInformation
Description: The count of how many Schedule B units are in the shipment
electronicExportCommodityInformation .scheduleBInformation .scheduleBUnitOfMeasurementType: String (enumeration)
Values: barrels, carat, content_kilogram, square_centimeter, content_ton, curie, clean_yield_kilogram, dozen, dozen_pieces, dozen_pairs, fiber_meter, gross_container, gram, gross, hundred, kilogram, cubic_kilometer, kilogram_total_sugars, liter, meter, square_meter, cubic_meter, millicurie, number, pieces, proof_liter, pack, pairs, running_bales, square, ton, thousand, no_quantity_required
Condition: Required if including electronicExportInformation
Description: The unit of measure for the Schedule B quantity
electronicExportCommodityInformation .eccnNumberType: String
Condition: Required if including electronicExportInformation
Description: The 5-digit product Export Control Classification Number (ECCN) number as issued by the Bureau of Industry and Security; the format is #A###.
electronicExportCommodityInformation .exportLicenseInformationType: Array
Condition: Required if including electronicExportInformation
Description: The license information for the export
electronicExportCommodityInformation .exportLicenseInformation.licenseTypeType: String
Condition: Required if including exportLicenseInformation
Description: The standard license type code as published by the U.S. government
electronicExportCommodityInformation .exportLicenseInformation.exportLicense .licenseNumberType: String
Condition: Required if including exportLicense
Description: The license number
electronicExportCommodityInformation .exportLicenseInformation.exportLicense .licenseLineValueType: Integer (int32)
Condition: Required if including exportLicense
Description: The export monetary amount allowed per license
electronicExportCommodityInformation .exportLicenseInformation.exportLicense .licenseExpirationType: String (date-time)
Condition: Required if including exportLicense
Description: The license expiration date in ISO 8601 format

Optional fields

Request fieldDetails
productIdType: String
Description: The merchant SKU for the product, declared to customs. This value must match the productId in orderItemQuantities for certain international carriers. See Carrier-Specific Requirements for details.
commodityPartNumberType: String
Description: The part number or reference number for the product
marksAndNumbersType: String
Description: Any special marks, codes, and numbers that may identify the package
manufacturerProductIdType: String
Description: The manufacturer's product identifier for the item, a maker-assigned code; use standardizedProductIds for standardized barcodes such as GTIN or UPC.
standardizedProductIdsType: Array
Description: A list of standardized product identifiers (barcodes) for the item
standardizedProductIds.typeType: String (enumeration)
Values: GTIN, EAN, UPC, ISBN
Description: The type of standardized product identifier
standardizedProductIds.valueType: String
Description: The standardized product identifier value
electronicExportCommodityInformationType: Array Description: Customs item information that is particular to the Electronic Export Information (EEI), only used when the EEI will be filed directly by the carrier (i.e., not filed by the partner using AES Direct or otherwise)
electronicExportCommodityInformation .exportLicenseInformation.licenseExemptionCodeType: String
Description: The license exemption code, if the license type does not require a license number
electronicExportCommodityInformation .exportLicenseInformation.exportLicenseType: Array
Description: The export license, if the license type requires a valid license

Resources

Your Shipium team member is available to help along the way. However, you might find these resources helpful: