Skip to content

GST returns: add synthetic intrastate and interstate report fixtures #46

Open

Description

@sridharkalaibala

Parent issue: #30

Goal

Add synthetic fixtures that prove GST report calculations for basic intrastate and interstate sales.

Suggested files to inspect

  • api/tests/unit/services/
  • api/tests/unit/models/
  • Existing tax/report fixtures

Acceptance criteria

  • One synthetic intrastate sale fixture proves CGST and SGST split.
  • One synthetic interstate sale fixture proves IGST handling.
  • Fixtures include taxable value, discount if applicable, tax components, round-off, and invoice total.
  • Tests prove report totals reconcile with invoice/item totals.
  • No real customer, taxpayer, invoice, payment, or production data is used.
  • The tests run without internet or external services.

Validation

  • Run cd api && npm test -- <new or changed GST report test>.
  • Run any existing tax service tests affected by the fixture.

Out of scope

  • Purchase returns and credit notes in the same PR.
  • Portal filing/submission.
  • UI report redesign.

Activity

  1. added
    enhancement
    help wanted
    area: tax
    needs evidence
    size: medium
    on Sep 1, 2026
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

    area: taxenhancementhelp wantedneeds evidencesize: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions