Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Summary

An overview of AvaTax Cloud and related articles can be found in the Avalara AvaTax Cloud Integration article. This article covers how to setup the AvaTax Cloud EngageIP integration and how to test taxation.

...

  1. Import Service TaxTypes (These will be the 'Service Tax Categories' associated to your services on setup)

    1. click Setup on the left sidebar

    2. under Data Management click Import

    3. import the following service tax types XML: TaxTypes-Import.xml  (The 'TaxType' element should be 'name' for the final xml import, example per image below)

    4. the result should indicate success


  2. Optional: setup or import Account Tax Categories (AvaTax supports the following tax categories – Residential, Residential Incorporated, Business, Business Incorporated)

    1. click Setup on the left sidebar

    2. under Data Management click Import

    3. import the following service tax types XML : (see the AccountTaxCategoryXMLImport.xml file below this list)
      Note: you need to update owner in the XML file to match your system

      Residential Incorporated

      Residential

      Business Incorporated

      Business

      SeniorCitizen

      Industrial

      SeniorCitizen Incorporated

      Industrial Incorporated

  3. If Service Tax Category was not setup in step #1, you can add them manually: setup Service Tax Categories

  4. Populate the Tax Type Mapping table

    1. access the EngageIP Database

    2. run the following script: EZTaxTaxTypeMappingInsertScriptEZTaxTaxTypeMappingInsertScript script found at the bottom of this list

    3. ensure there are no errors and that the EZTaxTaxTypeMapping table is populated

  5. Add a Tax Vendor for AvaTax

...

    1. click Setup on the left sidebar

...

    1. under the Taxes heading select Tax Vendor

...

    1. if the Default tax vendor does not exist click Add

...

    1. in the TaxVendor Type list select AvaTax

      Image Modified

...

    1. Populate the Tax Vendor settings (credentials provided by Avalara)

      Image Modified

      • Enable taxation on invoice close select the 'Invoice Level Taxing' option here. It's recommended that this option always be selected / used 

...

  1. Ensure a Default tax code is setup in the AdminPortal

    a. click Setup on the left sidebar
    b. under the Taxes heading select Tax Codes
    c. if the Default tax code does not exist click Add
    d. ensure the tax code is Name is 'Default' with a capital 'D' (as the name is case sensitive) and that
    the Tax Vendor is set to the AvaTax tax code you setup above

...

  1. Test to ensure that taxation is functioning: see the Post Configuration Testing section below

...

  1. Optional: enable UDR (usage) taxing and other required features described below


AccountTaxCategoryXMLImport.xml

View file
nameAccountTaxCategoryXMLImport.xml

EZTaxTaxTypeMappingInsertScript

View file
nameEZTaxTaxTypeMappingInsertScript.zip

Tax Exemption Configuration

XML Import file: TaxExemptTypes

View file
nameTaxExemptTypes.xml

Tax Exempt Levels which are valid for Avatax (different for Billsoft) include the following (any extras in the database should be removed if coming from a prior configuration):

...

Configuring UDR / Usage Taxing

Note

Notice: All EngageIP Windows Services should be stopped before configuring UDR batch taxing.

Once the base configuration described above has been completed and tested you can configure taxing on usage. There are several options available for UDR taxing, these include:

...

  1. Ensure your mediation code is configured to tax the appropriate tax types (see the usage requirements section above)

  2. Ensure the CDRLevelTax EngageIP option exists in the EngageIP database > / EngageIPOptions table. If not add it with the insert statement below

    Code Block
    INSERT INTO EngageIPOption (Name,VALUE) VALUES ('CDRLevelTax','true')
  3. Ensure normal usages charges (without tax) are applied for test usage (i.e. usage feeds, UUIH, rates, rate groups, rate plans, tax code setup the service tax category)

  4. On the Setup page under UDR Feeds click the relevant feed to edit it

  5. Under the Processors section click Add

  6. Select SetUDRTaxing, choose a sort order and click Save

  7. Setup a service with a service tax category (in order to apply usage specific taxes)

  8. Ensure a tax code is configured with the service tax category and the tax code's tax vendor is set to the avatax vendor

  9. Add the service with the service tax category to a test package and ensure the package is configured with a UDR Rate Plan containing the proper usage rates

  10. Configure a test account, test user-package and test usage data to ensure usage taxing is working. See the Per Transaction Testing section below for steps

Configuring Batch Taxing Records (UDR)

  1. Enable batch taxing on the Configuration page

  2. Load the Tax Vendor and set the UDR Batch Size (this setting only appears if the 'Batch Taxing On Usage' option described above is enabled)

    Note: A maximum batch size of 1,000 is recommended by Avalara as performance degrades above that size

  3. Optional: Access the EngageIP app server and load the EngageIP\Services\UDRBatchTaxService.exe.config file. In the config file verify/adjust the settings to suit your environment:

    • the frequency that the usage taxes should be processed (pollingDelayInSeconds)

    • the number of threads to use (MinThread, MaxThread)

    • how long to retain data on taxes that have been processed (UDRBatchPendingTaxRecordRetentionPeriodInDays)

  4. Follow the same configuration as described in the Configuring Taxing Per Record (UDR) section above

  5. Start the Batch Taxing service

  6. Test to ensure taxes are applied in the batch size and time interval you configured. See the Testing Batch Usage Taxation section below for steps

Configuring Usage Taxing on Invoice Close

  1. Ensure Invoice Level Taxing is enabled on the Tax Vendor (credentials are provided by Avalara)

  2. Follow the same configuration as described in the Configuring Taxing Per Record (UDR) section above

  3. Test to ensure usage is taxed with the appropriate taxes and rates when a test account's invoice is closed. See the Testing Invoice Level Taxation section below for steps

Configuring Usage Taxing on Billing/Invoice Close

To enable taxing on billing or invoice close (whichever occurs first) you simply have to delete the CDRLevel tax entry in the EngageIPOption table. Otherwise the configuration instructions are identical to the Configuring Taxing Per Record (UDR) section above.

Configuring Tax Overrides

...

Testing Batch Usage Taxation

  1. Follow the Testing Usage Taxation steps above

  2. Verify that the batch taxing occurs when the pollingDelayInSeconds (configured frequency) is reached. Even if only one usage record needs to be taxed the data will be sent to the Avalara server for tax calculation (the system will not wait until the batch size is reached)

  3. Generate enough test usage to exceed the UdrBatchSize. When the polling time is reached check the Event Log to verify that the UdrBatchSize is broken up into more than one batch (Event Log 'Action' column can be filtered by 'ProcessBatchUDRTaxes' to find the batch taxing events. The total number of batches and records will be shown in the 'Result' column)

  4. If you wish to see the transactions and taxes applied to the test account, load the account and bill it via Tools > / Bill Account. Ensure the date range you bill for covers the date the usage occurred on

...

This process is very similar to the per transaction test steps above, you simply have to add the step of closing the invoice once the package has been billed on the test account. After the invoice is closed taxes will appear on the Transactions tab as described above. 

Info

...

Note: Taxing at an invoice level as configured on the Tax Vendor config on setup will tax based on the invoice date (transaction date is not considered when applying tax in this fashion). When the invoice is closed, the invoice date is calculated based on bill group settings for invoice close date, and at that time, it calculates the tax using the invoice date that is set on the invoice.

Logs and Reports

  • The Tax Log contains a high level of detail on taxes that have been applied

  • The Event Log captures system event details and is useful for verifying which events have occurred or failed. For instance, if jurisdiction codes are not being added to contact addresses the event log should contain failure messages indicating the cause (e.g.

  • Custom Report – Missing Billsoft Jurisdiction Codes

 

...