Branch Management
Manage multiple business locations with hierarchical organization structure. Each branch can have its own compliance obligations, SSL domains, and notification routes.
Organization Hierarchy
Branch Properties
| Field | Type | Description |
|---|---|---|
| code | string | Unique branch code (e.g., HQ-001, BR-DHK-01) |
| name | string | Display name of the branch |
| addressLine | text | Full street address |
| cityCorporation | string | City corporation (e.g., Dhaka North, Chattogram) |
| district | string | District name for jurisdiction rules |
| region | string | Region/division |
| countryCode | string | ISO country code (default: BD) |
| status | enum | active, inactive, archived |
Jurisdiction Support
Branches are linked to jurisdictions for applying location-specific compliance templates. City corporations and districts determine which obligation templates apply.
SSL Domain Assignment
Domains can be assigned to specific branches for organized SSL monitoring. Each branch can have multiple associated domains.
User Assignment
Users can be associated with branches through roles. Branch Managers see only their assigned branches, while Head Office Admins see all.
Branch-Specific Routes
Notification routes can be configured per branch, allowing different alert destinations for different locations.
API Endpoints
/api/branchesList all branches for the current tenant
/api/branchesCreate a new branch
/api/branches/:idUpdate branch details
/api/branches/:idDelete a branch (cascades to related data)