Skip to main content

Set Up Taxes with Avalara AvaTax

Avalara AvaTax is a comprehensive tax compliance solution that automates the calculation, collection, and remittance of sales and use taxes for marketplaces. With tax rules from more than 12,000 US taxing jurisdictions and over 200 countries, Avalara AvaTax enables accurate, real-time tax rates and rules for each transaction.

Nautical is a certified integration partner with Avalara. With a Nautical and Avalara integration, you can also choose to automatically send customer details to Avalara and manage tax exemption codes directly from Nautical.

Procedure overview

To integrate Avalara with Nautical, complete the following tasks:

  1. Set Up Avalara AvaTax account
  2. Connect Nautical to Avalara
  3. Configure marketplace tax treatment
  4. Assign product tax codes
  5. Toggle product taxing (as needed)
  6. Assign a tax exempt code to customers (as needed)

Set up Avalara AvaTax account

Before you get started, you must have an Avalara AvaTax account. See the Avalara article Set up AvaTax for more information.

As part of creating your account, complete the following tasks:

Nexus Jurisdictions

It’s important to register to collect sales tax in every jurisdiction where you’ve crossed a nexus threshold. Economic nexus laws vary by state, but typically consider factors such as the total sales volume, the number of transactions, or the value of the goods or services sold to buyers in that state.

Gather information from Avalara

You'll need the following information from your Avalara account to set up the integration with Nautical:

InformationAvalara Location
Account IDClick Account in the upper-right corner in the Avalara admin console to view your account number. This will be a numeric code, such as 1002345678.
Company CodeGo to the Settings -> Company Details page in the Avalara admin console, and scroll down to the Company Code field.
Company IDThis company ID is only required to enable creating customers from Nautical. Copy this numeric key from the URL path you use to access the Avalara admin console. The company ID follows your account ID in the URL. For example, in the following URL, the company ID is 1023456:
sandbox.admin.avalara.com/cup/a/1002345678/s/1023456/
License KeyIf you don't already have a saved license key, go to Settings -> License and API Keys and generate a license key. Note that generating a new license key will break the connections to previously linked applications.

Connect Nautical to Avalara

Go to Settings -> Apps -> Avalara and use the following fields to enable Avalara integration:

  • Username: Enter your Avalara account ID.
  • Company code: Enter your Avalara company code.
  • Company ID: Enter your Avalara company ID. If you enable the Create customers toggle, the company ID is required.
  • Use sandbox: Toggle this on if you're connecting to an Avatax sandbox environment.
  • Autocommit: Toggle this on if transactions should be committed in AvaTax automatically once the payment for the order has been captured. Toggle this off to send transactions in the uncommitted state, which will require you to manually commit the transactions in AvaTax.
    Learn more about AvaTax transaction statuses.
    note

    A transaction will only appear in Avalara after the order has been created in Nautical. Until a quote order, offer order, draft order, or active checkout is converted into an order, the transaction will not be sent.

  • Create customers: Toggle this on to automatically create customers in Avalara once they are created in Nautical.
    Customer Address Requirement

    Customers must be created with an address in Nautical to be sent to Avalara. If a customer is initially created without an address, they will not be automatically created in Avalara. The reference storefront does not collect customer addresses, so you must modify the customer sign-up form to enable this functionality from the storefront.

  • Customer code type is email: Toggle this on to use customer emails as the customerCode in Avalara instead of default customer primary_key.
  • Enable logging: Toggle this on to log requests and responses for all API interactions between Nautical and Avalara for assistance with troubleshooting. To retrieve the logs, use the avalaraRequestLogs query.
    note

    Only the activity from the past 24 hours will be logged.

  • Disable document recording: Toggle this on to disable the recording of documents to AvaTax. This means that AvaTax will only be used for calculating taxes, and not for recording or reporting transactions.
  • Password or license: Enter your Avalara license key.

Verify your addresses match between Nautical and Avalara

  1. In the Nautical dashboard, go to Settings -> Marketplace configuration.
  2. Under Business Information, ensure your company address in Nautical matches your primary business address in the Avalara admin console.
Avalara address matching
caution

You will experience issues with your Avalara integration if these addresses do not match.

Configure marketplace tax treatment

After connecting Avalara, define how your marketplace will handle calculating taxes. These settings apply to your entire marketplace.

  1. In the Nautical dashboard, go to Settings -> Taxes.

  2. Under Treatment, specify the following options as required:

    SettingDescription
    All product prices are entered with tax included

    Select this option if the prices entered by sellers for products already includes tax.

    For instance, if this setting is enabled, a sweater priced at $100 with a 5% tax rate would include the $4.76 tax in the listed price. However, if this setting is disabled, the $100 sweater would require an additional $5.00 for tax.

    Charge taxes on shipping ratesSelect this option to charge tax on shipping.

Assign product tax codes

To determine the amount of sales tax to collect from each transaction, you must specify the Avalara tax codes for products in your catalog.

When a customer makes a purchase, the tax codes for the products they are purchasing are used to calculate the appropriate sales tax based on the customer's location and the applicable tax rate.

You can define tax codes at the product type level, and at the product-level for more specific control. If you don't specify a tax code, a default tax code is assigned.

Fetch tax codes

Upon activating a connection to Avalara, Nautical will retrieve the list of tax codes. However, Avalara periodically updates their tax codes to reflect changes in tax laws, rates, and regulations.

To fetch the latest updates in Nautical:

  1. In the Nautical dashboard, go to Settings -> Taxes.
  2. Select Fetch taxes.

Default Tax Code

If you don't specify the tax code, the code of O9999999 for Temporary Unmapped Other SKU - taxable default is assigned by default.

tip

If you're not sure which product code to use, look up the tax code using the Avalara Tax Codes Search tool.

Product type tax code

The Taxes field on a product type determines the default tax rate applied to products of that type.

Product tax code override

If you need to specify different tax codes on at the product-level, enable the Override the product type's tax code field, then select the Tax Rate manually. The product tax code will be used to calculate the tax rate instead of the product type tax code.

Toggle product taxing

On a product, the Charge taxes on this product field determines whether taxes will be charged for that products variants. In the API, this setting can be controlled with the product.chargeTaxes boolean field.

  • When enabled (true), taxes will be charged on the product.
  • When disabled (false), taxes will not be charged for that product.

This field is enabled by default for all new products, which means that taxes will be charged by default for any new products you create. Disabling this setting only affects new orders moving forward, so make sure to set this toggle correctly before making products available for purchase.

Assign a tax exempt code to a customer

Use tax exempt codes to manage tax-exempt customers in Avalara. This corresponds to the entity use code in Avalara. Once a tax exempt code is assigned to a customer, it will be sent to Avalara to apply in tax calculations for all future purchases made by that customer.

  1. In the Nautical dashboard, go to Customers.
  2. Open the customer to which you want to assign a tax exempt code.
  3. Go to the Notes tab, and select the appropriate tax code in the Tax exempt code field.

AvaTax transaction document lifecycle

The following table explains how tax information is captured in Nautical and reflected in Avalara AvaTax during the order process:

Order stageDescription
Unfinalized order

(Draft, Quote, Offer, Cart & Checkout)

At this stage, Avalara estimates the tax based on factors such as the location of the buyer, as well as the product being sold.

However, transactions will not appear in the AvaTax web portal until checkout is complete or quote orders, offer orders, and draft orders are converted to an order.

Finalized order

Once the customer completes the checkout process, Nautical sends the sales invoice to Avalara, which appears in your AvaTax web portal as a transaction.

If auto-commit is turned on, the transaction will be automatically committed when payment is captured. If the disable document recording option is enabled, this step will not occur.

Voided order

When the marketplace operator cancels the marketplace order, the corresponding transaction is voided in Avalara.

Please note that if the seller order is canceled, no changes will occur in Avalara since tax information is received from the marketplace order, not the seller order.

Was this page helpful?