question

ksaage avatar image
0 Likes"
ksaage asked

getOrders call doesn't return taxes information

I am trying to retrieve taxes information by order

Request


<?xml version="1.0" encoding="utf-8"?>
<GetOrdersRequest xmlns="urn:ebay:apis:eBLBaseComponents">
  <RequesterCredentials>
    <eBayAuthToken></eBayAuthToken>
  </RequesterCredentials>
    <ErrorLanguage>en_US</ErrorLanguage>
    <WarningLevel>High</WarningLevel>
  <OrderIDArray>
    <!-- Enter one or more of the seller's Order IDs in separate OrderID fields. Only legacy Order IDs are supported in GetOrders and not the ExtendedOrderIDs that are supported in eBay REST APIs calls like the Fulfillment API. The legacy Order ID values are actually the concatenation of ItemID and TransactionID, with a hyphen in between these two values. In legacy API calls, the OrderLineItemID and OrderID values are the same for single line item orders. Note that the TransactionID for an auction listing is always '0', which is demonstrated below -->
    <OrderID>XXXXXXXXXXXX-XXXXXXXXXXXXX</OrderID>
    <OrderID>XXXXXXXXXXXX-0</OrderID>
  </OrderIDArray>
  <OrderRole>Seller</OrderRole>
  <DetailedLevel>ReturnAll</DetailedLevel>
</GetOrdersRequest>

Response. All taxes is zero

          <Taxes>
            <TotalTaxAmount currencyID="EUR">0.0</TotalTaxAmount>
            <TaxDetails>
              <Imposition>SalesTax</Imposition>
              <TaxDescription>SalesTax</TaxDescription>
              <TaxAmount currencyID="EUR">0.0</TaxAmount>
              <TaxOnSubtotalAmount currencyID="EUR">0.0</TaxOnSubtotalAmount>
              <TaxOnShippingAmount currencyID="EUR">0.0</TaxOnShippingAmount>
              <TaxOnHandlingAmount currencyID="EUR">0.0</TaxOnHandlingAmount>
            </TaxDetails>
          </Taxes>


How to retrieve order taxes? VAT percent and others.

GetSellerTransactionsRequest call also doesn't return order taxes. Just Shipping taxes.

#tradingapi
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered

Hi @uzambara,

You can use the GetOrderTransactions call for getting the detailed tax information. Please go through the link given below to know more about the call.

REF:

https://developer.ebay.com/devzone/xml/docs/reference/ebay/GetOrderTransactions.html#Response.OrderArray.Order.TransactionArray.Transaction.Taxes

Best Regards ,
eBay Developer Support

10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.