> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dualentry.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Numeral Integration: Setup and Sync

> Connect Numeral to DualEntry to calculate sales tax, VAT, and GST on sales transactions and record posted invoices, cash sales, and credits for filing.

Connect [Numeral](https://www.numeralhq.com/) to DualEntry so Numeral calculates tax on your sales transactions and records eligible posted documents for filing. DualEntry calls Numeral when it calculates tax on an invoice, sales order, cash sale, or customer credit. It then records eligible posted invoices, cash sales, and customer credits in Numeral. Registrations, nexus monitoring, and return filing stay in Numeral.

Numeral calculates US sales tax, VAT, and GST. DualEntry picks which of the three applies from the company's address country, and calculates tax only when the company has a matching nexus, the same way it does for its native engine.

> [!NOTE]
>
> The Numeral integration may not be enabled for your organization yet. If you don't see the **Numeral** tile under **Configuration > Company > Integrations**, contact your DualEntry account team.

## Prerequisites

Confirm the following before you connect Numeral:

* Each DualEntry company you want to connect has a Numeral account and its own Numeral API key.
* Each company you connect has a complete address. Numeral uses it as the ship-from address.
* DualEntry has a nexus for every place where the company collects tax, under **Configuration > Tax Setup > Nexuses**. DualEntry checks its own nexuses before it calls Numeral and doesn't import them from Numeral. See [US Taxes](https://docs.dualentry.com/accountants/core-financials/tax-management/us-taxes.md) and [Non-US Taxes](https://docs.dualentry.com/accountants/core-financials/tax-management/non-us-taxes.md) for how nexuses work.
* Each customer you tax has a complete ship-to address and an email address. DualEntry can't export a customer without an email to Numeral.
* You have the permissions to create and edit integrations. See [User roles and permissions](https://docs.dualentry.com/accountants/platform-configuration/user-roles-and-permissions.md).

> [!NOTE]
>
> DualEntry uses one tax provider at a time for a company. If Avalara AvaTax is connected anywhere in your organization, or Anrok or Kintsugi is connected for the same company, DualEntry uses that provider and never calls Numeral.

## Step 1: Connect Numeral

Connect each DualEntry company to its own Numeral account. Each company can have one Numeral connection, so an organization with several companies can connect several Numeral accounts.

1. Navigate to **Configuration > Company > Integrations** and find the **Numeral** tile.
2. Choose **Connect**. The **Connect Numeral** dialog opens.
3. Optionally enter an **Integration Name**.
4. In **Company**, choose the DualEntry company this Numeral account belongs to.
5. Paste the Numeral key into **API Key**.
6. Choose **Connect**.

DualEntry checks the key with Numeral before it saves the connection. If Numeral rejects the key, DualEntry shows **Failed to connect to Numeral** and saves nothing. When the connection succeeds, DualEntry shows **Numeral connected successfully** and opens your connected integrations. A connection's company can't be changed later. To tax another company, return to the **Numeral** tile and choose **Connect more**.

## Step 2: Review the connection settings

Review the connection settings before you post anything, because they decide which documents DualEntry records in Numeral. On the Numeral integration page, choose **Settings**.

* **Initial Cut Off Date**: documents dated before this date are never recorded in Numeral. Set it to your go-live date if you don't want earlier documents recorded.
* **Allow pull data**: pulls your Numeral products and customers during a sync, so the sync can match them. With it off, a sync neither matches nor exports records.
* **Allow push data**: records posted invoices, cash sales, and customer credits in Numeral, and exports unmatched customers and items during a sync.

## Step 3: Create Numeral product tax codes

Numeral product tax codes tell Numeral how to tax each item. Create one in DualEntry for each Numeral product category you use, then assign it to your items.

1. Navigate to **Configuration > Tax Setup > Product Tax Codes** and choose **New tax code**.
2. Set **Source** to **Numeral**.
3. In **Code**, search for a Numeral product category and pick it. DualEntry checks the code with Numeral before it saves it.
4. Choose **Create**.
5. On each item you sell, set **Product Tax Code** to the matching Numeral code.

DualEntry exports an item to Numeral only when the item has a Numeral product tax code.

## Step 4: Sync and map products and customers

Numeral calculates tax on a document only when every item and the customer on it are mapped to Numeral records. A sync pulls your Numeral products and customers, matches them to DualEntry, and exports anything unmatched.

On the Numeral integration page, choose **Sync**. The sync matches records in this order:

* **Products to items**: first by the DualEntry item ID stored on the Numeral product, then by an item SKU that equals the Numeral reference ID, then by exact name. The sync never creates items in DualEntry.
* **Customers**: first by reference ID, then by exact name, among active customers of the connected company.

With **Allow push data** on, the sync then exports each item that has a Numeral product tax code and no Numeral product, and each unmatched customer of the company. Archived, draft, and inactive records, and intercompany customers, are never exported. Map anything left over on the mapping tabs of the integration page, and check them again after you add new items or customers.

## When DualEntry uses Numeral to calculate tax

DualEntry calls Numeral only when every input is in place. Otherwise it calculates tax with its native engine, or charges none. Lines that Numeral prices carry the **Numeral** tax code.

The table below shows what happens in each case:

| Condition | Result |
| - | - |
| A matching DualEntry nexus, a supported jurisdiction, complete addresses, and every item and the customer mapped | Numeral calculates tax. |
| US sales tax with a ship-to or ship-from address outside the US | DualEntry's native engine calculates tax. |
| VAT to a country Numeral doesn't cover, or GST outside a GST country | DualEntry's native engine calculates tax. |
| No company address | No tax is calculated. |
| US sales tax with no ship-to address, transaction date, or currency | No tax is calculated. |
| VAT or GST with no transaction date or currency | DualEntry's native engine calculates tax. |
| A US ship-to address without a state, or a Canadian or Indian ship-to address without a province or state | No tax is calculated. |
| A company address without a required state or province | DualEntry's native engine calculates tax. |
| Any item or the customer not mapped | DualEntry's native engine calculates tax for the whole document. |
| VAT or GST, and the customer has a documented exemption in DualEntry | DualEntry applies the exemption without calling Numeral. |
| VAT or GST, and Numeral returns an error, for example because it isn't collecting that tax in the company's home country | No tax is calculated, and the tax shows `Tax service could not calculate tax:` followed by the reason. |
| US sales tax, and Numeral returns an error for a taxable customer | The calculation fails with an error. |

For US sales tax, Numeral applies the customer exemptions you keep in Numeral. Each Numeral estimate, record, and deletion appears on the **Tax Calculation Logs** page, for example as **Numeral Tax Estimate** or **Numeral Commit (Create)**.

## What DualEntry records in Numeral

DualEntry records a posted invoice, cash sale, or customer credit in Numeral when it has at least one line with the **Numeral** tax code, is dated on or after the cut-off date, and **Allow push data** is on.

The table below shows what Numeral receives as you change a document in DualEntry:

| You do this in DualEntry | Numeral receives |
| - | - |
| Post an invoice or cash sale | The transaction is recorded. |
| Edit and save a posted invoice or cash sale | The recorded transaction is deleted and recorded again. |
| Archive an invoice or cash sale | The recorded transaction is deleted. |
| Edit a posted document so no **Numeral** line remains, or move its date before the cut-off | The recorded transaction is deleted. |
| Post a customer credit against an invoice or cash sale | A partial refund against the source transaction. |
| Archive a recorded customer credit | The refund is reversed. |

DualEntry records a customer credit only when its source invoice or cash sale is recorded in Numeral, it has no discount line, it's in the same currency as the source, and each of its items is on the source. DualEntry never sends drafts, and sales orders get Numeral tax but aren't recorded.

## Current limitations

Keep these limits in mind before you rely on the integration:

* **Sales transactions only**: Bills and other purchase transactions aren't taxed or recorded through Numeral.
* **One company per connection**: A connection serves one company, and its company can't be changed. Create another connection for another company.
* **No nexus import**: DualEntry keeps its own nexuses, which you maintain separately from your Numeral registrations.
* **Mapping is required**: One unmapped item or an unmapped customer sends the whole document to DualEntry's native engine, without an error.
* **Customers need an email**: The sync can't export a customer without an email address.
* **Rate limits**: Numeral limits how fast DualEntry can send requests. Records the sync couldn't export are exported by the next sync.

## Troubleshoot the Numeral integration

The table below lists common problems and how to fix them:

| What you see | Likely cause | What to do |
| - | - | - |
| `Numeral rejected the API key. Check the account key and try again.` | The key is wrong or revoked. | Copy a valid key from Numeral and connect again. |
| `Numeral did not answer. Wait a moment, then try again.` | Numeral didn't respond while you connected or saved a product tax code. | Wait, then try again. |
| A message that the company already has a Numeral connection | The company is already connected. | Use the existing connection, or disconnect it first. |
| `Numeral has no product category with this code. Pick a category from the Numeral list.` | The code isn't a Numeral product category. | Pick the category from the list in **Code**. |
| `Connect Numeral before you add or change a Numeral product tax code.` | No Numeral connection is active. | Connect Numeral, then save the code again. |
| Tax on a document doesn't carry the **Numeral** tax code | An item or the customer isn't mapped, or an input is missing. | Map the records, complete the addresses, and recalculate tax. |
| `Numeral does not collect {tax} in {country}, the {tax} country of the company. Register {country} in Numeral or turn its collection back on, then calculate the tax again and save the document.` | The company's home country isn't registered in Numeral, or its collection is turned off. `{tax}` is VAT or GST, and `{country}` is a two-letter country code such as `DE`. | Register the country in Numeral or turn its collection back on, then calculate tax again and save the document. |
| A customer isn't exported to Numeral | The customer has no email address. | Add an email to the customer, then sync again. |
| A document never appears in Numeral | It's a draft, it's dated before the cut-off date, it has no **Numeral** line, or **Allow push data** is off. | Check the connection settings and the document's tax lines. |

## Result

After you complete these steps, Numeral calculates tax on invoices, sales orders, cash sales, and customer credits for each connected company, and DualEntry records posted invoices, cash sales, and customer credits in Numeral for filing. To compare tax providers, return to the [Tax integrations overview](./index). To set up DualEntry's native tax rates and nexuses, see [Tax Management](../../core-financials/tax-management/index).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.