Skip to content

[P2 MEDIUM] SAC Code Misclassification — ITC Trail Inaccuracy #1369

Description

@teetangh

Summary

The default HSN/SAC code is hardcoded to 999293 ("Consulting services") throughout the codebase. The correct SAC for "Information Technology Consultancy Services" is 998311 or 998399. While rates are unaffected (zero-rated exports), this misclassification causes ITC trail inaccuracies in GSTR-2B.

Priority: P2 MEDIUM


What's Affected

  • lib/compliance/gst.tsDEFAULT_HSN_SAC_CODE = '999293'
  • lib/api/organizations/invoices.tsDEFAULT_HSN_SAC_CODE = '999293'
  • lib/payments/invoicing/invoice-service.tsDEFAULT_HSN_SAC_CODE = '999293'
  • jobs/compliance/gstr8-draft-export.tsSAC_CONSULTING = '999293'

Correct Codes

  • 998311 — Information Technology Consultancy Services
  • 998399 — Other Information Technology Services n.e.c.

Impact

  • ITC trail inaccuracy — GSTR-2B auto-population may mismatch
  • No rate impact — zero-rated exports don't depend on HSN/SAC for tax calculation
  • Reporting inaccuracy — GSTR-1 HSN-wise summary will show wrong SAC

Fix

  1. Change default SAC to 998311 (or 998399 if more appropriate)
  2. Consider making SAC configurable per organization/program
  3. Run a one-time migration to update existing invoices

Related: Part of Organizational Finance Deep Dive (2026-09-03). See bugs/financial-audit/10-org-finance-deep-dive.md.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcomplianceTax, regulatory, DPDP, consent, legal exposurefinancePayments, refunds, earnings, payouts, invoicing, ledger

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions