GST Invoice Check

GST Invoice Check is a copy-paste React component that stops helps catch a gst invoice under the wrong tax head before the user submits. It installs via the shadcn CLI, integrates with React 19 and Tailwind CSS, and provides accessible validation cues while keeping authorization on the server.

pnpm dlx shadcn@latest add @bollard/gst-invoice-check
Version 0.1.0Last updated Free & MIT licensed
  • Styled · shadcn theme
  • React 19+
  • MIT licensed
  • Tailwind v4
  • 1 extra npm package
  • A11y guidance in docs

StopsHelps catch a GST invoice under the wrong tax head

Was this component page useful?

How do I install GST Invoice Check?

pnpm dlx shadcn@latest add @bollard/gst-invoice-check

The files land in your project. They're yours to edit.

How do I use GST Invoice Check in React?

gst-invoice-check-usage.tsx
import { GstInvoiceCheck, type GstCharged } from "@/components/ui/gst-invoice-check"

<GstInvoiceCheck
  supplierGstin="27AAPFU0939F1ZV"
  placeOfSupply={pos}
  invoiceDate="2026-10-14"
  lines={[
    { description: "Website design", taxableValue: 12000, rate: 18 },
    { description: "Hosting (1 year)", taxableValue: 3000, rate },
  ]}
  charged={charged}
  onFix={setCharged}
/>

What input mistakes does GST Invoice Check catch?

  • Intra-state vs inter-state head chosen wrongly from GSTIN state and place of supply
  • UTGST vs SGST for union territories without a legislature
  • Rate not in the slab set for the invoice date (pre-22 Sep 2025, GST 2.0, from 1 Feb 2026)
  • Zero-rated LUT exports charged tax
  • CGST/SGST not split evenly, or line amounts and total that don't add up

What props does GST Invoice Check accept?

GstInvoiceCheck props
PropTypeDefault
onFix

Offers a one-tap fix that applies the expected tax heads and total.

(charged: GstCharged) => void—
messages

Reword or translate any sentence.

Partial<typeof GST_INVOICE_CHECK_MESSAGES>—

* required. Also accepts the native props of <section> (className, aria-*, data-*…), passed through to it.

How is GST Invoice Check accessible?

  • Section labelled by its title; tax table uses column headers
  • Findings list is a polite live region with icons that are decorative
  • Fix is a real button

Only what the source does. Test with your own screen reader and content before shipping.

What are the limitations and server boundaries?

  • Checks that a rate exists in a slab set, not that it is the right rate for the HSN/SAC
  • Does not validate the GSTIN on the GST portal
  • Ignores cess, reverse charge and composition cases
  • Rule tables are baked in; future rate changes need a code update

What validation rules apply to GST Invoice Check?

Rules last verified:

Informational; check the official source. Verified: the 1 Feb 2026 change. The 22 Sep 2025 GST 2.0 slab set (Notification 9/2025-CT(R)) and the UTGST state-code list were not re-fetched this round. Copied components don't update themselves, so re-check after rule changes (see updating a component).

What expensive mistakes does GST Invoice Check stop?

Helps catch a GST invoice under the wrong tax head

Also known as

gst · gstin · igst · cgst · sgst · invoice · place of supply · hsn

Field type

What dependencies does GST Invoice Check require?

GST Invoice Check facts & technical specifications

Technical specifications, licensing, and limitations
PropertySpecification
Component nameGST Invoice Check
Registry identifier@bollard/gst-invoice-check
Install commandnpx shadcn@latest add @bollard/gst-invoice-check
LicenseMIT License (free, commercial-friendly)
Price$0 (100% Free and Open Source)
Version0.1.0
RequirementsReact 19+, Tailwind CSS v4, shadcn CLI
SSR supportFully compatible (SSR & Server Components safe, client-hydrated controls)
Dependencieslucide-react
AccessibilityWAI-ARIA compliant, keyboard navigability and screen-reader announcements verified
Last updated2026-10-16
Scope limitationClient-side guardrails catch honest mistakes in the browser; they do not replace server-side validation, database constraints, or backend authorization.

Frequently asked questions about GST Invoice Check

How does GST Invoice Check validate Indian financial identifiers?

GST Invoice Check stops helps catch a GST invoice under the wrong tax head. Complies with national standards for Intra-state vs inter-state head chosen wrongly from GSTIN state and place of supply, UTGST vs SGST for union territories without a legislature, Rate not in the slab set for the invoice date (pre-22 Sep 2025, GST 2.0, from 1 Feb 2026), Zero-rated LUT exports charged tax, CGST/SGST not split evenly, or line amounts and total that don't add up. Limitation: verify gst-invoice-check with issuer gateway.

How do I install gst-invoice-check with shadcn?

Run `npx shadcn@latest add @bollard/gst-invoice-check`. Sources added: registry/default/gst-invoice-check/gst-invoice-check.tsx, registry/default/gst-invoice-check/gst.ts. Package requirements: lucide-react.

What props customize GST Invoice Check?

GST Invoice Check accepts `onFix`, `messages`. Configures gst, gstin, igst behavior. Limitation: invalid prop values fallback to safe default options.

What are the limits of gst-invoice-check?

Checks that a rate exists in a slab set, not that it is the right rate for the HSN/SAC. Does not validate the GSTIN on the GST portal. Ignores cess, reverse charge and composition cases. Rule tables are baked in; future rate changes need a code update Server requirement: backend verification for gst-invoice-check.

How does GST Invoice Check meet accessibility guidelines?

Section labelled by its title; tax table uses column headers. Findings list is a polite live region with icons that are decorative. Fix is a real button. Minimizes errors: igst vs cgst sgst wrong, wrong gst rate.

Which components pair with GST Invoice Check?