@taxbit/react-sdk 2.0.0-beta.2 → 2.1.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -1
- package/dist/src/components/Row/Row.d.ts +3 -2
- package/dist/src/contexts/QuestionnaireStep/getLocal.d.ts +14 -11
- package/dist/src/contexts/QuestionnaireStep/useQuestionnaireStep.d.ts +16 -10
- package/dist/src/contexts/QuestionnaireStep/useQuestionnaireStepContext.d.ts +32 -20
- package/dist/src/contexts/TaxDocumentation/TaxbitQuestionnaireProvider.d.ts +1 -1
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentation.d.ts +23 -15
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +40 -30
- package/dist/src/hooks/index.d.ts +1 -0
- package/dist/src/hooks/useUsTinVerification/index.d.ts +1 -0
- package/dist/src/hooks/useUsTinVerification/useUsTinValidation.d.ts +21 -0
- package/dist/src/i18n/json/en.json.d.ts +14 -2
- package/dist/src/i18n/json/es.json.d.ts +14 -2
- package/dist/src/i18n/json/fr.json.d.ts +14 -2
- package/dist/src/i18n/json/index.d.ts +35 -0
- package/dist/src/i18n/types/LocalizationKey.d.ts +5 -4
- package/dist/src/i18n/types/PropertyFile.d.ts +4 -1
- package/dist/src/i18n/utils/getText.d.ts +1 -0
- package/dist/src/services/api.d.ts +4 -0
- package/dist/src/services/msw.d.ts +16 -0
- package/dist/src/svg/Spinner.d.ts +6 -0
- package/dist/src/svg/index.d.ts +1 -0
- package/dist/src/types/InputStep.d.ts +1 -1
- package/dist/src/types/StepId.d.ts +1 -1
- package/dist/src/types/TaxDocumentation.d.ts +4 -0
- package/dist/src/types/index.d.ts +1 -1
- package/dist/src/ui/Actions/Actions.d.ts +4 -4
- package/dist/src/ui/FormattedInput/FormattedInput.d.ts +1 -2
- package/dist/src/utils/getFieldsState.d.ts +10 -1
- package/dist/src/utils/transformInbound/getCountryCode.d.ts +1 -1
- package/dist/src/utils/transformInbound/transformInbound.d.ts +6 -1
- package/dist/src/utils/transformInbound/transformInboundControllingPersons.d.ts +4 -0
- package/dist/src/validations/getSteps.d.ts +2 -1
- package/dist/src/validations/invalidFields/getInvalidFields.d.ts +7 -1
- package/dist/src/validations/invalidFields/invalidFieldRules.d.ts +7 -1
- package/dist/src/validations/requiredFields/getRequiredFields.d.ts +6 -1
- package/dist/src/validations/supportedFields/getSupportedFields.d.ts +6 -1
- package/dist/src/validations/visibleFields/getVisibleFields.d.ts +8 -1
- package/dist/src/widgets/TaxbitQuestionnaire/TaxbitQuestionnaire.d.ts +2 -1
- package/dist/src/widgets/TaxbitQuestionnairePersist/TaxbitQuestionnairePersist.d.ts +1 -1
- package/dist/src/wizard/RowInput/ShowHideInputRow/ShowHideInputRow.d.ts +2 -2
- package/dist/src/wizard/RowInput/VisibleRow/VisibleRow.d.ts +3 -2
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderUsTinValidation/AccountHolderUsTinValidation.d.ts +3 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderUsTinValidation/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/RegardedOwnerUsTinValidation/RegardedOwnerUsTinValidation.d.ts +3 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/RegardedOwnerUsTinValidation/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/TaxbitQuestionnaireUI.d.ts +1 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.RTT.test.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/steps.d.ts +2 -0
- package/dist/taxbit-react-sdk.js +6110 -5586
- package/dist/taxbit-react-sdk.umd.cjs +1 -1
- package/package.json +1 -1
- package/style/basic.css +19 -4
- package/style/inline.css +19 -4
- package/style/minimal.css +10 -0
- /package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/{TaxbitDPSQuestionnaireUI.test.d.ts → TaxbitQuestionnaireUI.DPS.test.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -91,10 +91,11 @@ For W-9, W-8BEN, W-8BEN-E, and W-8IMY form support, the `questionnaire` prop is
|
|
|
91
91
|
questionnaire="W-FORM"
|
|
92
92
|
language="en" // 'en' is the default
|
|
93
93
|
treatyClaims={true} // 'treatyClaims' is an optional path for the W-8BEN and W-8BEN-E forms
|
|
94
|
+
realTimeTinValidation={true} // 'realTimeTinValidation' is an optional prop for the W-9 form
|
|
94
95
|
/>
|
|
95
96
|
```
|
|
96
97
|
|
|
97
|
-
To view the Taxbit Questionnaire component without connecting to the server, you can put it in
|
|
98
|
+
To view the Taxbit Questionnaire component without connecting to the server, you can put it in `demoMode`. It can be used like this...
|
|
98
99
|
|
|
99
100
|
```typescript jsx
|
|
100
101
|
import { TaxbitQuestionnaire, ClientTaxDocumentation } from '@taxbit/react-sdk';
|
|
@@ -123,6 +124,10 @@ See the `Locale` type below.
|
|
|
123
124
|
|
|
124
125
|
To collect treaty claims for the W-8BEN and W-8BEN-E forms, the `treatyClaims` prop can be set to `true`. This will add a screen to the W-8 flow where an eligible user can enter treaty claim specifics including the treaty country and rate of withholding.
|
|
125
126
|
|
|
127
|
+
### Real-Time TIN Validation (also called "RTT")
|
|
128
|
+
|
|
129
|
+
If the `realTimeTinValidation` prop is set to `true`, the W-9 form will perform real-time TIN validation against the IRS database. This will provide immediate feedback to the user about the validity of their TIN. Note — the RTT feature must be turned on in the Taxbit API to successfully be used in the SDK.
|
|
130
|
+
|
|
126
131
|
### Date Format
|
|
127
132
|
|
|
128
133
|
The date format can be set to `mdy` (month-day-year), `dmy` (day-month-year), or `ymd` (year-month-day). The default is `mdy`.
|
|
@@ -328,6 +333,10 @@ type QuestionnaireType = 'DPS' | 'W-FORM' | 'SELF-CERT';
|
|
|
328
333
|
|
|
329
334
|
## Changelog
|
|
330
335
|
|
|
336
|
+
### Version 2.1.0-beta.0
|
|
337
|
+
|
|
338
|
+
1. Adding Real-Time Tin Validation for W-9
|
|
339
|
+
|
|
331
340
|
### Version 2.0.0-beta.2
|
|
332
341
|
|
|
333
342
|
1. Adding es-MX ISO option.
|
|
@@ -4,10 +4,11 @@ import { TaxDocumentationKey } from 'types/TaxDocumentation';
|
|
|
4
4
|
export type RowProps = {
|
|
5
5
|
label?: string;
|
|
6
6
|
subLabel?: string;
|
|
7
|
+
badge?: boolean;
|
|
7
8
|
value?: string;
|
|
8
9
|
onEdit?: () => void;
|
|
9
10
|
children?: React.ReactNode;
|
|
10
11
|
className?: string;
|
|
11
|
-
name
|
|
12
|
+
name: TaxDocumentationKey;
|
|
12
13
|
};
|
|
13
|
-
export declare const Row: ({ label, subLabel, value, children, onEdit, name, className, }: RowProps) => React.JSX.Element;
|
|
14
|
+
export declare const Row: ({ badge, label, subLabel, value, children, onEdit, name, className, }: RowProps) => React.JSX.Element;
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
+
import { UsTinValidationAttempt, UsTinValidationStatus } from 'hooks';
|
|
1
2
|
import { ButtonKey, ErrorKey, PromptKey, SubPromptKey, SubTitleKey, TextKey } from '../../i18n/types';
|
|
2
3
|
import { Locale, QuestionnaireProp, TaxDocumentation, TaxDocumentationKey } from '../../types';
|
|
3
4
|
|
|
4
|
-
export declare const getLocal: (fields: TaxDocumentation, language: Locale, questionnaire: QuestionnaireProp) => {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
getLocalError: (key: ErrorKey) => string;
|
|
5
|
+
export declare const getLocal: (fields: TaxDocumentation, language: Locale, questionnaire: QuestionnaireProp, usTinValidations?: UsTinValidationAttempt[]) => {
|
|
6
|
+
getBadgeKey: (key: TaxDocumentationKey) => UsTinValidationStatus | undefined;
|
|
7
|
+
getLocalAddressTitle: (data: TaxDocumentation) => string;
|
|
8
|
+
getLocalBadge: (key: TaxDocumentationKey) => string | undefined;
|
|
9
9
|
getLocalButton: (key: ButtonKey) => string;
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
getLocalCaProvince: (key: string | undefined) => string;
|
|
11
|
+
getLocalCountry: (key: string | undefined) => string;
|
|
12
|
+
getLocalError: (key: ErrorKey) => string;
|
|
13
|
+
getLocalMonth: (key: string | undefined) => string;
|
|
12
14
|
getLocalOption: (key: string | undefined, prefix?: string) => string | undefined;
|
|
15
|
+
getLocalPrompt: (key: string) => string;
|
|
13
16
|
getLocalSubOption: (key: string | undefined) => string | undefined;
|
|
14
|
-
|
|
17
|
+
getLocalSubPrompt: (key: TaxDocumentationKey) => string;
|
|
18
|
+
getLocalSubTitle: (key: SubTitleKey) => string;
|
|
19
|
+
getLocalText: (key: TextKey) => string;
|
|
20
|
+
getLocalTitle: (key: string) => string;
|
|
15
21
|
getLocalUsState: (key: string | undefined) => "" | "Alabama" | "Alaska" | "Arizona" | "Arkansas" | "California" | "Colorado" | "Connecticut" | "Delaware" | "District Of Columbia" | "Florida" | "Georgia" | "Hawaii" | "Idaho" | "Illinois" | "Indiana" | "Iowa" | "Kansas" | "Kentucky" | "Louisiana" | "Maine" | "Maryland" | "Massachusetts" | "Michigan" | "Minnesota" | "Mississippi" | "Missouri" | "Montana" | "Nebraska" | "Nevada" | "New Hampshire" | "New Jersey" | "New Mexico" | "New York" | "North Carolina" | "North Dakota" | "Ohio" | "Oklahoma" | "Oregon" | "Pennsylvania" | "Rhode Island" | "South Carolina" | "South Dakota" | "Tennessee" | "Texas" | "Utah" | "Vermont" | "Virginia" | "Washington" | "West Virginia" | "Wisconsin" | "Wyoming";
|
|
16
|
-
getLocalCaProvince: (key: string | undefined) => string;
|
|
17
|
-
getLocalMonth: (key: string | undefined) => string;
|
|
18
|
-
getLocalAddressTitle: (data: TaxDocumentation) => string;
|
|
19
22
|
getPromptKey: (key: string) => PromptKey;
|
|
20
23
|
getSubPromptKey: (key: string) => SubPromptKey;
|
|
21
24
|
};
|
|
@@ -9,20 +9,22 @@ export type TaxDocumentationErrorFile = {
|
|
|
9
9
|
[key in TaxDocumentationKey]?: ErrorKey[];
|
|
10
10
|
};
|
|
11
11
|
export declare const useQuestionnaireStep: () => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
getLocalError: (key: ErrorKey) => string;
|
|
12
|
+
getBadgeKey: (key: TaxDocumentationKey) => import('../../hooks').UsTinValidationStatus | undefined;
|
|
13
|
+
getLocalAddressTitle: (data: TaxDocumentation) => string;
|
|
14
|
+
getLocalBadge: (key: TaxDocumentationKey) => string | undefined;
|
|
16
15
|
getLocalButton: (key: import('i18n/types').ButtonKey) => string;
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
getLocalCaProvince: (key: string | undefined) => string;
|
|
17
|
+
getLocalCountry: (key: string | undefined) => string;
|
|
18
|
+
getLocalError: (key: ErrorKey) => string;
|
|
19
|
+
getLocalMonth: (key: string | undefined) => string;
|
|
19
20
|
getLocalOption: (key: string | undefined, prefix?: string) => string | undefined;
|
|
21
|
+
getLocalPrompt: (key: string) => string;
|
|
20
22
|
getLocalSubOption: (key: string | undefined) => string | undefined;
|
|
21
|
-
|
|
23
|
+
getLocalSubPrompt: (key: TaxDocumentationKey) => string;
|
|
24
|
+
getLocalSubTitle: (key: import('i18n/types').SubTitleKey) => string;
|
|
25
|
+
getLocalText: (key: import('i18n/types').TextKey) => string;
|
|
26
|
+
getLocalTitle: (key: string) => string;
|
|
22
27
|
getLocalUsState: (key: string | undefined) => "" | "Alabama" | "Alaska" | "Arizona" | "Arkansas" | "California" | "Colorado" | "Connecticut" | "Delaware" | "District Of Columbia" | "Florida" | "Georgia" | "Hawaii" | "Idaho" | "Illinois" | "Indiana" | "Iowa" | "Kansas" | "Kentucky" | "Louisiana" | "Maine" | "Maryland" | "Massachusetts" | "Michigan" | "Minnesota" | "Mississippi" | "Missouri" | "Montana" | "Nebraska" | "Nevada" | "New Hampshire" | "New Jersey" | "New Mexico" | "New York" | "North Carolina" | "North Dakota" | "Ohio" | "Oklahoma" | "Oregon" | "Pennsylvania" | "Rhode Island" | "South Carolina" | "South Dakota" | "Tennessee" | "Texas" | "Utah" | "Vermont" | "Virginia" | "Washington" | "West Virginia" | "Wisconsin" | "Wyoming";
|
|
23
|
-
getLocalCaProvince: (key: string | undefined) => string;
|
|
24
|
-
getLocalMonth: (key: string | undefined) => string;
|
|
25
|
-
getLocalAddressTitle: (data: TaxDocumentation) => string;
|
|
26
28
|
getPromptKey: (key: string) => import('i18n/types').PromptKey;
|
|
27
29
|
getSubPromptKey: (key: string) => import('i18n/types').SubPromptKey;
|
|
28
30
|
clearIfNotRequired: (...arg: TaxDocumentationKey[]) => (value: Yes | undefined) => void;
|
|
@@ -41,4 +43,8 @@ export declare const useQuestionnaireStep: () => {
|
|
|
41
43
|
hideField: (key: TaxDocumentationKey) => void;
|
|
42
44
|
showField: (key: TaxDocumentationKey) => void;
|
|
43
45
|
dateFormat: import('../TaxDocumentation/useTaxDocumentation').DateFormatConfig;
|
|
46
|
+
doVerify: () => Promise<void>;
|
|
47
|
+
isVerifying: boolean;
|
|
48
|
+
isDoneVerifying: boolean;
|
|
49
|
+
usTinValidations: import('../../hooks').UsTinValidationAttempt[];
|
|
44
50
|
};
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
export declare const useQuestionnaireStepContext: () => {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
getLocalError: (key: import('../../i18n/types/LocalizationKey.ts').ErrorKey) => string;
|
|
2
|
+
getBadgeKey: (key: import('../../types/TaxDocumentation.ts').TaxDocumentationKey) => import('../../hooks/index.ts').UsTinValidationStatus | undefined;
|
|
3
|
+
getLocalAddressTitle: (data: import('../../types/TaxDocumentation.ts').TaxDocumentation) => string;
|
|
4
|
+
getLocalBadge: (key: import('../../types/TaxDocumentation.ts').TaxDocumentationKey) => string | undefined;
|
|
6
5
|
getLocalButton: (key: import('../../i18n/types/LocalizationKey.ts').ButtonKey) => string;
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
getLocalCaProvince: (key: string | undefined) => string;
|
|
7
|
+
getLocalCountry: (key: string | undefined) => string;
|
|
8
|
+
getLocalError: (key: import('../../i18n/types/LocalizationKey.ts').ErrorKey) => string;
|
|
9
|
+
getLocalMonth: (key: string | undefined) => string;
|
|
9
10
|
getLocalOption: (key: string | undefined, prefix?: string) => string | undefined;
|
|
11
|
+
getLocalPrompt: (key: string) => string;
|
|
10
12
|
getLocalSubOption: (key: string | undefined) => string | undefined;
|
|
11
|
-
|
|
13
|
+
getLocalSubPrompt: (key: import('../../types/TaxDocumentation.ts').TaxDocumentationKey) => string;
|
|
14
|
+
getLocalSubTitle: (key: import('../../i18n/types/LocalizationKey.ts').SubTitleKey) => string;
|
|
15
|
+
getLocalText: (key: import('../../i18n/types/LocalizationKey.ts').TextKey) => string;
|
|
16
|
+
getLocalTitle: (key: string) => string;
|
|
12
17
|
getLocalUsState: (key: string | undefined) => "" | "Alabama" | "Alaska" | "Arizona" | "Arkansas" | "California" | "Colorado" | "Connecticut" | "Delaware" | "District Of Columbia" | "Florida" | "Georgia" | "Hawaii" | "Idaho" | "Illinois" | "Indiana" | "Iowa" | "Kansas" | "Kentucky" | "Louisiana" | "Maine" | "Maryland" | "Massachusetts" | "Michigan" | "Minnesota" | "Mississippi" | "Missouri" | "Montana" | "Nebraska" | "Nevada" | "New Hampshire" | "New Jersey" | "New Mexico" | "New York" | "North Carolina" | "North Dakota" | "Ohio" | "Oklahoma" | "Oregon" | "Pennsylvania" | "Rhode Island" | "South Carolina" | "South Dakota" | "Tennessee" | "Texas" | "Utah" | "Vermont" | "Virginia" | "Washington" | "West Virginia" | "Wisconsin" | "Wyoming";
|
|
13
|
-
getLocalCaProvince: (key: string | undefined) => string;
|
|
14
|
-
getLocalMonth: (key: string | undefined) => string;
|
|
15
|
-
getLocalAddressTitle: (data: import('../../types/TaxDocumentation.ts').TaxDocumentation) => string;
|
|
16
18
|
getPromptKey: (key: string) => import('../../i18n/types/LocalizationKey.ts').PromptKey;
|
|
17
19
|
getSubPromptKey: (key: string) => import('../../i18n/types/LocalizationKey.ts').SubPromptKey;
|
|
18
20
|
clearIfNotRequired: (...arg: import('../../types/TaxDocumentation.ts').TaxDocumentationKey[]) => (value: import('../../types/Yes.ts').Yes | undefined) => void;
|
|
@@ -31,21 +33,27 @@ export declare const useQuestionnaireStepContext: () => {
|
|
|
31
33
|
hideField: (key: import('../../types/TaxDocumentation.ts').TaxDocumentationKey) => void;
|
|
32
34
|
showField: (key: import('../../types/TaxDocumentation.ts').TaxDocumentationKey) => void;
|
|
33
35
|
dateFormat: import('../TaxDocumentation/useTaxDocumentation.ts').DateFormatConfig;
|
|
36
|
+
doVerify: () => Promise<void>;
|
|
37
|
+
isVerifying: boolean;
|
|
38
|
+
isDoneVerifying: boolean;
|
|
39
|
+
usTinValidations: import('../../hooks/index.ts').UsTinValidationAttempt[];
|
|
34
40
|
}, QuestionnaireStepContextProvider: import('react').Provider<{
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
getLocalError: (key: import('../../i18n/types/LocalizationKey.ts').ErrorKey) => string;
|
|
41
|
+
getBadgeKey: (key: import('../../types/TaxDocumentation.ts').TaxDocumentationKey) => import('../../hooks/index.ts').UsTinValidationStatus | undefined;
|
|
42
|
+
getLocalAddressTitle: (data: import('../../types/TaxDocumentation.ts').TaxDocumentation) => string;
|
|
43
|
+
getLocalBadge: (key: import('../../types/TaxDocumentation.ts').TaxDocumentationKey) => string | undefined;
|
|
39
44
|
getLocalButton: (key: import('../../i18n/types/LocalizationKey.ts').ButtonKey) => string;
|
|
40
|
-
|
|
41
|
-
|
|
45
|
+
getLocalCaProvince: (key: string | undefined) => string;
|
|
46
|
+
getLocalCountry: (key: string | undefined) => string;
|
|
47
|
+
getLocalError: (key: import('../../i18n/types/LocalizationKey.ts').ErrorKey) => string;
|
|
48
|
+
getLocalMonth: (key: string | undefined) => string;
|
|
42
49
|
getLocalOption: (key: string | undefined, prefix?: string) => string | undefined;
|
|
50
|
+
getLocalPrompt: (key: string) => string;
|
|
43
51
|
getLocalSubOption: (key: string | undefined) => string | undefined;
|
|
44
|
-
|
|
52
|
+
getLocalSubPrompt: (key: import('../../types/TaxDocumentation.ts').TaxDocumentationKey) => string;
|
|
53
|
+
getLocalSubTitle: (key: import('../../i18n/types/LocalizationKey.ts').SubTitleKey) => string;
|
|
54
|
+
getLocalText: (key: import('../../i18n/types/LocalizationKey.ts').TextKey) => string;
|
|
55
|
+
getLocalTitle: (key: string) => string;
|
|
45
56
|
getLocalUsState: (key: string | undefined) => "" | "Alabama" | "Alaska" | "Arizona" | "Arkansas" | "California" | "Colorado" | "Connecticut" | "Delaware" | "District Of Columbia" | "Florida" | "Georgia" | "Hawaii" | "Idaho" | "Illinois" | "Indiana" | "Iowa" | "Kansas" | "Kentucky" | "Louisiana" | "Maine" | "Maryland" | "Massachusetts" | "Michigan" | "Minnesota" | "Mississippi" | "Missouri" | "Montana" | "Nebraska" | "Nevada" | "New Hampshire" | "New Jersey" | "New Mexico" | "New York" | "North Carolina" | "North Dakota" | "Ohio" | "Oklahoma" | "Oregon" | "Pennsylvania" | "Rhode Island" | "South Carolina" | "South Dakota" | "Tennessee" | "Texas" | "Utah" | "Vermont" | "Virginia" | "Washington" | "West Virginia" | "Wisconsin" | "Wyoming";
|
|
46
|
-
getLocalCaProvince: (key: string | undefined) => string;
|
|
47
|
-
getLocalMonth: (key: string | undefined) => string;
|
|
48
|
-
getLocalAddressTitle: (data: import('../../types/TaxDocumentation.ts').TaxDocumentation) => string;
|
|
49
57
|
getPromptKey: (key: string) => import('../../i18n/types/LocalizationKey.ts').PromptKey;
|
|
50
58
|
getSubPromptKey: (key: string) => import('../../i18n/types/LocalizationKey.ts').SubPromptKey;
|
|
51
59
|
clearIfNotRequired: (...arg: import('../../types/TaxDocumentation.ts').TaxDocumentationKey[]) => (value: import('../../types/Yes.ts').Yes | undefined) => void;
|
|
@@ -64,4 +72,8 @@ export declare const useQuestionnaireStepContext: () => {
|
|
|
64
72
|
hideField: (key: import('../../types/TaxDocumentation.ts').TaxDocumentationKey) => void;
|
|
65
73
|
showField: (key: import('../../types/TaxDocumentation.ts').TaxDocumentationKey) => void;
|
|
66
74
|
dateFormat: import('../TaxDocumentation/useTaxDocumentation.ts').DateFormatConfig;
|
|
75
|
+
doVerify: () => Promise<void>;
|
|
76
|
+
isVerifying: boolean;
|
|
77
|
+
isDoneVerifying: boolean;
|
|
78
|
+
usTinValidations: import('../../hooks/index.ts').UsTinValidationAttempt[];
|
|
67
79
|
} | undefined>;
|
|
@@ -5,5 +5,5 @@ type TaxDocumentationProviderProps = UseTaxDocumentationProps & {
|
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
treatyClaims?: boolean;
|
|
7
7
|
};
|
|
8
|
-
export declare const TaxbitQuestionnaireProvider: ({ data, externalValidations, onSubmit, onProgress, language, questionnaire, step, children, config, treatyClaims, dateFormat, }: TaxDocumentationProviderProps) => React.JSX.Element;
|
|
8
|
+
export declare const TaxbitQuestionnaireProvider: ({ data, externalValidations, onSubmit, onProgress, language, questionnaire, step, children, config, treatyClaims, dateFormat, realTimeTinValidation, staging, bearerToken, }: TaxDocumentationProviderProps) => React.JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -17,27 +17,35 @@ export type UseTaxDocumentationProps = {
|
|
|
17
17
|
config?: InterviewConfig;
|
|
18
18
|
treatyClaims?: boolean;
|
|
19
19
|
dateFormat?: DateFormatConfig;
|
|
20
|
+
realTimeTinValidation?: boolean;
|
|
21
|
+
staging?: boolean;
|
|
22
|
+
bearerToken?: string;
|
|
20
23
|
};
|
|
21
|
-
export declare const useTaxDocumentation: ({ data: startingData, language: initialLanguage, externalValidations, onSubmit, onProgress, step: initialStep, questionnaire, config, treatyClaims, dateFormat, }: UseTaxDocumentationProps) => {
|
|
22
|
-
|
|
24
|
+
export declare const useTaxDocumentation: ({ data: startingData, language: initialLanguage, externalValidations, onSubmit, onProgress, step: initialStep, questionnaire, config, treatyClaims, dateFormat, realTimeTinValidation, staging, bearerToken, }: UseTaxDocumentationProps) => {
|
|
25
|
+
config: InterviewConfig | undefined;
|
|
26
|
+
data: TaxDocumentation;
|
|
27
|
+
dateFormat: DateFormatConfig;
|
|
28
|
+
doValidateUsTin: (name: string, usTin: string) => Promise<void>;
|
|
29
|
+
externalValidations: ExternalValidations | undefined;
|
|
30
|
+
goBack: (() => void) | undefined;
|
|
31
|
+
goTo: (inputStep: InputStep) => void;
|
|
32
|
+
goToNext: (data: TaxDocumentation) => void;
|
|
33
|
+
incrementValidationAttempt: (name: string, usTin: string) => void;
|
|
34
|
+
initialStep: "AccountHolderCertifications" | "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxClarification" | "AccountHolderTreatyClaims" | "AccountHolderUsTinValidation" | "ControllingPersonDetails1" | "ControllingPersonDetails2" | "ControllingPersonDetails3" | "ControllingPersonDetails4" | "ControllingPersonDetails5" | "Exemptions" | "RegardedOwnerCertifications" | "RegardedOwnerContact" | "RegardedOwnerTax" | "RegardedOwnerTreatyClaims" | "RegardedOwnerUsTinValidation" | "Summary";
|
|
23
35
|
isBuildingW8: boolean;
|
|
36
|
+
isBuildingW9: boolean;
|
|
37
|
+
isSubmitting: boolean;
|
|
38
|
+
isValidatingUsTin: boolean;
|
|
39
|
+
language: Locale;
|
|
24
40
|
onPersistCollectedData: (newData: TaxDocumentation) => void;
|
|
25
41
|
onSubmitTaxDocumentation: (data: TaxDocumentation) => Promise<void>;
|
|
26
|
-
goTo: (inputStep: InputStep) => void;
|
|
27
|
-
goBack: (() => void) | undefined;
|
|
28
|
-
goToNext: (data: TaxDocumentation) => void;
|
|
29
|
-
progress: Progress | undefined;
|
|
30
|
-
stepName: "AccountHolderCertifications" | "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxClarification" | "AccountHolderTreatyClaims" | "ControllingPersonDetails1" | "ControllingPersonDetails2" | "ControllingPersonDetails3" | "ControllingPersonDetails4" | "ControllingPersonDetails5" | "Exemptions" | "RegardedOwnerCertifications" | "RegardedOwnerContact" | "RegardedOwnerTax" | "RegardedOwnerTreatyClaims" | "Summary";
|
|
31
|
-
data: TaxDocumentation;
|
|
32
42
|
originalClientData: TaxDocumentation;
|
|
33
|
-
|
|
34
|
-
setLanguage: (lang: Locale) => void;
|
|
35
|
-
language: Locale;
|
|
43
|
+
progress: Progress | undefined;
|
|
36
44
|
questionnaire: QuestionnaireProp;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
45
|
+
realTimeTinValidation: boolean | undefined;
|
|
46
|
+
setLanguage: (lang: Locale) => void;
|
|
47
|
+
stepName: "AccountHolderCertifications" | "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxClarification" | "AccountHolderTreatyClaims" | "AccountHolderUsTinValidation" | "ControllingPersonDetails1" | "ControllingPersonDetails2" | "ControllingPersonDetails3" | "ControllingPersonDetails4" | "ControllingPersonDetails5" | "Exemptions" | "RegardedOwnerCertifications" | "RegardedOwnerContact" | "RegardedOwnerTax" | "RegardedOwnerTreatyClaims" | "RegardedOwnerUsTinValidation" | "Summary";
|
|
40
48
|
treatyClaims: boolean | undefined;
|
|
41
|
-
|
|
49
|
+
usTinValidations: import('../../hooks').UsTinValidationAttempt[];
|
|
42
50
|
};
|
|
43
51
|
export {};
|
|
@@ -1,47 +1,57 @@
|
|
|
1
1
|
export declare const useTaxDocumentationContext: () => {
|
|
2
|
-
|
|
2
|
+
config: {
|
|
3
|
+
minimumAge: number;
|
|
4
|
+
} | undefined;
|
|
5
|
+
data: import('../../types').TaxDocumentation;
|
|
6
|
+
dateFormat: import('./useTaxDocumentation').DateFormatConfig;
|
|
7
|
+
doValidateUsTin: (name: string, usTin: string) => Promise<void>;
|
|
8
|
+
externalValidations: import('../../types/client').ExternalValidations | undefined;
|
|
9
|
+
goBack: (() => void) | undefined;
|
|
10
|
+
goTo: (inputStep: import('../../types').InputStep) => void;
|
|
11
|
+
goToNext: (data: import('../../types').TaxDocumentation) => void;
|
|
12
|
+
incrementValidationAttempt: (name: string, usTin: string) => void;
|
|
13
|
+
initialStep: "AccountHolderCertifications" | "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxClarification" | "AccountHolderTreatyClaims" | "AccountHolderUsTinValidation" | "ControllingPersonDetails1" | "ControllingPersonDetails2" | "ControllingPersonDetails3" | "ControllingPersonDetails4" | "ControllingPersonDetails5" | "Exemptions" | "RegardedOwnerCertifications" | "RegardedOwnerContact" | "RegardedOwnerTax" | "RegardedOwnerTreatyClaims" | "RegardedOwnerUsTinValidation" | "Summary";
|
|
3
14
|
isBuildingW8: boolean;
|
|
15
|
+
isBuildingW9: boolean;
|
|
16
|
+
isSubmitting: boolean;
|
|
17
|
+
isValidatingUsTin: boolean;
|
|
18
|
+
language: import('../..').Locale;
|
|
4
19
|
onPersistCollectedData: (newData: import('../../types').TaxDocumentation) => void;
|
|
5
20
|
onSubmitTaxDocumentation: (data: import('../../types').TaxDocumentation) => Promise<void>;
|
|
6
|
-
goTo: (inputStep: import('../../types').InputStep) => void;
|
|
7
|
-
goBack: (() => void) | undefined;
|
|
8
|
-
goToNext: (data: import('../../types').TaxDocumentation) => void;
|
|
9
|
-
progress: import('../..').Progress | undefined;
|
|
10
|
-
stepName: "AccountHolderCertifications" | "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxClarification" | "AccountHolderTreatyClaims" | "ControllingPersonDetails1" | "ControllingPersonDetails2" | "ControllingPersonDetails3" | "ControllingPersonDetails4" | "ControllingPersonDetails5" | "Exemptions" | "RegardedOwnerCertifications" | "RegardedOwnerContact" | "RegardedOwnerTax" | "RegardedOwnerTreatyClaims" | "Summary";
|
|
11
|
-
data: import('../../types').TaxDocumentation;
|
|
12
21
|
originalClientData: import('../../types').TaxDocumentation;
|
|
13
|
-
|
|
14
|
-
setLanguage: (lang: import('../..').Locale) => void;
|
|
15
|
-
language: import('../..').Locale;
|
|
22
|
+
progress: import('../..').Progress | undefined;
|
|
16
23
|
questionnaire: import('../..').QuestionnaireProp;
|
|
17
|
-
|
|
24
|
+
realTimeTinValidation: boolean | undefined;
|
|
25
|
+
setLanguage: (lang: import('../..').Locale) => void;
|
|
26
|
+
stepName: "AccountHolderCertifications" | "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxClarification" | "AccountHolderTreatyClaims" | "AccountHolderUsTinValidation" | "ControllingPersonDetails1" | "ControllingPersonDetails2" | "ControllingPersonDetails3" | "ControllingPersonDetails4" | "ControllingPersonDetails5" | "Exemptions" | "RegardedOwnerCertifications" | "RegardedOwnerContact" | "RegardedOwnerTax" | "RegardedOwnerTreatyClaims" | "RegardedOwnerUsTinValidation" | "Summary";
|
|
27
|
+
treatyClaims: boolean | undefined;
|
|
28
|
+
usTinValidations: import('../../hooks').UsTinValidationAttempt[];
|
|
29
|
+
}, TaxDocumentationContextProvider: import('react').Provider<{
|
|
18
30
|
config: {
|
|
19
31
|
minimumAge: number;
|
|
20
32
|
} | undefined;
|
|
21
|
-
|
|
22
|
-
treatyClaims: boolean | undefined;
|
|
33
|
+
data: import('../../types').TaxDocumentation;
|
|
23
34
|
dateFormat: import('./useTaxDocumentation').DateFormatConfig;
|
|
24
|
-
|
|
25
|
-
|
|
35
|
+
doValidateUsTin: (name: string, usTin: string) => Promise<void>;
|
|
36
|
+
externalValidations: import('../../types/client').ExternalValidations | undefined;
|
|
37
|
+
goBack: (() => void) | undefined;
|
|
38
|
+
goTo: (inputStep: import('../../types').InputStep) => void;
|
|
39
|
+
goToNext: (data: import('../../types').TaxDocumentation) => void;
|
|
40
|
+
incrementValidationAttempt: (name: string, usTin: string) => void;
|
|
41
|
+
initialStep: "AccountHolderCertifications" | "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxClarification" | "AccountHolderTreatyClaims" | "AccountHolderUsTinValidation" | "ControllingPersonDetails1" | "ControllingPersonDetails2" | "ControllingPersonDetails3" | "ControllingPersonDetails4" | "ControllingPersonDetails5" | "Exemptions" | "RegardedOwnerCertifications" | "RegardedOwnerContact" | "RegardedOwnerTax" | "RegardedOwnerTreatyClaims" | "RegardedOwnerUsTinValidation" | "Summary";
|
|
26
42
|
isBuildingW8: boolean;
|
|
43
|
+
isBuildingW9: boolean;
|
|
44
|
+
isSubmitting: boolean;
|
|
45
|
+
isValidatingUsTin: boolean;
|
|
46
|
+
language: import('../..').Locale;
|
|
27
47
|
onPersistCollectedData: (newData: import('../../types').TaxDocumentation) => void;
|
|
28
48
|
onSubmitTaxDocumentation: (data: import('../../types').TaxDocumentation) => Promise<void>;
|
|
29
|
-
goTo: (inputStep: import('../../types').InputStep) => void;
|
|
30
|
-
goBack: (() => void) | undefined;
|
|
31
|
-
goToNext: (data: import('../../types').TaxDocumentation) => void;
|
|
32
|
-
progress: import('../..').Progress | undefined;
|
|
33
|
-
stepName: "AccountHolderCertifications" | "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxClarification" | "AccountHolderTreatyClaims" | "ControllingPersonDetails1" | "ControllingPersonDetails2" | "ControllingPersonDetails3" | "ControllingPersonDetails4" | "ControllingPersonDetails5" | "Exemptions" | "RegardedOwnerCertifications" | "RegardedOwnerContact" | "RegardedOwnerTax" | "RegardedOwnerTreatyClaims" | "Summary";
|
|
34
|
-
data: import('../../types').TaxDocumentation;
|
|
35
49
|
originalClientData: import('../../types').TaxDocumentation;
|
|
36
|
-
|
|
37
|
-
setLanguage: (lang: import('../..').Locale) => void;
|
|
38
|
-
language: import('../..').Locale;
|
|
50
|
+
progress: import('../..').Progress | undefined;
|
|
39
51
|
questionnaire: import('../..').QuestionnaireProp;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} | undefined;
|
|
44
|
-
isSubmitting: boolean;
|
|
52
|
+
realTimeTinValidation: boolean | undefined;
|
|
53
|
+
setLanguage: (lang: import('../..').Locale) => void;
|
|
54
|
+
stepName: "AccountHolderCertifications" | "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxClarification" | "AccountHolderTreatyClaims" | "AccountHolderUsTinValidation" | "ControllingPersonDetails1" | "ControllingPersonDetails2" | "ControllingPersonDetails3" | "ControllingPersonDetails4" | "ControllingPersonDetails5" | "Exemptions" | "RegardedOwnerCertifications" | "RegardedOwnerContact" | "RegardedOwnerTax" | "RegardedOwnerTreatyClaims" | "RegardedOwnerUsTinValidation" | "Summary";
|
|
45
55
|
treatyClaims: boolean | undefined;
|
|
46
|
-
|
|
56
|
+
usTinValidations: import('../../hooks').UsTinValidationAttempt[];
|
|
47
57
|
} | undefined>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useUsTinValidation.ts';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type UsTinValidationStatus = 'invalidTin' | 'validTin' | 'pendingTin';
|
|
2
|
+
export type UsTinValidationAttempt = {
|
|
3
|
+
name: string | undefined;
|
|
4
|
+
usTin: string | undefined;
|
|
5
|
+
status: UsTinValidationStatus;
|
|
6
|
+
attemptCount: number;
|
|
7
|
+
};
|
|
8
|
+
export type UsTinServerStatus = 'PENDING' | 'FOREIGN' | 'INVALID_DATA' | 'VALID_SSN_MATCH' | 'VALID_EIN_MATCH' | 'VALID_SSN_EIN_MATCH' | 'MISMATCH' | 'TIN_NOT_ISSUED' | 'ERROR';
|
|
9
|
+
export declare const MAX_US_TIN_VALIDATION_ATTEMPTS = 3;
|
|
10
|
+
type UseUsTinValidationProps = {
|
|
11
|
+
bearerToken?: string;
|
|
12
|
+
isEnabled?: boolean;
|
|
13
|
+
staging?: boolean;
|
|
14
|
+
};
|
|
15
|
+
export declare const useUsTinValidation: ({ bearerToken, isEnabled, staging, }: UseUsTinValidationProps) => {
|
|
16
|
+
doValidateUsTin: (name: string, usTin: string) => Promise<void>;
|
|
17
|
+
isValidatingUsTin: boolean;
|
|
18
|
+
usTinValidations: UsTinValidationAttempt[];
|
|
19
|
+
incrementValidationAttempt: (name: string, usTin: string) => void;
|
|
20
|
+
};
|
|
21
|
+
export {};
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
+
"badge": {
|
|
3
|
+
"validTin": "Valid TIN Match",
|
|
4
|
+
"invalidTin": "Invalid TIN Match",
|
|
5
|
+
"pendingTin": "TIN Match Result Pending"
|
|
6
|
+
},
|
|
2
7
|
"button": {
|
|
3
8
|
"back": "Back",
|
|
4
9
|
"cancel": "Cancel",
|
|
@@ -121,6 +126,8 @@ declare const _default: {
|
|
|
121
126
|
"usPerson": "Are you a U.S. Person?",
|
|
122
127
|
"usSsn": "Social Security Number",
|
|
123
128
|
"usTin": "United States TIN",
|
|
129
|
+
"usTinIsValid": "Check this box to proceed with information that does not match IRS records",
|
|
130
|
+
"usTinMatchVerification": "U.S. TIN Verification",
|
|
124
131
|
"usTrustEstateEin": "Does this trust/estate have an Employer Identification Number?",
|
|
125
132
|
"usSoleProprietorEin": "Does this Sole Proprietorship have an Employer Identification Number?",
|
|
126
133
|
"vatIdentificationNumber": "VAT Number",
|
|
@@ -202,7 +209,9 @@ declare const _default: {
|
|
|
202
209
|
"signature": "Sign with the same name listed above",
|
|
203
210
|
"signatureCapacityOther": "Describe the role in which you have capacity to sign.",
|
|
204
211
|
"streetIsPermanent": "Enter your permanent street address. Do not use a PO Box or In-Care-of address.",
|
|
205
|
-
"usPerson": "An individual is a U.S. Person if they are a U.S. Citizen, U.S. Permanent Resident or has met the Substantial Presence Test. A business is a U.S. Person if they are organized or incorporated in the U.S."
|
|
212
|
+
"usPerson": "An individual is a U.S. Person if they are a U.S. Citizen, U.S. Permanent Resident or has met the Substantial Presence Test. A business is a U.S. Person if they are organized or incorporated in the U.S.",
|
|
213
|
+
"usTin": "The Name and TIN provided will be verified against the IRS database using the IRS TIN Matching e-Service.",
|
|
214
|
+
"usTinMatchVerification": "<p>The Name and TIN entered could not be verified with IRS records. Please review your information and make any necessary updates before proceeding.</p><p>Keep in mind that additional validation attempts may be limited, and failure to provide accurate information could result in processing delays.</p>"
|
|
206
215
|
},
|
|
207
216
|
"title": {
|
|
208
217
|
"accountHolder": "Account Holder",
|
|
@@ -247,7 +256,9 @@ declare const _default: {
|
|
|
247
256
|
"taxResidence4": "Tax Residency 4",
|
|
248
257
|
"taxResidence5": "Tax Residency 5",
|
|
249
258
|
"accountHolderTreatyClaims": "Claim of Tax Treaty Benefits",
|
|
250
|
-
"regardedOwnerTreatyClaims": "Claim of Tax Treaty Benefits"
|
|
259
|
+
"regardedOwnerTreatyClaims": "Claim of Tax Treaty Benefits",
|
|
260
|
+
"accountHolderUsTinValidation": "U.S. TIN Verification",
|
|
261
|
+
"regardedOwnerUsTinValidation": "U.S. TIN Verification"
|
|
251
262
|
},
|
|
252
263
|
"subTitle": {
|
|
253
264
|
"taxResidences": "Enter each country or jurisdiction of which you are a tax resident.",
|
|
@@ -287,6 +298,7 @@ declare const _default: {
|
|
|
287
298
|
"residencesMustIncludeAnEUCountry": "At least one country of tax residency must be an EU Country",
|
|
288
299
|
"tooLong": "Too Long",
|
|
289
300
|
"tooShort": "Too Short",
|
|
301
|
+
"usTinDoesNotMatchName": "The information you entered still doesn't match IRS records. Please either correct the information or confirm that the information provided is correct.",
|
|
290
302
|
"vatinMustNotMatchResidencyTin": "VAT Number must not match Residency TIN"
|
|
291
303
|
},
|
|
292
304
|
"option": {
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
+
"badge": {
|
|
3
|
+
"validTin": "Coincidencia de TIN válida",
|
|
4
|
+
"invalidTin": "Nombre/TIN no coinciden",
|
|
5
|
+
"pendingTin": "Resultado de coincidencia de TIN pendiente"
|
|
6
|
+
},
|
|
2
7
|
"button": {
|
|
3
8
|
"back": "Atrás",
|
|
4
9
|
"cancel": "Cancelar",
|
|
@@ -115,6 +120,8 @@ declare const _default: {
|
|
|
115
120
|
"usPerson": "¿Es una persona estadounidense?",
|
|
116
121
|
"usSsn": "Número de la seguridad social",
|
|
117
122
|
"usTin": "Número de identificación fiscal de EE. UU.",
|
|
123
|
+
"usTinMatchVerification": "Verificación de coincidencia de TIN de EE. UU.",
|
|
124
|
+
"usTinIsValid": "Marque esta casilla para continuar con información que no coincide con los registros del IRS",
|
|
118
125
|
"usTrustEstateEin": "¿El fideicomiso/patrimonio tiene un EIN?",
|
|
119
126
|
"usSoleProprietorEin": "¿El propietario único tiene un EIN?",
|
|
120
127
|
"vatIdentificationNumber": "Número de IVA",
|
|
@@ -202,7 +209,9 @@ declare const _default: {
|
|
|
202
209
|
"streetIsPermanent": "Si la dirección es permanente, seleccione \"Sí\". Si la dirección es temporal, seleccione \"No\".",
|
|
203
210
|
"usPerson": "Una persona estadounidense es una persona que es ciudadana estadounidense, residente permanente de EE. UU. o ha cumplido con la \"Prueba de presencia sustancial\". Una empresa es una persona estadounidense si está organizada o incorporada en EE. UU.",
|
|
204
211
|
"financialInstitutionType": "¿Qué tipo de institución financiera representa mejor el tipo de su cuenta?",
|
|
205
|
-
"role": "¿Cuál de las siguientes opciones representa mejor el rol por el cual esta persona es una Persona Controladora?"
|
|
212
|
+
"role": "¿Cuál de las siguientes opciones representa mejor el rol por el cual esta persona es una Persona Controladora?",
|
|
213
|
+
"usTin": "Se realizará una verificación a través del IRS para confirmar que el nombre y el TIN coinciden.",
|
|
214
|
+
"usTinMatchVerification": "<p>El nombre y el TIN ingresados serán verificados con el IRS. Por favor, revise y haga cambios si es necesario.</p><p>Proceda cuando todo esté correcto.</p>"
|
|
206
215
|
},
|
|
207
216
|
"subTitle": {
|
|
208
217
|
"controllingPersonDetails": "Complete las siguientes preguntas para la persona de control a continuación.",
|
|
@@ -253,7 +262,9 @@ declare const _default: {
|
|
|
253
262
|
"taxResidence2": "Domicilio fiscal 2",
|
|
254
263
|
"taxResidence3": "Domicilio fiscal 3",
|
|
255
264
|
"taxResidence4": "Domicilio fiscal 4",
|
|
256
|
-
"taxResidence5": "Domicilio fiscal 5"
|
|
265
|
+
"taxResidence5": "Domicilio fiscal 5",
|
|
266
|
+
"accountHolderUsTinValidation": "Verificación de TIN del IRS",
|
|
267
|
+
"regardedOwnerUsTinValidation": "Verificación de TIN del IRS"
|
|
257
268
|
},
|
|
258
269
|
"text": {
|
|
259
270
|
"eSignActReference": "* La ley sobre las firmas electrónicas en el comercio mundial y nacional (Electronic Signatures in Global and National Commerce Act), 15 U.S.C. §7001 y siguientes (\"Ley de firma electrónica\") se aprobó el 30 de junio de 2000 y proporciona una norma general para la validación de firmas y registros electrónicos en transacciones comerciales interestatales o extranjeras o que sean determinantes para dicho comercio.",
|
|
@@ -287,6 +298,7 @@ declare const _default: {
|
|
|
287
298
|
"required": "Necesario",
|
|
288
299
|
"tooLong": "Demasiado largo",
|
|
289
300
|
"tooShort": "Demasiado corto",
|
|
301
|
+
"usTinDoesNotMatchName": "El nombre y el TIN ingresados no pudieron ser verificados con los registros del IRS. Por favor, revise su información y realice las actualizaciones necesarias antes de continuar.",
|
|
290
302
|
"vatinMustNotMatchResidencyTin": "El número de IVA no debe coincidir con el TIN"
|
|
291
303
|
},
|
|
292
304
|
"option": {
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
+
"badge": {
|
|
3
|
+
"validTin": "Correspondance TIN valide",
|
|
4
|
+
"invalidTin": "Non-correspondance nom/TIN",
|
|
5
|
+
"pendingTin": "Résultat de la correspondance TIN en attente"
|
|
6
|
+
},
|
|
2
7
|
"button": {
|
|
3
8
|
"back": "Retour",
|
|
4
9
|
"cancel": "Annuler",
|
|
@@ -115,6 +120,8 @@ declare const _default: {
|
|
|
115
120
|
"usPerson": "Êtes-vous une U.S. Person ?",
|
|
116
121
|
"usSsn": "Numéro de sécurité sociale",
|
|
117
122
|
"usTin": "Numéro d'identification fiscale US",
|
|
123
|
+
"usTinMatchVerification": "Vérification du NIF américain",
|
|
124
|
+
"usTinIsValid": "Cochez cette case pour continuer avec des informations qui ne correspondent pas aux dossiers de l'IRS",
|
|
118
125
|
"usTrustEstateEin": "La fiducie/la succession dispose-t-elle d'un EIN ?",
|
|
119
126
|
"usSoleProprietorEin": "L'entreprise individuelle dispose-t-elle d'un EIN ?",
|
|
120
127
|
"vatIdentificationNumber": "Numéro d'identification TVA",
|
|
@@ -202,7 +209,9 @@ declare const _default: {
|
|
|
202
209
|
"streetIsPermanent": "L'adresse principale est considérée comme permanente, sauf indication contraire.",
|
|
203
210
|
"usPerson": "Un particulier est une U.S. Person s'il est citoyen américain, résident permanent américain ou s'il a satisfait au « Substantial Presence Test ». Une entreprise est une U.S. Person si elle est organisée ou incorporée aux États-Unis.",
|
|
204
211
|
"financialInstitutionType": "Quel type d'institution financière représente le mieux votre type de compte?",
|
|
205
|
-
"role": "Lequel des éléments suivants représente le mieux le rôle en vertu duquel cette personne est une Personne de Contrôle?"
|
|
212
|
+
"role": "Lequel des éléments suivants représente le mieux le rôle en vertu duquel cette personne est une Personne de Contrôle?",
|
|
213
|
+
"usTin": "Une vérification sera effectuée auprès de l’IRS pour confirmer que le nom et le NIF correspondent.",
|
|
214
|
+
"usTinMatchVerification": "<p>Le nom et le NIF saisis seront vérifiés auprès de l’IRS. Veuillez vérifier et apporter des modifications si nécessaire.</p><p>Poursuivez lorsque tout semble correct.</p>"
|
|
206
215
|
},
|
|
207
216
|
"subTitle": {
|
|
208
217
|
"controllingPersonDetails": "Complétez les questions suivantes pour la personne contrôlante ci-dessous.",
|
|
@@ -253,7 +262,9 @@ declare const _default: {
|
|
|
253
262
|
"taxResidence2": "Résidence fiscale 2",
|
|
254
263
|
"taxResidence3": "Résidence fiscale 3",
|
|
255
264
|
"taxResidence4": "Résidence fiscale 4",
|
|
256
|
-
"taxResidence5": "Résidence fiscale 5"
|
|
265
|
+
"taxResidence5": "Résidence fiscale 5",
|
|
266
|
+
"accountHolderUsTinValidation": "Vérification du NIF américain du titulaire du compte",
|
|
267
|
+
"regardedOwnerUsTinValidation": "Vérification du NIF américain du titulaire du compte"
|
|
257
268
|
},
|
|
258
269
|
"text": {
|
|
259
270
|
"eSignActReference": "* La loi sur les signatures électroniques dans le commerce mondial et national (Electronic Signatures in Global and National Commerce Act), 15 U.S.C. §7001, et seq. (« E-sign-Act ») a été promulguée le 30 juin 2000 et prévoit une règle générale pour la validation des enregistrements et des signatures électroniques pour les transactions dans ou affectant le commerce interétatique ou étranger.",
|
|
@@ -287,6 +298,7 @@ declare const _default: {
|
|
|
287
298
|
"required": "Obligatoire",
|
|
288
299
|
"tooLong": "Trop long",
|
|
289
300
|
"tooShort": "Trop court",
|
|
301
|
+
"usTinDoesNotMatchName": "Le nom et le NIF saisis ne peuvent pas être vérifiés avec les dossiers de l'IRS. Veuillez vérifier vos informations et apporter les mises à jour nécessaires avant de continuer.",
|
|
290
302
|
"vatinMustNotMatchResidencyTin": "Le numéro de TVA ne doit pas correspondre au TIN de résidence"
|
|
291
303
|
},
|
|
292
304
|
"option": {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { default as bgJson } from './bg.json';
|
|
2
|
+
import { default as csJson } from './cs.json';
|
|
3
|
+
import { default as daJson } from './da.json';
|
|
4
|
+
import { default as deATJson } from './de-AT.json';
|
|
5
|
+
import { default as deJson } from './de.json';
|
|
6
|
+
import { default as elCYJson } from './el-CY.json';
|
|
7
|
+
import { default as elJson } from './el.json';
|
|
8
|
+
import { default as enGBJson } from './en-GB.json';
|
|
9
|
+
import { default as enNZJson } from './en-NZ.json';
|
|
10
|
+
import { default as enJson } from './en.json';
|
|
11
|
+
import { default as esMXJson } from './es-MX.json';
|
|
12
|
+
import { default as esJson } from './es.json';
|
|
13
|
+
import { default as etJson } from './et.json';
|
|
14
|
+
import { default as fiJson } from './fi.json';
|
|
15
|
+
import { default as frCAJson } from './fr-CA.json';
|
|
16
|
+
import { default as frLUJson } from './fr-LU.json';
|
|
17
|
+
import { default as frJson } from './fr.json';
|
|
18
|
+
import { default as gaJson } from './ga.json';
|
|
19
|
+
import { default as hrJson } from './hr.json';
|
|
20
|
+
import { default as huJson } from './hu.json';
|
|
21
|
+
import { default as itJson } from './it.json';
|
|
22
|
+
import { default as ltJson } from './lt.json';
|
|
23
|
+
import { default as lvJson } from './lv.json';
|
|
24
|
+
import { default as mtJson } from './mt.json';
|
|
25
|
+
import { default as nlBEJson } from './nl-BE.json';
|
|
26
|
+
import { default as nlJson } from './nl.json';
|
|
27
|
+
import { default as noJson } from './no.json';
|
|
28
|
+
import { default as plJson } from './pl.json';
|
|
29
|
+
import { default as ptJson } from './pt.json';
|
|
30
|
+
import { default as roJson } from './ro.json';
|
|
31
|
+
import { default as skJson } from './sk.json';
|
|
32
|
+
import { default as slJson } from './sl.json';
|
|
33
|
+
import { default as svJson } from './sv.json';
|
|
34
|
+
|
|
35
|
+
export { bgJson, csJson, daJson, deATJson, deJson, elCYJson, elJson, enGBJson, enJson, enNZJson, esJson, esMXJson, etJson, fiJson, frCAJson, frJson, frLUJson, gaJson, hrJson, huJson, itJson, ltJson, lvJson, mtJson, nlBEJson, nlJson, noJson, plJson, ptJson, roJson, skJson, slJson, svJson, };
|