Project

General

Profile

Task #660

Updated by Deeksha Singh 18 days ago

**Description:** 
 Create Implement mapping between Store entity linked to and GSTIN using an Organization with mandatory state and address fields. effective-dated structure. This is required for GST compliance and mapping. allows tracking GSTIN changes over time without affecting historical records. 

 **Acceptance Criteria:** 

 Store must belong to Only one organization active GSTIN per store 
 state_id is mandatory GSTIN can be linked to multiple stores 
 Address fields are required Mapping history preserved 
 Store respects tenant Tenant isolation enforced 

 **Subtasks:** 

 Create mapping table 
 Store status (active/inactive) supported Add effective_from & effective_to 
 Enforce single active mapping 
 Build APIs

Back