Conversation
supportI need to get the tax rate according to the location to display it in the admin order detail. There is a hook or a way to obtain it?
Unfortunately the TaxCloud API does not return tax rates, so this is not possible. The best you can do if you want to show the tax rate in WP Admin is calculate an approximate rate by dividing the sales tax by the order subtotal. With that said the TaxCloud dashboard displays detailed information on the tax rate applied and the applicable tax jurisdictions.
Unfortunately the TaxCloud API does not return tax rates, so this is not possible. The best you can do if you want to show the tax rate in WP Admin is calculate an approximate rate by dividing the sales tax by the order subtotal. With that said the TaxCloud dashboard displays detailed information on the tax rate applied and the applicable tax jurisdictions.