Find the answer to your question
Trading API: Why GetOrders not including tax in Total/AmountPaid?
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.