Introduction
Hello and welcome to the Anrok/NetSuite integration guide. This guide outlines the configuration process for installing Anrok in your NetSuite account. The resulting integration will automatically synchronize transactions and update sales tax on your invoices in NetSuite.
Note:The Anrok SuiteApp requires the installation of SuiteTax which is the newer version of NetSuite's tax engine that all accounts will eventually transition to. If you're currently using Legacy Tax, you'll need to switch your account over before proceeding with Anrok. The NetSuite team can help you understand the impact of this and whether any additional features or services you're using currently will be affected by the switch.
Supported NetSuite Transaction Types
Tax will be calculated and added to NetSuite Invoices and Credit Memos by default. Support for the following additional NetSuite transaction types can be added to your integration on request:
- Cash Refund
- Cash Sale
- Credit Card Charge
- Credit Card Refund
- Credit Memo
- Estimate
- Expense Report
- Invoice
- Journal Entry
- Opportunity
- Purchase Order
- Return Authorization
- Sales Order
- Vendor Bill
- Vendor Credit
- Vendor Return
Step 1 - Enable Features
- Navigate to the Enable Features page in your NetSuite instance
- On the "SuiteCloud" subtab enable:
- Server SuiteScript
- Rest Web Service
- OAuth 2.0
- On the “Tax” subtab install:
- SuiteTax Engine
- SuiteTax Data Records
- SuiteTax Reports
- Click save before exiting the page
Step 2 - Install and Enable Anrok SuiteTax
- Navigate to the SuiteApps page in your NetSuite instance
- Search for Anrok & install the app
- Navigate to Manage Plug-ins under the Customization page in your NetSuite instance
- On the Tax Calculation subtab enable:
- SuiteTax Engine
- Anrok SuiteTax
Step 3 - Create Sales Tax Payable and Receivable Accounts
Note: NetSuite requires both a payable and receivables account for every nexus. Tax collected on transactions will always appear in the payable account.
- Navigate to the Accounts page in your NetSuite instance
- Select New and input the following values:
- Name: "Sales Tax Payable United States"
- Number: (your choice)
- Type: "Other Current Liability"
- Subsidiaries: Select all that apply
- Select Save then New and input the following values:
- Name: "Sales Tax Receivables United States"
- Number: (your choice)
- Type: "Other Current Asset"
- Subsidiaries: Select all that apply
- Select Save
Step 4 - Create Tax Agency USA Nexus
Note: In NetSuite, a nexus is a tax jurisdiction where you have a business or taxable presence in. In NetSuite, it is usually defined at the country level. This type of entity is available when the Advanced Taxes feature is enabled, to allow users to manage and calculate taxes for different jurisdictions within the same NetSuite account.
- Navigate to the Nexuses page in your NetSuite instance
- Select New Nexus and input the following values:
- Country: United States
- State/Province: (leave blank)
- Parent Nexus: (leave blank)
- Description: United States
- Add new Tax Agency with the following values
- Type: Company
- Company Name: "Tax Agency USA"
- Primary Subsidiary: "Parent Company"
Step 5 - Configure Taxation Type
- Navigate to the Tax Types page
- Select or create US_STATE_SALES
- Edit the US_STATE_SALES tax type:
- Nexus: "United States"
- Payables Account: "Sales Tax Payable United States"
- Receivables Account: "Sales Tax Expense United States"
Note: Document the Internal ID for this tax type as it will be used as the taxationType in your Anrok integration
Step 6 - Configure Tax Code
- Navigate to the Tax Codes page
- Select or create US_STATE_SALES
- Name: US_STATE_SALES
- Type: US_STATE_SALES
Note: Document the Internal ID for this Tax Code as it will be used as the taxCode in your Anrok integration.
Step 7 - Connect NetSuite to Anrok
- Navigate to the Data Sources page in your Anrok instance
- Select: Integration then NetSuite
- Select: Connect to NetSuite
- Fill in Tax Code with the tax code internal ID for US_STATE_SALES
- Fill in Taxation Type with the internal ID for US_STATE_SALES
- Connect with OAuth and configure the Product IDs ingested from NetSuite
- Initiate a transaction backfill for the desired date range
Step 8 - Add the Anrok API Secret Token
- Navigate to “Data Sources” in Anrok
- Click “...” next to your NetSuite data source
- Click “Manage Anrok API Key”
- Click “Generate Anrok API Key”
- Copy the API key to your clipboard
- Navigate to the API Secrets page in your NetSuite instance. Select Create New and input the following:
- Name: Anrok API Token
- ID: _anrok_api_token
- Password: <paste Anrok API key><SELLER_ID>/<SELLER_INTEGRATION_ID>/secret.<API_KEY_SECRET>
- Select "Allow for all scripts"
- Select "Allow for all domains"
Step 9 - Assign Anrok SuiteTax For Each Nexus
- Navigate to the Subsidiaries page in your NetSuite instance
- Select "Edit" for the subsidiary that needs sales tax
- Navigate to "Tax Registrations"
- Add a new row in the tax registrations table for "United States" and input the following:
- Country: "United States"
- Nexus: "United States"
- Tax Engine: "Anrok SuiteTax"
- Effective From: Today
- Click "Add"
- If there are any additional tax registrations in this table for "United States":
- Edit each of them:
- Select "SuiteTax Engine" as the tax engine
- Select Today as the "Valid Until" date
- Edit each of them:
Step 10 - Test your integration
Note: You may need to adjust your invoice template to include tax.
- Navigate to the "Create invoices" page in your NetSuite instance
- Select any customer in a taxable jurisdiction
- Select any taxable items configured in Anrok
- Select the "Preview Tax" button
- Confirm that tax appears and there are no errors