Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module calculates Washington State sales tax for Drupal Commerce. It automatically determines the correct tax rate based on the customer's shipping address by looking up information on the Washington State Department of Revenue's website. This ensures accurate and up-to-date tax calculations, even for the complex destination-based tax rules in Washington.

Module information

This module calculates Washington State Sales Tax for the Commerce 2.0 module. Washington State has destination-based sales tax, meaning the seller has to charge sales tax based on the location the product is delivered to, rather than based on the location of the store/business. Thus, the tax rate is variable, and because there are literally hundreds of possible destination rates a simple sales tax setup in Commerce will not work for Washington.

In this module, Tax is calculated based on the purchaser's shipping address (or billing address, for non-shippable purchases), and the tax rate is found via address lookup on the Washington State Department of Revenue's web site, so that it always uses the most recent tax rate information.

This module is inspired/copied from the uc_tax_wa module by jhodgdon.

It currently provides a tax resolver and a tax type. The tax type supports designating particular product variations to apply the tax to, allowing you to have taxable and non-taxable product variations. It also supports only being used in particular stores.

Installation and Configuration

After installing this module in the normal way, go to Commerce -> Configuration -> Store -> Tax Types, and click "Add tax type". Select "Washington State tax service", and enter your default location and tax rate -- this rate only gets used if the Department of Revenue's web service is down or returns an error. Select the taxable product variations and the store(s) to apply taxes, and save.

Users will be taxed for any taxable products if their billing address is in Washington State.

The plugin currently stores the location code and location name in the database -- there is not currently a way to report taxes by location, but this will be added soon.

Version info

  • 8.x-1.x versions are for Drupal Commerce up to 8.x-2.7.
  • 8.x-2.x versions are for Drupal Commerce 8.x-2.8 and up.

For a Drupal 7/Commerce 1 tax service, there is a sandbox project.

Activity

Total releases
2
First release
Jun 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Release date
3.0.0-alpha1 Pre-release Jun 8, 2025
3.0.x-dev Dev Jun 8, 2025