2020-03-23 13:45:05 +01:00
|
|
|
=========================================================
|
|
|
|
|
Get correct tax rates in the United States using TaxCloud
|
|
|
|
|
=========================================================
|
2016-07-01 15:17:34 +02:00
|
|
|
|
2018-12-07 11:55:23 -08:00
|
|
|
The **TaxCloud** integration allows you to correctly calculate the sales
|
|
|
|
|
tax for every address in the United States and keeps track of which products
|
|
|
|
|
are exempt from sales tax and in which states each exemption applies.
|
2016-07-01 15:17:34 +02:00
|
|
|
TaxCloud calculates sales tax in real-time for every state, city, and
|
|
|
|
|
special jurisdiction in the United States.
|
|
|
|
|
|
|
|
|
|
Configuration
|
|
|
|
|
=============
|
|
|
|
|
|
2018-12-07 11:55:23 -08:00
|
|
|
In TaxCloud
|
|
|
|
|
-----------
|
|
|
|
|
* Create a free account on `TaxCloud
|
|
|
|
|
<https://taxcloud.com/#register>`__ website.
|
|
|
|
|
* Register your Odoo website on TaxCloud to get an *API ID* and an *API Key*.
|
2016-07-01 15:17:34 +02:00
|
|
|
|
2022-05-20 09:59:25 +00:00
|
|
|
.. image:: taxcloud/taxcloud01.png
|
2016-07-01 15:17:34 +02:00
|
|
|
:align: center
|
|
|
|
|
|
2018-12-07 11:55:23 -08:00
|
|
|
* In Settings on TaxCloud, click *Locations* to enter the location of your Office(s) & Warehouse(s).
|
|
|
|
|
* In Settings on TaxCloud, click *Manage Tax States* to verify the states where you collect sales tax.
|
|
|
|
|
|
2016-09-30 09:26:08 +02:00
|
|
|
In Odoo
|
|
|
|
|
-------
|
2018-12-07 11:55:23 -08:00
|
|
|
* Go to :menuselection:`Invoicing / Accounting --> Configuration --> Settings`
|
2019-10-28 11:12:51 -04:00
|
|
|
and check *TaxCloud - Compute tax rates based on U.S. ZIP codes* (note: actually uses complete street address).
|
2018-12-07 11:55:23 -08:00
|
|
|
* Enter your TaxCloud credentials.
|
|
|
|
|
* Click SAVE to store your credentials.
|
2016-07-01 15:17:34 +02:00
|
|
|
|
2022-05-20 09:59:25 +00:00
|
|
|
.. image:: taxcloud/taxcloud02.png
|
2016-07-01 15:17:34 +02:00
|
|
|
:align: center
|
|
|
|
|
|
2018-12-07 11:55:23 -08:00
|
|
|
* Click the Refresh Icon next to *Default Category* to import the TIC product categories
|
2019-10-28 11:12:51 -04:00
|
|
|
from TaxCloud (Taxability Information Codes). Some categories may imply specific rates or attract product/service type exemptions.
|
2018-12-07 11:55:23 -08:00
|
|
|
* Select your default *TIC Code*. This will apply to any new
|
|
|
|
|
product created.
|
2019-10-28 11:12:51 -04:00
|
|
|
* Set a specific TaxCloud TIC Category on the *General Information* tab of the Product,
|
2018-12-07 11:55:23 -08:00
|
|
|
or on the Product Category.
|
|
|
|
|
* Make sure your company address is complete (including the state
|
|
|
|
|
and the zip code). Go to :menuselection:`Settings --> Users & Companies --> Companies`
|
|
|
|
|
to open and edit your Company record.
|
2016-07-01 15:17:34 +02:00
|
|
|
|
2021-11-03 10:30:36 +00:00
|
|
|
Automatically post taxes to the correct Tax Payable account
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
* For each one of your companies that uses TaxCloud, it might be necessary to create a
|
|
|
|
|
**User-Defined Default** so that the new taxes generated by the TaxCloud integration are created
|
|
|
|
|
with the correct Tax Payable account:
|
|
|
|
|
|
|
|
|
|
.. warning::
|
|
|
|
|
A User-Defined Default impacts all records at creation. It means that **every** new tax will be
|
|
|
|
|
set up to record income in the specified Tax Payable account, unless the tax is manually edited
|
|
|
|
|
to specify a different income account (or there exists another User-Defined Default that takes
|
|
|
|
|
precedence).
|
|
|
|
|
|
|
|
|
|
* In :menuselection:`Accounting --> Configuration --> Chart of Accounts`, select the Tax Payable
|
|
|
|
|
account for the company. Take note of the account's ``id`` in the URL string.
|
|
|
|
|
|
|
|
|
|
.. image:: taxcloud/user-default-find-account-id.png
|
|
|
|
|
:alt: The account's ID can be found in the URL string as 'id=...'.
|
|
|
|
|
:align: center
|
|
|
|
|
|
|
|
|
|
* Activate the :ref:`developer mode <developer-mode>`, then go to
|
|
|
|
|
:menuselection:`Settings --> Technical --> Actions --> User-Defined Defaults`, and
|
|
|
|
|
click on *Create*.
|
|
|
|
|
|
|
|
|
|
* Click on *Field*, then, in the drop-down menu, on *Search More*.
|
|
|
|
|
|
|
|
|
|
.. image:: taxcloud/user-default-search-field.png
|
|
|
|
|
:alt: Click on 'Search More' in the 'Field' drop-down menu.
|
|
|
|
|
:align: center
|
|
|
|
|
|
|
|
|
|
* In the pop-up's search box, filter on the model ``tax.repartition.line`` and the field ``account``.
|
|
|
|
|
Select the ``account`` field of the ``tax.repartition.line`` model.
|
|
|
|
|
|
|
|
|
|
.. image:: taxcloud/user-default-select-field.png
|
|
|
|
|
:alt: Select the 'account' field of the 'tax.repartition.line' model.
|
|
|
|
|
:align: center
|
|
|
|
|
|
|
|
|
|
* In the **Default Value** field, enter the ID of the company's Tax Payable account.
|
|
|
|
|
Select the company for which this configuration should apply in the *Company* field.
|
|
|
|
|
Click *Save*.
|
|
|
|
|
|
|
|
|
|
.. image:: taxcloud/user-default-enter-default-account-id.png
|
|
|
|
|
:alt: Enter the ID of the company's Tax Payable account.
|
|
|
|
|
:align: center
|
|
|
|
|
|
|
|
|
|
|
2016-09-30 09:26:08 +02:00
|
|
|
How it works
|
|
|
|
|
============
|
2016-07-01 15:17:34 +02:00
|
|
|
|
2018-12-07 11:55:23 -08:00
|
|
|
Salestax is calculated in Odoo based on fiscal positions
|
2020-05-20 19:01:16 +02:00
|
|
|
(see :doc:`fiscal_positions`).
|
2018-12-07 11:55:23 -08:00
|
|
|
A Fiscal Position for the United States is created when installing *TaxCloud*.
|
2016-09-30 09:26:08 +02:00
|
|
|
Everything works out-of-the-box.
|
2016-07-01 15:17:34 +02:00
|
|
|
|
2021-05-31 11:52:17 +02:00
|
|
|
You can configure Odoo to automatically detect which Customers should use this fiscal
|
2018-12-07 11:55:23 -08:00
|
|
|
position. Go to :menuselection:`Accounting --> Configuration --> Fiscal Positions`
|
|
|
|
|
to open and edit the record.
|
2016-07-01 15:17:34 +02:00
|
|
|
|
2022-05-20 09:59:25 +00:00
|
|
|
.. image:: taxcloud/taxcloud03.png
|
2016-07-01 15:17:34 +02:00
|
|
|
:align: center
|
|
|
|
|
|
2018-12-07 11:55:23 -08:00
|
|
|
Now, this fiscal position is automatically set on any sales order, web order, or invoice
|
|
|
|
|
when the customer country is *United States*. This triggers the
|
|
|
|
|
automated tax computation.
|
2016-07-01 15:17:34 +02:00
|
|
|
|
2022-05-20 09:59:25 +00:00
|
|
|
.. image:: taxcloud/taxcloud04.png
|
2016-07-01 15:17:34 +02:00
|
|
|
:align: center
|
|
|
|
|
|
2018-12-07 11:55:23 -08:00
|
|
|
Add your product(s). You have two options to get Sales Tax on the Order. You can confirm it,
|
|
|
|
|
or you can save it and from the *Action* Menu choose **Update Taxes with TaxCloud**.
|
2016-07-01 15:17:34 +02:00
|
|
|
|
2020-01-30 10:25:08 +01:00
|
|
|
|
|
|
|
|
Coupons & Promotions
|
|
|
|
|
====================
|
|
|
|
|
|
|
|
|
|
If you use the Coupon or Promotion Programs, the integration with Taxcloud might seem a bit odd.
|
|
|
|
|
|
|
|
|
|
The problem lies with the fact that Taxcloud does not accept lines with negative amounts as part of
|
|
|
|
|
the tax computation. This means that the amount of the lines added by the promotion program must be
|
|
|
|
|
deduced from the total of the lines it impacts. This means, amongst other complications, that orders
|
|
|
|
|
that use coupons or promotions with a Taxcloud fiscal position **must** be invoiced completely -
|
|
|
|
|
you cannot create invoices for partial deliveries, etc.
|
|
|
|
|
|
|
|
|
|
Another specific oddity is possible in the UI: imagine that you sell a product from the Taxcloud
|
|
|
|
|
category *[20110] Computers* and that you have a promotion program in place that provides a 50%
|
|
|
|
|
discount on this product. If the tax rate for this particular product is 7%, the tax rate that will
|
|
|
|
|
be computed from the Taxcloud integration will display 3.5%. This happens because the discount is
|
|
|
|
|
included in the price that is sent to Taxcloud, but in Odoo this discount is in another line
|
|
|
|
|
entirely. At the end of the day, your tax computation will be correct (since a 3.5% tax on the full
|
|
|
|
|
price is the equivalent of a 7% tax on half the price), but this might be surprising from a user
|
|
|
|
|
point of view.
|
|
|
|
|
|
2016-07-01 15:17:34 +02:00
|
|
|
.. seealso::
|
2020-05-20 19:01:16 +02:00
|
|
|
- :doc:`fiscal_positions`
|