Project

General

Profile

Task #661

Updated by Deeksha Singh 18 days ago

**Description:** Description: 
 Create Organization entity under a tenant Implement mapping between Store and allow multiple GST registrations per organization. GSTRegistration using effective dates to support GSTIN should be validated and mapped to the correct state. Ensure tenant-level isolation and uniqueness of GSTIN. changes without losing history. 

 **Acceptance Criteria:** 

 Organization must have legal_name Only one active GSTIN per store (effective_to IS NULL) 
 One tenant can have multiple organizations 
 GSTIN Mapping must be unique within a tenant 
 GSTRegistration must belong to same tenant & organization 
 GSTIN state auto-derived (override allowed with warning) can be mapped to multiple stores 
 Tenant isolation enforced in queries Historical mappings must be preserved 
 New mapping closes previous mapping

Back