---
url: /gst-manager-whmcs/features/item-rules.md
description: >-
  Map custom SAC and RBI Purpose codes to specific products and service types so
  every invoice line item carries the correct GST classification.
---

# Item Rules

Map specific tax classification codes to products and service types under **Addons → GST Manager → Item Rules**:

* **GST classification:** Assigns exact Services Accounting Codes (SAC) per product.
* **Export compliance:** Attaches Reserve Bank of India (RBI) Purpose Codes for foreign remittances.
* **Automated stamping:** Line items inherit mapped codes automatically on invoice generation.

![GST Manager Item Rules screen](/gst-manager-whmcs/img/gst-item-rules-screen.png)
*Addons → GST Manager → Item Rules*

::: info What these codes are

* **SAC (Services Accounting Code):** Statutory code classifying services for Indian GST computation.
* **Purpose Code (RBI):** Central bank code classifying inward foreign currency remittances for export compliance.
  :::

## Defaults vs rules

GST Manager resolves codes hierarchically:

* **System baseline:** Default SAC and Purpose codes configured under **System Setup → SAC & Purpose Codes** (e.g. Hosting, Domains, Product Upgrades, Addons).
* **Product overrides:** Item Rules override global defaults for specialized products, software licenses, or custom professional services.

## Add or edit a rule

1. Navigate to **Addons → GST Manager → Item Rules**.
2. Select the target product or service type from the dropdown.
3. Enter the specific **SAC code** and optional **RBI Purpose code**.
4. Click **Save Changes** to apply the mapping to future invoices.

To revert a product to global category defaults, delete the corresponding item rule.

::: tip Exports lean on both codes
For non-Indian clients, the SAC **and** Purpose codes flow into your export invoices and the Export Invoices CSV. See [export compliance](/gst-manager-whmcs/features/export-compliance) and [tax reports](/gst-manager-whmcs/features/tax-reports).
:::

## Where to go next

* [Configuration](/gst-manager-whmcs/configuration) — set the default SAC & Purpose codes
* [Export compliance](/gst-manager-whmcs/features/export-compliance) — how these codes appear on exports
* Back to the [overview](/gst-manager-whmcs/)
