Skip to content

Commit b80d5d7

Browse files
authored
docs(onboarding) - add india docs (#814)
* add schema detector form * vibe code * schema versions * fix build * format * apply changes * fix exports * scrolling * format * fix * more preview of the changes * increase limits * exclude folder * add docs * move files * updates to contract details * remove console * update docs * add gbr docs * add prt contract details migration update * update for PRT * update china * fix india
1 parent d2fb0d5 commit b80d5d7

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# India (IND)
2+
3+
Schema versions for employee onboarding in India.
4+
5+
## Current Version
6+
7+
**Contract Details:** v2 (Since SDK 1.23.0)
8+
9+
## Contract Details
10+
11+
### v2 - Current (Since SDK 1.23.0, March 2026)
12+
13+
**What changed:**
14+
15+
- Added two new required fields: `work_location` and `professional_tax_location_state_name`
16+
- These fields capture the employee's work location and state for professional tax purposes to comply with India's state-level tax regulations
17+
18+
**Migration:**
19+
20+
```tsx
21+
<OnboardingFlow
22+
options={{
23+
jsonSchemaVersionByCountry: {
24+
IND: { contract_details: 2 },
25+
},
26+
}}
27+
/>
28+
```
29+
30+
---
31+
32+
### v1 (SDK 1.0.0)
33+
34+
Initial version with basic contract details fields.

example/src/Onboarding.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,10 @@ const OnboardingWithProps = ({
296296
// Hong Kong
297297
contract_details: 2,
298298
},
299+
IND: {
300+
// India
301+
contract_details: 2,
302+
},
299303
ISL: {
300304
// Iceland
301305
contract_details: 2,

0 commit comments

Comments
 (0)