Contents
Overview
Anrok determines the taxability of a transaction and appends local Sales Tax Rate to applicable transactions. When integrated with Ordway, transactions are automatically synchronized and the appropriate sales tax is added to Ordway invoices.
Note: Anrok calculates taxes at the line level but can only accept one address for the whole invoice. Hence the address defaults to the Billing Address when Shipping Address is not present. Anrok does not have the ability to use a different Shipping Address when the invoice lines are consolidated across different Subscriptions.
Best Practices
- Validate all physical addresses and use a consistent format when providing City and State names vs. abbreviations.
- Use a generic and valid email address for the integration instead of a specific user’s email address. This helps alleviate any issues with staffing changes.
- Reach out to Anrok for assistance with the registration process for individual sales tax entries.
Implementation Note: Verify how taxes are calculated in Anorak. A Custom field called Customer TaxID can be added on invoices as an inherited field from the Customer. This allows Customer TaxID to be sent on invoice creation or edit instead of requiring customers to update invoices.
Tax Exemption Handling in Anrok
A valid tax exemption certificate must be uploaded in Anrok for a Customer that needs to be marked as tax exempt. In addition to uploading the certificate in Anrok, the Customer must also be marked as Tax Exempt in Ordway.
Note: The tax exemption certificate is mandatory for tax exemption to work in Anrok. This is currently a limitation of Anrok.
Helpful Anrok Articles
Integration Steps
Preconditions
Before configuring the integration, ensure the following prerequisites are completed:
- An Admin user exists in Ordway.
- API keys are available from both Ordway and Anrok.
Ordway Steps
Create an Anrok Admin User
-
On the left navigation menu, click Setup > Organization Structure > Users. The Users page is displayed.
- Click ADD.
- Populate the new user fields as follows:
Existing Email Address: Provide the email address for the Admin user.
User Name: Anrok
Roles: Admin
- Save when finished.
- Next, request an API key from Ordway using the steps in this article.
-
Once you receive the API key, retrieve the Company Name:
- Navigate to Menu > Settings > Organization Structure > Company Profile.
-
Copy the Company Name to your clipboard or other resource.
- Navigate to Menu > Settings > Organization Structure > Users.
- Open the Anrok user and copy the Token and paste it to your clipboard or other resource.
- Continue to the Anrok steps below.
Anrok Steps
To connect to Anrok, request an API from Anrok and add it to the Ordway integration connection.
To get the API key from Anrok:
- Log in to Anrok Console.
- Click settings > Developers: Manage API keys > New key.
- In the left navigation menu, click Setup > Integrations > Integration Settings, once you have the API Key, access the Anrok Connection profile in Ordway.
- The Integration Settings page is displayed. Click Connect shown on the right of Anrok.
-
Populate the API Key and Save.
-
Next, populate the Data Sources screen in Anrok with the information collected in the steps above.
Add VAT ID to a Customer Record in Ordway
Return to Ordway to add a VAT ID to a Customer record.
Navigate to the Customer Object
-
In the Ordway application, navigate to Setup > Customize. The Customize page is displayed.
-
Click the Customers. The Customers page is displayed.
-
Click ADD. The Add Custom Field dialog box is displayed.
- Configure the VAT ID custom field.
- Click SAVE to create the custom field.
Note: Description, Tooltip Text, and other settings are optional and can be configured based on business requirements
Add a Marketplace Transaction Field
If your billing system contains transactions that were already taxed by a marketplace provider, you can exclude those transactions from Anrok tax calculation to avoid duplicate taxation.
To support this behavior, create a custom Marketplace transaction field and configure it for invoices and credits.
When the Marketplace transaction field is set to True, Anrok identifies the transaction as a marketplace-taxed transaction and skips tax calculation for that record.
If the field is set to False, Anrok continues to calculate taxes normally.
By default, the field value should remain False.
Create the Marketplace Transaction Field
Customers
To create the custom field for customer records:
-
In the Ordway application, navigate to Setup > Customize > Customers.
-
The Customers page is displayed. Click ADD.
-
The Add Custom Field dialog box is displayed.
- Configure the field using the following values:
| Field | Value |
| Field Label | Marketplace_txn |
| API Name | Marketplace_txn |
| Field Type | The field type can be configured as Boolean, Inherited, or any other supported field type. However, the final resolved value used for processing must be a Boolean value (True or False). |
| Default Value | False |
Note: The Description and Tooltip Text fields are optional and can contain freeform text based on your organization's requirements.
- Click SAVE.
Invoices
To create the custom field for invoice records:
- In the Ordway application, navigate to Setup > Customize > Invoices.
- The Invoices page is displayed.
- Click ADD. The Add Custom Field dialog box displayed.
- Configure the field using the following values:
| Field | Value |
| Field Label | Marketplace transaction |
| API Name | marketplace_transaction |
| Field Type | The field type can be configured as Boolean, Inherited, or any other supported field type. However, the final resolved value used for processing must be a Boolean value (True or False). |
| Default Value | False |
Note: The Description and Tooltip Text fields are optional and can contain freeform text based on your organization's requirements.
- Click SAVE.
Credits
To create the custom field for credits:
- In the Ordway application, navigate to Setup > Customize > Credits.
- The Credits page is displayed.
- Click ADD. The Add Custom Field dialog box displayed.
- Configure the field using the following values:
| Field | Value |
| Field Label | Marketplace transaction |
| API Name | marketplace_transaction |
| Field Type | The field type can be configured as Boolean, Inherited, or any other supported field type. However, the final resolved value used for processing must be a Boolean value (True or False). |
| Default Value | False |
Note: The Description and Tooltip Text fields are optional and can contain freeform values based on your organization's requirements.
- Click Save.
Inherited Custom Fields
You can configure the Marketplace transaction field as an inherited custom field.
The field value can be inherited from:
- Customer records
- Subscription records
This allows invoice and credit transactions to automatically inherit the marketplace transaction value during processing.
Tax Calculation Behavior
Anrok evaluates the Marketplace transaction field during invoice and credit tax calculation.
| Field Value | Behavior |
| False | Taxes are calculated normally |
| True | Tax calculation is skipped for the transaction |
This behavior helps prevent duplicate taxation for transactions already processed by external marketplace providers.
Establish Anrok Webhook
Once the connection is established, a webhook named Anrok is automatically created in Ordway.
View the Webhook
-
In the Ordway application, navigate to Setup > Webhooks. The Webhooks page is displayed.
- Verify that the Anrok webhook is listed.
- Click the Actions menu corresponding to the Anrok webhook.
- Select Edit. The Edit Webhook: Anrok page is displayed.
-
In the Triggers section, enable full permissions for:
- Invoice
- Credit
-
Enable the following actions for both objects:
- Create
- Edit
- Delete
- Click SAVE to apply the changes.
Comments
0 comments
Please sign in to leave a comment.