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
Step 2 - Install and Enable Anrok LegacyTax
- Navigate to the SuiteApps page in your NetSuite instance
- Search for "Anrok - Sales Tax for SaaS Business (Legacy Tax)" & install the app
Step 3 - Create Sales Tax Payable Account
- Navigate to the Accounts page in your NetSuite instance
- Select New and input the following values:
- Name: "Sales Tax Payable"
- Number: (your choice)
- Type: "Other Current Liability"
- Subsidiaries: Select all that apply
- Select Save
Step 4 - Create Tax Code
- Navigate to "Page: Tax Codes"
- Click "New Tax Code
- Tax Name: Anrok
- Rate: 0.0%
- Tax Type: <blank>
- Subsidiaries: <select applicable>
- Tax Agency: Click '+' to create new
- Company Name: Anrok
- Primary Subsidiary: <select applicable>
- Click "Save"
- Tax Account: Sales Tax Payable
- Click "Save"
Step 5 - 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: 0
- Fill in Taxation Type with: 0
- Connect with OAuth and configure the Product IDs ingested from NetSuite
- Initiate a transaction backfill for the desired date range
Step 6 - 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 7 - Deploy Anrok User Script
- Navigate to "Page: Scripts"
- Click "New Script"
- Script File:
AnrokLegacyTaxUserScript.js
- Name: Anrok Legacy Tax User Script
- Click "Save"
- Click "Deploy Script"
- Applies To: "Invoice"
- Status: Released
- Log Level: Debug
- Deployed: <checked>
- Roles: Select All
- Departments: Select All
- Subsidiaries: Select appropriate
- Employees: Select All
- Click "Save"
- Repeat step (2) for Credit Memos