Title: Incorrect international rates &amp; service codes in API requests
Last modified: December 23, 2021

---

# Incorrect international rates & service codes in API requests

 *  Resolved [Daniel Proczko](https://wordpress.org/support/users/diggler/)
 * (@diggler)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/incorrect-international-rates-service-codes-in-api-requests/)
 * I cannot for the life of me get the plugin to pull my negotiated rates.
 * I’ve cycled through every combination of pickup type, negotiated rates, and insurance.
 * None of the combinations pulls the rate I receive from UPS or SendPro Pitney 
   Bowes.
 * The rates pulled are either ~1.8x or ~0.5x my actual rate. So I’m either paying
   twice as much for shipping than I collect or my customer is spending twice as
   much as they need to.
 * I prior previously incorrectly that we were pulling the correct rates in this
   thread: [https://wordpress.org/support/topic/of-boxes-calculation/](https://wordpress.org/support/topic/of-boxes-calculation/)
 * Not sure what else we can try. If the free version won’t pull fairly accurate
   rates, I can’t trust the pro version will.
 * How can you help?
 * Test domain with debug turned on: [https://birkonium.flywheelstaging.com/](https://birkonium.flywheelstaging.com/)
 * Here is what I’m sending in to UPS:
 *     ```
       <?xml version="1.0"?>
       <RatingServiceSelectionRequest xml:lang="en-US">
         <Request>
           <TransactionReference/>
           <RequestAction>Rate</RequestAction>
           <RequestOption>Shop</RequestOption>
         </Request>
         <PickupType>
           <Code>03</Code>
           <Description/>
         </PickupType>
         <Shipment>
           <Service>
             <Code>03</Code>
             <Description/>
           </Service>
           <Shipper>
             <ShipperNumber>11YF54</ShipperNumber>
             <Address>
               <AddressLine1>2496 BEACON HILL DR</AddressLine1>
               <City>ROCHESTER HILLS</City>
               <StateProvinceCode>MI</StateProvinceCode>
               <PostalCode>48309-1516</PostalCode>
               <CountryCode>US</CountryCode>
             </Address>
           </Shipper>
           <ShipFrom>
             <Address>
               <AddressLine1>2496 BEACON HILL DR</AddressLine1>
               <City>ROCHESTER HILLS</City>
               <StateProvinceCode>MI</StateProvinceCode>
               <PostalCode>48309-1516</PostalCode>
               <CountryCode>US</CountryCode>
             </Address>
           </ShipFrom>
           <ShipTo>
             <Name/>
             <CompanyName/>
             <AttentionName/>
             <Address>
               <City>WELS</City>
               <PostalCode>4600</PostalCode>
               <CountryCode>AT</CountryCode>
             </Address>
           </ShipTo>
           <Package>
             <PackagingType>
               <Code>02</Code>
               <Description/>
             </PackagingType>
             <PackageWeight>
               <Weight>2.59</Weight>
               <UnitOfMeasurement>
                 <Code>LBS</Code>
                 <Description/>
               </UnitOfMeasurement>
             </PackageWeight>
             <PackageServiceOptions/>
           </Package>
           <ShipmentServiceOptions/>
         </Shipment>
       </RatingServiceSelectionRequest>
       ```
   
 * Here is their response:
 *     ```
       <?xml version="1.0"?>
       <RatingServiceSelectionResponse>
         <Response>
           <ResponseStatusCode>1</ResponseStatusCode>
           <ResponseStatusDescription>Success</ResponseStatusDescription>
         </Response>
         <RatedShipment>
           <Service>
             <Code>65</Code>
           </Service>
           <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
           <BillingWeight>
             <UnitOfMeasurement>
               <Code>LBS</Code>
             </UnitOfMeasurement>
             <Weight>3.0</Weight>
           </BillingWeight>
           <TransportationCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>188.45</MonetaryValue>
           </TransportationCharges>
           <ServiceOptionsCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>0.00</MonetaryValue>
           </ServiceOptionsCharges>
           <TotalCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>188.45</MonetaryValue>
           </TotalCharges>
           <GuaranteedDaysToDelivery/>
           <ScheduledDeliveryTime/>
           <RatedPackage>
             <TransportationCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>0.00</MonetaryValue>
             </TransportationCharges>
             <ServiceOptionsCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>0.00</MonetaryValue>
             </ServiceOptionsCharges>
             <TotalCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>0.00</MonetaryValue>
             </TotalCharges>
             <Weight>2.6</Weight>
             <BillingWeight>
               <UnitOfMeasurement>
                 <Code>LBS</Code>
               </UnitOfMeasurement>
               <Weight>3.0</Weight>
             </BillingWeight>
           </RatedPackage>
         </RatedShipment>
         <RatedShipment>
           <Service>
             <Code>07</Code>
           </Service>
           <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
           <BillingWeight>
             <UnitOfMeasurement>
               <Code>LBS</Code>
             </UnitOfMeasurement>
             <Weight>3.0</Weight>
           </BillingWeight>
           <TransportationCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>190.57</MonetaryValue>
           </TransportationCharges>
           <ServiceOptionsCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>0.00</MonetaryValue>
           </ServiceOptionsCharges>
           <TotalCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>190.57</MonetaryValue>
           </TotalCharges>
           <GuaranteedDaysToDelivery/>
           <ScheduledDeliveryTime/>
           <RatedPackage>
             <TransportationCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>0.00</MonetaryValue>
             </TransportationCharges>
             <ServiceOptionsCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>0.00</MonetaryValue>
             </ServiceOptionsCharges>
             <TotalCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>0.00</MonetaryValue>
             </TotalCharges>
             <Weight>2.6</Weight>
             <BillingWeight>
               <UnitOfMeasurement>
                 <Code>LBS</Code>
               </UnitOfMeasurement>
               <Weight>3.0</Weight>
             </BillingWeight>
           </RatedPackage>
         </RatedShipment>
         <RatedShipment>
           <Service>
             <Code>08</Code>
           </Service>
           <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
           <BillingWeight>
             <UnitOfMeasurement>
               <Code>LBS</Code>
             </UnitOfMeasurement>
             <Weight>3.0</Weight>
           </BillingWeight>
           <TransportationCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>168.83</MonetaryValue>
           </TransportationCharges>
           <ServiceOptionsCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>0.00</MonetaryValue>
           </ServiceOptionsCharges>
           <TotalCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>168.83</MonetaryValue>
           </TotalCharges>
           <GuaranteedDaysToDelivery/>
           <ScheduledDeliveryTime/>
           <RatedPackage>
             <TransportationCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>0.00</MonetaryValue>
             </TransportationCharges>
             <ServiceOptionsCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>0.00</MonetaryValue>
             </ServiceOptionsCharges>
             <TotalCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>0.00</MonetaryValue>
             </TotalCharges>
             <Weight>2.6</Weight>
             <BillingWeight>
               <UnitOfMeasurement>
                 <Code>LBS</Code>
               </UnitOfMeasurement>
               <Weight>3.0</Weight>
             </BillingWeight>
           </RatedPackage>
         </RatedShipment>
       </RatingServiceSelectionResponse>
       ```
   
 * Here are my actual rates at UPS:
 *     ```
       UPS Worldwide Express® Open the link in a new window
       Latest Pickup Time:
       7:00 P.M. Thursday
       December 23, 2021 
       Schedule by :
       5:00 P.M.
       Delivered By:
       2:00 P.M. Monday
       December 27, 2021 
       Guaranteed
       114.34  USD
       Billable Weight: 
       12.0   lbs.
   
       UPS Worldwide Saver Open the link in a new window
       Latest Pickup Time:
       7:00 P.M. Thursday
       December 23, 2021 
       Schedule by :
       5:00 P.M.
       Delivered By:
       By End of Day Monday
       December 27, 2021 
       Guaranteed
       108.13  USD
       Billable Weight: 
       12.0   lbs.
   
       UPS Worldwide Expedited® Open the link in a new window
       Latest Pickup Time:
       7:00 P.M. Thursday
       December 23, 2021 
       Schedule by :
       5:00 P.M.
       Delivered By:
       By End of Day Wednesday
       December 29, 2021 
       97.71  USD
       Billable Weight: 
       12.0   lbs.
       Ship Now
       ```
   

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Support [tograczyk](https://wordpress.org/support/users/tograczyk/)
 * (@tograczyk)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/incorrect-international-rates-service-codes-in-api-requests/#post-15193252)
 * Hi [@diggler](https://wordpress.org/support/users/diggler/),
 * All the rates displayed using the plugin are coming from the UPS API. If the 
   rates differ, in most cases the input data is different or other parameters have
   been selected in the plugin settings than in the UPS calculator.
 * We are happy to help you analyze this difference in rates.
 * A copy of the data from your actual rates from UPS does not contain information
   about the contents of the package (e.g. weight) and selected parameters. Based
   on this, it may be difficult for us to verify this issue.
 * Could you please send screenshots of:
    - your current UPS shipping method settings,
    - cart, with the rates,
    - UPS calculator (after logging in, with the same data).
 * You have sent the link to the test domain, but the data from the UPS plugin debug
   mode are available only to the store admin.
 * **Do not post admin access here** as it against this forum’s ToS.
 * If based on the screenshots, we are unable to diagnose the cause of the difference
   in rates, then I will ask you to contact us directly via the form: [https://flexibleshipping.com/support/](https://flexibleshipping.com/support/)
 * We can exchange additional information there, that will be helpful in the further
   analysis.
 * Best regards,
    Tomek
 *  Plugin Support [tograczyk](https://wordpress.org/support/users/tograczyk/)
 * (@tograczyk)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/incorrect-international-rates-service-codes-in-api-requests/#post-15209329)
 * Hi [@diggler](https://wordpress.org/support/users/diggler/),
 * Did you have time to read the information I sent? I asked for some details that
   will be helpful in the analysis.
 * If you have any additional questions, let us know, we’ll be happy to help.
 * Best regards,
 *  Thread Starter [Daniel Proczko](https://wordpress.org/support/users/diggler/)
 * (@diggler)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/incorrect-international-rates-service-codes-in-api-requests/#post-15225354)
 * Thanks for the response here are all the screenshots…
 * Here are screenshots of every configuration of the shipping plugin sidebyside
   with the cart:
    -https://birkonium.flywheelstaging.com/wp-content/uploads/2022/
   01/Air-call-negotiated.jpg -https://birkonium.flywheelstaging.com/wp-content/
   uploads/2022/01/Ait-Call.jpg -https://birkonium.flywheelstaging.com/wp-content/
   uploads/2022/01/Letter-Center-Negotiated.jpg -https://birkonium.flywheelstaging.
   com/wp-content/uploads/2022/01/Leter-Center.jpg -https://birkonium.flywheelstaging.
   com/wp-content/uploads/2022/01/Air-Service.jpg -https://birkonium.flywheelstaging.
   com/wp-content/uploads/2022/01/Air-service-negotiated.jpg -https://birkonium.
   flywheelstaging.com/wp-content/uploads/2022/01/customer-counter.jpg -https://
   birkonium.flywheelstaging.com/wp-content/uploads/2022/01/customer-counter-negotiated.
   jpg -https://birkonium.flywheelstaging.com/wp-content/uploads/2022/01/Daily-pickup-
   negotiated.jpg -https://birkonium.flywheelstaging.com/wp-content/uploads/2022/
   01/Daily-pickup.jpg -https://birkonium.flywheelstaging.com/wp-content/uploads/
   2022/01/not-set-negotiated.jpg -https://birkonium.flywheelstaging.com/wp-content/
   uploads/2022/01/not-set.jpg
 * Here is a screenshot of UPS shipping quote after logged in using the same account#:
   
   [https://birkonium.flywheelstaging.com/wp-content/uploads/2022/01/UPS-International-Rate.png](https://birkonium.flywheelstaging.com/wp-content/uploads/2022/01/UPS-International-Rate.png)
 *  Plugin Support [Marta Borówka](https://wordpress.org/support/users/martapaw/)
 * (@martapaw)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/incorrect-international-rates-service-codes-in-api-requests/#post-15234560)
 * Hello [@diggler](https://wordpress.org/support/users/diggler/),
 * My colleague is out of the office, so I will try to help you.
 * I discover that after setting in my shipping method the `Pickup Type` as `Customer
   Counter` and marking the Negotiated Rates and Insurance as well, the rates are
   more similar like in the UPS Calculator – [http://wpdesk.me/mp/iKYBmgsMhG.png](http://wpdesk.me/mp/iKYBmgsMhG.png)
 * Could you please check this and confirm?
 * Best regards,
    Marta
    -  This reply was modified 4 years, 3 months ago by [Marta Borówka](https://wordpress.org/support/users/martapaw/).
 *  Thread Starter [Daniel Proczko](https://wordpress.org/support/users/diggler/)
 * (@diggler)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/incorrect-international-rates-service-codes-in-api-requests/#post-15249110)
 * I just set the settings you suggested (customer counter & insurance & negotiated)
   and here are the results:
    [https://birkonium.flywheelstaging.com/wp-content/uploads/2022/01/Screenshot-2022-01-13T101135.299.png](https://birkonium.flywheelstaging.com/wp-content/uploads/2022/01/Screenshot-2022-01-13T101135.299.png)
    - UPS Worldwide Expedited: $188.44
    - UPS Worldwide Saver: $208.45
    - UPS Worldwide Express: $210.63
 * The UPS Calculator gave me negotiated rates one-third those amounts: [https://birkonium.flywheelstaging.com/wp-content/uploads/2022/01/UPS-International-Rate.png](https://birkonium.flywheelstaging.com/wp-content/uploads/2022/01/UPS-International-Rate.png)
    - UPS Worldwide Express $69.70
    - UPS Worldwide Saver $65.70
    - UPS Worldwide Expedited $56.93
 * Can we escalate this in some way?
 *  Thread Starter [Daniel Proczko](https://wordpress.org/support/users/diggler/)
 * (@diggler)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/incorrect-international-rates-service-codes-in-api-requests/#post-15249116)
 * For reference here is the debugcontent:
 * **Sent to UPS:**
 *     ```
       <?xml version="1.0"?>
       <RatingServiceSelectionRequest xml:lang="en-US">
         <Request>
           <TransactionReference/>
           <RequestAction>Rate</RequestAction>
           <RequestOption>Shop</RequestOption>
         </Request>
         <PickupType>
           <Code>03</Code>
           <Description/>
         </PickupType>
         <Shipment>
           <Service>
             <Code>03</Code>
             <Description/>
           </Service>
           <Shipper>
             <ShipperNumber>11YF54</ShipperNumber>
             <Address>
               <AddressLine1>2496 BEACON HILL DR</AddressLine1>
               <City>ROCHESTER HILLS</City>
               <StateProvinceCode>MI</StateProvinceCode>
               <PostalCode>48309-1516</PostalCode>
               <CountryCode>US</CountryCode>
             </Address>
           </Shipper>
           <ShipFrom>
             <Address>
               <AddressLine1>2496 BEACON HILL DR</AddressLine1>
               <City>ROCHESTER HILLS</City>
               <StateProvinceCode>MI</StateProvinceCode>
               <PostalCode>48309-1516</PostalCode>
               <CountryCode>US</CountryCode>
             </Address>
           </ShipFrom>
           <ShipTo>
             <Name/>
             <CompanyName/>
             <AttentionName/>
             <Address>
               <City>Wels</City>
               <PostalCode>4600</PostalCode>
               <CountryCode>AT</CountryCode>
             </Address>
           </ShipTo>
           <RateInformation>
             <NegotiatedRatesIndicator/>
           </RateInformation>
           <Package>
             <PackagingType>
               <Code>02</Code>
               <Description/>
             </PackagingType>
             <PackageWeight>
               <Weight>2.59</Weight>
               <UnitOfMeasurement>
                 <Code>LBS</Code>
                 <Description/>
               </UnitOfMeasurement>
             </PackageWeight>
             <PackageServiceOptions>
               <InsuredValue>
                 <CurrencyCode>USD</CurrencyCode>
                 <MonetaryValue>810</MonetaryValue>
               </InsuredValue>
             </PackageServiceOptions>
           </Package>
           <ShipmentServiceOptions/>
         </Shipment>
       </RatingServiceSelectionRequest>
       ```
   
 * **Received from UPS API:**
 *     ```
       <?xml version="1.0"?>
       <RatingServiceSelectionResponse>
         <Response>
           <ResponseStatusCode>1</ResponseStatusCode>
           <ResponseStatusDescription>Success</ResponseStatusDescription>
         </Response>
         <RatedShipment>
           <Service>
             <Code>65</Code>
           </Service>
           <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
           <BillingWeight>
             <UnitOfMeasurement>
               <Code>LBS</Code>
             </UnitOfMeasurement>
             <Weight>3.0</Weight>
           </BillingWeight>
           <TransportationCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>198.10</MonetaryValue>
           </TransportationCharges>
           <ServiceOptionsCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>10.35</MonetaryValue>
           </ServiceOptionsCharges>
           <TotalCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>208.45</MonetaryValue>
           </TotalCharges>
           <GuaranteedDaysToDelivery/>
           <ScheduledDeliveryTime/>
           <RatedPackage>
             <TransportationCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>0.00</MonetaryValue>
             </TransportationCharges>
             <ServiceOptionsCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>0.00</MonetaryValue>
             </ServiceOptionsCharges>
             <TotalCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>0.00</MonetaryValue>
             </TotalCharges>
             <Weight>2.6</Weight>
             <BillingWeight>
               <UnitOfMeasurement>
                 <Code>LBS</Code>
               </UnitOfMeasurement>
               <Weight>3.0</Weight>
             </BillingWeight>
           </RatedPackage>
         </RatedShipment>
         <RatedShipment>
           <Service>
             <Code>07</Code>
           </Service>
           <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
           <BillingWeight>
             <UnitOfMeasurement>
               <Code>LBS</Code>
             </UnitOfMeasurement>
             <Weight>3.0</Weight>
           </BillingWeight>
           <TransportationCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>200.28</MonetaryValue>
           </TransportationCharges>
           <ServiceOptionsCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>10.35</MonetaryValue>
           </ServiceOptionsCharges>
           <TotalCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>210.63</MonetaryValue>
           </TotalCharges>
           <GuaranteedDaysToDelivery/>
           <ScheduledDeliveryTime/>
           <RatedPackage>
             <TransportationCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>0.00</MonetaryValue>
             </TransportationCharges>
             <ServiceOptionsCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>0.00</MonetaryValue>
             </ServiceOptionsCharges>
             <TotalCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>0.00</MonetaryValue>
             </TotalCharges>
             <Weight>2.6</Weight>
             <BillingWeight>
               <UnitOfMeasurement>
                 <Code>LBS</Code>
               </UnitOfMeasurement>
               <Weight>3.0</Weight>
             </BillingWeight>
           </RatedPackage>
         </RatedShipment>
         <RatedShipment>
           <Service>
             <Code>08</Code>
           </Service>
           <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
           <BillingWeight>
             <UnitOfMeasurement>
               <Code>LBS</Code>
             </UnitOfMeasurement>
             <Weight>3.0</Weight>
           </BillingWeight>
           <TransportationCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>178.09</MonetaryValue>
           </TransportationCharges>
           <ServiceOptionsCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>10.35</MonetaryValue>
           </ServiceOptionsCharges>
           <TotalCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>188.44</MonetaryValue>
           </TotalCharges>
           <GuaranteedDaysToDelivery/>
           <ScheduledDeliveryTime/>
           <RatedPackage>
             <TransportationCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>0.00</MonetaryValue>
             </TransportationCharges>
             <ServiceOptionsCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>0.00</MonetaryValue>
             </ServiceOptionsCharges>
             <TotalCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>0.00</MonetaryValue>
             </TotalCharges>
             <Weight>2.6</Weight>
             <BillingWeight>
               <UnitOfMeasurement>
                 <Code>LBS</Code>
               </UnitOfMeasurement>
               <Weight>3.0</Weight>
             </BillingWeight>
           </RatedPackage>
         </RatedShipment>
       </RatingServiceSelectionResponse>
       ```
   
 *  Thread Starter [Daniel Proczko](https://wordpress.org/support/users/diggler/)
 * (@diggler)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/incorrect-international-rates-service-codes-in-api-requests/#post-15249302)
 * I think i just solved it. When I use the following settings it lines up:
    - Pickup Type: Not Set
    - Insurance: Checked
    - Negotiated rates: Unchecked
 * The costs align: [https://birkonium.flywheelstaging.com/wp-content/uploads/2022/01/Screenshot-2022-01-13T105721.666.png](https://birkonium.flywheelstaging.com/wp-content/uploads/2022/01/Screenshot-2022-01-13T105721.666.png)
 *  Thread Starter [Daniel Proczko](https://wordpress.org/support/users/diggler/)
 * (@diggler)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/incorrect-international-rates-service-codes-in-api-requests/#post-15249303)
 * SOLVED
 *  Thread Starter [Daniel Proczko](https://wordpress.org/support/users/diggler/)
 * (@diggler)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/incorrect-international-rates-service-codes-in-api-requests/#post-15249316)
 * API Info for reference:
 * **Sent**
 *     ```
       <?xml version="1.0"?>
       <RatingServiceSelectionRequest xml:lang="en-US">
         <Request>
           <TransactionReference/>
           <RequestAction>Rate</RequestAction>
           <RequestOption>Shop</RequestOption>
         </Request>
         <Shipment>
           <Service>
             <Code>03</Code>
             <Description/>
           </Service>
           <Shipper>
             <ShipperNumber>11YF54</ShipperNumber>
             <Address>
               <AddressLine1>2496 BEACON HILL DR</AddressLine1>
               <City>ROCHESTER HILLS</City>
               <StateProvinceCode>MI</StateProvinceCode>
               <PostalCode>48309-1516</PostalCode>
               <CountryCode>US</CountryCode>
             </Address>
           </Shipper>
           <ShipFrom>
             <Address>
               <AddressLine1>2496 BEACON HILL DR</AddressLine1>
               <City>ROCHESTER HILLS</City>
               <StateProvinceCode>MI</StateProvinceCode>
               <PostalCode>48309-1516</PostalCode>
               <CountryCode>US</CountryCode>
             </Address>
           </ShipFrom>
           <ShipTo>
             <Name/>
             <CompanyName/>
             <AttentionName/>
             <Address>
               <City>Kalamazoo</City>
               <StateProvinceCode>MI</StateProvinceCode>
               <PostalCode>49009</PostalCode>
               <CountryCode>US</CountryCode>
             </Address>
           </ShipTo>
           <Package>
             <PackagingType>
               <Code>02</Code>
               <Description/>
             </PackagingType>
             <PackageWeight>
               <Weight>2.59</Weight>
               <UnitOfMeasurement>
                 <Code>LBS</Code>
                 <Description/>
               </UnitOfMeasurement>
             </PackageWeight>
             <PackageServiceOptions>
               <InsuredValue>
                 <CurrencyCode>USD</CurrencyCode>
                 <MonetaryValue>810</MonetaryValue>
               </InsuredValue>
             </PackageServiceOptions>
           </Package>
           <ShipmentServiceOptions/>
         </Shipment>
       </RatingServiceSelectionRequest>
       ```
   
 * **received**
 *     ```
       <?xml version="1.0"?>
       <RatingServiceSelectionResponse>
         <Response>
           <ResponseStatusCode>1</ResponseStatusCode>
           <ResponseStatusDescription>Success</ResponseStatusDescription>
         </Response>
         <RatedShipment>
           <Service>
             <Code>12</Code>
           </Service>
           <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
           <BillingWeight>
             <UnitOfMeasurement>
               <Code>LBS</Code>
             </UnitOfMeasurement>
             <Weight>3.0</Weight>
           </BillingWeight>
           <TransportationCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>9.28</MonetaryValue>
           </TransportationCharges>
           <ServiceOptionsCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>10.35</MonetaryValue>
           </ServiceOptionsCharges>
           <TotalCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>19.63</MonetaryValue>
           </TotalCharges>
           <GuaranteedDaysToDelivery>3</GuaranteedDaysToDelivery>
           <ScheduledDeliveryTime/>
           <RatedPackage>
             <TransportationCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>9.28</MonetaryValue>
             </TransportationCharges>
             <ServiceOptionsCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>10.35</MonetaryValue>
             </ServiceOptionsCharges>
             <TotalCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>19.63</MonetaryValue>
             </TotalCharges>
             <Weight>2.6</Weight>
             <BillingWeight>
               <UnitOfMeasurement>
                 <Code>LBS</Code>
               </UnitOfMeasurement>
               <Weight>3.0</Weight>
             </BillingWeight>
           </RatedPackage>
         </RatedShipment>
         <RatedShipment>
           <Service>
             <Code>14</Code>
           </Service>
           <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
           <BillingWeight>
             <UnitOfMeasurement>
               <Code>LBS</Code>
             </UnitOfMeasurement>
             <Weight>3.0</Weight>
           </BillingWeight>
           <TransportationCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>48.87</MonetaryValue>
           </TransportationCharges>
           <ServiceOptionsCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>10.35</MonetaryValue>
           </ServiceOptionsCharges>
           <TotalCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>59.22</MonetaryValue>
           </TotalCharges>
           <GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery>
           <ScheduledDeliveryTime>8:30 A.M.</ScheduledDeliveryTime>
           <RatedPackage>
             <TransportationCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>48.87</MonetaryValue>
             </TransportationCharges>
             <ServiceOptionsCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>10.35</MonetaryValue>
             </ServiceOptionsCharges>
             <TotalCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>59.22</MonetaryValue>
             </TotalCharges>
             <Weight>2.6</Weight>
             <BillingWeight>
               <UnitOfMeasurement>
                 <Code>LBS</Code>
               </UnitOfMeasurement>
               <Weight>3.0</Weight>
             </BillingWeight>
           </RatedPackage>
         </RatedShipment>
         <RatedShipment>
           <Service>
             <Code>59</Code>
           </Service>
           <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
           <BillingWeight>
             <UnitOfMeasurement>
               <Code>LBS</Code>
             </UnitOfMeasurement>
             <Weight>3.0</Weight>
           </BillingWeight>
           <TransportationCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>11.06</MonetaryValue>
           </TransportationCharges>
           <ServiceOptionsCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>10.35</MonetaryValue>
           </ServiceOptionsCharges>
           <TotalCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>21.41</MonetaryValue>
           </TotalCharges>
           <GuaranteedDaysToDelivery>2</GuaranteedDaysToDelivery>
           <ScheduledDeliveryTime>10:30 A.M.</ScheduledDeliveryTime>
           <RatedPackage>
             <TransportationCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>11.06</MonetaryValue>
             </TransportationCharges>
             <ServiceOptionsCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>10.35</MonetaryValue>
             </ServiceOptionsCharges>
             <TotalCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>21.41</MonetaryValue>
             </TotalCharges>
             <Weight>2.6</Weight>
             <BillingWeight>
               <UnitOfMeasurement>
                 <Code>LBS</Code>
               </UnitOfMeasurement>
               <Weight>3.0</Weight>
             </BillingWeight>
           </RatedPackage>
         </RatedShipment>
         <RatedShipment>
           <Service>
             <Code>03</Code>
           </Service>
           <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
           <BillingWeight>
             <UnitOfMeasurement>
               <Code>LBS</Code>
             </UnitOfMeasurement>
             <Weight>3.0</Weight>
           </BillingWeight>
           <TransportationCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>8.10</MonetaryValue>
           </TransportationCharges>
           <ServiceOptionsCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>10.35</MonetaryValue>
           </ServiceOptionsCharges>
           <TotalCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>18.45</MonetaryValue>
           </TotalCharges>
           <GuaranteedDaysToDelivery/>
           <ScheduledDeliveryTime/>
           <RatedPackage>
             <TransportationCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>8.10</MonetaryValue>
             </TransportationCharges>
             <ServiceOptionsCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>10.35</MonetaryValue>
             </ServiceOptionsCharges>
             <TotalCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>18.45</MonetaryValue>
             </TotalCharges>
             <Weight>2.6</Weight>
             <BillingWeight>
               <UnitOfMeasurement>
                 <Code>LBS</Code>
               </UnitOfMeasurement>
               <Weight>3.0</Weight>
             </BillingWeight>
           </RatedPackage>
         </RatedShipment>
         <RatedShipment>
           <Service>
             <Code>13</Code>
           </Service>
           <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
           <BillingWeight>
             <UnitOfMeasurement>
               <Code>LBS</Code>
             </UnitOfMeasurement>
             <Weight>3.0</Weight>
           </BillingWeight>
           <TransportationCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>14.25</MonetaryValue>
           </TransportationCharges>
           <ServiceOptionsCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>10.35</MonetaryValue>
           </ServiceOptionsCharges>
           <TotalCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>24.60</MonetaryValue>
           </TotalCharges>
           <GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery>
           <ScheduledDeliveryTime>3:00 P.M.</ScheduledDeliveryTime>
           <RatedPackage>
             <TransportationCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>14.25</MonetaryValue>
             </TransportationCharges>
             <ServiceOptionsCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>10.35</MonetaryValue>
             </ServiceOptionsCharges>
             <TotalCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>24.60</MonetaryValue>
             </TotalCharges>
             <Weight>2.6</Weight>
             <BillingWeight>
               <UnitOfMeasurement>
                 <Code>LBS</Code>
               </UnitOfMeasurement>
               <Weight>3.0</Weight>
             </BillingWeight>
           </RatedPackage>
         </RatedShipment>
         <RatedShipment>
           <Service>
             <Code>01</Code>
           </Service>
           <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
           <BillingWeight>
             <UnitOfMeasurement>
               <Code>LBS</Code>
             </UnitOfMeasurement>
             <Weight>3.0</Weight>
           </BillingWeight>
           <TransportationCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>18.87</MonetaryValue>
           </TransportationCharges>
           <ServiceOptionsCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>10.35</MonetaryValue>
           </ServiceOptionsCharges>
           <TotalCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>29.22</MonetaryValue>
           </TotalCharges>
           <GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery>
           <ScheduledDeliveryTime>10:30 A.M.</ScheduledDeliveryTime>
           <RatedPackage>
             <TransportationCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>18.87</MonetaryValue>
             </TransportationCharges>
             <ServiceOptionsCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>10.35</MonetaryValue>
             </ServiceOptionsCharges>
             <TotalCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>29.22</MonetaryValue>
             </TotalCharges>
             <Weight>2.6</Weight>
             <BillingWeight>
               <UnitOfMeasurement>
                 <Code>LBS</Code>
               </UnitOfMeasurement>
               <Weight>3.0</Weight>
             </BillingWeight>
           </RatedPackage>
         </RatedShipment>
         <RatedShipment>
           <Service>
             <Code>02</Code>
           </Service>
           <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
           <BillingWeight>
             <UnitOfMeasurement>
               <Code>LBS</Code>
             </UnitOfMeasurement>
             <Weight>3.0</Weight>
           </BillingWeight>
           <TransportationCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>9.72</MonetaryValue>
           </TransportationCharges>
           <ServiceOptionsCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>10.35</MonetaryValue>
           </ServiceOptionsCharges>
           <TotalCharges>
             <CurrencyCode>USD</CurrencyCode>
             <MonetaryValue>20.07</MonetaryValue>
           </TotalCharges>
           <GuaranteedDaysToDelivery>2</GuaranteedDaysToDelivery>
           <ScheduledDeliveryTime/>
           <RatedPackage>
             <TransportationCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>9.72</MonetaryValue>
             </TransportationCharges>
             <ServiceOptionsCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>10.35</MonetaryValue>
             </ServiceOptionsCharges>
             <TotalCharges>
               <CurrencyCode>USD</CurrencyCode>
               <MonetaryValue>20.07</MonetaryValue>
             </TotalCharges>
             <Weight>2.6</Weight>
             <BillingWeight>
               <UnitOfMeasurement>
                 <Code>LBS</Code>
               </UnitOfMeasurement>
               <Weight>3.0</Weight>
             </BillingWeight>
           </RatedPackage>
         </RatedShipment>
       </RatingServiceSelectionResponse>
       ```
   

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Incorrect international rates & service codes in API requests’ is closed
to new replies.

 * ![](https://ps.w.org/flexible-shipping-ups/assets/icon.svg?rev=2738069)
 * [Shipping Live Rates and Access Points for UPS for WooCommerce](https://wordpress.org/plugins/flexible-shipping-ups/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flexible-shipping-ups/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flexible-shipping-ups/)
 * [Active Topics](https://wordpress.org/support/plugin/flexible-shipping-ups/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flexible-shipping-ups/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flexible-shipping-ups/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [Daniel Proczko](https://wordpress.org/support/users/diggler/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/incorrect-international-rates-service-codes-in-api-requests/#post-15249316)
 * Status: resolved