cardinal

GSTIN and HSN records

The GSTIN cache, the HSN and SAC master, and the India address template.

Both records are on the Masters card of the GST India workspace.

GSTIN

A GSTIN record holds what the government last reported about one GSTIN. It is named by the GSTIN, and global search finds it by number, legal name or trade name.

FieldWhat it holds
Legal Name, Trade NameThe registered names
GSTIN StatusThe status from the portal, in words
Registration Date, Cancelled DateThe dates a voucher must fall between
Last Updated OnWhen the app last asked
Transporter ID Status, GSTR-1 Filed UptoFurther details from the portal

The app fills these records itself. You do not type them.

On a voucher form, the party GSTIN field shows its status under it. The form asks the government for at most 5 seconds and falls back to the cached row.

A daily job refreshes the GSTIN rows of companies and parties that are older than GSTIN Status Refresh Interval (30 days), 200 per run.

With Refresh and Validate GSTIN Status in Transactions on, a voucher dated before the registration date, or on or after the cancelled date, is refused.

The lookup uses NIC's API, so it needs Enable API Features and an e-Waybill GST Credential. Without them the app keeps whatever is cached and writes nothing. After a failed call the app waits 60 seconds before asking about that GSTIN again.

The GSTIN Status report lists each cached GSTIN with the Customer, Supplier or Company that holds it.

When a party's GSTIN changes

Saving a Customer, Supplier, Company or Address with a new GSTIN warns when other addresses or draft vouchers still carry the old one. The RPC gst_compliance.update_gstin_in_other_documents moves them to the new GSTIN. It has no desk button yet.

A new GSTIN on an Address is copied to each linked Customer or Supplier that is still Unregistered.

GST HSN Code

The app ships the government's HSN and SAC master: 18,687 codes, each with a description. Codes starting with 99 are services (SAC).

FieldWhat it holds
HSN CodeThe code, also the record's name
DescriptionThe government's text
TaxesItem Tax rows: the Item Tax Templates items with this code take

Open a code, such as 84713010, and add a row to Taxes with the template GST 18%.

Save. Any Item of this code saved later with no taxes of its own copies the rows.

To push the rows to every existing Item of the code, call gst_compliance.update_taxes_in_items with hsn_code. A background job writes them.

On voucher item rows, HSN/SAC searches this master. The master is not in global search, since indexing 18,687 rows would slow every install.

India address template

The app adds an Address Template named India. It prints the state with its GST state code, the PIN code, phone, email and GSTIN. It is not the default template.

On this page