Untitled Document
Results 1 to 2 of 2

Thread: International Shipments via API Error

  1. #1
    I am getting the Error International Goods (Commodities) should have at least one item.

    I know in the GUI I have to Export Documents and do the Goods and Services... But I dont see how so solve this in the API. Any advice would be helpful.


    The XML is:
    <?xml version="1.0" encoding="UTF-8"?>
    <ShipRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ShipTransaction>
    <Shipment>
    <IsTest>1</IsTest>
    <Carrier>17</Carrier>
    <UPSServiceType>UI01</UPSServiceType>
    <CurrencyCode>USD</CurrencyCode>
    <IsInternational>1</IsInternational>
    <Package>
    <PackageActualWeight>2</PackageActualWeight>
    <PackagingType>02</PackagingType>
    <InsuranceAmount>1</InsuranceAmount>
    <PackageReference1>62499154330117</PackageReference1>
    </Package>
    <International>
    <DescriptionOfGoods>Golf Equipment</DescriptionOfGoods>
    </International>
    <DeliveryAddress>
    <Address>
    <FirstName />
    <Company>Brett Green</Company>
    <Address1>331 BLACKTHORN CRESCENT</Address1>
    <Address2 />
    <City>Saskatoon</City>
    <State>SK</State>
    <Country>CA</Country>
    <PostalCode>S7V1B1</PostalCode>
    <Phone>612-259-9253</Phone>
    </Address>
    </DeliveryAddress>
    <ShipperAddress>
    <Address>
    <FirstName>03 Scottsdale</FirstName>
    <Company>2nd Swing Golf</Company>
    <Address1>15233 N 87th Street</Address1>
    <Address2 />
    <City>Scottsdale</City>
    <State>AZ</State>
    <Country>US</Country>
    <PostalCode>85260</PostalCode>
    <Phone>(480) 991-9357</Phone>
    </Address>
    </ShipperAddress>
    </Shipment>
    </ShipTransaction>
    </ShipRequest>

  2. #2

    Join Date
    Apr 2004
    Posts
    16,606
    SYSOPS is offline
    You have this:

    <International>
    <DescriptionOfGoods>Golf Equipment</DescriptionOfGoods>
    </International>

    The INTL section looks more like this:

    <International>
    <fDXB13AFilingOptionField>0</fDXB13AFilingOptionField>
    <IntlFilingType>FTR</IntlFilingType>
    <FDXB13AFilingOption>0</FDXB13AFilingOption>
    <InvoiceLineTotals>2</InvoiceLineTotals>
    <TotalInvoiceAmount>2</TotalInvoiceAmount>
    <ReasonForExport>NOT_SOLD</ReasonForExport>
    <FTSRExemptionNumber>Auto</FTSRExemptionNumber>
    <ContentType>MERCHANDISE</ContentType>
    <USPSUseFormCP72>0</USPSUseFormCP72>
    <EELPFC>Auto</EELPFC>
    <Commodity>
    <NAFTAProducerDetermination>0</NAFTAProducerDetermination>
    <LineCurrencyCode>USD</LineCurrencyCode>
    <LineExtendedAmt>2</LineExtendedAmt>
    <LineUnitAmtPrice>2</LineUnitAmtPrice>
    <LineQty>1</LineQty>
    <LineQtyUOM>EA</LineQtyUOM>
    <LineMerchDesc1>Description here</LineMerchDesc1>
    <LineMerchDesc2>123456</LineMerchDesc2>
    <LineMerchDesc3>US</LineMerchDesc3>
    <CommodityWeight>1.0625</CommodityWeight>
    <NumberOfPackagesPerCommodity>0</NumberOfPackagesPerCommodity>
    <NAFTAPreferenceCriterion>A</NAFTAPreferenceCriterion>
    </Commodity>
    </International>

    What you can do is dial up the shipment in the UI, and then under the More area is an option to Save as ZPK. This will give you the XML of the shipment that you can then use to base your call with.

    HTH,
    SYSOPS
    Have Questions? Ask the ShipRush Knowledge Base: https://shiprush.com/kbase
    Reply With Quote

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •