@taxbit/react-sdk 2.5.1-beta.0 → 3.0.0-beta.1
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 +27 -0
- package/dist/src/contexts/QuestionnaireStep/useQuestionnaireStep.d.ts +2 -2
- package/dist/src/contexts/QuestionnaireStep/useQuestionnaireStepContext.d.ts +2 -2
- package/dist/src/contexts/TaxDocumentation/TaxbitQuestionnaireProvider.d.ts +1 -1
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentation.d.ts +12 -3
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +16 -2
- package/dist/src/i18n/json/bg.json.d.ts +2 -1
- package/dist/src/i18n/json/cs.json.d.ts +2 -1
- package/dist/src/i18n/json/da.json.d.ts +2 -1
- package/dist/src/i18n/json/de-AT.json.d.ts +1 -1
- package/dist/src/i18n/json/de.json.d.ts +2 -1
- package/dist/src/i18n/json/el.json.d.ts +2 -1
- package/dist/src/i18n/json/en.json.d.ts +4 -3
- package/dist/src/i18n/json/es.json.d.ts +3 -2
- package/dist/src/i18n/json/et.json.d.ts +2 -1
- package/dist/src/i18n/json/fi.json.d.ts +2 -1
- package/dist/src/i18n/json/fr.json.d.ts +6 -5
- package/dist/src/i18n/json/ga.json.d.ts +3 -2
- package/dist/src/i18n/json/hr.json.d.ts +2 -1
- package/dist/src/i18n/json/hu.json.d.ts +2 -1
- package/dist/src/i18n/json/id.json.d.ts +240 -0
- package/dist/src/i18n/json/index.d.ts +11 -1
- package/dist/src/i18n/json/it.json.d.ts +2 -1
- package/dist/src/i18n/json/ja.json.d.ts +459 -0
- package/dist/src/i18n/json/ko.json.d.ts +240 -0
- package/dist/src/i18n/json/lt.json.d.ts +2 -1
- package/dist/src/i18n/json/lv.json.d.ts +2 -1
- package/dist/src/i18n/json/mt.json.d.ts +2 -1
- package/dist/src/i18n/json/nl.json.d.ts +2 -1
- package/dist/src/i18n/json/no.json.d.ts +2 -1
- package/dist/src/i18n/json/pl.json.d.ts +2 -1
- package/dist/src/i18n/json/pt-BR.json.d.ts +4 -0
- package/dist/src/i18n/json/pt.json.d.ts +296 -76
- package/dist/src/i18n/json/ro.json.d.ts +2 -1
- package/dist/src/i18n/json/ru.json.d.ts +240 -0
- package/dist/src/i18n/json/sk.json.d.ts +2 -1
- package/dist/src/i18n/json/sl.json.d.ts +2 -1
- package/dist/src/i18n/json/sv.json.d.ts +2 -1
- package/dist/src/i18n/json/th.json.d.ts +240 -0
- package/dist/src/i18n/json/tr.json.d.ts +459 -0
- package/dist/src/i18n/json/uk.json.d.ts +240 -0
- package/dist/src/i18n/json/vi.json.d.ts +240 -0
- package/dist/src/i18n/json/zh.json.d.ts +240 -0
- package/dist/src/i18n/locales/id.d.ts +3 -0
- package/dist/src/i18n/locales/index.d.ts +10 -0
- package/dist/src/i18n/locales/ja.d.ts +3 -0
- package/dist/src/i18n/locales/ko.d.ts +3 -0
- package/dist/src/i18n/locales/pt-br.d.ts +3 -0
- package/dist/src/i18n/locales/ru.d.ts +3 -0
- package/dist/src/i18n/locales/th.d.ts +3 -0
- package/dist/src/i18n/locales/tr.d.ts +3 -0
- package/dist/src/i18n/locales/uk.d.ts +3 -0
- package/dist/src/i18n/locales/vi.d.ts +3 -0
- package/dist/src/i18n/locales/zh.d.ts +3 -0
- package/dist/src/i18n/types/LocalizationKey.d.ts +1 -1
- package/dist/src/test/utils/helpers.d.ts +4 -1
- package/dist/src/types/Locale.d.ts +1 -1
- package/dist/src/types/QuestionnaireProp.d.ts +1 -0
- package/dist/src/types/index.d.ts +3 -2
- package/dist/src/utils/index.d.ts +4 -1
- package/dist/src/utils/isBoolean.d.ts +1 -0
- package/dist/src/utils/isString.d.ts +1 -0
- package/dist/src/utils/stepIds.d.ts +6 -0
- package/dist/src/utils/transformInbound/cleanTin.d.ts +1 -0
- package/dist/src/utils/transformInbound/transformInboundAddress.d.ts +1 -1
- package/dist/src/validations/getEditFields.d.ts +3 -0
- package/dist/src/validations/getSkipFields.d.ts +8 -0
- package/dist/src/validations/getSkipSteps.d.ts +8 -0
- package/dist/src/validations/getSteps.d.ts +2 -2
- package/dist/src/validations/index.d.ts +4 -1
- package/dist/src/widgets/TaxbitQuestionnaire/TaxbitQuestionnaire.d.ts +3 -2
- package/dist/src/widgets/TaxbitQuestionnairePersist/TaxbitQuestionnairePersist.d.ts +1 -1
- package/dist/src/widgets/TaxbitQuestionnairePersist/useTaxbitPersist.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/AccountHolder/AccountHolderForeignClassificationSummary.d.ts +1 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/AccountHolder/AccountHolderUsClassificationSummary.d.ts +1 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/TaxbitQuestionnaireUI.d.ts +1 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.Skip.DPS.test.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.Skip.SelfCert.test.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.Skip.WForm.test.d.ts +1 -0
- package/dist/taxbit-react-sdk.js +7760 -4697
- package/dist/taxbit-react-sdk.umd.cjs +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"button": {
|
|
3
|
+
"back": "返回",
|
|
4
|
+
"cancel": "取消",
|
|
5
|
+
"edit": "编辑",
|
|
6
|
+
"next": "下一步",
|
|
7
|
+
"reset": "重置",
|
|
8
|
+
"submit": "提交",
|
|
9
|
+
"hide": "隐藏",
|
|
10
|
+
"show": "显示"
|
|
11
|
+
},
|
|
12
|
+
"prompt": {
|
|
13
|
+
"day": "日",
|
|
14
|
+
"month": "月",
|
|
15
|
+
"year": "年",
|
|
16
|
+
"addAdditionalResidence": "添加其他税务居民身份",
|
|
17
|
+
"removeResidence": "删除税务居民身份",
|
|
18
|
+
"address": "地址",
|
|
19
|
+
"businessRegistrationNumber": "企业注册号",
|
|
20
|
+
"businessRegistrationCountry": "企业注册国家",
|
|
21
|
+
"city": "城市",
|
|
22
|
+
"country": "国家",
|
|
23
|
+
"emailAddress": "电子邮件地址",
|
|
24
|
+
"phoneNumber": "电话号码",
|
|
25
|
+
"phoneNumberCode": "国家代码",
|
|
26
|
+
"phoneNumberNumber": "电话号码",
|
|
27
|
+
"dateOfBirth": "出生日期",
|
|
28
|
+
"foreignAccountType": "以下哪项最能代表您的账户类型?",
|
|
29
|
+
"isIndividual": "您是个人吗?",
|
|
30
|
+
"name": "姓名",
|
|
31
|
+
"nameOfEntity": "实体名称",
|
|
32
|
+
"nameOfIndividual": "个人姓名",
|
|
33
|
+
"cityOfBirth": "出生城市",
|
|
34
|
+
"countryOfBirth": "出生国家",
|
|
35
|
+
"province": "省份",
|
|
36
|
+
"stateProvince": "州/省",
|
|
37
|
+
"countyRegion": "县/地区",
|
|
38
|
+
"street2": "地址第2行",
|
|
39
|
+
"street": "地址第1行",
|
|
40
|
+
"taxIdNumber": "纳税人识别号",
|
|
41
|
+
"taxIdNumberIsNotRequired": "不需要纳税人识别号或尚未签发",
|
|
42
|
+
"tin": "纳税人识别号",
|
|
43
|
+
"tinUkEntity": "纳税人识别号",
|
|
44
|
+
"tinUkIndividual": "纳税人识别号",
|
|
45
|
+
"tinAuAbn": "纳税人识别号",
|
|
46
|
+
"usTin": "美国纳税人识别号",
|
|
47
|
+
"vatIdentificationNumber": "增值税号",
|
|
48
|
+
"vatIsNotRequired": "不需要增值税号或尚未签发",
|
|
49
|
+
"vatCountry": "增值税国家",
|
|
50
|
+
"zip": "邮政编码",
|
|
51
|
+
"addControllingPerson": "添加控制人",
|
|
52
|
+
"removeControllingPerson": "删除控制人",
|
|
53
|
+
"otherRole": "其他",
|
|
54
|
+
"otherEquivalentRole": "其他同等职位",
|
|
55
|
+
"ownershipPercentage": "所有权百分比",
|
|
56
|
+
"relatedCorporation": "关联公司",
|
|
57
|
+
"securitiesMarket": "证券市场",
|
|
58
|
+
"role": "以下哪项最能代表此人作为控制人的职务?",
|
|
59
|
+
"taxIdNumberIsNotRequiredReason": "缺少纳税人识别号原因",
|
|
60
|
+
"taxIdNumberIsNotRequiredReasonOther": "请说明您为何无法在此国家/司法管辖区获得纳税人识别号",
|
|
61
|
+
"type": "类型",
|
|
62
|
+
"financialInstitutionType": "以下哪种金融机构类型最能代表您的账户类型?",
|
|
63
|
+
"activeNonFinancialEntityType": "以下哪种主动非金融实体(NFE)类型最能代表您的账户类型?",
|
|
64
|
+
"passiveEntityType": "以下哪项最能描述此被动非金融实体?",
|
|
65
|
+
"managedEntityType": "以下哪项最能描述此由金融机构管理的投资实体?",
|
|
66
|
+
"investmentEntityManaged": "该投资实体是否由金融机构管理?",
|
|
67
|
+
"signatureCapacity": "身份",
|
|
68
|
+
"signatureCapacityOther": "其他授权代表",
|
|
69
|
+
"iUnderstandTheInformationIsCovered": "我理解我提供的信息受账户持有人与提供本表格的实体关系的条款和条件的全部规定的约束,这些条款和条件规定了该实体如何使用和共享我提供的信息。",
|
|
70
|
+
"iAcknowledgeTheInformationMayBeProvided": "我承认本表格中包含的信息以及有关账户持有人和任何应报告账户的信息可能会报告给维护该账户的国家/司法管辖区的税务机关,并与账户持有人可能是税务居民的另一个国家/司法管辖区或多个国家/司法管辖区的税务机关交换,根据交换金融账户信息的政府间协议。",
|
|
71
|
+
"iCertifyIAmAccountHolder": "我证明我是本表格涉及的所有账户的账户持有人(或被授权为账户持有人签字)。",
|
|
72
|
+
"iCertifyIAmAuthorizedToSignForAccountHolder": "我证明我被授权为本表格涉及的所有账户的账户持有人签字。",
|
|
73
|
+
"iDeclareStatementsAreCorrect": "我声明本声明中的所有陈述据我所知和所信是正确和完整的。",
|
|
74
|
+
"iWillNotifyChangeInCircumstance": "我承诺在影响上述账户持有人税务居民身份或导致本文所含信息变得不正确或不完整的情况发生变化后30天内通知提供本表格的实体,并在此类情况变化后90天内向提供本表格的实体提供适当更新的自我证明和声明。",
|
|
75
|
+
"mailingAddressIsDifferent": "邮寄地址与永久地址不同",
|
|
76
|
+
"signature": "签名",
|
|
77
|
+
"iCertifyToAll": "我认证所有内容",
|
|
78
|
+
"iHaveCapacityToSignForEntity": "我证明我有权代表上述实体签名",
|
|
79
|
+
"iHaveCapacityToSignForIndividual": "我证明我有权代表上述个人签名"
|
|
80
|
+
},
|
|
81
|
+
"subPrompt": {
|
|
82
|
+
"accountHolderTaxResidences": "请输入所有税务居民国家",
|
|
83
|
+
"isIndividual": "如果账户是个人账户,请选择是。如果您代表企业、组织或其他实体,请选择否。",
|
|
84
|
+
"vatIdentificationNumber": "增值税登记企业或个人的唯一标识符。",
|
|
85
|
+
"placeOfBirth": "需要出生地,因为您已表明对于您是税务居民的每个欧盟国家,法律上不需要纳税人识别号。",
|
|
86
|
+
"streetIsPermanent": "输入您的永久街道地址。请勿使用邮政信箱或转交地址。",
|
|
87
|
+
"accountHolderPhoneAndEmail": "需要电话号码和电子邮件,因为您已表明您是澳大利亚的税务居民。",
|
|
88
|
+
"relatedCorporation": "如果您是定期交易公司的关联实体,请提供定期交易公司的名称。",
|
|
89
|
+
"securitiesMarket": "该公司定期交易的已建立证券市场的名称是什么?",
|
|
90
|
+
"signatureCapacityOther": "描述您有签字能力的职务。",
|
|
91
|
+
"financialInstitutionType": "以下哪种金融机构类型最能代表您的账户类型?",
|
|
92
|
+
"role": "以下哪项最能代表此人作为控制人的职务?",
|
|
93
|
+
"enterAbnWithResidency": "请勿在此字段中输入您的ABN号码。相反,请在下面的税务居民部分输入您的ABN号码。您可以选择使用此字段输入其他识别号码。"
|
|
94
|
+
},
|
|
95
|
+
"subTitle": {
|
|
96
|
+
"taxResidences": "输入您是税务居民的每个国家或司法管辖区。",
|
|
97
|
+
"controllingPersonDetails": "回答以下有关下述控制人的问题。",
|
|
98
|
+
"permanentAddress": "您的永久居住地址是您在声称是居民的国家的地址,用于该国所得税目的。"
|
|
99
|
+
},
|
|
100
|
+
"title": {
|
|
101
|
+
"accountHolder": "账户持有人",
|
|
102
|
+
"accountHolderClassification": "账户分类",
|
|
103
|
+
"accountHolderContactInformation": "身份详细信息",
|
|
104
|
+
"accountHolderTaxInformation": "税务信息",
|
|
105
|
+
"accountHolderAdditionalInfo": "其他信息",
|
|
106
|
+
"address": "地址",
|
|
107
|
+
"acknowledge": "确认并签署",
|
|
108
|
+
"reviewAndSubmit": "审核并提交",
|
|
109
|
+
"certify": "我证明以下内容:",
|
|
110
|
+
"confirmation": "确认",
|
|
111
|
+
"countryOfCitizenship": "公民身份国家",
|
|
112
|
+
"countryOfIncorporation": "注册/组织国家",
|
|
113
|
+
"permanentAddress": "永久地址",
|
|
114
|
+
"placeOfBirth": "出生地",
|
|
115
|
+
"summary": "摘要",
|
|
116
|
+
"taxResidences": "税务居民身份",
|
|
117
|
+
"taxResidence1": "税务居民身份1",
|
|
118
|
+
"taxResidence2": "税务居民身份2",
|
|
119
|
+
"taxResidence3": "税务居民身份3",
|
|
120
|
+
"taxResidence4": "税务居民身份4",
|
|
121
|
+
"taxResidence5": "税务居民身份5",
|
|
122
|
+
"carfClassificationDetails": "CARF分类详情",
|
|
123
|
+
"controllingPersonDetails": "控制人详情",
|
|
124
|
+
"controllingPersons": "控制人",
|
|
125
|
+
"controllingPerson1": "控制人1",
|
|
126
|
+
"controllingPerson2": "控制人2",
|
|
127
|
+
"controllingPerson3": "控制人3",
|
|
128
|
+
"controllingPerson4": "控制人4",
|
|
129
|
+
"controllingPerson5": "控制人5",
|
|
130
|
+
"mailingAddress": "邮寄地址",
|
|
131
|
+
"primaryAddress": "主要地址"
|
|
132
|
+
},
|
|
133
|
+
"text": {
|
|
134
|
+
"notRequired": "不需要",
|
|
135
|
+
"notRequiredOrNotIssued": "不需要或未签发",
|
|
136
|
+
"interviewIsComplete": "您的访谈已完成。",
|
|
137
|
+
"mailingAddressIsSame": "与永久地址相同",
|
|
138
|
+
"retrievingInterviewStatus": "正在检索访谈状态...",
|
|
139
|
+
"taxDocumentationSaved": "您的税务文件已保存",
|
|
140
|
+
"eSignActReference": "<sup>1</sup>《全球和国内商业电子签名法》,15 U.S.C. §7001及其后续条款,(电子签名法)于2000年6月30日签署成为法律,并为影响州际或对外贸易的交易的电子记录和签名的验证提供一般规则。",
|
|
141
|
+
"iCertifyHaveCapacity": "通过点击提交,我证明我有签字能力。我同意受本表格上的信息的法律约束,承认我可以通过联系客户支持撤回我的同意,并理解应我的要求可以向我提供本表格的可下载版本。",
|
|
142
|
+
"iCertifyIsCorrect": "通过点击提交,我确认据我所知,此处提供的信息是正确和完整的。如果发生导致此信息变得不正确或不完整的变化,我同意在此类变化发生后30天内提供修订后的信息。"
|
|
143
|
+
},
|
|
144
|
+
"status": {
|
|
145
|
+
"matchesExpectedFormat": "✓ 格式看起来正确",
|
|
146
|
+
"countryMustBeAResidenceCountry": "必须是输入为税务居民身份的国家",
|
|
147
|
+
"formHasErrors": "请审核上述错误",
|
|
148
|
+
"doesNotMatchExpectedFormat": "请检查格式",
|
|
149
|
+
"invalid": "无效",
|
|
150
|
+
"invalidDate": "无效日期",
|
|
151
|
+
"invalidVat": "无效增值税号",
|
|
152
|
+
"mustBeABNFormat": "必须是11位数字",
|
|
153
|
+
"mustBeFiveOrNineDigits": "必须是5位或9位数字",
|
|
154
|
+
"mustBeInDateFormat": "必须选择月、日和年",
|
|
155
|
+
"mustBeInVatinFormat": "增值税号必须采用正确格式(8至14个字符之间)",
|
|
156
|
+
"mustBeNineDigits": "必须是9位数字",
|
|
157
|
+
"mustBeNinoFormat": "NINO必须采用正确格式(AB999999A)",
|
|
158
|
+
"mustBeCaPostalCodeFormat": "必须采用正确格式(ANA NAN)",
|
|
159
|
+
"mustBeValidBirthDate": "不是有效的出生日期",
|
|
160
|
+
"mustBeAtLeast18": "必须年满18岁",
|
|
161
|
+
"residencesMustIncludeVatCountry": "必须在下面的税务居民身份中提供增值税国家",
|
|
162
|
+
"residencesMustIncludeAddressCountry": "必须在下面的税务居民身份中提供您主要地址的国家",
|
|
163
|
+
"residencesMustIncludeAnEUCountry": "至少一个税务居民国家必须是欧盟国家",
|
|
164
|
+
"residencesMustIncludeBusinessRegistrationCountry": "必须在下面的税务居民身份中提供企业注册国家",
|
|
165
|
+
"checkFormatIndividualGB": "请检查格式。国民保险号(NINO)通常是2个字母、6个数字和一个最终字母(A-D)。",
|
|
166
|
+
"checkFormatEntityGB": "请检查格式。唯一纳税人参考号(UTR)通常是一个10位数字。",
|
|
167
|
+
"checkFormatIndividualDE": "请检查格式。税号(IDNR)通常是一个10至11位数字。",
|
|
168
|
+
"checkFormatEntityDE": "请检查格式。税号(STNR)通常是一个11至13位数字。",
|
|
169
|
+
"checkFormatIndividualFR": "请检查格式。税号(NIF)通常是一个13位数字,以0、1、2或3开头。",
|
|
170
|
+
"checkFormatEntityFR": "请检查格式。税号(SIREN)通常是一个9位数字。",
|
|
171
|
+
"checkFormatIndividualIT": "请检查格式。财政代码(CF)通常是一个16字符的字母数字字符串。例如:MRTMTT91D08F205J。",
|
|
172
|
+
"checkFormatEntityIT": "请检查格式。财政代码(CF)通常是一个11位数字。",
|
|
173
|
+
"checkFormatIndividualES": "请检查格式。国家身份号(NIF)通常是一个9字符的字母数字字符串。例如:12345678L或L1234567L。",
|
|
174
|
+
"checkFormatEntityES": "请检查格式。税号(NIE、DNI或NIF)通常是一个字母后跟8位数字。",
|
|
175
|
+
"checkFormatIndividualNL": "请检查格式。税号(BSN)通常是一个9位数字。",
|
|
176
|
+
"checkFormatEntityNL": "请检查格式。税号(BTW)通常是一个9位数字。",
|
|
177
|
+
"checkFormatIndividualIE": "请检查格式。个人公共服务号(PPSN)通常是7个数字和1-2个字母。例如:1234567T或1234567TA。",
|
|
178
|
+
"checkFormatEntityIE": "请检查格式。税务参考号(TRN)通常是7个数字和1-2个字母。例如:1234567T或1234567TA。",
|
|
179
|
+
"checkFormatIndividualCA": "请检查格式。社会保险号(SIN)通常是一个9位数字。",
|
|
180
|
+
"checkFormatEntityCA": "请检查格式。企业编号(BN)通常是一个8或9位数字。",
|
|
181
|
+
"checkFormatIndividualAU": "请检查格式。澳大利亚企业编号(ABN)通常是一个通过算法校验和的11位数字。",
|
|
182
|
+
"checkFormatEntityAU": "请检查格式。澳大利亚企业编号(ABN)通常是一个通过算法校验和的11位数字。",
|
|
183
|
+
"checkFormatIndividualSG": "请检查格式。国家注册身份证(NRIC)通常是一个9字符的字母数字字符串,外国人身份号(FIN)通常是一个7字符的字母数字字符串。",
|
|
184
|
+
"checkFormatEntitySG": "请检查格式。唯一实体编号(UEN)通常是一个9或10字符的字母数字字符串。",
|
|
185
|
+
"required": "必填",
|
|
186
|
+
"tooLong": "太长",
|
|
187
|
+
"tooShort": "太短"
|
|
188
|
+
},
|
|
189
|
+
"option": {
|
|
190
|
+
"isIndividual_yes": "是的,我是个人",
|
|
191
|
+
"isIndividual_no": "不,我不是个人",
|
|
192
|
+
"no": "否",
|
|
193
|
+
"yes": "是",
|
|
194
|
+
"investmentEntityManaged_yes": "是的,该投资实体由金融机构管理",
|
|
195
|
+
"investmentEntityManaged_no": "不,该投资实体不由金融机构管理",
|
|
196
|
+
"ACTIVE_NON_FINANCIAL_ENTITY": "主动非金融实体",
|
|
197
|
+
"PASSIVE_NON_FINANCIAL_ENTITY": "被动非金融实体",
|
|
198
|
+
"FINANCIAL_INSTITUTION": "金融机构",
|
|
199
|
+
"CUSTODIAL_INSTITUTION": "托管机构",
|
|
200
|
+
"DEPOSITORY_INSTITUTION": "存款机构",
|
|
201
|
+
"accountHolderActiveNonFinancialEntityType_GOVERNMENT_ENTITY": "政府实体或中央银行",
|
|
202
|
+
"INSURANCE_COMPANY": "保险公司",
|
|
203
|
+
"INVESTMENT_ENTITY": "投资实体",
|
|
204
|
+
"entityType_TRUST": "信托",
|
|
205
|
+
"entityType_SIMILAR_TO_TRUST": "类似信托的法律安排",
|
|
206
|
+
"entityType_OTHER": "信托或类似信托的法律安排以外的实体",
|
|
207
|
+
"accountHolderActiveNonFinancialEntityType_PUBLIC_CORPORATION": "公开交易公司或关联实体",
|
|
208
|
+
"accountHolderActiveNonFinancialEntityType_OTHER": "其他",
|
|
209
|
+
"accountHolderActiveNonFinancialEntityType_INTERNATIONAL_ORGANIZATION": "国际组织",
|
|
210
|
+
"controllingPersonRole_SETTLOR": "委托人",
|
|
211
|
+
"controllingPersonRole_TRUSTEE": "受托人",
|
|
212
|
+
"controllingPersonRole_PROTECTOR": "保护人",
|
|
213
|
+
"controllingPersonRole_BENEFICIARY": "受益人",
|
|
214
|
+
"controllingPersonRole_OTHER": "其他",
|
|
215
|
+
"controllingPersonRole_BENEFICIARY_EQUIVALENT": "受益人同等职位",
|
|
216
|
+
"controllingPersonRole_OTHER_EQUIVALENT": "其他同等职位",
|
|
217
|
+
"controllingPersonRole_PROTECTOR_EQUIVALENT": "保护人同等职位",
|
|
218
|
+
"controllingPersonRole_SETTLOR_EQUIVALENT": "委托人同等职位",
|
|
219
|
+
"controllingPersonRole_TRUSTEE_EQUIVALENT": "受托人同等职位",
|
|
220
|
+
"controllingPersonRole_OWNER": "所有者",
|
|
221
|
+
"controllingPersonRole_OTHER_MEANS": "通过其他方式的控制人",
|
|
222
|
+
"controllingPersonRole_SENIOR_MANAGING_OFFICIAL": "高级管理官员",
|
|
223
|
+
"missingTinNotRequiredReason_NOT_ISSUED": "账户持有人居住的国家/司法管辖区不向其居民签发纳税人识别号",
|
|
224
|
+
"missingTinNotRequiredReason_OTHER": "账户持有人无法获得纳税人识别号或等效号码",
|
|
225
|
+
"missingTinNotRequiredReason_NOT_REQUIRED": "不需要纳税人识别号",
|
|
226
|
+
"signatureCapacity_EXECUTOR": "遗产执行人",
|
|
227
|
+
"signatureCapacity_OFFICER": "实体的授权官员、执行官或控制人",
|
|
228
|
+
"signatureCapacity_OTHER_CAPACITY": "其他授权代表"
|
|
229
|
+
},
|
|
230
|
+
"subOption": {
|
|
231
|
+
"accountHolderActiveNonFinancialEntityType_OTHER": "不属于上述列出的实体,其中不到50%的实体总收入和/或不到50%的实体资产用于产生被动收入。其他主动非金融实体包括但不限于属于非金融集团成员的控股公司、打算成为主动公司的初创公司和合格的非营利组织。",
|
|
232
|
+
"accountHolderActiveNonFinancialEntityType_PUBLIC_CORPORATION": "股票在已建立的证券市场上定期交易的公司或与该公司相关的公司。",
|
|
233
|
+
"accountHolderSelfCertificationAccountType_FINANCIAL_INSTITUTION": "作为其业务的重要部分为他人持有金融资产、在正常业务过程中接受存款或以其他方式为客户进行投资活动(即交易、投资或管理金融资产)的实体。",
|
|
234
|
+
"accountHolderSelfCertificationAccountType_ACTIVE_NON_FINANCIAL_ENTITY": "通常不到50%的收入是被动收入,不到50%的资产产生被动收入的非金融实体。",
|
|
235
|
+
"accountHolderSelfCertificationAccountType_PASSIVE_NON_FINANCIAL_ENTITY": "任何不是主动非金融实体的非金融实体,通常意味着超过50%的总收入是被动收入,例如利息、股息、资本收益或来自金融资产的收入。"
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
;
|
|
239
|
+
|
|
240
|
+
export default _default;
|
|
@@ -19,7 +19,10 @@ export * from './fr-lu';
|
|
|
19
19
|
export * from './ga';
|
|
20
20
|
export * from './hr';
|
|
21
21
|
export * from './hu';
|
|
22
|
+
export * from './id';
|
|
22
23
|
export * from './it';
|
|
24
|
+
export * from './ja';
|
|
25
|
+
export * from './ko';
|
|
23
26
|
export * from './lt';
|
|
24
27
|
export * from './lv';
|
|
25
28
|
export * from './mt';
|
|
@@ -28,7 +31,14 @@ export * from './nl-be';
|
|
|
28
31
|
export * from './no';
|
|
29
32
|
export * from './pl';
|
|
30
33
|
export * from './pt';
|
|
34
|
+
export * from './pt-br';
|
|
31
35
|
export * from './ro';
|
|
36
|
+
export * from './ru';
|
|
32
37
|
export * from './sk';
|
|
33
38
|
export * from './sl';
|
|
34
39
|
export * from './sv';
|
|
40
|
+
export * from './th';
|
|
41
|
+
export * from './tr';
|
|
42
|
+
export * from './uk';
|
|
43
|
+
export * from './vi';
|
|
44
|
+
export * from './zh';
|
|
@@ -7,7 +7,7 @@ export type PromptKey = TreatyClaimPrompt | 'accountHolderAccountOwnerType' | 'a
|
|
|
7
7
|
export type SubPromptKey = TreatyClaimSubPrompt | 'accountHolderTaxResidences' | 'isQiCertified' | 'smllcElection' | 'iAmNotSubjectToBackupWithholding' | 'iConfirmIncomeIsNonUs' | 'isIndividual' | 'transmitsTfiDocumentationCertified' | 'transmitsUsbDocumentationCertified' | 'entityPaymentsCertified' | 'enterAbnWithResidency' | 'financialInstitutionType' | 'vatIdentificationNumber' | 'placeOfBirth' | 'referenceNumbers' | 'relatedCorporation' | 'role' | 'securitiesMarket' | 'signature' | 'signatureCapacityOther' | 'streetIsPermanent' | 'usPerson' | 'usTin' | 'usTinMatchVerification';
|
|
8
8
|
export type TitleKey = 'accountHolder' | 'accountHolderCertifications' | 'accountHolderClassification' | 'accountHolderContactInformation' | 'accountHolderTaxInformation' | 'accountHolderAdditionalInfo' | 'accountHolderTreatyClaims' | 'accountTypeCertifications' | 'accountHolderUsTinValidation' | 'address' | 'additionalConditions' | 'carfClassificationDetails' | 'certificationStatements' | 'certify' | 'confirmation' | 'controllingPersonDetails' | 'controllingPersons' | 'controllingPerson1' | 'controllingPerson2' | 'controllingPerson3' | 'controllingPerson4' | 'controllingPerson5' | 'countryOfCitizenship' | 'countryOfIncorporation' | 'exemptions' | 'mailingAddress' | 'primaryAddress' | 'permanentAddress' | 'placeOfBirth' | 'regardedOwner' | 'regardedOwnerCertifications' | 'regardedOwnerClassification' | 'regardedOwnerContactInformation' | 'regardedOwnerTaxInformation' | 'regardedOwnerTreatyClaims' | 'regardedOwnerUsTinValidation' | 'reviewAndSubmit' | 'signature' | 'summary' | 'taxResidences' | 'taxResidence1' | 'taxResidence2' | 'taxResidence3' | 'taxResidence4' | 'taxResidence5';
|
|
9
9
|
export type SubTitleKey = 'controllingPersonDetails' | 'taxResidences' | 'permanentAddress' | 'taxInformationTreatyClaims';
|
|
10
|
-
export type TextKey = 'subjectToBackupWithholding' | 'irsRequiresBackupWithholdingConsent' | 'iCertifyIsCorrectAndHaveCapacity' | 'iCertifyHaveCapacity' | 'iCertifyIsCorrect' | 'notRequired' | 'notRequiredOrNotIssued' | 'interviewIsComplete' | 'penaltyOfPerjury' | 'penaltiesOfPerjury' | 'penaltiesOfPerjuryIAcknowledge' | 'retrievingInterviewStatus' | 'taxDocumentationSaved';
|
|
10
|
+
export type TextKey = 'subjectToBackupWithholding' | 'irsRequiresBackupWithholdingConsent' | 'iCertifyIsCorrectAndHaveCapacity' | 'iCertifyHaveCapacity' | 'iCertifyIsCorrect' | 'mailingAddressIsSame' | 'notRequired' | 'notRequiredOrNotIssued' | 'interviewIsComplete' | 'penaltyOfPerjury' | 'penaltiesOfPerjury' | 'penaltiesOfPerjuryIAcknowledge' | 'retrievingInterviewStatus' | 'taxDocumentationSaved';
|
|
11
11
|
type TreatyClaimPrompt = 'eligibleForTreatyClaim' | 'iCertifyBeneficialOwnerIsResident' | 'iCertifyBeneficialOwnerMeetsRequirements' | 'treatyCountry' | 'typeOfIncome' | 'withholdingRateArticleParagraph' | 'iMeetRequiredTermsOfTreaty' | 'limitationOnBenefitsProvisions' | 'limitationOnBenefitsSpecifyArticleParagraph';
|
|
12
12
|
type TreatyClaimSubPrompt = 'eligibleForTreatyClaim' | 'withholdingRateArticleParagraph' | 'iMeetRequiredTermsOfTreaty' | 'limitationOnBenefitsProvisions';
|
|
13
13
|
type TreatyClaimOption = 'eligibleForTreatyClaim_yes' | 'eligibleForTreatyClaim_no' | 'BUSINESS_PROFITS' | 'ROYALTIES_OTHER' | 'SERVICES' | 'GOVERNMENT' | 'TAX_EXEMPT_PENSION' | 'OTHER_TAX_EXEMPT_ORGANIZATION' | 'PUBLICLY_TRADED_CORPORATION' | 'SUBSIDIARY' | 'COMPANY_MEETS_EROSION_TEST' | 'COMPANY_MEETS_DERIVATIVE_TEST' | 'COMPANY_MEETS_BUSINESS_TEST' | 'FAVORABLE_DETERMINATION' | 'NO_LOB_ARTICLE' | 'OTHER_ARTICLE_PARAGRAPH';
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { TaxDocumentation } from '../../types';
|
|
2
|
+
|
|
1
3
|
export declare const expectRowError: (prompt: string) => void;
|
|
2
4
|
export declare const expectRowErrorText: (prompt: string, text: string) => void;
|
|
3
5
|
export declare const expectNoRowError: (prompt: string) => void;
|
|
@@ -19,7 +21,8 @@ export declare const clickLabel: (ariaLabel: string) => void;
|
|
|
19
21
|
export declare const clickShow: (text: string) => void;
|
|
20
22
|
export declare const changeInput: (ariaLabel: string, value: string) => void;
|
|
21
23
|
export declare const clickInput: (ariaLabel: string) => void;
|
|
22
|
-
export declare const clickEdit: (ariaLabel: string) => void;
|
|
24
|
+
export declare const clickEdit: (ariaLabel: string, fields?: TaxDocumentation) => void;
|
|
25
|
+
export declare const expectNoEditButton: (ariaLabel: string) => void;
|
|
23
26
|
export declare const clickBack: () => void;
|
|
24
27
|
export declare const clickNext: () => void;
|
|
25
28
|
export declare const clickSubmit: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type Locale = 'bg' | 'cs' | 'da' | 'de' | 'de-at' | 'el' | 'el-cy' | 'en' | 'en-gb' | 'en-nz' | 'en-us' | 'es' | 'es-mx' | 'et' | 'fi' | 'fr' | 'fr-ca' | 'fr-lu' | 'ga' | 'hr' | 'hu' | 'it' | 'lt' | 'lv' | 'mt' | 'nl' | 'nl-be' | 'no' | 'pl' | 'pt' | 'ro' | 'sk' | 'sl' | 'sv';
|
|
1
|
+
export type Locale = 'bg' | 'cs' | 'da' | 'de' | 'de-at' | 'el' | 'el-cy' | 'en' | 'en-gb' | 'en-nz' | 'en-us' | 'es' | 'es-mx' | 'et' | 'fi' | 'fr' | 'fr-ca' | 'fr-lu' | 'ga' | 'hr' | 'hu' | 'id' | 'it' | 'ja' | 'ko' | 'lt' | 'lv' | 'mt' | 'nl' | 'nl-be' | 'no' | 'pl' | 'pt' | 'pt-br' | 'ro' | 'ru' | 'sk' | 'sl' | 'sv' | 'th' | 'tr' | 'uk' | 'vi' | 'zh';
|
|
@@ -2,8 +2,9 @@ export * from './CamelCaseKeys';
|
|
|
2
2
|
export * from './InputStep';
|
|
3
3
|
export * from './Locale';
|
|
4
4
|
export * from './Progress';
|
|
5
|
-
export * from './QuestionnaireProp
|
|
6
|
-
export * from './
|
|
5
|
+
export * from './QuestionnaireProp';
|
|
6
|
+
export * from './StepId';
|
|
7
|
+
export * from './TaxDocumentation';
|
|
7
8
|
export * from './Utilities';
|
|
8
9
|
export * from './Yes';
|
|
9
10
|
export * from './YesNo';
|
|
@@ -12,9 +12,12 @@ export * from './getMonthlyDayCount';
|
|
|
12
12
|
export * from './getTreatyClaimDetails';
|
|
13
13
|
export * from './handleFetch';
|
|
14
14
|
export * from './isBlank';
|
|
15
|
+
export * from './isBoolean';
|
|
16
|
+
export * from './isString';
|
|
15
17
|
export * from './kebabCase';
|
|
16
18
|
export * from './mergeClientTaxDocumentationData';
|
|
17
|
-
export * from './promptKeyMapping/getPromptKeyMap
|
|
19
|
+
export * from './promptKeyMapping/getPromptKeyMap';
|
|
20
|
+
export * from './stepIds';
|
|
18
21
|
export * from './transformForClient';
|
|
19
22
|
export * from './transformInbound';
|
|
20
23
|
export * from './uppercase';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isBoolean: (val: unknown) => val is boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isString: (str: unknown) => str is string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const cleanTin: (tin: string | undefined, country: string | undefined) => string | undefined;
|
|
@@ -2,5 +2,5 @@ import { ClientAddress } from '@taxbit/utilities';
|
|
|
2
2
|
import { TaxDocumentation } from '../../types';
|
|
3
3
|
|
|
4
4
|
type Prefix = 'accountHolder' | 'accountHolderMailing' | 'regardedOwner' | 'regardedOwnerMailing' | 'controllingPerson1' | 'controllingPerson1Mailing' | 'controllingPerson2' | 'controllingPerson2Mailing' | 'controllingPerson3' | 'controllingPerson3Mailing' | 'controllingPerson4' | 'controllingPerson4Mailing' | 'controllingPerson5' | 'controllingPerson5Mailing';
|
|
5
|
-
export declare const transformInboundAddress: (prefix: Prefix, address: ClientAddress | undefined) => Partial<TaxDocumentation>;
|
|
5
|
+
export declare const transformInboundAddress: (prefix: Prefix, address: ClientAddress | undefined, isDifferent?: boolean) => Partial<TaxDocumentation>;
|
|
6
6
|
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ClientTaxDocumentation } from '@taxbit/utilities';
|
|
2
|
+
|
|
3
|
+
export declare const getEditFields: (data: ClientTaxDocumentation | undefined) => Partial<Record<"accountHolderAddressCity" | "accountHolderAddressCountry" | "accountHolderAddressState" | "accountHolderAddressStreet2" | "accountHolderAddressStreet" | "accountHolderAddressZip" | "accountHolderMailingAddressCity" | "accountHolderMailingAddressCountry" | "accountHolderMailingAddressState" | "accountHolderMailingAddressStreet2" | "accountHolderMailingAddressStreet" | "accountHolderMailingAddressZip" | "accountHolderTaxResidenceCountry1" | "accountHolderTaxResidenceCountry2" | "accountHolderTaxResidenceCountry3" | "accountHolderTaxResidenceCountry4" | "accountHolderTaxResidenceCountry5" | "accountHolderTaxResidenceTin1" | "accountHolderTaxResidenceTin2" | "accountHolderTaxResidenceTin3" | "accountHolderTaxResidenceTin4" | "accountHolderTaxResidenceTin5" | "accountHolderTaxResidenceTinIsNotRequired1" | "accountHolderTaxResidenceTinIsNotRequired2" | "accountHolderTaxResidenceTinIsNotRequired3" | "accountHolderTaxResidenceTinIsNotRequired4" | "accountHolderTaxResidenceTinIsNotRequired5" | "accountHolderTaxResidenceTinIsNotRequiredReason1" | "accountHolderTaxResidenceTinIsNotRequiredReason2" | "accountHolderTaxResidenceTinIsNotRequiredReason3" | "accountHolderTaxResidenceTinIsNotRequiredReason4" | "accountHolderTaxResidenceTinIsNotRequiredReason5" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther1" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther2" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther3" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther4" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther5" | "accountHolderShowTaxResidence1" | "accountHolderShowTaxResidence2" | "accountHolderShowTaxResidence3" | "accountHolderShowTaxResidence4" | "accountHolderShowTaxResidence5" | "controllingPerson1ShowFields" | "controllingPerson2ShowFields" | "controllingPerson3ShowFields" | "controllingPerson4ShowFields" | "controllingPerson5ShowFields" | "controllingPerson1Name" | "controllingPerson2Name" | "controllingPerson3Name" | "controllingPerson4Name" | "controllingPerson5Name" | "controllingPerson1Role" | "controllingPerson2Role" | "controllingPerson3Role" | "controllingPerson4Role" | "controllingPerson5Role" | "controllingPerson1RoleOther" | "controllingPerson2RoleOther" | "controllingPerson3RoleOther" | "controllingPerson4RoleOther" | "controllingPerson5RoleOther" | "controllingPerson1RoleOtherEquivalent" | "controllingPerson2RoleOtherEquivalent" | "controllingPerson3RoleOtherEquivalent" | "controllingPerson4RoleOtherEquivalent" | "controllingPerson5RoleOtherEquivalent" | "controllingPerson1OwnershipPercentage" | "controllingPerson2OwnershipPercentage" | "controllingPerson3OwnershipPercentage" | "controllingPerson4OwnershipPercentage" | "controllingPerson5OwnershipPercentage" | "controllingPerson1DateOfBirth" | "controllingPerson2DateOfBirth" | "controllingPerson3DateOfBirth" | "controllingPerson4DateOfBirth" | "controllingPerson5DateOfBirth" | "controllingPerson1CityOfBirth" | "controllingPerson2CityOfBirth" | "controllingPerson3CityOfBirth" | "controllingPerson4CityOfBirth" | "controllingPerson5CityOfBirth" | "controllingPerson1CountryOfBirth" | "controllingPerson2CountryOfBirth" | "controllingPerson3CountryOfBirth" | "controllingPerson4CountryOfBirth" | "controllingPerson5CountryOfBirth" | "controllingPerson1CountryOfCitizenship" | "controllingPerson2CountryOfCitizenship" | "controllingPerson3CountryOfCitizenship" | "controllingPerson4CountryOfCitizenship" | "controllingPerson5CountryOfCitizenship" | "controllingPerson1MailingAddressIsDifferent" | "controllingPerson2MailingAddressIsDifferent" | "controllingPerson3MailingAddressIsDifferent" | "controllingPerson4MailingAddressIsDifferent" | "controllingPerson5MailingAddressIsDifferent" | "controllingPerson1Address" | "controllingPerson2Address" | "controllingPerson3Address" | "controllingPerson4Address" | "controllingPerson5Address" | "controllingPerson1AddressCity" | "controllingPerson2AddressCity" | "controllingPerson3AddressCity" | "controllingPerson4AddressCity" | "controllingPerson5AddressCity" | "controllingPerson1AddressCountry" | "controllingPerson2AddressCountry" | "controllingPerson3AddressCountry" | "controllingPerson4AddressCountry" | "controllingPerson5AddressCountry" | "controllingPerson1AddressState" | "controllingPerson2AddressState" | "controllingPerson3AddressState" | "controllingPerson4AddressState" | "controllingPerson5AddressState" | "controllingPerson1AddressStreet2" | "controllingPerson2AddressStreet2" | "controllingPerson3AddressStreet2" | "controllingPerson4AddressStreet2" | "controllingPerson5AddressStreet2" | "controllingPerson1AddressStreet" | "controllingPerson2AddressStreet" | "controllingPerson3AddressStreet" | "controllingPerson4AddressStreet" | "controllingPerson5AddressStreet" | "controllingPerson1AddressZip" | "controllingPerson2AddressZip" | "controllingPerson3AddressZip" | "controllingPerson4AddressZip" | "controllingPerson5AddressZip" | "controllingPerson1MailingAddress" | "controllingPerson2MailingAddress" | "controllingPerson3MailingAddress" | "controllingPerson4MailingAddress" | "controllingPerson5MailingAddress" | "controllingPerson1MailingAddressCity" | "controllingPerson2MailingAddressCity" | "controllingPerson3MailingAddressCity" | "controllingPerson4MailingAddressCity" | "controllingPerson5MailingAddressCity" | "controllingPerson1MailingAddressCountry" | "controllingPerson2MailingAddressCountry" | "controllingPerson3MailingAddressCountry" | "controllingPerson4MailingAddressCountry" | "controllingPerson5MailingAddressCountry" | "controllingPerson1MailingAddressState" | "controllingPerson2MailingAddressState" | "controllingPerson3MailingAddressState" | "controllingPerson4MailingAddressState" | "controllingPerson5MailingAddressState" | "controllingPerson1MailingAddressStreet2" | "controllingPerson2MailingAddressStreet2" | "controllingPerson3MailingAddressStreet2" | "controllingPerson4MailingAddressStreet2" | "controllingPerson5MailingAddressStreet2" | "controllingPerson1MailingAddressStreet" | "controllingPerson2MailingAddressStreet" | "controllingPerson3MailingAddressStreet" | "controllingPerson4MailingAddressStreet" | "controllingPerson5MailingAddressStreet" | "controllingPerson1MailingAddressZip" | "controllingPerson2MailingAddressZip" | "controllingPerson3MailingAddressZip" | "controllingPerson4MailingAddressZip" | "controllingPerson5MailingAddressZip" | "controllingPerson1TaxResidences" | "controllingPerson2TaxResidences" | "controllingPerson3TaxResidences" | "controllingPerson4TaxResidences" | "controllingPerson5TaxResidences" | "controllingPerson1TaxResidenceCountry1" | "controllingPerson2TaxResidenceCountry1" | "controllingPerson3TaxResidenceCountry1" | "controllingPerson4TaxResidenceCountry1" | "controllingPerson5TaxResidenceCountry1" | "controllingPerson1TaxResidenceCountry2" | "controllingPerson2TaxResidenceCountry2" | "controllingPerson3TaxResidenceCountry2" | "controllingPerson4TaxResidenceCountry2" | "controllingPerson5TaxResidenceCountry2" | "controllingPerson1TaxResidenceCountry3" | "controllingPerson2TaxResidenceCountry3" | "controllingPerson3TaxResidenceCountry3" | "controllingPerson4TaxResidenceCountry3" | "controllingPerson5TaxResidenceCountry3" | "controllingPerson1TaxResidenceCountry4" | "controllingPerson2TaxResidenceCountry4" | "controllingPerson3TaxResidenceCountry4" | "controllingPerson4TaxResidenceCountry4" | "controllingPerson5TaxResidenceCountry4" | "controllingPerson1TaxResidenceCountry5" | "controllingPerson2TaxResidenceCountry5" | "controllingPerson3TaxResidenceCountry5" | "controllingPerson4TaxResidenceCountry5" | "controllingPerson5TaxResidenceCountry5" | "controllingPerson1TaxResidenceTin1" | "controllingPerson2TaxResidenceTin1" | "controllingPerson3TaxResidenceTin1" | "controllingPerson4TaxResidenceTin1" | "controllingPerson5TaxResidenceTin1" | "controllingPerson1TaxResidenceTin2" | "controllingPerson2TaxResidenceTin2" | "controllingPerson3TaxResidenceTin2" | "controllingPerson4TaxResidenceTin2" | "controllingPerson5TaxResidenceTin2" | "controllingPerson1TaxResidenceTin3" | "controllingPerson2TaxResidenceTin3" | "controllingPerson3TaxResidenceTin3" | "controllingPerson4TaxResidenceTin3" | "controllingPerson5TaxResidenceTin3" | "controllingPerson1TaxResidenceTin4" | "controllingPerson2TaxResidenceTin4" | "controllingPerson3TaxResidenceTin4" | "controllingPerson4TaxResidenceTin4" | "controllingPerson5TaxResidenceTin4" | "controllingPerson1TaxResidenceTin5" | "controllingPerson2TaxResidenceTin5" | "controllingPerson3TaxResidenceTin5" | "controllingPerson4TaxResidenceTin5" | "controllingPerson5TaxResidenceTin5" | "controllingPerson1TaxResidenceTinIsNotRequired1" | "controllingPerson2TaxResidenceTinIsNotRequired1" | "controllingPerson3TaxResidenceTinIsNotRequired1" | "controllingPerson4TaxResidenceTinIsNotRequired1" | "controllingPerson5TaxResidenceTinIsNotRequired1" | "controllingPerson1TaxResidenceTinIsNotRequired2" | "controllingPerson2TaxResidenceTinIsNotRequired2" | "controllingPerson3TaxResidenceTinIsNotRequired2" | "controllingPerson4TaxResidenceTinIsNotRequired2" | "controllingPerson5TaxResidenceTinIsNotRequired2" | "controllingPerson1TaxResidenceTinIsNotRequired3" | "controllingPerson2TaxResidenceTinIsNotRequired3" | "controllingPerson3TaxResidenceTinIsNotRequired3" | "controllingPerson4TaxResidenceTinIsNotRequired3" | "controllingPerson5TaxResidenceTinIsNotRequired3" | "controllingPerson1TaxResidenceTinIsNotRequired4" | "controllingPerson2TaxResidenceTinIsNotRequired4" | "controllingPerson3TaxResidenceTinIsNotRequired4" | "controllingPerson4TaxResidenceTinIsNotRequired4" | "controllingPerson5TaxResidenceTinIsNotRequired4" | "controllingPerson1TaxResidenceTinIsNotRequired5" | "controllingPerson2TaxResidenceTinIsNotRequired5" | "controllingPerson3TaxResidenceTinIsNotRequired5" | "controllingPerson4TaxResidenceTinIsNotRequired5" | "controllingPerson5TaxResidenceTinIsNotRequired5" | "controllingPerson1TaxResidenceTinIsNotRequiredReason1" | "controllingPerson2TaxResidenceTinIsNotRequiredReason1" | "controllingPerson3TaxResidenceTinIsNotRequiredReason1" | "controllingPerson4TaxResidenceTinIsNotRequiredReason1" | "controllingPerson5TaxResidenceTinIsNotRequiredReason1" | "controllingPerson1TaxResidenceTinIsNotRequiredReason2" | "controllingPerson2TaxResidenceTinIsNotRequiredReason2" | "controllingPerson3TaxResidenceTinIsNotRequiredReason2" | "controllingPerson4TaxResidenceTinIsNotRequiredReason2" | "controllingPerson5TaxResidenceTinIsNotRequiredReason2" | "controllingPerson1TaxResidenceTinIsNotRequiredReason3" | "controllingPerson2TaxResidenceTinIsNotRequiredReason3" | "controllingPerson3TaxResidenceTinIsNotRequiredReason3" | "controllingPerson4TaxResidenceTinIsNotRequiredReason3" | "controllingPerson5TaxResidenceTinIsNotRequiredReason3" | "controllingPerson1TaxResidenceTinIsNotRequiredReason4" | "controllingPerson2TaxResidenceTinIsNotRequiredReason4" | "controllingPerson3TaxResidenceTinIsNotRequiredReason4" | "controllingPerson4TaxResidenceTinIsNotRequiredReason4" | "controllingPerson5TaxResidenceTinIsNotRequiredReason4" | "controllingPerson1TaxResidenceTinIsNotRequiredReason5" | "controllingPerson2TaxResidenceTinIsNotRequiredReason5" | "controllingPerson3TaxResidenceTinIsNotRequiredReason5" | "controllingPerson4TaxResidenceTinIsNotRequiredReason5" | "controllingPerson5TaxResidenceTinIsNotRequiredReason5" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson1ShowTaxResidence1" | "controllingPerson2ShowTaxResidence1" | "controllingPerson3ShowTaxResidence1" | "controllingPerson4ShowTaxResidence1" | "controllingPerson5ShowTaxResidence1" | "controllingPerson1ShowTaxResidence2" | "controllingPerson2ShowTaxResidence2" | "controllingPerson3ShowTaxResidence2" | "controllingPerson4ShowTaxResidence2" | "controllingPerson5ShowTaxResidence2" | "controllingPerson1ShowTaxResidence3" | "controllingPerson2ShowTaxResidence3" | "controllingPerson3ShowTaxResidence3" | "controllingPerson4ShowTaxResidence3" | "controllingPerson5ShowTaxResidence3" | "controllingPerson1ShowTaxResidence4" | "controllingPerson2ShowTaxResidence4" | "controllingPerson3ShowTaxResidence4" | "controllingPerson4ShowTaxResidence4" | "controllingPerson5ShowTaxResidence4" | "controllingPerson1ShowTaxResidence5" | "controllingPerson2ShowTaxResidence5" | "controllingPerson3ShowTaxResidence5" | "controllingPerson4ShowTaxResidence5" | "controllingPerson5ShowTaxResidence5" | "regardedOwnerAddressCity" | "regardedOwnerAddressCountry" | "regardedOwnerAddressState" | "regardedOwnerAddressStreet2" | "regardedOwnerAddressStreet" | "regardedOwnerAddressZip" | "regardedOwnerMailingAddressCity" | "regardedOwnerMailingAddressCountry" | "regardedOwnerMailingAddressState" | "regardedOwnerMailingAddressStreet2" | "regardedOwnerMailingAddressStreet" | "regardedOwnerMailingAddressZip" | "accountHolderCityOfBirth" | "accountHolderCountryOfBirth" | "accountHolderOptionalCityOfBirth" | "accountHolderOptionalCountryOfBirth" | "accountHolderCountryOfCitizenship" | "accountHolderDateOfBirth" | "accountHolderDbaName" | "accountHolderMailingAddressIsDifferent" | "accountHolderName" | "accountHolderPhoneNumber" | "accountHolderPhoneNumberCode" | "accountHolderPhoneNumberNumber" | "accountHolderEmailAddress" | keyof import('../types').AccountHolderCertifications | "accountHolderForeignTin" | "accountHolderForeignTinIsNotRequired" | "accountHolderUsTin" | "accountHolderUsTinIsValid" | "accountHolderUsTinMatchVerification" | "accountHolderVatIdentificationNumber" | "accountHolderVatIsNotRequired" | "accountHolderVatCountry" | "accountHolderBusinessRegistrationNumber" | "accountHolderBusinessRegistrationCountry" | "accountHolderSelfCertificationAccountType" | "accountHolderActiveNonFinancialEntityType" | "accountHolderFinancialInstitutionType" | "accountHolderInvestmentEntityManaged" | "accountHolderEntityType" | "accountHolderSecuritiesMarket" | "accountHolderRelatedCorporation" | keyof import('../types').AccountHolderClassificationData | keyof import('../types').RegardedOwnerCertifications | "regardedOwnerCountryOfCitizenship" | "regardedOwnerDateOfBirth" | "regardedOwnerDbaName" | "regardedOwnerMailingAddressIsDifferent" | "regardedOwnerName" | keyof import('../types').RegardedOwnerClassificationData | keyof import('../types').RegardedOwnerTaxData | keyof import('../types').SummaryData | keyof import('../types').CalculatedData | keyof import('../types').AccountHolderTreatyClaimData | keyof import('../types').RegardedOwnerTreatyClaimData | keyof import('../types').InformationalText, boolean>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { QuestionnaireProp, TaxDocumentation } from '../types';
|
|
2
|
+
|
|
3
|
+
type Options = {
|
|
4
|
+
treatyClaims?: boolean;
|
|
5
|
+
realTimeTinValidation?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const getSkipFields: (initialData: TaxDocumentation, questionnaire: QuestionnaireProp, collectedData: TaxDocumentation, options: Options) => Partial<Record<"accountHolderAddressCity" | "accountHolderAddressCountry" | "accountHolderAddressState" | "accountHolderAddressStreet2" | "accountHolderAddressStreet" | "accountHolderAddressZip" | "accountHolderMailingAddressCity" | "accountHolderMailingAddressCountry" | "accountHolderMailingAddressState" | "accountHolderMailingAddressStreet2" | "accountHolderMailingAddressStreet" | "accountHolderMailingAddressZip" | "accountHolderTaxResidenceCountry1" | "accountHolderTaxResidenceCountry2" | "accountHolderTaxResidenceCountry3" | "accountHolderTaxResidenceCountry4" | "accountHolderTaxResidenceCountry5" | "accountHolderTaxResidenceTin1" | "accountHolderTaxResidenceTin2" | "accountHolderTaxResidenceTin3" | "accountHolderTaxResidenceTin4" | "accountHolderTaxResidenceTin5" | "accountHolderTaxResidenceTinIsNotRequired1" | "accountHolderTaxResidenceTinIsNotRequired2" | "accountHolderTaxResidenceTinIsNotRequired3" | "accountHolderTaxResidenceTinIsNotRequired4" | "accountHolderTaxResidenceTinIsNotRequired5" | "accountHolderTaxResidenceTinIsNotRequiredReason1" | "accountHolderTaxResidenceTinIsNotRequiredReason2" | "accountHolderTaxResidenceTinIsNotRequiredReason3" | "accountHolderTaxResidenceTinIsNotRequiredReason4" | "accountHolderTaxResidenceTinIsNotRequiredReason5" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther1" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther2" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther3" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther4" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther5" | "accountHolderShowTaxResidence1" | "accountHolderShowTaxResidence2" | "accountHolderShowTaxResidence3" | "accountHolderShowTaxResidence4" | "accountHolderShowTaxResidence5" | "controllingPerson1ShowFields" | "controllingPerson2ShowFields" | "controllingPerson3ShowFields" | "controllingPerson4ShowFields" | "controllingPerson5ShowFields" | "controllingPerson1Name" | "controllingPerson2Name" | "controllingPerson3Name" | "controllingPerson4Name" | "controllingPerson5Name" | "controllingPerson1Role" | "controllingPerson2Role" | "controllingPerson3Role" | "controllingPerson4Role" | "controllingPerson5Role" | "controllingPerson1RoleOther" | "controllingPerson2RoleOther" | "controllingPerson3RoleOther" | "controllingPerson4RoleOther" | "controllingPerson5RoleOther" | "controllingPerson1RoleOtherEquivalent" | "controllingPerson2RoleOtherEquivalent" | "controllingPerson3RoleOtherEquivalent" | "controllingPerson4RoleOtherEquivalent" | "controllingPerson5RoleOtherEquivalent" | "controllingPerson1OwnershipPercentage" | "controllingPerson2OwnershipPercentage" | "controllingPerson3OwnershipPercentage" | "controllingPerson4OwnershipPercentage" | "controllingPerson5OwnershipPercentage" | "controllingPerson1DateOfBirth" | "controllingPerson2DateOfBirth" | "controllingPerson3DateOfBirth" | "controllingPerson4DateOfBirth" | "controllingPerson5DateOfBirth" | "controllingPerson1CityOfBirth" | "controllingPerson2CityOfBirth" | "controllingPerson3CityOfBirth" | "controllingPerson4CityOfBirth" | "controllingPerson5CityOfBirth" | "controllingPerson1CountryOfBirth" | "controllingPerson2CountryOfBirth" | "controllingPerson3CountryOfBirth" | "controllingPerson4CountryOfBirth" | "controllingPerson5CountryOfBirth" | "controllingPerson1CountryOfCitizenship" | "controllingPerson2CountryOfCitizenship" | "controllingPerson3CountryOfCitizenship" | "controllingPerson4CountryOfCitizenship" | "controllingPerson5CountryOfCitizenship" | "controllingPerson1MailingAddressIsDifferent" | "controllingPerson2MailingAddressIsDifferent" | "controllingPerson3MailingAddressIsDifferent" | "controllingPerson4MailingAddressIsDifferent" | "controllingPerson5MailingAddressIsDifferent" | "controllingPerson1Address" | "controllingPerson2Address" | "controllingPerson3Address" | "controllingPerson4Address" | "controllingPerson5Address" | "controllingPerson1AddressCity" | "controllingPerson2AddressCity" | "controllingPerson3AddressCity" | "controllingPerson4AddressCity" | "controllingPerson5AddressCity" | "controllingPerson1AddressCountry" | "controllingPerson2AddressCountry" | "controllingPerson3AddressCountry" | "controllingPerson4AddressCountry" | "controllingPerson5AddressCountry" | "controllingPerson1AddressState" | "controllingPerson2AddressState" | "controllingPerson3AddressState" | "controllingPerson4AddressState" | "controllingPerson5AddressState" | "controllingPerson1AddressStreet2" | "controllingPerson2AddressStreet2" | "controllingPerson3AddressStreet2" | "controllingPerson4AddressStreet2" | "controllingPerson5AddressStreet2" | "controllingPerson1AddressStreet" | "controllingPerson2AddressStreet" | "controllingPerson3AddressStreet" | "controllingPerson4AddressStreet" | "controllingPerson5AddressStreet" | "controllingPerson1AddressZip" | "controllingPerson2AddressZip" | "controllingPerson3AddressZip" | "controllingPerson4AddressZip" | "controllingPerson5AddressZip" | "controllingPerson1MailingAddress" | "controllingPerson2MailingAddress" | "controllingPerson3MailingAddress" | "controllingPerson4MailingAddress" | "controllingPerson5MailingAddress" | "controllingPerson1MailingAddressCity" | "controllingPerson2MailingAddressCity" | "controllingPerson3MailingAddressCity" | "controllingPerson4MailingAddressCity" | "controllingPerson5MailingAddressCity" | "controllingPerson1MailingAddressCountry" | "controllingPerson2MailingAddressCountry" | "controllingPerson3MailingAddressCountry" | "controllingPerson4MailingAddressCountry" | "controllingPerson5MailingAddressCountry" | "controllingPerson1MailingAddressState" | "controllingPerson2MailingAddressState" | "controllingPerson3MailingAddressState" | "controllingPerson4MailingAddressState" | "controllingPerson5MailingAddressState" | "controllingPerson1MailingAddressStreet2" | "controllingPerson2MailingAddressStreet2" | "controllingPerson3MailingAddressStreet2" | "controllingPerson4MailingAddressStreet2" | "controllingPerson5MailingAddressStreet2" | "controllingPerson1MailingAddressStreet" | "controllingPerson2MailingAddressStreet" | "controllingPerson3MailingAddressStreet" | "controllingPerson4MailingAddressStreet" | "controllingPerson5MailingAddressStreet" | "controllingPerson1MailingAddressZip" | "controllingPerson2MailingAddressZip" | "controllingPerson3MailingAddressZip" | "controllingPerson4MailingAddressZip" | "controllingPerson5MailingAddressZip" | "controllingPerson1TaxResidences" | "controllingPerson2TaxResidences" | "controllingPerson3TaxResidences" | "controllingPerson4TaxResidences" | "controllingPerson5TaxResidences" | "controllingPerson1TaxResidenceCountry1" | "controllingPerson2TaxResidenceCountry1" | "controllingPerson3TaxResidenceCountry1" | "controllingPerson4TaxResidenceCountry1" | "controllingPerson5TaxResidenceCountry1" | "controllingPerson1TaxResidenceCountry2" | "controllingPerson2TaxResidenceCountry2" | "controllingPerson3TaxResidenceCountry2" | "controllingPerson4TaxResidenceCountry2" | "controllingPerson5TaxResidenceCountry2" | "controllingPerson1TaxResidenceCountry3" | "controllingPerson2TaxResidenceCountry3" | "controllingPerson3TaxResidenceCountry3" | "controllingPerson4TaxResidenceCountry3" | "controllingPerson5TaxResidenceCountry3" | "controllingPerson1TaxResidenceCountry4" | "controllingPerson2TaxResidenceCountry4" | "controllingPerson3TaxResidenceCountry4" | "controllingPerson4TaxResidenceCountry4" | "controllingPerson5TaxResidenceCountry4" | "controllingPerson1TaxResidenceCountry5" | "controllingPerson2TaxResidenceCountry5" | "controllingPerson3TaxResidenceCountry5" | "controllingPerson4TaxResidenceCountry5" | "controllingPerson5TaxResidenceCountry5" | "controllingPerson1TaxResidenceTin1" | "controllingPerson2TaxResidenceTin1" | "controllingPerson3TaxResidenceTin1" | "controllingPerson4TaxResidenceTin1" | "controllingPerson5TaxResidenceTin1" | "controllingPerson1TaxResidenceTin2" | "controllingPerson2TaxResidenceTin2" | "controllingPerson3TaxResidenceTin2" | "controllingPerson4TaxResidenceTin2" | "controllingPerson5TaxResidenceTin2" | "controllingPerson1TaxResidenceTin3" | "controllingPerson2TaxResidenceTin3" | "controllingPerson3TaxResidenceTin3" | "controllingPerson4TaxResidenceTin3" | "controllingPerson5TaxResidenceTin3" | "controllingPerson1TaxResidenceTin4" | "controllingPerson2TaxResidenceTin4" | "controllingPerson3TaxResidenceTin4" | "controllingPerson4TaxResidenceTin4" | "controllingPerson5TaxResidenceTin4" | "controllingPerson1TaxResidenceTin5" | "controllingPerson2TaxResidenceTin5" | "controllingPerson3TaxResidenceTin5" | "controllingPerson4TaxResidenceTin5" | "controllingPerson5TaxResidenceTin5" | "controllingPerson1TaxResidenceTinIsNotRequired1" | "controllingPerson2TaxResidenceTinIsNotRequired1" | "controllingPerson3TaxResidenceTinIsNotRequired1" | "controllingPerson4TaxResidenceTinIsNotRequired1" | "controllingPerson5TaxResidenceTinIsNotRequired1" | "controllingPerson1TaxResidenceTinIsNotRequired2" | "controllingPerson2TaxResidenceTinIsNotRequired2" | "controllingPerson3TaxResidenceTinIsNotRequired2" | "controllingPerson4TaxResidenceTinIsNotRequired2" | "controllingPerson5TaxResidenceTinIsNotRequired2" | "controllingPerson1TaxResidenceTinIsNotRequired3" | "controllingPerson2TaxResidenceTinIsNotRequired3" | "controllingPerson3TaxResidenceTinIsNotRequired3" | "controllingPerson4TaxResidenceTinIsNotRequired3" | "controllingPerson5TaxResidenceTinIsNotRequired3" | "controllingPerson1TaxResidenceTinIsNotRequired4" | "controllingPerson2TaxResidenceTinIsNotRequired4" | "controllingPerson3TaxResidenceTinIsNotRequired4" | "controllingPerson4TaxResidenceTinIsNotRequired4" | "controllingPerson5TaxResidenceTinIsNotRequired4" | "controllingPerson1TaxResidenceTinIsNotRequired5" | "controllingPerson2TaxResidenceTinIsNotRequired5" | "controllingPerson3TaxResidenceTinIsNotRequired5" | "controllingPerson4TaxResidenceTinIsNotRequired5" | "controllingPerson5TaxResidenceTinIsNotRequired5" | "controllingPerson1TaxResidenceTinIsNotRequiredReason1" | "controllingPerson2TaxResidenceTinIsNotRequiredReason1" | "controllingPerson3TaxResidenceTinIsNotRequiredReason1" | "controllingPerson4TaxResidenceTinIsNotRequiredReason1" | "controllingPerson5TaxResidenceTinIsNotRequiredReason1" | "controllingPerson1TaxResidenceTinIsNotRequiredReason2" | "controllingPerson2TaxResidenceTinIsNotRequiredReason2" | "controllingPerson3TaxResidenceTinIsNotRequiredReason2" | "controllingPerson4TaxResidenceTinIsNotRequiredReason2" | "controllingPerson5TaxResidenceTinIsNotRequiredReason2" | "controllingPerson1TaxResidenceTinIsNotRequiredReason3" | "controllingPerson2TaxResidenceTinIsNotRequiredReason3" | "controllingPerson3TaxResidenceTinIsNotRequiredReason3" | "controllingPerson4TaxResidenceTinIsNotRequiredReason3" | "controllingPerson5TaxResidenceTinIsNotRequiredReason3" | "controllingPerson1TaxResidenceTinIsNotRequiredReason4" | "controllingPerson2TaxResidenceTinIsNotRequiredReason4" | "controllingPerson3TaxResidenceTinIsNotRequiredReason4" | "controllingPerson4TaxResidenceTinIsNotRequiredReason4" | "controllingPerson5TaxResidenceTinIsNotRequiredReason4" | "controllingPerson1TaxResidenceTinIsNotRequiredReason5" | "controllingPerson2TaxResidenceTinIsNotRequiredReason5" | "controllingPerson3TaxResidenceTinIsNotRequiredReason5" | "controllingPerson4TaxResidenceTinIsNotRequiredReason5" | "controllingPerson5TaxResidenceTinIsNotRequiredReason5" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson1ShowTaxResidence1" | "controllingPerson2ShowTaxResidence1" | "controllingPerson3ShowTaxResidence1" | "controllingPerson4ShowTaxResidence1" | "controllingPerson5ShowTaxResidence1" | "controllingPerson1ShowTaxResidence2" | "controllingPerson2ShowTaxResidence2" | "controllingPerson3ShowTaxResidence2" | "controllingPerson4ShowTaxResidence2" | "controllingPerson5ShowTaxResidence2" | "controllingPerson1ShowTaxResidence3" | "controllingPerson2ShowTaxResidence3" | "controllingPerson3ShowTaxResidence3" | "controllingPerson4ShowTaxResidence3" | "controllingPerson5ShowTaxResidence3" | "controllingPerson1ShowTaxResidence4" | "controllingPerson2ShowTaxResidence4" | "controllingPerson3ShowTaxResidence4" | "controllingPerson4ShowTaxResidence4" | "controllingPerson5ShowTaxResidence4" | "controllingPerson1ShowTaxResidence5" | "controllingPerson2ShowTaxResidence5" | "controllingPerson3ShowTaxResidence5" | "controllingPerson4ShowTaxResidence5" | "controllingPerson5ShowTaxResidence5" | "regardedOwnerAddressCity" | "regardedOwnerAddressCountry" | "regardedOwnerAddressState" | "regardedOwnerAddressStreet2" | "regardedOwnerAddressStreet" | "regardedOwnerAddressZip" | "regardedOwnerMailingAddressCity" | "regardedOwnerMailingAddressCountry" | "regardedOwnerMailingAddressState" | "regardedOwnerMailingAddressStreet2" | "regardedOwnerMailingAddressStreet" | "regardedOwnerMailingAddressZip" | "accountHolderCityOfBirth" | "accountHolderCountryOfBirth" | "accountHolderOptionalCityOfBirth" | "accountHolderOptionalCountryOfBirth" | "accountHolderCountryOfCitizenship" | "accountHolderDateOfBirth" | "accountHolderDbaName" | "accountHolderMailingAddressIsDifferent" | "accountHolderName" | "accountHolderPhoneNumber" | "accountHolderPhoneNumberCode" | "accountHolderPhoneNumberNumber" | "accountHolderEmailAddress" | keyof import('../types').AccountHolderCertifications | "accountHolderForeignTin" | "accountHolderForeignTinIsNotRequired" | "accountHolderUsTin" | "accountHolderUsTinIsValid" | "accountHolderUsTinMatchVerification" | "accountHolderVatIdentificationNumber" | "accountHolderVatIsNotRequired" | "accountHolderVatCountry" | "accountHolderBusinessRegistrationNumber" | "accountHolderBusinessRegistrationCountry" | "accountHolderSelfCertificationAccountType" | "accountHolderActiveNonFinancialEntityType" | "accountHolderFinancialInstitutionType" | "accountHolderInvestmentEntityManaged" | "accountHolderEntityType" | "accountHolderSecuritiesMarket" | "accountHolderRelatedCorporation" | keyof import('../types').AccountHolderClassificationData | keyof import('../types').RegardedOwnerCertifications | "regardedOwnerCountryOfCitizenship" | "regardedOwnerDateOfBirth" | "regardedOwnerDbaName" | "regardedOwnerMailingAddressIsDifferent" | "regardedOwnerName" | keyof import('../types').RegardedOwnerClassificationData | keyof import('../types').RegardedOwnerTaxData | keyof import('../types').SummaryData | keyof import('../types').CalculatedData | keyof import('../types').AccountHolderTreatyClaimData | keyof import('../types').RegardedOwnerTreatyClaimData | keyof import('../types').InformationalText, boolean>>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { QuestionnaireProp, StepId, TaxDocumentation } from '../types';
|
|
2
|
+
|
|
3
|
+
type Options = {
|
|
4
|
+
treatyClaims?: boolean;
|
|
5
|
+
realTimeTinValidation?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const getSkipSteps: (initialData: TaxDocumentation | undefined, questionnaire: QuestionnaireProp, collectedData: TaxDocumentation, options: Options) => Partial<Record<StepId, boolean>>;
|
|
8
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { UsTinValidationAttempt } from '../hooks';
|
|
2
|
-
import { QuestionnaireProp, TaxDocumentation } from '../types';
|
|
2
|
+
import { QuestionnaireProp, StepId, TaxDocumentation } from '../types';
|
|
3
3
|
|
|
4
|
-
export declare const getSteps: (data: TaxDocumentation, treatyClaims: boolean | undefined, questionnaire: QuestionnaireProp, usTinValidations: UsTinValidationAttempt[]) => ("AccountHolderCertifications" | "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderAdditionalInfo" | "AccountHolderTreatyClaims" | "AccountHolderUsTinValidation" | "ControllingPersonDetails1" | "ControllingPersonDetails2" | "ControllingPersonDetails3" | "ControllingPersonDetails4" | "ControllingPersonDetails5" | "Exemptions" | "RegardedOwnerCertifications" | "RegardedOwnerContact" | "RegardedOwnerTax" | "RegardedOwnerTreatyClaims" | "RegardedOwnerUsTinValidation" | "Summary")[];
|
|
4
|
+
export declare const getSteps: (data: TaxDocumentation, treatyClaims: boolean | undefined, questionnaire: QuestionnaireProp, usTinValidations: UsTinValidationAttempt[], skipSteps: Partial<Record<StepId, boolean>>) => ("AccountHolderCertifications" | "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderAdditionalInfo" | "AccountHolderTreatyClaims" | "AccountHolderUsTinValidation" | "ControllingPersonDetails1" | "ControllingPersonDetails2" | "ControllingPersonDetails3" | "ControllingPersonDetails4" | "ControllingPersonDetails5" | "Exemptions" | "RegardedOwnerCertifications" | "RegardedOwnerContact" | "RegardedOwnerTax" | "RegardedOwnerTreatyClaims" | "RegardedOwnerUsTinValidation" | "Summary")[];
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
export * from './getEditFields';
|
|
2
|
+
export * from './getSkipFields';
|
|
3
|
+
export * from './getSkipSteps';
|
|
1
4
|
export * from './getSteps';
|
|
2
5
|
export * from './invalidFields/getInvalidFields';
|
|
3
6
|
export * from './invalidFields/invalidFieldRules';
|
|
4
7
|
export * from './requiredFields/getRequiredFields';
|
|
5
|
-
export * from './statusFields/getStatusFields
|
|
8
|
+
export * from './statusFields/getStatusFields';
|
|
6
9
|
export * from './supportedFields/getSupportedFields';
|
|
7
10
|
export * from './visibleFields/getVisibleFields';
|
|
@@ -12,6 +12,7 @@ type BaseProps = {
|
|
|
12
12
|
onSubmit?: TaxbitQuestionnairePersistProps['onSubmit'];
|
|
13
13
|
dateFormat?: TaxbitQuestionnairePersistProps['dateFormat'];
|
|
14
14
|
realTimeTinValidation?: TaxbitQuestionnairePersistProps['realTimeTinValidation'];
|
|
15
|
+
adaptiveMode?: TaxbitQuestionnairePersistProps['adaptiveMode'];
|
|
15
16
|
};
|
|
16
17
|
type DemoProps = {
|
|
17
18
|
demoMode: true;
|
|
@@ -33,8 +34,8 @@ type AuthenticatedBase = {
|
|
|
33
34
|
onSuccess?: TaxbitQuestionnairePersistProps['onSuccess'];
|
|
34
35
|
};
|
|
35
36
|
type RegionMode = {
|
|
36
|
-
region?: TaxbitQuestionnairePersistProps['region'];
|
|
37
37
|
proxyDomain?: never;
|
|
38
|
+
region?: TaxbitQuestionnairePersistProps['region'];
|
|
38
39
|
staging?: TaxbitQuestionnairePersistProps['staging'];
|
|
39
40
|
};
|
|
40
41
|
type ProxyMode = {
|
|
@@ -43,5 +44,5 @@ type ProxyMode = {
|
|
|
43
44
|
staging?: never;
|
|
44
45
|
};
|
|
45
46
|
export type TaxbitQuestionnaireProps = (BaseProps & DemoProps) | (BaseProps & AuthenticatedBase & RegionMode) | (BaseProps & AuthenticatedBase & ProxyMode);
|
|
46
|
-
export declare const TaxbitQuestionnaire: ({ bearerToken, data, demoMode, language, onError, loadingComponent, onProgress, onSettled, onSubmit, onSuccess, questionnaire, staging, treatyClaims, dateFormat, realTimeTinValidation, region, proxyDomain, }: TaxbitQuestionnaireProps) => React.JSX.Element;
|
|
47
|
+
export declare const TaxbitQuestionnaire: ({ bearerToken, data, demoMode, language, onError, loadingComponent, onProgress, onSettled, onSubmit, onSuccess, questionnaire, staging, treatyClaims, dateFormat, realTimeTinValidation, region, proxyDomain, adaptiveMode, }: TaxbitQuestionnaireProps) => React.JSX.Element;
|
|
47
48
|
export {};
|
|
@@ -6,4 +6,4 @@ export type TaxbitQuestionnairePersistProps = UseTaxDocumentationProps & UseTaxb
|
|
|
6
6
|
loadingComponent?: React.ReactNode;
|
|
7
7
|
treatyClaims?: boolean;
|
|
8
8
|
};
|
|
9
|
-
export declare const TaxbitQuestionnairePersist: ({ staging, data, bearerToken, language, questionnaire, loadingComponent, onProgress, onSubmit, onSettled, onSuccess, onError, treatyClaims, dateFormat, realTimeTinValidation, region, proxyDomain, }: TaxbitQuestionnairePersistProps) => string | number | bigint | true | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element;
|
|
9
|
+
export declare const TaxbitQuestionnairePersist: ({ staging, data, bearerToken, language, questionnaire, loadingComponent, onProgress, onSubmit, onSettled, onSuccess, onError, treatyClaims, dateFormat, realTimeTinValidation, region, proxyDomain, adaptiveMode, }: TaxbitQuestionnairePersistProps) => string | number | bigint | true | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element;
|
|
@@ -13,6 +13,7 @@ export type UseTaxbitPersistProps = {
|
|
|
13
13
|
onSubmit?: (data: ClientTaxDocumentation) => void | Promise<void>;
|
|
14
14
|
region?: 'US' | 'EU' | string;
|
|
15
15
|
proxyDomain?: string;
|
|
16
|
+
adaptiveMode?: 'full' | 'skipEdit' | 'skipLock';
|
|
16
17
|
};
|
|
17
18
|
export declare const useTaxbitPersist: ({ bearerToken, data, onError, onSettled, onSubmit, onSuccess, questionnaire, staging, region, proxyDomain, }: UseTaxbitPersistProps) => {
|
|
18
19
|
handleOnSubmit: (data: SignedClientTaxDocumentation) => Promise<void>;
|
|
@@ -2,5 +2,5 @@ import { AccountOwnerType } from '@taxbit/utilities';
|
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
|
|
4
4
|
export declare const AccountHolderForeignClassificationSummary: ({ accountOwnerType, }: {
|
|
5
|
-
accountOwnerType
|
|
5
|
+
accountOwnerType?: AccountOwnerType;
|
|
6
6
|
}) => React.JSX.Element | null;
|