Skip to main content

Prerequisites

You need to have an Anrok account.
Hyperline connects only one tax engine at a time per invoicing entity. To use Anrok, configure all your products and jurisdictions in Anrok.

Setup

If Anrok is your preferred tax engine, you need to ask us for a connection, and we’ll do the setup for you inside Hyperline.

Get Anrok API key

First, provide us with an Anrok API key from your Anrok account.
  1. In the menu, select Settings
  1. At the bottom, click Manage API keys
  1. Click Create API key
  1. Copy the API key. Once Hyperline has activated the feature for you, you’ll be able to click Connect in the Integrations page.

Configure Anrok accounting timezone

Configure the timezone of your Anrok account in the Settings page. Otherwise, you’ll get errors when you create an invoice.
  1. In the menu, select Settings, and in the Accounting section, select Timezone.

Configure Anrok as tax engine

Click Taxes in the settings menu and select Anrok as tax engine.

Configure products

To map your Hyperline products to Anrok products, go to the Products page.
  1. Click Products in the menu
  2. Click Add product
  1. Fill in the form with the following information:
You’ll enter the Product ID on the Hyperline product page. You can share it across multiple products in Hyperline afterwards.
Here is an article from Anrok that explains the tax categories: Anrok Tax Categories
  1. Following Anrok’s recommendation, create a default product. Hyperline uses it when a product has no saved mapping.
Name it default_hyperline_product_anrok and set the Product ID to default_hyperline_product_anrok with the default tax categories that will be used. If you don’t create it, Hyperline uses one of your mapped products as the default.
  1. Click Save
Finally, add the Anrok product ID to each product in Hyperline. Set it in the accounting section of each product on the Products page.

How Hyperline picks the Anrok product

For each line of an invoice or credit note, Hyperline sends Anrok a product ID, resolved in this order:
  1. The mapped product: the Anrok product ID saved on the Hyperline product.
  2. The Hyperline product ID: if the product isn’t mapped but an Anrok product exists with the Hyperline product ID (e.g. itm_xxx) as its Product ID, Hyperline uses that Anrok product.
  3. The default product: default_hyperline_product_anrok, if you created it.
  4. Any mapped product: otherwise, one of your mapped products.
Instead of mapping each product in Hyperline, you can create your Anrok products using the Hyperline product IDs as Product ID. Hyperline picks them up automatically within one hour of their creation in Anrok.