Skip to main content
Skip table of contents

Anrok for Automated Sales Tax Calculations

The Universal Line Item Builder integrates with the Anrok API for automated sales tax calculations. Users can apply sales tax for quoting and/or billing scenarios. Our flexible builder allows you to use SalesReady + Anrok on any line item object, including but not limited to:

  1. Quote

  2. Opportunity

  3. Order

  4. Work Order

  5. Service Contract

How to configure the SalesReady + Anrok integration

  1. Apply the Tax_Calculations dynamic checkbox on the object where you want to calculate sales tax.

    1. This enables the Sales Tax button that gets displayed when building your quote or billing record.

    2. 📕 Check the box before saving on the screen below.

      SalesReady Dynamic Settings

  2. Configure the quote builder on the object where you want to calculate sales tax.

    1. Depending on the object you choose, it is recommended to use or create a taxable field on both the line item and parent object. In the below example, Sales_Tax__c on the OpportunityLineItem rolls up to the Total_Tax__c field on the Opportunity.

    2. The Sales_Tax__c field is going to be directly applicable to your Anrok mapping scenario.

      SalesReady Layouts

  1. Create products in the Anrok portal.

    1. Create products based on Anrok tax categories and please make sure to note each Product ID.

      Anrok Product IDs

  2. Create API key(s) in the Anrok portal.

    1. 📕 Document your key in a secure way so that it can be migrated to the SalesReady configuration.

      Anrok API Keys

  3. Add your API key(s) to the Taxes sub-tab within the SalesReady Configuration tab.

    1. 📕 Toggle Test Mode while you are testing.

      SalesReady & Anrok Configuration

  4. Apply your field mappings between SalesReady and Anrok.

    1. Click the Field Mappings button.

    2. Use the object you selected in Steps #1 and #2.

    3. Use the field that was added to the quote layout. In this example, Sales_Tax__c on the OpportunityLineItem. ⚠️ This field does not have to exist on the layout in order for SalesReady to capture the calculated sales tax. However, it must be applied in this step.

    4. Choose your Salesforce field to map to Anrok.

    5. 📕 Hover over the help text for each field to clarify what each field means.

      SalesReady & Anrok Field Mappings

  5. Link your Salesforce products to Anrok.

    1. Click the Link Products button.

    2. The Anrok Product ID column maps to the Product IDs from step #3.

    3. 📕 The Product Code and Anrok Product ID on this screen do not have to match. However, it is a best practice to make them the same. The Use Product Codes button helps easily copy and paste those IDs.

      SalesReady & Anrok Product Mappings

How to use the SalesReady + Anrok integration

  1. Open or create a record that has the SalesReady Quote Container component embedded on the Lightning Record Page. For more information please go to the Quote Builder section.

  2. Confirm that the Sales Tax button is showing in the builder.

    SalesReady Quote Builder

  3. Use SalesReady as designed to build out your quote or billing record.

    1. 📕 As you make changes in real-time, the Sales Tax button becomes disabled. Once you save the record it will then be re-enabled.

  4. Once done building your record click the Sales Tax button.

    1. Sales tax gets calculated as soon as you click the button.

    2. The window displays each line and the applicable tax.

  5. Save your tax estimates by clicking the Save Estimates button.

    1. 📕 This button will only save the calculated tax in Salesforce. ⚠️ Anrok will not use this transaction type to file sales tax returns or monitor sales thresholds.

    2. You can save estimates as many times as needed based on changes to the quote or billing record.

  6. When you want to finalize sales tax click the Finalize Sale button.

    1. This button will save the calculated tax in Salesforce. Anrok will also use this transaction type to file sales tax returns and monitor sales thresholds.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.