DocForge Docs

Invoice Engine & GST

The invoice engine computes line items, GST, discounts, and totals correctly — including the CGST/SGST vs IGST split — and numbers every invoice gap-free.

Line items and totals

Add line items with quantity, rate, and tax rate; the engine computes per-line amounts and the invoice totals live as you edit.

GST: CGST/SGST vs IGST

The split is driven by place of supply:

  • Intra-state (supplier state = place of supply): tax splits into CGST + SGST, half each.
  • Inter-state: the whole tax is a single IGST.

You set the supplier state and place of supply; DocForge picks the right split automatically.

Discounts and rounding

Discounts come off the taxable value before tax is computed. Rounding is reconciled with a single adjustment so the tax components always sum to the tax shown — CGST + SGST never drift a paisa from half the total.

Required fields

The invoice template carries the fields a compliant tax invoice needs — your GSTIN, the customer GSTIN where applicable, HSN/SAC codes, place of supply, and a gap-free invoice number.

Invoice numbers are allocated gap-free under a lock, and voiding keeps the number. See Gap-free Numbering.