Get tax details from api

Hey,
When we add products to a deal we can set the tax for each products but the vat amount wont reflect in the Subtotal or Total. Is it possible to find out Tax is enabled or not in a deal even if the tax is disabled in the UI api return the existing data as tax