You need to pre-define the address to apply the taxes automatically. You can choose either the Billing address or the Service address. When creating the Quote or Invoice, the taxes will be added to the Quote based on the address added and based on the pre-defined settings.

Settings --> Configuration Settings -->Quotes and Invoices --> Tax Settings --> +New Tax1. Select the “Accounting” module from the left navigation menu and choose the “Quotations” module.
Click the “+New” button and choose the “Quote.”
2. Select the “Customer” or “Organization” details to view the billing and service
address.
Capturing the taxes in the pre-settings helps for the hassle-free tax update on the quotation module. With this configuration, business gets the ability to decide how the tax needs to be applied if based on service or billing address.