Developers Program

Trading API: Why GetOrders not including tax in Total/AmountPaid?

Published: August 31 2023, 11:30:00 AMยทUpdated: September 18 2023, 7:51:34 AM

Products

Question

Trading API: Why GetOrders not including tax in Total/AmountPaid?


Answer

For GetOrders only: If using Trading WSDL Version 1307 or above, the amount in this field will include sales tax.

If using a Trading WSDL older than Version 1307, the amount in this field will not include sales tax.

To incorporate the new logic while using a Trading WSDL that is older than 1307, developers can also use the X-EBAY-API-COMPATIBILITY-LEVEL header and set its value to 1307 or higher.


Additional Resources

https://developer.ebay.com/devzone/xml/docs/reference/ebay/GetOrders.html#Response.OrderArray.Order.AmountPaid

https://developer.ebay.com/devzone/xml/docs/reference/ebay/GetOrders.html#Response.OrderArray.Order.Total

How well did this answer your question?