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

# SaaSGrid

> Configure Numeral to calculate and record sales tax on invoices generated in SaaSGrid's Grid Billing platform.

Grid Billing uses Numeral to calculate tax line items on invoices. A contract can be approved through direct action, manual invoice creation, or automatic invoice generation from an automatically approved contract.

<Note>
  **Configure before approving contracts.** Before sending invoices, fully configure the Numeral integration settings. Contracts approved before the integration rules are in place will not inherit those rules, and recurring invoice line items will be set to **Exempt** — changes would have to be made manually.
</Note>

***

## Numeral Integration Settings

Navigate to **Billing > Settings** and select the data source to connect to Grid Billing.

On the main page, enter the Numeral API key and choose from the following:

* **Record transactions** — ensures all transaction details are recorded within Numeral.
* **Apply tax line items** — appends tax line items to all automatically created invoices, determined by the configured Product Mappings.

<img src="https://mintcdn.com/numeralhq/AfljAiPy1kSj_Bqm/images/integrations/saasgrid/01-integration-settings.png?fit=max&auto=format&n=AfljAiPy1kSj_Bqm&q=85&s=7e697a1c750e068e77d1c747b34c9ba8" alt="" width="1286" height="586" data-path="images/integrations/saasgrid/01-integration-settings.png" />

### Product Tax Category Mapping

In the table below the toggles, specify the tax category for each product within a contract. These serve as the default for both automatic and manual invoices and may be manually overridden for individual transactions.

<img src="https://mintcdn.com/numeralhq/AfljAiPy1kSj_Bqm/images/integrations/saasgrid/02-product-category-mapping.png?fit=max&auto=format&n=AfljAiPy1kSj_Bqm&q=85&s=5f069aed85e7711a6df59da2a7aab500" alt="" width="1790" height="1190" data-path="images/integrations/saasgrid/02-product-category-mapping.png" />

### Change Field

Use the **Change Field** feature to specify the attribute that dictates different tax categories. Generally, **product names** are the recommended field.

<img src="https://mintcdn.com/numeralhq/AfljAiPy1kSj_Bqm/images/integrations/saasgrid/03-change-field.png?fit=max&auto=format&n=AfljAiPy1kSj_Bqm&q=85&s=c31a1b4cc6cb08179f8c2dd96def2193" alt="" width="748" height="308" data-path="images/integrations/saasgrid/03-change-field.png" />

***

## Contract and Invoice Settings

When approving a contract, each invoice line will display a tax amount.

<img src="https://mintcdn.com/numeralhq/AfljAiPy1kSj_Bqm/images/integrations/saasgrid/04-contract-approval.png?fit=max&auto=format&n=AfljAiPy1kSj_Bqm&q=85&s=9eed649d659ab5b9322dbdb450003a98" alt="" width="2310" height="1282" data-path="images/integrations/saasgrid/04-contract-approval.png" />

### Editing the Tax Category Per Line

If taxes are enabled on invoices, every line item must be assigned a tax category. Available categories are generated from Numeral and have different allocations specified. To edit the category for a particular line item, click the pen icon and adjust the **Tax** category.

In the selection toggle, choose from:

* **Exempt** — the line item will not have a tax specified in the invoice and will not be charged to the customer.
* **Charge** — the line item has a tax allocation and will be charged to the customer.

<img src="https://mintcdn.com/numeralhq/AfljAiPy1kSj_Bqm/images/integrations/saasgrid/05-tax-category-toggle.png?fit=max&auto=format&n=AfljAiPy1kSj_Bqm&q=85&s=b60e60043a826aac77664bceeed894dc" alt="" width="702" height="1180" data-path="images/integrations/saasgrid/05-tax-category-toggle.png" />

If **Charge** is selected, the invoice will detail the tax amount.

<img src="https://mintcdn.com/numeralhq/AfljAiPy1kSj_Bqm/images/integrations/saasgrid/06-invoice-tax-amount.png?fit=max&auto=format&n=AfljAiPy1kSj_Bqm&q=85&s=45206c411c2cfb0d75f15fd65e77082e" alt="" width="1248" height="848" data-path="images/integrations/saasgrid/06-invoice-tax-amount.png" />

### Transaction Recording

A paid invoice, when **Record transactions** is enabled, is logged as a **Transaction** in Numeral, enabling access to associated Numeral features.

<img src="https://mintcdn.com/numeralhq/AfljAiPy1kSj_Bqm/images/integrations/saasgrid/07-transaction-recording.png?fit=max&auto=format&n=AfljAiPy1kSj_Bqm&q=85&s=4deb5b5adb666a0ae3b239c8ba9202ab" alt="" width="1140" height="1838" data-path="images/integrations/saasgrid/07-transaction-recording.png" />

***

## Address Requirements

Valid addresses are **mandatory** for tax calculation, as they are required for correct tax allocation within Numeral. Invalid addresses are flagged and can result in incorrect records.

<img src="https://mintcdn.com/numeralhq/AfljAiPy1kSj_Bqm/images/integrations/saasgrid/08-address-validation.png?fit=max&auto=format&n=AfljAiPy1kSj_Bqm&q=85&s=970667c235d4a5f94af2fe5654049108" alt="" width="944" height="1236" data-path="images/integrations/saasgrid/08-address-validation.png" />

<Warning>
  **Customers with invalid addresses revert to Pending.** When taxes are enabled, all customers with invalid addresses revert to the **Pending** state. Correct addresses under customer records by navigating to **Customers > Billing**.
</Warning>

***

## Timing and Existing Contracts

It is strongly recommended to configure the tax integration *prior* to approving contracts to ensure all tax rules are correctly applied.

* Contracts approved before the integration rules are configured will **not** inherit any integration rules.
* If taxes are enabled while approved contracts with recurring invoices exist, the line items for those invoices will have their tax categories set to **Exempt** — any change will need to be made manually.

<img src="https://mintcdn.com/numeralhq/AfljAiPy1kSj_Bqm/images/integrations/saasgrid/09-existing-contracts.png?fit=max&auto=format&n=AfljAiPy1kSj_Bqm&q=85&s=d531af51742a28f00b5ffbc176932bda" alt="" width="2284" height="1540" data-path="images/integrations/saasgrid/09-existing-contracts.png" />
