@taxbit/react-sdk 2.3.0-beta.0 → 2.5.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/README.md +47 -26
  2. package/dist/src/components/StatusMessage/StatusMessage.d.ts +6 -0
  3. package/dist/src/components/StatusMessage/index.d.ts +1 -0
  4. package/dist/src/components/index.d.ts +1 -0
  5. package/dist/src/contexts/QuestionnaireStep/getLocal.d.ts +2 -2
  6. package/dist/src/contexts/QuestionnaireStep/index.d.ts +2 -2
  7. package/dist/src/contexts/QuestionnaireStep/useQuestionnaireStep.d.ts +12 -9
  8. package/dist/src/contexts/QuestionnaireStep/useQuestionnaireStepContext.d.ts +16 -10
  9. package/dist/src/contexts/TaxDocumentation/useTaxDocumentation.d.ts +3 -1
  10. package/dist/src/hooks/useTaxbit/useTaxbit.d.ts +10 -1
  11. package/dist/src/hooks/useTaxbit/useTaxbitStatus.d.ts +3 -1
  12. package/dist/src/hooks/useUsTinVerification/useUsTinValidation.d.ts +3 -1
  13. package/dist/src/i18n/index.d.ts +1 -1
  14. package/dist/src/i18n/json/bg.json.d.ts +27 -7
  15. package/dist/src/i18n/json/cs.json.d.ts +27 -9
  16. package/dist/src/i18n/json/da.json.d.ts +27 -9
  17. package/dist/src/i18n/json/de-AT.json.d.ts +3 -3
  18. package/dist/src/i18n/json/de.json.d.ts +27 -7
  19. package/dist/src/i18n/json/el-CY.json.d.ts +2 -3
  20. package/dist/src/i18n/json/el.json.d.ts +27 -7
  21. package/dist/src/i18n/json/en-GB.json.d.ts +4 -1
  22. package/dist/src/i18n/json/en-NZ.json.d.ts +3 -0
  23. package/dist/src/i18n/json/en.json.d.ts +28 -8
  24. package/dist/src/i18n/json/es-MX.json.d.ts +3 -0
  25. package/dist/src/i18n/json/es.json.d.ts +26 -6
  26. package/dist/src/i18n/json/et.json.d.ts +27 -7
  27. package/dist/src/i18n/json/fi.json.d.ts +27 -11
  28. package/dist/src/i18n/json/fr-CA.json.d.ts +4 -1
  29. package/dist/src/i18n/json/fr-LU.json.d.ts +3 -3
  30. package/dist/src/i18n/json/fr.json.d.ts +27 -11
  31. package/dist/src/i18n/json/ga.json.d.ts +27 -7
  32. package/dist/src/i18n/json/hr.json.d.ts +27 -11
  33. package/dist/src/i18n/json/hu.json.d.ts +27 -7
  34. package/dist/src/i18n/json/it.json.d.ts +27 -11
  35. package/dist/src/i18n/json/lt.json.d.ts +27 -7
  36. package/dist/src/i18n/json/lv.json.d.ts +27 -7
  37. package/dist/src/i18n/json/mt.json.d.ts +27 -7
  38. package/dist/src/i18n/json/nl-BE.json.d.ts +44 -0
  39. package/dist/src/i18n/json/nl.json.d.ts +27 -11
  40. package/dist/src/i18n/json/no.json.d.ts +28 -12
  41. package/dist/src/i18n/json/pl.json.d.ts +27 -11
  42. package/dist/src/i18n/json/pt.json.d.ts +27 -7
  43. package/dist/src/i18n/json/ro.json.d.ts +27 -11
  44. package/dist/src/i18n/json/sk.json.d.ts +27 -9
  45. package/dist/src/i18n/json/sl.json.d.ts +27 -7
  46. package/dist/src/i18n/json/sv.json.d.ts +27 -11
  47. package/dist/src/i18n/locales/en-us.d.ts +1 -1
  48. package/dist/src/i18n/locales/en.d.ts +1 -1
  49. package/dist/src/i18n/locales/es-mx.d.ts +1 -1
  50. package/dist/src/i18n/locales/es.d.ts +1 -1
  51. package/dist/src/i18n/locales/fr-ca.d.ts +1 -1
  52. package/dist/src/i18n/locales/fr.d.ts +1 -1
  53. package/dist/src/i18n/localizationFileMap.d.ts +2 -2
  54. package/dist/src/i18n/types/LocalizationKey.d.ts +2 -2
  55. package/dist/src/i18n/types/PropertyFile.d.ts +6 -6
  56. package/dist/src/i18n/utils/getText.d.ts +11 -11
  57. package/dist/src/services/api.d.ts +9 -6
  58. package/dist/src/services/msw.d.ts +1 -0
  59. package/dist/src/types/client/ClientTaxDocumentationStatus.d.ts +6 -1
  60. package/dist/src/types/server/TaxDocumentationStatus.d.ts +6 -1
  61. package/dist/src/ui/TextInput/TextInput.d.ts +1 -2
  62. package/dist/src/utils/getFieldsState.d.ts +2 -2
  63. package/dist/src/validations/index.d.ts +6 -5
  64. package/dist/src/validations/invalidFields/getInvalidAddressFields.d.ts +2 -2
  65. package/dist/src/validations/invalidFields/getInvalidControllingPersonsFields.d.ts +2 -2
  66. package/dist/src/validations/invalidFields/getInvalidFields.d.ts +2 -2
  67. package/dist/src/validations/invalidFields/getInvalidTaxResidencyFields.d.ts +2 -2
  68. package/dist/src/validations/invalidFields/invalidFieldRules.d.ts +6 -4
  69. package/dist/src/validations/requiredFields/getRequiredControllingPersonFields.d.ts +2 -2
  70. package/dist/src/validations/requiredFields/getRequiredFields.d.ts +2 -2
  71. package/dist/src/validations/statusFields/getStatusFields.d.ts +4 -0
  72. package/dist/src/validations/statusFields/statusFieldRules.d.ts +8 -0
  73. package/dist/src/validations/supportedFields/getSupportedAddressFields.d.ts +2 -2
  74. package/dist/src/validations/supportedFields/getSupportedControllingPersonFields.d.ts +2 -2
  75. package/dist/src/validations/supportedFields/getSupportedFields.d.ts +2 -2
  76. package/dist/src/validations/supportedFields/getSupportedTaxResidenceFields.d.ts +2 -2
  77. package/dist/src/validations/visibleFields/__tests__/utils.d.ts +2 -2
  78. package/dist/src/validations/visibleFields/getVisibleAddressFields.d.ts +2 -2
  79. package/dist/src/validations/visibleFields/getVisibleControllingPersonFields.d.ts +2 -2
  80. package/dist/src/validations/visibleFields/getVisibleFields.d.ts +2 -2
  81. package/dist/src/widgets/TaxbitQuestionnaire/TaxbitQuestionnaire.d.ts +21 -6
  82. package/dist/src/widgets/TaxbitQuestionnairePersist/TaxbitQuestionnairePersist.d.ts +1 -1
  83. package/dist/src/widgets/TaxbitQuestionnairePersist/useTaxbitPersist.d.ts +3 -1
  84. package/dist/src/wizard/RowInput/ShowHideInputRow/ShowHideInputRow.d.ts +2 -1
  85. package/dist/src/wizard/RowInput/TinInputRow/TinInputRow.d.ts +22 -0
  86. package/dist/src/wizard/RowInput/TinInputRow/index.d.ts +1 -0
  87. package/dist/src/wizard/RowInput/VisibleRow/VisibleRow.d.ts +2 -1
  88. package/dist/src/wizard/RowInput/index.d.ts +1 -0
  89. package/dist/taxbit-react-sdk.js +6422 -5036
  90. package/dist/taxbit-react-sdk.umd.cjs +1 -1
  91. package/package.json +2 -2
  92. package/style/basic.css +15 -4
  93. package/style/inline.css +15 -4
  94. package/style/minimal.css +9 -3
package/README.md CHANGED
@@ -130,6 +130,10 @@ If the `realTimeTinValidation` prop is set to `true`, the W-9 form will perform
130
130
 
131
131
  The date format can be set to `mdy` (month-day-year), `dmy` (day-month-year), or `ymd` (year-month-day). The default is `mdy`.
132
132
 
133
+ ### Region and Proxy Domain
134
+
135
+ The `region` prop can be set to either `US` or `EU` to determine which regional server the component will connect to. The default is `US`. The `proxyDomain` prop can be set to a custom domain to route requests through a proxy server. This is useful in environments where direct access to the Taxbit servers is restricted. If not provided, the component will connect directly to the Taxbit servers based on the selected region.
136
+
133
137
  ## useTaxbit Hook
134
138
 
135
139
  The `useTaxbit` hook can be used to get the data from the server or the account status.
@@ -143,7 +147,14 @@ const {
143
147
  generateDocumentUrl,
144
148
  isGeneratingDocumentUrl,
145
149
  documentUrl,
146
- } = useTaxbit({ bearerToken, questionnaire, onError });
150
+ } = useTaxbit({
151
+ bearerToken,
152
+ questionnaire,
153
+ staging,
154
+ region,
155
+ proxyDomain,
156
+ onError,
157
+ });
147
158
  ```
148
159
 
149
160
  It can also be used to get the document URL for the user's tax documentation. The `generateDocumentUrl` function will trigger a temporary URL generation. The `documentUrl` will be the URL of the document if it is available. `isGeneratingDocumentUrl` will be true while the URL is being generated. `canGetDocumentUrl` will be true if the user has submitted the questionnaire and a PDF tax document is available to this user. Note, `DPS` data does not generate a PDF document.
@@ -346,37 +357,47 @@ type QuestionnaireType = 'DPS' | 'W-FORM' | 'SELF-CERT';
346
357
 
347
358
  ## Changelog
348
359
 
360
+ ### Version 2.5.0-beta.0
361
+
362
+ - New support for country-specific TIN and VAT warnings.
363
+ - New validations for New Zealand and Australia TIN values in DPS.
364
+ - Relax validation—VAT and TIN can be the same value.
365
+
366
+ ### Version 2.4.0-beta.0
367
+
368
+ - Adding `region` and `proxyDomain` props to the TaxbitQuestionnaire component for US, EU regional support and proxy domain support.
369
+
349
370
  ### Version 2.3.0-beta.0
350
371
 
351
- 1. Simplifying checkbox options on the Certification screen.
372
+ - Simplifying checkbox options on the Certification screen.
352
373
 
353
374
  ### Version 2.2.0-beta.2
354
375
 
355
- 1. Bug fix, hiding email field for non-AU residents.
376
+ - Bug fix, hiding email field for non-AU residents.
356
377
 
357
378
  ### Version 2.2.0-beta.1
358
379
 
359
- 1. Updating TaxDocumentationStatus type to include issues and treatyClaimStatus.
380
+ - Updating TaxDocumentationStatus type to include issues and treatyClaimStatus.
360
381
 
361
382
  ### Version 2.2.0-beta.0
362
383
 
363
- 1. Adding SERR support for Australian residents.
384
+ - Adding SERR support for Australian residents.
364
385
 
365
386
  ### Version 2.1.0-beta.0
366
387
 
367
- 1. Adding Real-Time Tin Validation for W-9
388
+ - Adding Real-Time Tin Validation for W-9
368
389
 
369
390
  ### Version 2.0.0-beta.2
370
391
 
371
- 1. Adding es-MX ISO option.
392
+ - Adding es-MX ISO option.
372
393
 
373
394
  ### Version 2.0.0-beta.1
374
395
 
375
- 1. Fixed required fields for non-us Regarded Owner.
396
+ - Fixed required fields for non-us Regarded Owner.
376
397
 
377
398
  ### Version 2.0.0-beta.0
378
399
 
379
- 1. W-8IMY support added.
400
+ - W-8IMY support added.
380
401
 
381
402
  ### Version 1.2.0-beta.8
382
403
 
@@ -385,23 +406,23 @@ type QuestionnaireType = 'DPS' | 'W-FORM' | 'SELF-CERT';
385
406
 
386
407
  ### Version 1.2.0-beta.7
387
408
 
388
- 1. Verifying Mailing Address for W8-BEN-E, showing UsPerson selection on Summary screen.
409
+ - Verifying Mailing Address for W8-BEN-E, showing UsPerson selection on Summary screen.
389
410
 
390
411
  ### Version 1.2.0-beta.6
391
412
 
392
- 1. Fixing Treaty Claim header showing erroneously on the Summary screen.
413
+ - Fixing Treaty Claim header showing erroneously on the Summary screen.
393
414
 
394
415
  ### Version 1.2.0-beta.4
395
416
 
396
- 1. Passing investmentEntityManaged boolean to the server.
417
+ - Passing investmentEntityManaged boolean to the server.
397
418
 
398
419
  ### Version 1.2.0-beta.2
399
420
 
400
- 1. React 17 issue fixed with void return types in components.
421
+ - React 17 issue fixed with void return types in components.
401
422
 
402
423
  ### Version 1.2.0-beta.0
403
424
 
404
- 1. Self-Certification support
425
+ - Self-Certification support
405
426
 
406
427
  ### Version 1.1.0-beta.1
407
428
 
@@ -410,7 +431,7 @@ type QuestionnaireType = 'DPS' | 'W-FORM' | 'SELF-CERT';
410
431
 
411
432
  ### Version 1.1.0-beta.0
412
433
 
413
- 1. Treaty Claims Support on W-Forms.
434
+ - Treaty Claims Support on W-Forms.
414
435
 
415
436
  ### Version 1.0.0-beta.8
416
437
 
@@ -434,7 +455,7 @@ type QuestionnaireType = 'DPS' | 'W-FORM' | 'SELF-CERT';
434
455
 
435
456
  ### Version 1.0.0-beta.4
436
457
 
437
- 1. More explicit typing for TaxbitQuestionnaire component props
458
+ - More explicit typing for TaxbitQuestionnaire component props
438
459
 
439
460
  ### Version 1.0.0-beta.3
440
461
 
@@ -443,11 +464,11 @@ type QuestionnaireType = 'DPS' | 'W-FORM' | 'SELF-CERT';
443
464
 
444
465
  ### Version 1.0.0-beta.2
445
466
 
446
- 1. The ClientTaxDocumentation type is exposed in the `useTaxbit` hook.
467
+ - The ClientTaxDocumentation type is exposed in the `useTaxbit` hook.
447
468
 
448
469
  ### Version 1.0.0-beta.1
449
470
 
450
- 1. Showing "\*" when required for Addresses on Summary
471
+ - Showing "\*" when required for Addresses on Summary
451
472
 
452
473
  ### Version 1.0.0-beta.0
453
474
 
@@ -457,7 +478,7 @@ type QuestionnaireType = 'DPS' | 'W-FORM' | 'SELF-CERT';
457
478
 
458
479
  ### Version 0.6.2
459
480
 
460
- 1. Added this Changelog file
481
+ - Added this Changelog file
461
482
 
462
483
  ### Version 0.6.1
463
484
 
@@ -479,7 +500,7 @@ type QuestionnaireType = 'DPS' | 'W-FORM' | 'SELF-CERT';
479
500
 
480
501
  ### Version 0.4.4
481
502
 
482
- 1. Handle blank bearer token. No error, but a warning is logged.
503
+ - Handle blank bearer token. No error, but a warning is logged.
483
504
 
484
505
  ### Version 0.4.3
485
506
 
@@ -489,11 +510,11 @@ type QuestionnaireType = 'DPS' | 'W-FORM' | 'SELF-CERT';
489
510
 
490
511
  ### Version 0.4.2
491
512
 
492
- 1. Added stepIndex and steps fields to the Progress object. stepId is now typed to potential enum values.
513
+ - Added stepIndex and steps fields to the Progress object. stepId is now typed to potential enum values.
493
514
 
494
515
  ### Version 0.4.1
495
516
 
496
- 1. Bug fix for onProgress callback not being triggered from the TaxBitDAC7Form component.
517
+ - Bug fix for onProgress callback not being triggered from the TaxBitDAC7Form component.
497
518
 
498
519
  ### Version 0.4.0
499
520
 
@@ -507,19 +528,19 @@ type QuestionnaireType = 'DPS' | 'W-FORM' | 'SELF-CERT';
507
528
 
508
529
  ### Version 0.2.4
509
530
 
510
- 1. Bug fix for naming of CommonJS module exports.
531
+ - Bug fix for naming of CommonJS module exports.
511
532
 
512
533
  ### Version 0.2.3
513
534
 
514
- 1. Bug fix for the ClientTaxDocumentationStatus type not being accessible externally.
535
+ - Bug fix for the ClientTaxDocumentationStatus type not being accessible externally.
515
536
 
516
537
  ### Version 0.2.2
517
538
 
518
- 1. onSubmit and onSuccess callbacks are invoked with a parameter of type ClientTaxDocumentation which is now exposed.
539
+ - onSubmit and onSuccess callbacks are invoked with a parameter of type ClientTaxDocumentation which is now exposed.
519
540
 
520
541
  ### Version 0.2.1
521
542
 
522
- 1. The SDK now supports React versions 16, 17, 18 and TypeScript versions 4 and 5.
543
+ - The SDK now supports React versions 16, 17, 18 and TypeScript versions 4 and 5.
523
544
 
524
545
  ### Version 0.2.0
525
546
 
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { TaxDocumentationKey } from 'types';
3
+
4
+ export declare const StatusMessage: ({ name }: {
5
+ name: TaxDocumentationKey;
6
+ }) => React.JSX.Element | null;
@@ -0,0 +1 @@
1
+ export * from './StatusMessage.tsx';
@@ -8,3 +8,4 @@ export * from './JsxFromString';
8
8
  export * from './ProgressStatus';
9
9
  export * from './Row';
10
10
  export * from './Section';
11
+ export * from './StatusMessage';
@@ -1,5 +1,5 @@
1
1
  import { UsTinValidationAttempt, UsTinValidationStatus } from 'hooks';
2
- import { ButtonKey, ErrorKey, PromptKey, SubPromptKey } from '../../i18n/types';
2
+ import { ButtonKey, PromptKey, StatusKey, SubPromptKey } from '../../i18n/types';
3
3
  import { Locale, QuestionnaireProp, TaxDocumentation, TaxDocumentationKey } from '../../types';
4
4
 
5
5
  export declare const getLocal: (fields: TaxDocumentation, language: Locale, questionnaire: QuestionnaireProp, usTinValidations?: UsTinValidationAttempt[]) => {
@@ -9,7 +9,7 @@ export declare const getLocal: (fields: TaxDocumentation, language: Locale, ques
9
9
  getLocalButton: (key: ButtonKey) => string;
10
10
  getLocalCaProvince: (key: string | undefined) => string;
11
11
  getLocalCountry: (key: string | undefined) => string;
12
- getLocalError: (key: ErrorKey) => string;
12
+ getLocalStatus: (key: StatusKey) => string;
13
13
  getLocalMonth: (key: string | undefined) => string;
14
14
  getLocalOption: (key: string | undefined, prefix?: string) => string | undefined;
15
15
  getLocalPrompt: (key: string) => string;
@@ -1,5 +1,5 @@
1
- import { TaxDocumentationErrorFile, TaxDocumentationPropertyFile } from './useQuestionnaireStep';
1
+ import { TaxDocumentationBooleanMap, TaxDocumentationErrorMessagesMap } from './useQuestionnaireStep';
2
2
 
3
3
  export * from './QuestionnaireStepProvider';
4
4
  export * from './useQuestionnaireStepContext';
5
- export { TaxDocumentationErrorFile, TaxDocumentationPropertyFile };
5
+ export { TaxDocumentationBooleanMap, TaxDocumentationErrorMessagesMap };
@@ -1,12 +1,12 @@
1
- import { ErrorKey } from 'i18n/types';
1
+ import { StatusKey } from 'i18n/types';
2
2
  import { Yes } from 'types';
3
3
  import { TaxDocumentation, TaxDocumentationKey } from 'types/TaxDocumentation';
4
4
 
5
- export type TaxDocumentationPropertyFile = {
5
+ export type TaxDocumentationBooleanMap = {
6
6
  [key in TaxDocumentationKey]: boolean;
7
7
  };
8
- export type TaxDocumentationErrorFile = {
9
- [key in TaxDocumentationKey]?: ErrorKey[];
8
+ export type TaxDocumentationErrorMessagesMap = {
9
+ [key in TaxDocumentationKey]?: StatusKey[];
10
10
  };
11
11
  export declare const useQuestionnaireStep: () => {
12
12
  getBadgeKey: (key: TaxDocumentationKey) => import('../../hooks').UsTinValidationStatus | undefined;
@@ -15,7 +15,7 @@ export declare const useQuestionnaireStep: () => {
15
15
  getLocalButton: (key: import('i18n/types').ButtonKey) => string;
16
16
  getLocalCaProvince: (key: string | undefined) => string;
17
17
  getLocalCountry: (key: string | undefined) => string;
18
- getLocalError: (key: ErrorKey) => string;
18
+ getLocalStatus: (key: StatusKey) => string;
19
19
  getLocalMonth: (key: string | undefined) => string;
20
20
  getLocalOption: (key: string | undefined, prefix?: string) => string | undefined;
21
21
  getLocalPrompt: (key: string) => string;
@@ -36,10 +36,13 @@ export declare const useQuestionnaireStep: () => {
36
36
  hideErrors: () => void;
37
37
  showErrors: () => void;
38
38
  hasChangedData: boolean;
39
- getRequiredLocalPrompt: (key: TaxDocumentationKey) => string;
40
- visibleFields: TaxDocumentationPropertyFile;
41
- invalidFields: TaxDocumentationErrorFile;
42
- requiredFields: TaxDocumentationPropertyFile;
39
+ getRequiredLocalPrompt: (key: TaxDocumentationKey, aka?: string) => string;
40
+ visibleFields: TaxDocumentationBooleanMap;
41
+ invalidFields: TaxDocumentationErrorMessagesMap;
42
+ requiredFields: TaxDocumentationBooleanMap;
43
+ statusFields: {
44
+ [k: string]: StatusKey[] | undefined;
45
+ };
43
46
  hideField: (key: TaxDocumentationKey) => void;
44
47
  showField: (key: TaxDocumentationKey) => void;
45
48
  dateFormat: import('../TaxDocumentation/useTaxDocumentation.ts').DateFormatConfig;
@@ -8,7 +8,7 @@ export declare const useQuestionnaireStepContext: () => {
8
8
  getLocalButton: (key: import('../../i18n/types/LocalizationKey.ts').ButtonKey) => string;
9
9
  getLocalCaProvince: (key: string | undefined) => string;
10
10
  getLocalCountry: (key: string | undefined) => string;
11
- getLocalError: (key: import('../../i18n/types/LocalizationKey.ts').ErrorKey) => string;
11
+ getLocalStatus: (key: import('../../i18n/types/LocalizationKey.ts').StatusKey) => string;
12
12
  getLocalMonth: (key: string | undefined) => string;
13
13
  getLocalOption: (key: string | undefined, prefix?: string) => string | undefined;
14
14
  getLocalPrompt: (key: string) => string;
@@ -29,10 +29,13 @@ export declare const useQuestionnaireStepContext: () => {
29
29
  hideErrors: () => void;
30
30
  showErrors: () => void;
31
31
  hasChangedData: boolean;
32
- getRequiredLocalPrompt: (key: import('../../types/TaxDocumentation.ts').TaxDocumentationKey) => string;
33
- visibleFields: import('./useQuestionnaireStep.ts').TaxDocumentationPropertyFile;
34
- invalidFields: import('./useQuestionnaireStep.ts').TaxDocumentationErrorFile;
35
- requiredFields: import('./useQuestionnaireStep.ts').TaxDocumentationPropertyFile;
32
+ getRequiredLocalPrompt: (key: import('../../types/TaxDocumentation.ts').TaxDocumentationKey, aka?: string) => string;
33
+ visibleFields: import('./useQuestionnaireStep.ts').TaxDocumentationBooleanMap;
34
+ invalidFields: import('./useQuestionnaireStep.ts').TaxDocumentationErrorMessagesMap;
35
+ requiredFields: import('./useQuestionnaireStep.ts').TaxDocumentationBooleanMap;
36
+ statusFields: {
37
+ [k: string]: import('../../i18n/types/LocalizationKey.ts').StatusKey[] | undefined;
38
+ };
36
39
  hideField: (key: import('../../types/TaxDocumentation.ts').TaxDocumentationKey) => void;
37
40
  showField: (key: import('../../types/TaxDocumentation.ts').TaxDocumentationKey) => void;
38
41
  dateFormat: import('../TaxDocumentation/useTaxDocumentation.ts').DateFormatConfig;
@@ -47,7 +50,7 @@ export declare const useQuestionnaireStepContext: () => {
47
50
  getLocalButton: (key: import('../../i18n/types/LocalizationKey.ts').ButtonKey) => string;
48
51
  getLocalCaProvince: (key: string | undefined) => string;
49
52
  getLocalCountry: (key: string | undefined) => string;
50
- getLocalError: (key: import('../../i18n/types/LocalizationKey.ts').ErrorKey) => string;
53
+ getLocalStatus: (key: import('../../i18n/types/LocalizationKey.ts').StatusKey) => string;
51
54
  getLocalMonth: (key: string | undefined) => string;
52
55
  getLocalOption: (key: string | undefined, prefix?: string) => string | undefined;
53
56
  getLocalPrompt: (key: string) => string;
@@ -68,10 +71,13 @@ export declare const useQuestionnaireStepContext: () => {
68
71
  hideErrors: () => void;
69
72
  showErrors: () => void;
70
73
  hasChangedData: boolean;
71
- getRequiredLocalPrompt: (key: import('../../types/TaxDocumentation.ts').TaxDocumentationKey) => string;
72
- visibleFields: import('./useQuestionnaireStep.ts').TaxDocumentationPropertyFile;
73
- invalidFields: import('./useQuestionnaireStep.ts').TaxDocumentationErrorFile;
74
- requiredFields: import('./useQuestionnaireStep.ts').TaxDocumentationPropertyFile;
74
+ getRequiredLocalPrompt: (key: import('../../types/TaxDocumentation.ts').TaxDocumentationKey, aka?: string) => string;
75
+ visibleFields: import('./useQuestionnaireStep.ts').TaxDocumentationBooleanMap;
76
+ invalidFields: import('./useQuestionnaireStep.ts').TaxDocumentationErrorMessagesMap;
77
+ requiredFields: import('./useQuestionnaireStep.ts').TaxDocumentationBooleanMap;
78
+ statusFields: {
79
+ [k: string]: import('../../i18n/types/LocalizationKey.ts').StatusKey[] | undefined;
80
+ };
75
81
  hideField: (key: import('../../types/TaxDocumentation.ts').TaxDocumentationKey) => void;
76
82
  showField: (key: import('../../types/TaxDocumentation.ts').TaxDocumentationKey) => void;
77
83
  dateFormat: import('../TaxDocumentation/useTaxDocumentation.ts').DateFormatConfig;
@@ -20,8 +20,10 @@ export type UseTaxDocumentationProps = {
20
20
  realTimeTinValidation?: boolean;
21
21
  staging?: boolean;
22
22
  bearerToken?: string;
23
+ region?: 'US' | 'EU' | string;
24
+ proxyDomain?: string;
23
25
  };
24
- export declare const useTaxDocumentation: ({ data: startingData, language: initialLanguage, externalValidations, onSubmit, onProgress, step: initialStep, questionnaire, config, treatyClaims, dateFormat, realTimeTinValidation, staging, bearerToken, }: UseTaxDocumentationProps) => {
26
+ export declare const useTaxDocumentation: ({ data: startingData, language: initialLanguage, externalValidations, onSubmit, onProgress, step: initialStep, questionnaire, config, treatyClaims, dateFormat, realTimeTinValidation, staging, bearerToken, region, proxyDomain, }: UseTaxDocumentationProps) => {
25
27
  config: InterviewConfig | undefined;
26
28
  data: TaxDocumentation;
27
29
  dateFormat: DateFormatConfig;
@@ -5,8 +5,17 @@ type UseTaxbitProps = {
5
5
  questionnaire: QuestionnaireProp;
6
6
  staging?: boolean;
7
7
  onError?: (error: Error) => void | Promise<void>;
8
+ region?: 'US' | 'EU' | string;
9
+ proxyDomain?: never;
10
+ } | {
11
+ bearerToken: string;
12
+ questionnaire: QuestionnaireProp;
13
+ staging?: never;
14
+ region?: never;
15
+ proxyDomain?: string;
16
+ onError?: (error: Error) => void | Promise<void>;
8
17
  };
9
- export declare const useTaxbit: ({ bearerToken, questionnaire, staging, onError, }: UseTaxbitProps) => {
18
+ export declare const useTaxbit: ({ bearerToken, questionnaire, staging, onError, region, proxyDomain, }: UseTaxbitProps) => {
10
19
  serverData: import('@taxbit/utilities').SignedClientTaxDocumentation | undefined;
11
20
  statusData: import('../..').ClientTaxDocumentationStatus | undefined;
12
21
  canGetDocumentUrl: boolean;
@@ -7,8 +7,10 @@ type UseTaxbitStatusProps = {
7
7
  onError?: (error: Error) => void | Promise<void>;
8
8
  questionnaire: QuestionnaireProp;
9
9
  staging?: boolean;
10
+ region?: 'US' | 'EU' | string;
11
+ proxyDomain?: string;
10
12
  };
11
- export declare const useTaxbitStatus: ({ bearerToken, questionnaire, staging, onError, }: UseTaxbitStatusProps) => {
13
+ export declare const useTaxbitStatus: ({ bearerToken, questionnaire, staging, onError, region, proxyDomain, }: UseTaxbitStatusProps) => {
12
14
  serverData: SignedClientTaxDocumentation | undefined;
13
15
  statusData: ClientTaxDocumentationStatus | undefined;
14
16
  isLoading: boolean;
@@ -11,8 +11,10 @@ type UseUsTinValidationProps = {
11
11
  bearerToken?: string;
12
12
  isEnabled?: boolean;
13
13
  staging?: boolean;
14
+ region?: 'US' | 'EU' | string;
15
+ proxyDomain?: string;
14
16
  };
15
- export declare const useUsTinValidation: ({ bearerToken, isEnabled, staging, }: UseUsTinValidationProps) => {
17
+ export declare const useUsTinValidation: ({ bearerToken, isEnabled, staging, region, proxyDomain, }: UseUsTinValidationProps) => {
16
18
  doValidateUsTin: (name: string, usTin: string) => Promise<void>;
17
19
  isValidatingUsTin: boolean;
18
20
  usTinValidations: UsTinValidationAttempt[];
@@ -1 +1 @@
1
- export { getButtonText, getErrorText, getOptionText, getPromptText, getSubPromptText, getSubTitleText, getTitleText, } from './utils';
1
+ export { getButtonText, getOptionText, getPromptText, getStatusText, getSubPromptText, getSubTitleText, getTitleText, } from './utils';
@@ -40,9 +40,9 @@ declare const _default: {
40
40
  "taxIdNumber": "Данъчен идентификационен номер",
41
41
  "taxIdNumberIsNotRequired": "TIN не се изисква или не е издаден",
42
42
  "tin": "Данъчен идентификационен номер",
43
- "tinUkCrn": "Данъчен идентификационен номер (CRN)",
44
- "tinUkNino": "Данъчен идентификационен номер (NINO)",
45
- "tinAuAbn": "Данъчен идентификационен номер (ABN)",
43
+ "tinUkEntity": "Данъчен идентификационен номер",
44
+ "tinUkIndividual": "Данъчен идентификационен номер",
45
+ "tinAuAbn": "Данъчен идентификационен номер",
46
46
  "usTin": "Данъчен идентификационен номер на САЩ",
47
47
  "vatIdentificationNumber": "Идентификационен номер по ДДС",
48
48
  "vatIsNotRequired": "VAT не се изисква или не е издаден",
@@ -140,9 +140,11 @@ declare const _default: {
140
140
  "iCertifyHaveCapacity": "С натискане на „Изпрати“ потвърждавам, че имам правомощия да подпиша. Съгласявам се да бъда правно обвързан от информацията в този формуляр, потвърждавам, че мога да оттегля съгласието си, като се свържа с обслужването на клиенти, и разбирам, че при поискване може да ми бъде предоставена версия на този формуляр за изтегляне.",
141
141
  "iCertifyIsCorrect": "С натискане на „Изпрати“ потвърждавам, че имам правомощия да подпиша. Съгласявам се да бъда правно обвързан от информацията в този формуляр, потвърждавам, че мога да оттегля съгласието си, като се свържа с обслужването на клиенти, и разбирам, че при поискване може да ми бъде предоставена версия на този формуляр за изтегляне."
142
142
  },
143
- "error": {
143
+ "status": {
144
+ "matchesExpectedFormat": "✓ Съответства на очаквания формат",
144
145
  "countryMustBeAResidenceCountry": "Държавата трябва да бъде държава на пребиваване",
145
146
  "formHasErrors": "Моля, прегледайте грешките по-горе",
147
+ "doesNotMatchExpectedFormat": "Изглежда е неправилно",
146
148
  "invalid": "Невалиден",
147
149
  "invalidDate": "Невалидна дата",
148
150
  "invalidVat": "Невалиден ДДС номер",
@@ -159,11 +161,29 @@ declare const _default: {
159
161
  "residencesMustIncludeAddressCountry": "Държавата на адреса трябва да бъде посочена като данъчно местожителство по-долу",
160
162
  "residencesMustIncludeAnEUCountry": "Поне една държава на данъчно местожителство трябва да бъде държава-членка на ЕС",
161
163
  "residencesMustIncludeBusinessRegistrationCountry": "Държавата на регистрация на фирмата трябва да бъде посочена като данъчно местожителство по-долу",
162
- "mustNotMatchVatin": "Не трябва да съответства на предоставения ДДС номер",
164
+ "checkFormatIndividualGB": "Моля, проверете формата. Националният осигурителен номер (NINO) обикновено се състои от 2 букви, 6 цифри и крайна буква (A–D).",
165
+ "checkFormatEntityGB": "Моля, проверете формата. Unique Taxpayer Reference (UTR) обикновено е 10-цифрено число.",
166
+ "checkFormatIndividualDE": "Моля, проверете формата. Данъчният идентификационен номер (IDNR) обикновено е с 10 до 11 цифри.",
167
+ "checkFormatEntityDE": "Моля, проверете формата. Данъчният номер (STNR) обикновено е с 11 до 13 цифри.",
168
+ "checkFormatIndividualFR": "Моля, проверете формата. Данъчен идентификационен номер (NIF) обикновено е 13-цифрено число, започващо с 0, 1, 2 или 3.",
169
+ "checkFormatEntityFR": "Моля, проверете формата. Номер SIREN обикновено е 9-цифрено число.",
170
+ "checkFormatIndividualIT": "Моля, проверете формата. Codice Fiscale (CF) обикновено е 16-знаков буквено-цифров низ. Пример: MRTMTT91D08F205J.",
171
+ "checkFormatEntityIT": "Моля, проверете формата. Codice Fiscale (CF) обикновено е 11-цифрено число.",
172
+ "checkFormatIndividualES": "Моля, проверете формата. Número de Identidad Fiscal (NIF) обикновено е 9-знаков буквено-цифров низ. Пример: 12345678L или L1234567L.",
173
+ "checkFormatEntityES": "Моля, проверете формата. Данъчен номер (NIE, DNI или NIF) обикновено е буква, последвана от 8 цифри.",
174
+ "checkFormatIndividualNL": "Моля, проверете формата. Burgerservicenummer (BSN) обикновено е 9-цифрено число.",
175
+ "checkFormatEntityNL": "Моля, проверете формата. Данъчен номер по ДДС (BTW) обикновено е 9-цифрено число.",
176
+ "checkFormatIndividualIE": "Моля, проверете формата. Personal Public Service Number (PPSN) обикновено е 7 цифри и 1–2 букви. Пример: 1234567T или 1234567TA.",
177
+ "checkFormatEntityIE": "Моля, проверете формата. Tax Reference Number (TRN) обикновено е 7 цифри и 1–2 букви. Пример: 1234567T или 1234567TA.",
178
+ "checkFormatIndividualCA": "Моля, проверете формата. Social Insurance Number (SIN) обикновено е 9-цифрено число.",
179
+ "checkFormatEntityCA": "Моля, проверете формата. Business Number (BN) обикновено е 8 или 9 цифри.",
180
+ "checkFormatIndividualAU": "Моля, проверете формата. Australian Business Number (ABN) обикновено е 11-цифрено число, което преминава контролна сума.",
181
+ "checkFormatEntityAU": "Моля, проверете формата. Australian Business Number (ABN) обикновено е 11-цифрено число, което преминава контролна сума.",
182
+ "checkFormatIndividualSG": "Моля, проверете формата. National Registration Identity Card (NRIC) обикновено е 9-знаков буквено-цифров низ, а Foreign Identification Number (FIN) обикновено е 7-знаков буквено-цифров низ.",
183
+ "checkFormatEntitySG": "Моля, проверете формата. Unique Entity Number (UEN) обикновено е 9 или 10-знаков буквено-цифров низ.",
163
184
  "required": "Задължително",
164
185
  "tooLong": "Твърде дълго",
165
- "tooShort": "Твърде кратко",
166
- "vatinMustNotMatchResidencyTin": "VAT TIN не трябва да съвпада с TIN на резиденция"
186
+ "tooShort": "Твърде кратко"
167
187
  },
168
188
  "option": {
169
189
  "isIndividual_yes": "Да, аз съм физическо лице",
@@ -40,9 +40,9 @@ declare const _default: {
40
40
  "taxIdNumber": "Daňové identifikační číslo",
41
41
  "taxIdNumberIsNotRequired": "DIČ není vyžadováno nebo nebylo vydáno",
42
42
  "tin": "Daňové identifikační číslo",
43
- "tinUkCrn": "Daňové identifikační číslo (CRN)",
44
- "tinUkNino": "Daňové identifikační číslo (NINO)",
45
- "tinAuAbn": "Daňové identifikační číslo (ABN)",
43
+ "tinUkEntity": "Daňové identifikační číslo",
44
+ "tinUkIndividual": "Daňové identifikační číslo",
45
+ "tinAuAbn": "Daňové identifikační číslo",
46
46
  "usTin": "Daňové identifikační číslo USA",
47
47
  "vatIdentificationNumber": "Identifikační číslo DPH",
48
48
  "vatIsNotRequired": "DPH není vyžadováno nebo nebylo vydáno",
@@ -82,8 +82,6 @@ declare const _default: {
82
82
  "accountHolderTaxResidences": "Uveďte každou zemi nebo jurisdikci, kde je držitel účtu daňovým rezidentem.",
83
83
  "accountHolderPhoneAndEmail": "Uveďte telefonní číslo a e-mailovou adresu držitele účtu.",
84
84
  "isIndividual": "Vyberte „Ano“, pokud je účet pro fyzickou osobu. Vyberte „Ne“, pokud zastupujete firmu, organizaci nebo jinou právnickou osobu.",
85
- "financialAccountIdentifier": "Identifikátor finančního účtu (tj. číslo bankovního účtu) používaný pro platby prováděné na tento účet.",
86
- "financialAccountName": "Jméno spojené s finančním účtem používaným pro platby prováděné na tento účet.",
87
85
  "vatIdentificationNumber": "Unikátní identifikátor pro firmy nebo fyzické osoby registrované k DPH.",
88
86
  "placeOfBirth": "Místo narození je povinné, protože jste uvedli, že daňové identifikační číslo není ze zákona povinné pro každý členský stát Evropské unie, jehož jste daňovým rezidentem.",
89
87
  "streetIsPermanent": "Uveďte, zda je tato adresa trvalá nebo dočasná.",
@@ -142,9 +140,11 @@ declare const _default: {
142
140
  "iCertifyHaveCapacity": "Kliknutím na Odeslat potvrzuji, že mám oprávnění podepsat. Souhlasím s tím, že budu právně vázán informacemi v tomto formuláři, beru na vědomí, že svůj souhlas mohu odvolat kontaktováním zákaznické podpory a rozumím, že mi na požádání může být zpřístupněna stažitelná verze tohoto formuláře.",
143
141
  "iCertifyIsCorrect": "Kliknutím na Odeslat potvrzuji, že mám oprávnění podepsat. Souhlasím s tím, že budu právně vázán informacemi v tomto formuláři, beru na vědomí, že svůj souhlas mohu odvolat kontaktováním zákaznické podpory a rozumím, že mi na požádání může být zpřístupněna stažitelná verze tohoto formuláře."
144
142
  },
145
- "error": {
143
+ "status": {
144
+ "matchesExpectedFormat": "✓ Odpovídá očekávanému formátu",
146
145
  "countryMustBeAResidenceCountry": "Země musí být zemí pobytu",
147
146
  "formHasErrors": "Prosím, zkontrolujte chyby výše",
147
+ "doesNotMatchExpectedFormat": "Zdá se, že je nesprávné",
148
148
  "invalid": "Neplatný",
149
149
  "invalidDate": "Neplatné datum",
150
150
  "invalidVat": "Ogiltigt momsregistreringsnummer",
@@ -161,11 +161,29 @@ declare const _default: {
161
161
  "residencesMustIncludeAddressCountry": "Země adresy musí být uvedena jako daňová rezidence níže",
162
162
  "residencesMustIncludeAnEUCountry": "Alespoň jedna země daňové rezidence musí být členským státem EU",
163
163
  "residencesMustIncludeBusinessRegistrationCountry": "Země registrace firmy musí být uvedena jako daňová rezidence níže",
164
- "mustNotMatchVatin": "Nesmí odpovídat poskytnutému číslu DPH",
164
+ "checkFormatIndividualGB": "Zkontrolujte formát. National Insurance Number (NINO) má obvykle 2 písmena, 6 číslic a koncové písmeno (A–D).",
165
+ "checkFormatEntityGB": "Zkontrolujte formát. Unique Taxpayer Reference (UTR) je obvykle 10místné číslo.",
166
+ "checkFormatIndividualDE": "Zkontrolujte formát. Daňové identifikační číslo (IDNR) má obvykle 10 až 11 číslic.",
167
+ "checkFormatEntityDE": "Zkontrolujte formát. Daňové číslo (STNR) má obvykle 11 až 13 číslic.",
168
+ "checkFormatIndividualFR": "Zkontrolujte formát. Daňové identifikační číslo (NIF) má obvykle 13 číslic a začíná 0, 1, 2 nebo 3.",
169
+ "checkFormatEntityFR": "Zkontrolujte formát. Číslo SIREN má obvykle 9 číslic.",
170
+ "checkFormatIndividualIT": "Zkontrolujte formát. Codice Fiscale (CF) je obvykle alfanumerický řetězec o 16 znacích. Příklad: MRTMTT91D08F205J.",
171
+ "checkFormatEntityIT": "Zkontrolujte formát. Codice Fiscale (CF) je obvykle 11místné číslo.",
172
+ "checkFormatIndividualES": "Zkontrolujte formát. Número de Identidad Fiscal (NIF) je obvykle alfanumerický řetězec o 9 znacích. Příklad: 12345678L nebo L1234567L.",
173
+ "checkFormatEntityES": "Zkontrolujte formát. Daňové číslo (NIE, DNI nebo NIF) je obvykle písmeno následované 8 číslicemi.",
174
+ "checkFormatIndividualNL": "Zkontrolujte formát. Burgerservicenummer (BSN) má obvykle 9 číslic.",
175
+ "checkFormatEntityNL": "Zkontrolujte formát. Číslo DPH (BTW) má obvykle 9 číslic.",
176
+ "checkFormatIndividualIE": "Zkontrolujte formát. Personal Public Service Number (PPSN) má obvykle 7 číslic a 1–2 písmena. Příklad: 1234567T nebo 1234567TA.",
177
+ "checkFormatEntityIE": "Zkontrolujte formát. Tax Reference Number (TRN) má obvykle 7 číslic a 1–2 písmena. Příklad: 1234567T nebo 1234567TA.",
178
+ "checkFormatIndividualCA": "Zkontrolujte formát. Social Insurance Number (SIN) má obvykle 9 číslic.",
179
+ "checkFormatEntityCA": "Zkontrolujte formát. Business Number (BN) má obvykle 8 nebo 9 číslic.",
180
+ "checkFormatIndividualAU": "Zkontrolujte formát. Australian Business Number (ABN) je obvykle 11místné číslo, které projde kontrolním součtem.",
181
+ "checkFormatEntityAU": "Zkontrolujte formát. Australian Business Number (ABN) je obvykle 11místné číslo, které projde kontrolním součtem.",
182
+ "checkFormatIndividualSG": "Zkontrolujte formát. National Registration Identity Card (NRIC) je obvykle alfanumerický řetězec o 9 znacích a Foreign Identification Number (FIN) je obvykle alfanumerický řetězec o 7 znacích.",
183
+ "checkFormatEntitySG": "Zkontrolujte formát. Unique Entity Number (UEN) je obvykle alfanumerický řetězec o 9 nebo 10 znacích.",
165
184
  "required": "Povinné",
166
185
  "tooLong": "Příliš dlouhé",
167
- "tooShort": "Příliš krátké",
168
- "vatinMustNotMatchResidencyTin": "VAT TIN nesmí odpovídat TIN rezidence"
186
+ "tooShort": "Příliš krátké"
169
187
  },
170
188
  "option": {
171
189
  "isIndividual_yes": "Ano, jsem fyzická osoba",
@@ -40,9 +40,9 @@ declare const _default: {
40
40
  "taxIdNumber": "SKAT-id-nummer",
41
41
  "taxIdNumberIsNotRequired": "TIN er ikke påkrævet eller udstedt",
42
42
  "tin": "Skatteidentifikationsnummer",
43
- "tinUkCrn": "Skatteidentifikationsnummer (CRN)",
44
- "tinUkNino": "Skatteidentifikationsnummer (NINO)",
45
- "tinAuAbn": "Skatteidentifikationsnummer (ABN)",
43
+ "tinUkEntity": "Skatteidentifikationsnummer",
44
+ "tinUkIndividual": "Skatteidentifikationsnummer",
45
+ "tinAuAbn": "Skatteidentifikationsnummer",
46
46
  "usTin": "US skatteidentifikationsnummer",
47
47
  "vatIdentificationNumber": "MOMS-id-nummer",
48
48
  "vatIsNotRequired": "MOMS er ikke påkrævet eller udstedt",
@@ -82,8 +82,6 @@ declare const _default: {
82
82
  "accountHolderTaxResidences": "Indtast det land eller jurisdiktion, hvor kontohaveren er skattemæssigt hjemmehørende.",
83
83
  "accountHolderPhoneAndEmail": "Indtast venligst kontohaverens telefonnummer og e-mailadresse.",
84
84
  "isIndividual": "Vælg \"Ja\", hvis kontoen er for en privatperson. Vælg \"Nej\", hvis du repræsenterer en virksomhed, organisation eller anden enhed.",
85
- "financialAccountIdentifier": "Finansiel konto-id (dvs. bankkontonummer), der bruges til betalinger for denne konto.",
86
- "financialAccountName": "Navnet, der er knyttet til den finansielle konto, der bruges til betalinger for denne konto.",
87
85
  "vatIdentificationNumber": "Unik identifikator for momsregistrerede virksomheder eller privatpersoner.",
88
86
  "placeOfBirth": "Geboorteplaats is vereist, omdat u heeft aangegeven dat een fiscaal identificatienummer niet wettelijk vereist is voor elke lidstaat van de Europese Unie waarvan u fiscaal inwoner bent.",
89
87
  "signatureCapacityOther": "Beskriv rollen, hvor du har kapacitet til at underskrive.",
@@ -142,9 +140,11 @@ declare const _default: {
142
140
  "iCertifyHaveCapacity": "Ved at klikke på Send bekræfter jeg, at jeg har beføjelse til at underskrive. Jeg accepterer at være juridisk bundet af oplysningerne i denne formular, erkender, at jeg kan tilbagekalde mit samtykke ved at kontakte kundesupport, og forstår, at en downloadbar version af denne formular kan stilles til rådighed for mig efter anmodning.",
143
141
  "iCertifyIsCorrect": "Ved at klikke på Send bekræfter jeg, at jeg har beføjelse til at underskrive. Jeg accepterer at være juridisk bundet af oplysningerne i denne formular, erkender, at jeg kan tilbagekalde mit samtykke ved at kontakte kundesupport, og forstår, at en downloadbar version af denne formular kan stilles til rådighed for mig efter anmodning."
144
142
  },
145
- "error": {
143
+ "status": {
144
+ "matchesExpectedFormat": "✓ Matcher forventet format",
146
145
  "countryMustBeAResidenceCountry": "Landet skal være et bopælsland",
147
146
  "formHasErrors": "Gennemgå venligst fejl ovenfor",
147
+ "doesNotMatchExpectedFormat": "Ser ud til at være forkert",
148
148
  "invalid": "Ugyldig",
149
149
  "invalidDate": "Ugyldig dato",
150
150
  "invalidVat": "Ogiltigt momsregistreringsnummer",
@@ -161,11 +161,29 @@ declare const _default: {
161
161
  "residencesMustIncludeAddressCountry": "Landet for din primære adresse skal angives som Skattebopæl forneden",
162
162
  "residencesMustIncludeAnEUCountry": "Mindst et skattebopælsland skal være et EU-medlemsland",
163
163
  "residencesMustIncludeBusinessRegistrationCountry": "Virksomhedsregistreringsland skal angives som Skattebopæl forneden",
164
- "mustNotMatchVatin": " ikke matche MOMS-nummer",
164
+ "checkFormatIndividualGB": "Kontroller formatet. Et National Insurance Number (NINO) er normalt 2 bogstaver, 6 tal og et sidste bogstav (A–D).",
165
+ "checkFormatEntityGB": "Kontroller formatet. Et Unique Taxpayer Reference (UTR) er normalt et 10-cifret nummer.",
166
+ "checkFormatIndividualDE": "Kontroller formatet. Et skatte-ID-nummer (IDNR) er normalt på 10 til 11 cifre.",
167
+ "checkFormatEntityDE": "Kontroller formatet. Et skattenummer (STNR) er normalt på 11 til 13 cifre.",
168
+ "checkFormatIndividualFR": "Kontroller formatet. Et skatte-ID-nummer (NIF) er normalt på 13 cifre og starter med 0, 1, 2 eller 3.",
169
+ "checkFormatEntityFR": "Kontroller formatet. Et SIREN-nummer er normalt på 9 cifre.",
170
+ "checkFormatIndividualIT": "Kontroller formatet. En Codice Fiscale (CF) er normalt en alfanumerisk streng på 16 tegn. Eksempel: MRTMTT91D08F205J.",
171
+ "checkFormatEntityIT": "Kontroller formatet. En Codice Fiscale (CF) er normalt et 11-cifret nummer.",
172
+ "checkFormatIndividualES": "Kontroller formatet. Et Número de Identidad Fiscal (NIF) er normalt en alfanumerisk streng på 9 tegn. Eksempel: 12345678L eller L1234567L.",
173
+ "checkFormatEntityES": "Kontroller formatet. Et skatte-ID (NIE, DNI eller NIF) er normalt et bogstav efterfulgt af 8 cifre.",
174
+ "checkFormatIndividualNL": "Kontroller formatet. Et Burgerservicenummer (BSN) er normalt på 9 cifre.",
175
+ "checkFormatEntityNL": "Kontroller formatet. Et momsnummer (BTW) er normalt på 9 cifre.",
176
+ "checkFormatIndividualIE": "Kontroller formatet. Et Personal Public Service Number (PPSN) er normalt 7 tal og 1–2 bogstaver. Eksempel: 1234567T eller 1234567TA.",
177
+ "checkFormatEntityIE": "Kontroller formatet. Et Tax Reference Number (TRN) er normalt 7 tal og 1–2 bogstaver. Eksempel: 1234567T eller 1234567TA.",
178
+ "checkFormatIndividualCA": "Kontroller formatet. Et Social Insurance Number (SIN) er normalt på 9 cifre.",
179
+ "checkFormatEntityCA": "Kontroller formatet. Et Business Number (BN) er normalt på 8 eller 9 cifre.",
180
+ "checkFormatIndividualAU": "Kontroller formatet. Et Australian Business Number (ABN) er normalt et 11-cifret nummer, der består en kontrolsum.",
181
+ "checkFormatEntityAU": "Kontroller formatet. Et Australian Business Number (ABN) er normalt et 11-cifret nummer, der består en kontrolsum.",
182
+ "checkFormatIndividualSG": "Kontroller formatet. Et National Registration Identity Card (NRIC) er normalt en alfanumerisk streng på 9 tegn, og et Foreign Identification Number (FIN) er normalt en alfanumerisk streng på 7 tegn.",
183
+ "checkFormatEntitySG": "Kontroller formatet. Et Unique Entity Number (UEN) er normalt en alfanumerisk streng på 9 eller 10 tegn.",
165
184
  "required": "Påkrævet",
166
185
  "tooLong": "For lang",
167
- "tooShort": "For kort",
168
- "vatinMustNotMatchResidencyTin": "MOMS-nummer må ikke matche bopæls-TIN"
186
+ "tooShort": "For kort"
169
187
  },
170
188
  "option": {
171
189
  "isIndividual_yes": "Ja, jeg er en privatperson",
@@ -44,14 +44,14 @@ declare const _default: {
44
44
  "interviewIsComplete": "Ihre Befragung ist abgeschlossen.",
45
45
  "retrievingInterviewStatus": "Der Status der Befragung wird abgerufen..."
46
46
  },
47
- "error": {
47
+ "status": {
48
+ "matchesExpectedFormat": "✓ Entspricht dem erwarteten Format",
48
49
  "countryMustBeAResidenceCountry": "Land muss ein Wohnsitzland sein",
49
50
  "mustBeFiveOrNineDigits": "Muss fünf- oder neunstellig sein",
50
51
  "mustBeInDateFormat": "Bitte wählen Sie einen Monat, Tag und ein Jahr aus",
51
52
  "mustBeNineDigits": "Muss neunstellig sein",
52
53
  "mustBeCaPostalCodeFormat": "Muss aus sechs Zeichen bestehen",
53
- "mustBeValidBirthDate": "Kein gültiges Geburtsdatum",
54
- "mustNotMatchVatin": "Darf nicht mit der angegebenen Umsatzsteuernummer übereinstimmen."
54
+ "mustBeValidBirthDate": "Kein gültiges Geburtsdatum"
55
55
  },
56
56
  "option": {
57
57
  "isIndividual_yes": "Ja, ich bin eine natürliche Person.",