@taxbit/react-sdk 0.0.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 +20 -0
- package/dist/App.d.ts +5 -0
- package/dist/Component.d.ts +2 -0
- package/dist/components/Address/Address.d.ts +17 -0
- package/dist/components/Address/index.d.ts +1 -0
- package/dist/components/ErrorMessage/ErrorMessage.d.ts +6 -0
- package/dist/components/ErrorMessage/index.d.ts +1 -0
- package/dist/components/InputStatus/InputStatus.d.ts +5 -0
- package/dist/components/InputStatus/index.d.ts +1 -0
- package/dist/components/Page/Page.d.ts +6 -0
- package/dist/components/Page/index.d.ts +1 -0
- package/dist/components/Row/Row.d.ts +12 -0
- package/dist/components/Row/index.d.ts +1 -0
- package/dist/components/Section/Section.d.ts +8 -0
- package/dist/components/Section/index.d.ts +1 -0
- package/dist/components/Title/Title.d.ts +5 -0
- package/dist/components/Title/index.d.ts +1 -0
- package/dist/components/index.d.ts +7 -0
- package/dist/contexts/FormUI/FormUIProvider.d.ts +6 -0
- package/dist/contexts/FormUI/index.d.ts +3 -0
- package/dist/contexts/FormUI/useFormUI.d.ts +137 -0
- package/dist/contexts/FormUI/useFormUIContext.d.ts +650 -0
- package/dist/contexts/TaxDocumentation/TaxDocumentationPathProvider.d.ts +13 -0
- package/dist/contexts/TaxDocumentation/index.d.ts +2 -0
- package/dist/contexts/TaxDocumentation/useTaxDocumentation.d.ts +33 -0
- package/dist/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +44 -0
- package/dist/contexts/createCtx.d.ts +2 -0
- package/dist/contexts/index.d.ts +2 -0
- package/dist/entry/index.d.ts +2 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useTaxBit/index.d.ts +1 -0
- package/dist/hooks/useTaxBit/useTaxBit.d.ts +5 -0
- package/dist/i18n/i18n.d.ts +7 -0
- package/dist/i18n/index.d.ts +2 -0
- package/dist/i18n/locales/de-de.d.ts +2 -0
- package/dist/i18n/locales/en-gb.d.ts +2 -0
- package/dist/i18n/locales/en-us.d.ts +2 -0
- package/dist/i18n/locales/es-es.d.ts +2 -0
- package/dist/i18n/locales/fr-fr.d.ts +2 -0
- package/dist/i18n/locales/index.d.ts +9 -0
- package/dist/i18n/locales/it-it.d.ts +2 -0
- package/dist/i18n/locales/nl-nl.d.ts +2 -0
- package/dist/i18n/locales/no-no.d.ts +2 -0
- package/dist/i18n/locales/sv-se.d.ts +2 -0
- package/dist/i18n/types/LocalizationKey.d.ts +8 -0
- package/dist/i18n/types/PropertyFile.d.ts +39 -0
- package/dist/i18n/types/index.d.ts +1 -0
- package/dist/i18n/utils/getText.d.ts +16 -0
- package/dist/i18n/utils/index.d.ts +1 -0
- package/dist/index.css +12 -0
- package/dist/lookups/caProvinceOptions.d.ts +4 -0
- package/dist/lookups/countryOptions.d.ts +7 -0
- package/dist/lookups/fatcaCodeOptions.d.ts +4 -0
- package/dist/lookups/foreignAccountHolderAccountTypeOptions.d.ts +13 -0
- package/dist/lookups/foreignOtherAccountTypeOptions.d.ts +15 -0
- package/dist/lookups/foreignRegardedOwnerAccountTypeOptions.d.ts +11 -0
- package/dist/lookups/foreignTrustAccountTypeOptions.d.ts +7 -0
- package/dist/lookups/index.d.ts +12 -0
- package/dist/lookups/payeeCodeOptions.d.ts +4 -0
- package/dist/lookups/usAccountHolderAccountTypeOptions.d.ts +21 -0
- package/dist/lookups/usLlcAccountTypeOptions.d.ts +7 -0
- package/dist/lookups/usRegardedOwnerAccountTypeOptions.d.ts +15 -0
- package/dist/lookups/usStateOptions.d.ts +4 -0
- package/dist/main.d.ts +1 -0
- package/dist/minimal.css +33 -0
- package/dist/paths/AddressInput/AddressInput.d.ts +8 -0
- package/dist/paths/AddressInput/index.d.ts +1 -0
- package/dist/paths/FinancialAccountInput/FinancialAccountInput.d.ts +6 -0
- package/dist/paths/FinancialAccountInput/index.d.ts +1 -0
- package/dist/paths/PlaceOfBirthInput/PlaceOfBirthInput.d.ts +2 -0
- package/dist/paths/PlaceOfBirthInput/index.d.ts +1 -0
- package/dist/paths/ResidenceInput/ResidenceInput.d.ts +10 -0
- package/dist/paths/ResidenceInput/index.d.ts +1 -0
- package/dist/paths/RowInput/CheckBoxRow/CheckBoxRow.d.ts +8 -0
- package/dist/paths/RowInput/CheckBoxRow/index.d.ts +1 -0
- package/dist/paths/RowInput/ErrorRow/ErrorRow.d.ts +2 -0
- package/dist/paths/RowInput/ErrorRow/index.d.ts +1 -0
- package/dist/paths/RowInput/RadioButtonRow/RadioButtonRow.d.ts +8 -0
- package/dist/paths/RowInput/RadioButtonRow/index.d.ts +1 -0
- package/dist/paths/RowInput/SelectRow/SelectRow.d.ts +9 -0
- package/dist/paths/RowInput/SelectRow/index.d.ts +1 -0
- package/dist/paths/RowInput/TextInputRow/TextInputRow.d.ts +10 -0
- package/dist/paths/RowInput/TextInputRow/index.d.ts +1 -0
- package/dist/paths/RowInput/ToggleButtonRow/ToggleButtonRow.d.ts +3 -0
- package/dist/paths/RowInput/ToggleButtonRow/index.d.ts +1 -0
- package/dist/paths/RowInput/VisibleRow/VisibleRow.d.ts +9 -0
- package/dist/paths/RowInput/VisibleRow/index.d.ts +1 -0
- package/dist/paths/RowInput/index.d.ts +6 -0
- package/dist/paths/TaxDocumentationPath/AccountHolderClassification/AccountHolderClassification.d.ts +2 -0
- package/dist/paths/TaxDocumentationPath/AccountHolderClassification/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/AccountHolderContact/AccountHolderContact.d.ts +2 -0
- package/dist/paths/TaxDocumentationPath/AccountHolderContact/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/AccountHolderTax/AccountHolderTax.d.ts +2 -0
- package/dist/paths/TaxDocumentationPath/AccountHolderTax/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/AccountHolderTaxClarification/AccountHolderTaxClarification.d.ts +2 -0
- package/dist/paths/TaxDocumentationPath/AccountHolderTaxClarification/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/Exemptions/Exemptions.d.ts +2 -0
- package/dist/paths/TaxDocumentationPath/Exemptions/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/RegardedOwnerClassification/RegardedOwnerClassification.d.ts +2 -0
- package/dist/paths/TaxDocumentationPath/RegardedOwnerClassification/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/RegardedOwnerContact/RegardedOwnerContact.d.ts +2 -0
- package/dist/paths/TaxDocumentationPath/RegardedOwnerContact/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/RegardedOwnerTax/RegardedOwnerTax.d.ts +2 -0
- package/dist/paths/TaxDocumentationPath/RegardedOwnerTax/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/Summary/Recap.d.ts +2 -0
- package/dist/paths/TaxDocumentationPath/Summary/Summary.d.ts +3 -0
- package/dist/paths/TaxDocumentationPath/Summary/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/TaxDocumentationDAC7Path.d.ts +10 -0
- package/dist/paths/TaxDocumentationPath/TaxDocumentationPath.d.ts +12 -0
- package/dist/paths/TaxDocumentationPath/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/steps.d.ts +8 -0
- package/dist/paths/VatInput/VatInput.d.ts +8 -0
- package/dist/paths/VatInput/index.d.ts +1 -0
- package/dist/paths/index.d.ts +1 -0
- package/dist/services/api.d.ts +5 -0
- package/dist/taxbit-basic-horizontal.css +190 -0
- package/dist/taxbit-basic.css +189 -0
- package/dist/taxbit-collect-components.es.d.ts +1 -0
- package/dist/taxbit-collect-components.es.js +9342 -0
- package/dist/taxbit-collect-components.umd.js +43 -0
- package/dist/types/AccountType.d.ts +6 -0
- package/dist/types/CaProvinceCode.d.ts +1 -0
- package/dist/types/CountryCode.d.ts +3 -0
- package/dist/types/Form.d.ts +1 -0
- package/dist/types/TaxDocumentation.d.ts +118 -0
- package/dist/types/UsStateCode.d.ts +1 -0
- package/dist/types/Utilities.d.ts +4 -0
- package/dist/types/Yes.d.ts +1 -0
- package/dist/types/YesNo.d.ts +6 -0
- package/dist/types/external/ComprehensiveTaxDocumentation.d.ts +76 -0
- package/dist/types/external/index.d.ts +1 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/ui/Actions/Actions.d.ts +10 -0
- package/dist/ui/Actions/index.d.ts +1 -0
- package/dist/ui/CheckBox/CheckBox.d.ts +8 -0
- package/dist/ui/CheckBox/index.d.ts +1 -0
- package/dist/ui/RadioButtons/RadioButtons.d.ts +13 -0
- package/dist/ui/RadioButtons/index.d.ts +1 -0
- package/dist/ui/Select/Select.d.ts +27 -0
- package/dist/ui/Select/index.d.ts +1 -0
- package/dist/ui/TextInput/TextInput.d.ts +9 -0
- package/dist/ui/TextInput/index.d.ts +1 -0
- package/dist/ui/ToggleButton/ToggleButton.d.ts +6 -0
- package/dist/ui/ToggleButton/index.d.ts +1 -0
- package/dist/ui/index.d.ts +6 -0
- package/dist/utils/cx.d.ts +1 -0
- package/dist/utils/date.d.ts +3 -0
- package/dist/utils/getFieldsState.d.ts +10 -0
- package/dist/utils/getHintKeyMap.d.ts +103 -0
- package/dist/utils/getPromptKeyMap.d.ts +103 -0
- package/dist/utils/getSupportedFields.d.ts +6 -0
- package/dist/utils/getVerboseDate.d.ts +1 -0
- package/dist/utils/getVisibleQuestions.d.ts +6 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/isBlank.d.ts +2 -0
- package/dist/utils/transformInbound.d.ts +2 -0
- package/dist/utils/transformOutbound.d.ts +3 -0
- package/dist/validations/__tests__/validations.test.d.ts +1 -0
- package/dist/validations/index.d.ts +1 -0
- package/dist/validations/validations.d.ts +7 -0
- package/dist/widgets/TaxDocumentationWidget/TaxDocumentationDAC7Widget.d.ts +12 -0
- package/dist/widgets/TaxDocumentationWidget/TaxDocumentationWidget.d.ts +12 -0
- package/dist/widgets/TaxDocumentationWidget/index.d.ts +2 -0
- package/dist/widgets/index.d.ts +1 -0
- package/package.json +54 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { usAccountHolderAccountTypeOptions, usLlcAccountTypeOptions, foreignAccountHolderAccountTypeOptions, foreignTrustAccountTypeOptions, foreignOtherAccountTypeOptions } from "lookups";
|
|
2
|
+
export type UsAccountType = (typeof usAccountHolderAccountTypeOptions)[number]["value"];
|
|
3
|
+
export type UsLlcAccountType = (typeof usLlcAccountTypeOptions)[number]["value"];
|
|
4
|
+
export type ForeignAccountType = (typeof foreignAccountHolderAccountTypeOptions)[number]["value"];
|
|
5
|
+
export type ForeignTrustAccountType = (typeof foreignTrustAccountTypeOptions)[number]["value"];
|
|
6
|
+
export type ForeignOtherAccountType = (typeof foreignOtherAccountTypeOptions)[number]["value"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type CaProvinceCode = "AB" | "BC" | "MB" | "NB" | "NL" | "NT" | "NS" | "NU" | "ON" | "PE" | "QC" | "SK" | "YT";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type Extends } from "./Utilities";
|
|
2
|
+
export type CountryCode = "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CU" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW";
|
|
3
|
+
export type EUCountryCode = Extends<CountryCode, "AT" | "BE" | "BG" | "CY" | "CZ" | "DE" | "DK" | "EE" | "ES" | "FI" | "FR" | "GR" | "HR" | "HU" | "IE" | "IT" | "LT" | "LU" | "LV" | "MT" | "NL" | "PL" | "PT" | "RO" | "SE" | "SI" | "SK">;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Form = "W-9" | "W-8BEN" | "W-8BEN-E" | "DAC7";
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { type YesNo } from "./YesNo";
|
|
2
|
+
import { type Yes } from "./Yes";
|
|
3
|
+
import type { UsAccountType, UsLlcAccountType, ForeignAccountType, ForeignTrustAccountType, ForeignOtherAccountType } from "./AccountType";
|
|
4
|
+
export type AccountHolderClassificationData = {
|
|
5
|
+
accountHolderIsIndividual?: YesNo;
|
|
6
|
+
accountHolderIsEuResident?: YesNo;
|
|
7
|
+
accountHolderUsPerson?: YesNo;
|
|
8
|
+
accountHolderUsAccountType?: UsAccountType;
|
|
9
|
+
accountHolderUsSmllcElection?: YesNo;
|
|
10
|
+
accountHolderUsLlcClassification?: UsLlcAccountType;
|
|
11
|
+
accountHolderUsOtherClassification?: string;
|
|
12
|
+
accountHolderUsTrustEstateEin?: YesNo;
|
|
13
|
+
accountHolderForeignAccountType?: ForeignAccountType;
|
|
14
|
+
accountHolderForeignTrustClassification?: ForeignTrustAccountType;
|
|
15
|
+
accountHolderForeignOtherClassification?: ForeignOtherAccountType;
|
|
16
|
+
};
|
|
17
|
+
export type AccountHolderContactData = {
|
|
18
|
+
accountHolderAddressCity?: string;
|
|
19
|
+
accountHolderAddressCountry?: string;
|
|
20
|
+
accountHolderAddressState?: string;
|
|
21
|
+
accountHolderAddressStreet2?: string;
|
|
22
|
+
accountHolderAddressStreet?: string;
|
|
23
|
+
accountHolderAddressZip?: string;
|
|
24
|
+
accountHolderCityOfBirth?: string;
|
|
25
|
+
accountHolderCountryOfBirth?: string;
|
|
26
|
+
accountHolderCountryOfCitizenship?: string;
|
|
27
|
+
accountHolderDateOfBirth?: string;
|
|
28
|
+
accountHolderDbaName?: string;
|
|
29
|
+
accountHolderMailingAddressCity?: string;
|
|
30
|
+
accountHolderMailingAddressCountry?: string;
|
|
31
|
+
accountHolderMailingAddressIsDifferent?: Yes;
|
|
32
|
+
accountHolderMailingAddressState?: string;
|
|
33
|
+
accountHolderMailingAddressStreet2?: string;
|
|
34
|
+
accountHolderMailingAddressStreet?: string;
|
|
35
|
+
accountHolderMailingAddressZip?: string;
|
|
36
|
+
accountHolderName?: string;
|
|
37
|
+
};
|
|
38
|
+
export type AccountHolderTaxData = {
|
|
39
|
+
accountHolderFinancialAccountIdentifier?: string;
|
|
40
|
+
accountHolderFinancialAccountName?: string;
|
|
41
|
+
accountHolderForeignTin?: string;
|
|
42
|
+
accountHolderForeignTinIsNotRequired?: Yes;
|
|
43
|
+
accountHolderTaxResidenceCountry1?: string;
|
|
44
|
+
accountHolderTaxResidenceForeignTin1?: string;
|
|
45
|
+
accountHolderTaxResidenceForeignTin1IsNotRequired?: Yes;
|
|
46
|
+
accountHolderTaxResidenceCountry2?: string;
|
|
47
|
+
accountHolderTaxResidenceForeignTin2?: string;
|
|
48
|
+
accountHolderTaxResidenceForeignTin2IsNotRequired?: Yes;
|
|
49
|
+
accountHolderTaxResidenceCountry3?: string;
|
|
50
|
+
accountHolderTaxResidenceForeignTin3?: string;
|
|
51
|
+
accountHolderTaxResidenceForeignTin3IsNotRequired?: Yes;
|
|
52
|
+
accountHolderTaxResidenceCountry4?: string;
|
|
53
|
+
accountHolderTaxResidenceForeignTin4?: string;
|
|
54
|
+
accountHolderTaxResidenceForeignTin4IsNotRequired?: Yes;
|
|
55
|
+
accountHolderTaxResidenceCountry5?: string;
|
|
56
|
+
accountHolderTaxResidenceForeignTin5?: string;
|
|
57
|
+
accountHolderTaxResidenceForeignTin5IsNotRequired?: Yes;
|
|
58
|
+
accountHolderShowTaxResidence2?: YesNo;
|
|
59
|
+
accountHolderShowTaxResidence3?: YesNo;
|
|
60
|
+
accountHolderShowTaxResidence4?: YesNo;
|
|
61
|
+
accountHolderShowTaxResidence5?: YesNo;
|
|
62
|
+
accountHolderUsTin?: string;
|
|
63
|
+
accountHolderVatIdentificationNumber?: string;
|
|
64
|
+
accountHolderVatCountry?: string;
|
|
65
|
+
};
|
|
66
|
+
export type RegardedOwnerClassificationData = {
|
|
67
|
+
regardedOwnerUsPerson?: YesNo;
|
|
68
|
+
regardedOwnerUsAccountType?: UsAccountType;
|
|
69
|
+
regardedOwnerUsLlcClassification?: UsLlcAccountType;
|
|
70
|
+
regardedOwnerUsOtherClassification?: string;
|
|
71
|
+
regardedOwnerUsTrustEstateEin?: YesNo;
|
|
72
|
+
regardedOwnerForeignAccountType?: ForeignAccountType;
|
|
73
|
+
regardedOwnerForeignTrustClassification?: ForeignTrustAccountType;
|
|
74
|
+
regardedOwnerForeignOtherClassification?: ForeignOtherAccountType;
|
|
75
|
+
};
|
|
76
|
+
export type RegardedOwnerContactData = {
|
|
77
|
+
regardedOwnerAddressCity?: string;
|
|
78
|
+
regardedOwnerAddressCountry?: string;
|
|
79
|
+
regardedOwnerAddressState?: string;
|
|
80
|
+
regardedOwnerAddressStreet2?: string;
|
|
81
|
+
regardedOwnerAddressStreet?: string;
|
|
82
|
+
regardedOwnerAddressZip?: string;
|
|
83
|
+
regardedOwnerCountryOfCitizenship?: string;
|
|
84
|
+
regardedOwnerDateOfBirth?: string;
|
|
85
|
+
regardedOwnerDbaName?: string;
|
|
86
|
+
regardedOwnerMailingAddressCity?: string;
|
|
87
|
+
regardedOwnerMailingAddressCountry?: string;
|
|
88
|
+
regardedOwnerMailingAddressIsDifferent?: Yes;
|
|
89
|
+
regardedOwnerMailingAddressState?: string;
|
|
90
|
+
regardedOwnerMailingAddressStreet2?: string;
|
|
91
|
+
regardedOwnerMailingAddressStreet?: string;
|
|
92
|
+
regardedOwnerMailingAddressZip?: string;
|
|
93
|
+
regardedOwnerName?: string;
|
|
94
|
+
};
|
|
95
|
+
export type RegardedOwnerTaxData = {
|
|
96
|
+
regardedOwnerForeignTin?: string;
|
|
97
|
+
regardedOwnerForeignTinIsNotRequired?: Yes;
|
|
98
|
+
regardedOwnerUsTin?: string;
|
|
99
|
+
};
|
|
100
|
+
export type SummaryData = {
|
|
101
|
+
exemptFatcaCode?: string;
|
|
102
|
+
exemptPayeeCode?: string;
|
|
103
|
+
iAcknowlegeESignIsOk?: Yes;
|
|
104
|
+
iAmACitizenOfTheUs?: Yes;
|
|
105
|
+
iAmExemptFromFatcaReporting?: Yes;
|
|
106
|
+
iAmNotSubjectToBackupWithholding?: Yes;
|
|
107
|
+
iAuthorizeWithholdingAgent?: Yes;
|
|
108
|
+
iCertifyToAll?: Yes;
|
|
109
|
+
iConfirmIncomeIsNonUs?: Yes;
|
|
110
|
+
iConfirmTheBeneficialOwnerIsExempt?: Yes;
|
|
111
|
+
iConfirmTheEntityIsNotAUsPerson?: Yes;
|
|
112
|
+
iConfirmTheEntityIsTheBeneficialOwner?: Yes;
|
|
113
|
+
iConfirmTheTaxIdIsCorrect?: Yes;
|
|
114
|
+
iHaveLegalCapacityToSign?: Yes;
|
|
115
|
+
signature?: string;
|
|
116
|
+
};
|
|
117
|
+
export type TaxDocumentation = AccountHolderContactData & AccountHolderTaxData & AccountHolderClassificationData & RegardedOwnerContactData & RegardedOwnerClassificationData & RegardedOwnerTaxData & SummaryData;
|
|
118
|
+
export type TaxDocumentationKey = keyof TaxDocumentation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UsStateCode = "AL" | "AK" | "AS" | "AZ" | "AR" | "CA" | "CO" | "CT" | "DE" | "DC" | "FM" | "FL" | "GA" | "GU" | "HI" | "ID" | "IL" | "IN" | "IA" | "KS" | "KY" | "LA" | "ME" | "MH" | "MD" | "MA" | "MI" | "MN" | "MS" | "MO" | "MT" | "NE" | "NV" | "NH" | "NJ" | "NM" | "NY" | "NC" | "ND" | "MP" | "OH" | "OK" | "OR" | "UM" | "PW" | "PA" | "PR" | "RI" | "SC" | "SD" | "TN" | "TX" | "UT" | "VT" | "VI" | "VA" | "WA" | "WV" | "WI" | "WY";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Yes = "yes";
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
type Address = {
|
|
2
|
+
city?: string;
|
|
3
|
+
country?: string;
|
|
4
|
+
state_or_province?: string;
|
|
5
|
+
first_line?: string;
|
|
6
|
+
second_line?: string;
|
|
7
|
+
postal_code?: string;
|
|
8
|
+
};
|
|
9
|
+
export type ComprehensiveTaxDocumentation = {
|
|
10
|
+
account_holder?: {
|
|
11
|
+
address?: Address;
|
|
12
|
+
country_of_citizenship?: string;
|
|
13
|
+
date_of_birth?: string;
|
|
14
|
+
dba_name?: string;
|
|
15
|
+
mailing_address?: Address;
|
|
16
|
+
mailing_address_is_different?: true;
|
|
17
|
+
name?: string;
|
|
18
|
+
city_of_birth?: string;
|
|
19
|
+
country_of_birth?: string;
|
|
20
|
+
business_registration_number?: string;
|
|
21
|
+
financial_account_identifier?: string;
|
|
22
|
+
financial_account_name?: string;
|
|
23
|
+
ftin?: string;
|
|
24
|
+
ftin_not_legally_required?: true;
|
|
25
|
+
tax_residences: {
|
|
26
|
+
country?: string;
|
|
27
|
+
tin?: string;
|
|
28
|
+
tin_not_required?: boolean;
|
|
29
|
+
}[];
|
|
30
|
+
show_tax_residence?: boolean[];
|
|
31
|
+
tin?: string;
|
|
32
|
+
vat_id?: string;
|
|
33
|
+
vat_country?: string;
|
|
34
|
+
exempt_fatca_code?: string;
|
|
35
|
+
exempt_payee_code?: string;
|
|
36
|
+
is_individual?: boolean;
|
|
37
|
+
is_eu_resident?: boolean;
|
|
38
|
+
is_us_person?: boolean;
|
|
39
|
+
us_account_type?: string;
|
|
40
|
+
us_smllc_election?: boolean;
|
|
41
|
+
us_llc_classification?: string;
|
|
42
|
+
other_classification?: string;
|
|
43
|
+
us_trust_estate_ein?: boolean;
|
|
44
|
+
foreign_account_type?: string;
|
|
45
|
+
foreign_trust_classification?: string;
|
|
46
|
+
foreign_other_classification?: string;
|
|
47
|
+
};
|
|
48
|
+
regarded_owner?: {
|
|
49
|
+
address?: Address;
|
|
50
|
+
country_of_citizenship?: string;
|
|
51
|
+
date_of_birth?: string;
|
|
52
|
+
dba_name?: string;
|
|
53
|
+
mailing_address?: Address;
|
|
54
|
+
mailing_address_is_different?: true;
|
|
55
|
+
name?: string;
|
|
56
|
+
ftin?: string;
|
|
57
|
+
ftin_not_legally_required?: true;
|
|
58
|
+
tin?: string;
|
|
59
|
+
exempt_fatca_code?: string;
|
|
60
|
+
exempt_payee_code?: string;
|
|
61
|
+
is_us_person?: boolean;
|
|
62
|
+
us_account_type?: string;
|
|
63
|
+
us_llc_classification?: string;
|
|
64
|
+
other_classification?: string;
|
|
65
|
+
us_trust_estate_ein?: boolean;
|
|
66
|
+
foreign_account_type?: string;
|
|
67
|
+
foreign_trust_classification?: string;
|
|
68
|
+
foreign_other_classification?: string;
|
|
69
|
+
};
|
|
70
|
+
document_type: "COMPREHENSIVE";
|
|
71
|
+
signature?: string;
|
|
72
|
+
signature_date?: string;
|
|
73
|
+
has_certified?: boolean;
|
|
74
|
+
is_not_subject_backup_withholding?: boolean;
|
|
75
|
+
};
|
|
76
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ComprehensiveTaxDocumentation.ts";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./AccountType";
|
|
2
|
+
export * from "./CaProvinceCode";
|
|
3
|
+
export * from "./CountryCode";
|
|
4
|
+
export * from "./Form";
|
|
5
|
+
export * from "./TaxDocumentation";
|
|
6
|
+
export * from "./UsStateCode";
|
|
7
|
+
export * from "./Utilities";
|
|
8
|
+
export * from "./Yes";
|
|
9
|
+
export * from "./YesNo";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type ActionsProps = {
|
|
3
|
+
onBack?: (data: unknown) => void;
|
|
4
|
+
onCancel?: (data: unknown) => void;
|
|
5
|
+
onNext?: (data: unknown) => void;
|
|
6
|
+
onReset?: (data: unknown) => void;
|
|
7
|
+
onSubmit?: (data: unknown) => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const Actions: ({ onBack, onCancel, onNext, onSubmit, onReset, }: ActionsProps) => React.JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Actions.tsx";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TaxDocumentationKey } from "types/TaxDocumentation";
|
|
3
|
+
export type CheckBoxProps = {
|
|
4
|
+
label: boolean;
|
|
5
|
+
subLabel?: boolean;
|
|
6
|
+
name: TaxDocumentationKey;
|
|
7
|
+
};
|
|
8
|
+
export declare const CheckBox: ({ label, subLabel, name }: CheckBoxProps) => React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./CheckBox.tsx";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TaxDocumentationKey } from "types/TaxDocumentation";
|
|
3
|
+
import { OptionKey } from "i18n/types";
|
|
4
|
+
type SelectOption = {
|
|
5
|
+
value: OptionKey;
|
|
6
|
+
label?: string;
|
|
7
|
+
};
|
|
8
|
+
export type RadioButtonsProps = {
|
|
9
|
+
name: TaxDocumentationKey;
|
|
10
|
+
options: ReadonlyArray<SelectOption>;
|
|
11
|
+
};
|
|
12
|
+
export declare const RadioButtons: ({ name, options }: RadioButtonsProps) => React.JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RadioButtons.tsx';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TaxDocumentationKey } from "types/TaxDocumentation";
|
|
3
|
+
import { OptionKey } from "i18n/types";
|
|
4
|
+
import type { CountryCode } from "types/CountryCode";
|
|
5
|
+
import type { UsStateCode } from "types/UsStateCode";
|
|
6
|
+
import type { CaProvinceCode } from "types/CaProvinceCode";
|
|
7
|
+
import { FatcaCode, PayeeCode } from "lookups";
|
|
8
|
+
type FatcaSelectOption = {
|
|
9
|
+
value: FatcaCode;
|
|
10
|
+
};
|
|
11
|
+
type PayeeSelectOption = {
|
|
12
|
+
value: PayeeCode;
|
|
13
|
+
};
|
|
14
|
+
type SpecialSelectOption = {
|
|
15
|
+
value: CountryCode | UsStateCode | CaProvinceCode;
|
|
16
|
+
label: string;
|
|
17
|
+
};
|
|
18
|
+
export type SelectProps = {
|
|
19
|
+
prompt?: string;
|
|
20
|
+
name: TaxDocumentationKey;
|
|
21
|
+
options: ReadonlyArray<FatcaSelectOption> | ReadonlyArray<PayeeSelectOption> | ReadonlyArray<SpecialSelectOption>;
|
|
22
|
+
addBlank?: boolean;
|
|
23
|
+
className?: string;
|
|
24
|
+
onChange?: () => void;
|
|
25
|
+
};
|
|
26
|
+
export declare const Select: <T extends OptionKey>({ name, options, addBlank, className, onChange, }: SelectProps) => React.JSX.Element;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Select.tsx';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TaxDocumentationKey } from "types/TaxDocumentation";
|
|
3
|
+
export type TextInputProps = {
|
|
4
|
+
name: TaxDocumentationKey;
|
|
5
|
+
className?: string;
|
|
6
|
+
onChange?: (val: string) => string;
|
|
7
|
+
hint?: true;
|
|
8
|
+
};
|
|
9
|
+
export declare const TextInput: ({ name, className, onChange, hint, }: TextInputProps) => React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TextInput.tsx';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ToggleButton";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const cx: (...args: Array<string | false | undefined>) => string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TaxDocumentation } from "types/TaxDocumentation";
|
|
2
|
+
export declare const getFieldsState: (fields: TaxDocumentation) => {
|
|
3
|
+
accountHolderIsDisregarded: boolean;
|
|
4
|
+
hasNoTaxId: boolean;
|
|
5
|
+
isDac7: boolean;
|
|
6
|
+
isW9: boolean;
|
|
7
|
+
isW8: boolean;
|
|
8
|
+
isW8Ben: boolean;
|
|
9
|
+
isW8BenE: boolean;
|
|
10
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { TaxDocumentationKey } from "types/TaxDocumentation";
|
|
2
|
+
import { HintKey } from "i18n/types";
|
|
3
|
+
export declare const getHintKeyMap: () => {
|
|
4
|
+
exemptPayeeCode?: "dateOfBirth" | undefined;
|
|
5
|
+
exemptFatcaCode?: "dateOfBirth" | undefined;
|
|
6
|
+
iAcknowlegeESignIsOk?: "dateOfBirth" | undefined;
|
|
7
|
+
iAmACitizenOfTheUs?: "dateOfBirth" | undefined;
|
|
8
|
+
iAmExemptFromFatcaReporting?: "dateOfBirth" | undefined;
|
|
9
|
+
iAmNotSubjectToBackupWithholding?: "dateOfBirth" | undefined;
|
|
10
|
+
iAuthorizeWithholdingAgent?: "dateOfBirth" | undefined;
|
|
11
|
+
iCertifyToAll?: "dateOfBirth" | undefined;
|
|
12
|
+
iConfirmIncomeIsNonUs?: "dateOfBirth" | undefined;
|
|
13
|
+
iConfirmTheBeneficialOwnerIsExempt?: "dateOfBirth" | undefined;
|
|
14
|
+
iConfirmTheEntityIsNotAUsPerson?: "dateOfBirth" | undefined;
|
|
15
|
+
iConfirmTheEntityIsTheBeneficialOwner?: "dateOfBirth" | undefined;
|
|
16
|
+
iConfirmTheTaxIdIsCorrect?: "dateOfBirth" | undefined;
|
|
17
|
+
iHaveLegalCapacityToSign?: "dateOfBirth" | undefined;
|
|
18
|
+
regardedOwnerUsPerson?: "dateOfBirth" | undefined;
|
|
19
|
+
signature?: "dateOfBirth" | undefined;
|
|
20
|
+
accountHolderAddressCity?: "dateOfBirth" | undefined;
|
|
21
|
+
accountHolderAddressCountry?: "dateOfBirth" | undefined;
|
|
22
|
+
accountHolderAddressState?: "dateOfBirth" | undefined;
|
|
23
|
+
accountHolderAddressStreet2?: "dateOfBirth" | undefined;
|
|
24
|
+
accountHolderAddressStreet?: "dateOfBirth" | undefined;
|
|
25
|
+
accountHolderAddressZip?: "dateOfBirth" | undefined;
|
|
26
|
+
accountHolderCityOfBirth?: "dateOfBirth" | undefined;
|
|
27
|
+
accountHolderCountryOfBirth?: "dateOfBirth" | undefined;
|
|
28
|
+
accountHolderCountryOfCitizenship?: "dateOfBirth" | undefined;
|
|
29
|
+
accountHolderDateOfBirth?: "dateOfBirth" | undefined;
|
|
30
|
+
accountHolderDbaName?: "dateOfBirth" | undefined;
|
|
31
|
+
accountHolderMailingAddressCity?: "dateOfBirth" | undefined;
|
|
32
|
+
accountHolderMailingAddressCountry?: "dateOfBirth" | undefined;
|
|
33
|
+
accountHolderMailingAddressIsDifferent?: "dateOfBirth" | undefined;
|
|
34
|
+
accountHolderMailingAddressState?: "dateOfBirth" | undefined;
|
|
35
|
+
accountHolderMailingAddressStreet2?: "dateOfBirth" | undefined;
|
|
36
|
+
accountHolderMailingAddressStreet?: "dateOfBirth" | undefined;
|
|
37
|
+
accountHolderMailingAddressZip?: "dateOfBirth" | undefined;
|
|
38
|
+
accountHolderName?: "dateOfBirth" | undefined;
|
|
39
|
+
accountHolderFinancialAccountIdentifier?: "dateOfBirth" | undefined;
|
|
40
|
+
accountHolderFinancialAccountName?: "dateOfBirth" | undefined;
|
|
41
|
+
accountHolderForeignTin?: "dateOfBirth" | undefined;
|
|
42
|
+
accountHolderForeignTinIsNotRequired?: "dateOfBirth" | undefined;
|
|
43
|
+
accountHolderTaxResidenceCountry1?: "dateOfBirth" | undefined;
|
|
44
|
+
accountHolderTaxResidenceForeignTin1?: "dateOfBirth" | undefined;
|
|
45
|
+
accountHolderTaxResidenceForeignTin1IsNotRequired?: "dateOfBirth" | undefined;
|
|
46
|
+
accountHolderTaxResidenceCountry2?: "dateOfBirth" | undefined;
|
|
47
|
+
accountHolderTaxResidenceForeignTin2?: "dateOfBirth" | undefined;
|
|
48
|
+
accountHolderTaxResidenceForeignTin2IsNotRequired?: "dateOfBirth" | undefined;
|
|
49
|
+
accountHolderTaxResidenceCountry3?: "dateOfBirth" | undefined;
|
|
50
|
+
accountHolderTaxResidenceForeignTin3?: "dateOfBirth" | undefined;
|
|
51
|
+
accountHolderTaxResidenceForeignTin3IsNotRequired?: "dateOfBirth" | undefined;
|
|
52
|
+
accountHolderTaxResidenceCountry4?: "dateOfBirth" | undefined;
|
|
53
|
+
accountHolderTaxResidenceForeignTin4?: "dateOfBirth" | undefined;
|
|
54
|
+
accountHolderTaxResidenceForeignTin4IsNotRequired?: "dateOfBirth" | undefined;
|
|
55
|
+
accountHolderTaxResidenceCountry5?: "dateOfBirth" | undefined;
|
|
56
|
+
accountHolderTaxResidenceForeignTin5?: "dateOfBirth" | undefined;
|
|
57
|
+
accountHolderTaxResidenceForeignTin5IsNotRequired?: "dateOfBirth" | undefined;
|
|
58
|
+
accountHolderShowTaxResidence2?: "dateOfBirth" | undefined;
|
|
59
|
+
accountHolderShowTaxResidence3?: "dateOfBirth" | undefined;
|
|
60
|
+
accountHolderShowTaxResidence4?: "dateOfBirth" | undefined;
|
|
61
|
+
accountHolderShowTaxResidence5?: "dateOfBirth" | undefined;
|
|
62
|
+
accountHolderUsTin?: "dateOfBirth" | undefined;
|
|
63
|
+
accountHolderVatIdentificationNumber?: "dateOfBirth" | undefined;
|
|
64
|
+
accountHolderVatCountry?: "dateOfBirth" | undefined;
|
|
65
|
+
accountHolderIsIndividual?: "dateOfBirth" | undefined;
|
|
66
|
+
accountHolderIsEuResident?: "dateOfBirth" | undefined;
|
|
67
|
+
accountHolderUsPerson?: "dateOfBirth" | undefined;
|
|
68
|
+
accountHolderUsAccountType?: "dateOfBirth" | undefined;
|
|
69
|
+
accountHolderUsSmllcElection?: "dateOfBirth" | undefined;
|
|
70
|
+
accountHolderUsLlcClassification?: "dateOfBirth" | undefined;
|
|
71
|
+
accountHolderUsOtherClassification?: "dateOfBirth" | undefined;
|
|
72
|
+
accountHolderUsTrustEstateEin?: "dateOfBirth" | undefined;
|
|
73
|
+
accountHolderForeignAccountType?: "dateOfBirth" | undefined;
|
|
74
|
+
accountHolderForeignTrustClassification?: "dateOfBirth" | undefined;
|
|
75
|
+
accountHolderForeignOtherClassification?: "dateOfBirth" | undefined;
|
|
76
|
+
regardedOwnerAddressCity?: "dateOfBirth" | undefined;
|
|
77
|
+
regardedOwnerAddressCountry?: "dateOfBirth" | undefined;
|
|
78
|
+
regardedOwnerAddressState?: "dateOfBirth" | undefined;
|
|
79
|
+
regardedOwnerAddressStreet2?: "dateOfBirth" | undefined;
|
|
80
|
+
regardedOwnerAddressStreet?: "dateOfBirth" | undefined;
|
|
81
|
+
regardedOwnerAddressZip?: "dateOfBirth" | undefined;
|
|
82
|
+
regardedOwnerCountryOfCitizenship?: "dateOfBirth" | undefined;
|
|
83
|
+
regardedOwnerDateOfBirth?: "dateOfBirth" | undefined;
|
|
84
|
+
regardedOwnerDbaName?: "dateOfBirth" | undefined;
|
|
85
|
+
regardedOwnerMailingAddressCity?: "dateOfBirth" | undefined;
|
|
86
|
+
regardedOwnerMailingAddressCountry?: "dateOfBirth" | undefined;
|
|
87
|
+
regardedOwnerMailingAddressIsDifferent?: "dateOfBirth" | undefined;
|
|
88
|
+
regardedOwnerMailingAddressState?: "dateOfBirth" | undefined;
|
|
89
|
+
regardedOwnerMailingAddressStreet2?: "dateOfBirth" | undefined;
|
|
90
|
+
regardedOwnerMailingAddressStreet?: "dateOfBirth" | undefined;
|
|
91
|
+
regardedOwnerMailingAddressZip?: "dateOfBirth" | undefined;
|
|
92
|
+
regardedOwnerName?: "dateOfBirth" | undefined;
|
|
93
|
+
regardedOwnerUsAccountType?: "dateOfBirth" | undefined;
|
|
94
|
+
regardedOwnerUsLlcClassification?: "dateOfBirth" | undefined;
|
|
95
|
+
regardedOwnerUsOtherClassification?: "dateOfBirth" | undefined;
|
|
96
|
+
regardedOwnerUsTrustEstateEin?: "dateOfBirth" | undefined;
|
|
97
|
+
regardedOwnerForeignAccountType?: "dateOfBirth" | undefined;
|
|
98
|
+
regardedOwnerForeignTrustClassification?: "dateOfBirth" | undefined;
|
|
99
|
+
regardedOwnerForeignOtherClassification?: "dateOfBirth" | undefined;
|
|
100
|
+
regardedOwnerForeignTin?: "dateOfBirth" | undefined;
|
|
101
|
+
regardedOwnerForeignTinIsNotRequired?: "dateOfBirth" | undefined;
|
|
102
|
+
regardedOwnerUsTin?: "dateOfBirth" | undefined;
|
|
103
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { TaxDocumentation, TaxDocumentationKey } from "types/TaxDocumentation";
|
|
2
|
+
import { PromptKey } from "i18n/types";
|
|
3
|
+
export declare const getPromptKeyMap: (data: TaxDocumentation) => {
|
|
4
|
+
exemptPayeeCode?: PromptKey | undefined;
|
|
5
|
+
exemptFatcaCode?: PromptKey | undefined;
|
|
6
|
+
iAcknowlegeESignIsOk?: PromptKey | undefined;
|
|
7
|
+
iAmACitizenOfTheUs?: PromptKey | undefined;
|
|
8
|
+
iAmExemptFromFatcaReporting?: PromptKey | undefined;
|
|
9
|
+
iAmNotSubjectToBackupWithholding?: PromptKey | undefined;
|
|
10
|
+
iAuthorizeWithholdingAgent?: PromptKey | undefined;
|
|
11
|
+
iCertifyToAll?: PromptKey | undefined;
|
|
12
|
+
iConfirmIncomeIsNonUs?: PromptKey | undefined;
|
|
13
|
+
iConfirmTheBeneficialOwnerIsExempt?: PromptKey | undefined;
|
|
14
|
+
iConfirmTheEntityIsNotAUsPerson?: PromptKey | undefined;
|
|
15
|
+
iConfirmTheEntityIsTheBeneficialOwner?: PromptKey | undefined;
|
|
16
|
+
iConfirmTheTaxIdIsCorrect?: PromptKey | undefined;
|
|
17
|
+
iHaveLegalCapacityToSign?: PromptKey | undefined;
|
|
18
|
+
regardedOwnerUsPerson?: PromptKey | undefined;
|
|
19
|
+
signature?: PromptKey | undefined;
|
|
20
|
+
accountHolderAddressCity?: PromptKey | undefined;
|
|
21
|
+
accountHolderAddressCountry?: PromptKey | undefined;
|
|
22
|
+
accountHolderAddressState?: PromptKey | undefined;
|
|
23
|
+
accountHolderAddressStreet2?: PromptKey | undefined;
|
|
24
|
+
accountHolderAddressStreet?: PromptKey | undefined;
|
|
25
|
+
accountHolderAddressZip?: PromptKey | undefined;
|
|
26
|
+
accountHolderCityOfBirth?: PromptKey | undefined;
|
|
27
|
+
accountHolderCountryOfBirth?: PromptKey | undefined;
|
|
28
|
+
accountHolderCountryOfCitizenship?: PromptKey | undefined;
|
|
29
|
+
accountHolderDateOfBirth?: PromptKey | undefined;
|
|
30
|
+
accountHolderDbaName?: PromptKey | undefined;
|
|
31
|
+
accountHolderMailingAddressCity?: PromptKey | undefined;
|
|
32
|
+
accountHolderMailingAddressCountry?: PromptKey | undefined;
|
|
33
|
+
accountHolderMailingAddressIsDifferent?: PromptKey | undefined;
|
|
34
|
+
accountHolderMailingAddressState?: PromptKey | undefined;
|
|
35
|
+
accountHolderMailingAddressStreet2?: PromptKey | undefined;
|
|
36
|
+
accountHolderMailingAddressStreet?: PromptKey | undefined;
|
|
37
|
+
accountHolderMailingAddressZip?: PromptKey | undefined;
|
|
38
|
+
accountHolderName?: PromptKey | undefined;
|
|
39
|
+
accountHolderFinancialAccountIdentifier?: PromptKey | undefined;
|
|
40
|
+
accountHolderFinancialAccountName?: PromptKey | undefined;
|
|
41
|
+
accountHolderForeignTin?: PromptKey | undefined;
|
|
42
|
+
accountHolderForeignTinIsNotRequired?: PromptKey | undefined;
|
|
43
|
+
accountHolderTaxResidenceCountry1?: PromptKey | undefined;
|
|
44
|
+
accountHolderTaxResidenceForeignTin1?: PromptKey | undefined;
|
|
45
|
+
accountHolderTaxResidenceForeignTin1IsNotRequired?: PromptKey | undefined;
|
|
46
|
+
accountHolderTaxResidenceCountry2?: PromptKey | undefined;
|
|
47
|
+
accountHolderTaxResidenceForeignTin2?: PromptKey | undefined;
|
|
48
|
+
accountHolderTaxResidenceForeignTin2IsNotRequired?: PromptKey | undefined;
|
|
49
|
+
accountHolderTaxResidenceCountry3?: PromptKey | undefined;
|
|
50
|
+
accountHolderTaxResidenceForeignTin3?: PromptKey | undefined;
|
|
51
|
+
accountHolderTaxResidenceForeignTin3IsNotRequired?: PromptKey | undefined;
|
|
52
|
+
accountHolderTaxResidenceCountry4?: PromptKey | undefined;
|
|
53
|
+
accountHolderTaxResidenceForeignTin4?: PromptKey | undefined;
|
|
54
|
+
accountHolderTaxResidenceForeignTin4IsNotRequired?: PromptKey | undefined;
|
|
55
|
+
accountHolderTaxResidenceCountry5?: PromptKey | undefined;
|
|
56
|
+
accountHolderTaxResidenceForeignTin5?: PromptKey | undefined;
|
|
57
|
+
accountHolderTaxResidenceForeignTin5IsNotRequired?: PromptKey | undefined;
|
|
58
|
+
accountHolderShowTaxResidence2?: PromptKey | undefined;
|
|
59
|
+
accountHolderShowTaxResidence3?: PromptKey | undefined;
|
|
60
|
+
accountHolderShowTaxResidence4?: PromptKey | undefined;
|
|
61
|
+
accountHolderShowTaxResidence5?: PromptKey | undefined;
|
|
62
|
+
accountHolderUsTin?: PromptKey | undefined;
|
|
63
|
+
accountHolderVatIdentificationNumber?: PromptKey | undefined;
|
|
64
|
+
accountHolderVatCountry?: PromptKey | undefined;
|
|
65
|
+
accountHolderIsIndividual?: PromptKey | undefined;
|
|
66
|
+
accountHolderIsEuResident?: PromptKey | undefined;
|
|
67
|
+
accountHolderUsPerson?: PromptKey | undefined;
|
|
68
|
+
accountHolderUsAccountType?: PromptKey | undefined;
|
|
69
|
+
accountHolderUsSmllcElection?: PromptKey | undefined;
|
|
70
|
+
accountHolderUsLlcClassification?: PromptKey | undefined;
|
|
71
|
+
accountHolderUsOtherClassification?: PromptKey | undefined;
|
|
72
|
+
accountHolderUsTrustEstateEin?: PromptKey | undefined;
|
|
73
|
+
accountHolderForeignAccountType?: PromptKey | undefined;
|
|
74
|
+
accountHolderForeignTrustClassification?: PromptKey | undefined;
|
|
75
|
+
accountHolderForeignOtherClassification?: PromptKey | undefined;
|
|
76
|
+
regardedOwnerAddressCity?: PromptKey | undefined;
|
|
77
|
+
regardedOwnerAddressCountry?: PromptKey | undefined;
|
|
78
|
+
regardedOwnerAddressState?: PromptKey | undefined;
|
|
79
|
+
regardedOwnerAddressStreet2?: PromptKey | undefined;
|
|
80
|
+
regardedOwnerAddressStreet?: PromptKey | undefined;
|
|
81
|
+
regardedOwnerAddressZip?: PromptKey | undefined;
|
|
82
|
+
regardedOwnerCountryOfCitizenship?: PromptKey | undefined;
|
|
83
|
+
regardedOwnerDateOfBirth?: PromptKey | undefined;
|
|
84
|
+
regardedOwnerDbaName?: PromptKey | undefined;
|
|
85
|
+
regardedOwnerMailingAddressCity?: PromptKey | undefined;
|
|
86
|
+
regardedOwnerMailingAddressCountry?: PromptKey | undefined;
|
|
87
|
+
regardedOwnerMailingAddressIsDifferent?: PromptKey | undefined;
|
|
88
|
+
regardedOwnerMailingAddressState?: PromptKey | undefined;
|
|
89
|
+
regardedOwnerMailingAddressStreet2?: PromptKey | undefined;
|
|
90
|
+
regardedOwnerMailingAddressStreet?: PromptKey | undefined;
|
|
91
|
+
regardedOwnerMailingAddressZip?: PromptKey | undefined;
|
|
92
|
+
regardedOwnerName?: PromptKey | undefined;
|
|
93
|
+
regardedOwnerUsAccountType?: PromptKey | undefined;
|
|
94
|
+
regardedOwnerUsLlcClassification?: PromptKey | undefined;
|
|
95
|
+
regardedOwnerUsOtherClassification?: PromptKey | undefined;
|
|
96
|
+
regardedOwnerUsTrustEstateEin?: PromptKey | undefined;
|
|
97
|
+
regardedOwnerForeignAccountType?: PromptKey | undefined;
|
|
98
|
+
regardedOwnerForeignTrustClassification?: PromptKey | undefined;
|
|
99
|
+
regardedOwnerForeignOtherClassification?: PromptKey | undefined;
|
|
100
|
+
regardedOwnerForeignTin?: PromptKey | undefined;
|
|
101
|
+
regardedOwnerForeignTinIsNotRequired?: PromptKey | undefined;
|
|
102
|
+
regardedOwnerUsTin?: PromptKey | undefined;
|
|
103
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getVerboseDate: (dateString: string) => string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Form, TaxDocumentation, TaxDocumentationKey } from "types";
|
|
2
|
+
type TaxDocumentationPropertyFile = {
|
|
3
|
+
[key in TaxDocumentationKey]: boolean;
|
|
4
|
+
};
|
|
5
|
+
export declare const getVisibleQuestions: (fields: TaxDocumentation, supportedForms: Form[]) => TaxDocumentationPropertyFile;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./cx";
|
|
2
|
+
export * from "./date";
|
|
3
|
+
export * from "./isBlank";
|
|
4
|
+
export * from "./getFieldsState";
|
|
5
|
+
export * from "./getPromptKeyMap";
|
|
6
|
+
export * from "./getSupportedFields";
|
|
7
|
+
export * from "./getVisibleQuestions";
|
|
8
|
+
export * from "./transformInbound.ts";
|
|
9
|
+
export * from "./transformOutbound.ts";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|