Ensure compliance with state tax laws. Go to Taxes, select Sales Tax, set up your agency and location-based tax rates, and let QuickBooks automatically calculate sales tax on invoices based on your customer’s shipping address.