Skip to content

Commit 82eb657

Browse files
authored
Merge pull request Expensify#64450 from callstack-internal/feat/62281-business-tax-id-desc
feat: 62281 Business tax id description
2 parents 457ba18 + 2c33ae6 commit 82eb657

15 files changed

Lines changed: 517 additions & 29 deletions

File tree

cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@
174174
"ERECEIPTS",
175175
"Español",
176176
"ethnicities",
177+
"EUVAT",
177178
"evenodd",
178179
"eventmachine",
179180
"evictable",

src/languages/de.ts

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ import type {
4444
BillingBannerInsufficientFundsParams,
4545
BillingBannerOwnerAmountOwedOverdueParams,
4646
BillingBannerSubtitleWithDateParams,
47+
BusinessTaxIDParams,
4748
CanceledRequestParams,
4849
CardEndingParams,
4950
CardInfoParams,
@@ -2711,14 +2712,40 @@ const translations = {
27112712
whatsTheBusinessAddress: 'Wie lautet die Geschäftsadresse?',
27122713
whatsTheBusinessContactInformation: 'Wie lauten die Geschäftskontaktdaten?',
27132714
whatsTheBusinessRegistrationNumber: 'Wie lautet die Handelsregisternummer?',
2714-
whatsTheBusinessTaxIDEIN: 'Wie lautet die Geschäftssteuer-ID/EIN/USt-IdNr./GST-Registrierungsnummer?',
2715+
whatsTheBusinessTaxIDEIN: ({country}: BusinessTaxIDParams) => {
2716+
switch (country) {
2717+
case CONST.COUNTRY.US:
2718+
return 'Was ist die Arbeitgeber-Identifikationsnummer (EIN)?';
2719+
case CONST.COUNTRY.CA:
2720+
return 'Was ist die Unternehmensnummer (BN)?';
2721+
case CONST.COUNTRY.GB:
2722+
return 'Was ist die Umsatzsteuer-Identifikationsnummer (VRN)?';
2723+
case CONST.COUNTRY.AU:
2724+
return 'Was ist die australische Unternehmensnummer (ABN)?';
2725+
default:
2726+
return 'Was ist die EU-Umsatzsteuer-Identifikationsnummer?';
2727+
}
2728+
},
27152729
whatsThisNumber: 'Was ist diese Nummer?',
27162730
whereWasTheBusinessIncorporated: 'Wo wurde das Unternehmen gegründet?',
27172731
whatTypeOfBusinessIsIt: 'Welche Art von Geschäft ist es?',
27182732
whatsTheBusinessAnnualPayment: 'Wie hoch ist das jährliche Zahlungsvolumen des Unternehmens?',
27192733
whatsYourExpectedAverageReimbursements: 'Wie hoch ist Ihr erwarteter durchschnittlicher Erstattungsbetrag?',
27202734
registrationNumber: 'Registrierungsnummer',
2721-
taxIDEIN: 'Steuer-ID/EIN-Nummer',
2735+
taxIDEIN: ({country}: BusinessTaxIDParams) => {
2736+
switch (country) {
2737+
case CONST.COUNTRY.US:
2738+
return 'EIN';
2739+
case CONST.COUNTRY.CA:
2740+
return 'BN';
2741+
case CONST.COUNTRY.GB:
2742+
return 'VRN';
2743+
case CONST.COUNTRY.AU:
2744+
return 'ABN';
2745+
default:
2746+
return 'EU-USt';
2747+
}
2748+
},
27222749
businessAddress: 'Geschäftsadresse',
27232750
businessType: 'Geschäftsart',
27242751
incorporation: 'Inkorporation',
@@ -2742,6 +2769,20 @@ const translations = {
27422769
findAverageReimbursement: 'Durchschnittlichen Erstattungsbetrag finden',
27432770
error: {
27442771
registrationNumber: 'Bitte geben Sie eine gültige Registrierungsnummer an.',
2772+
taxIDEIN: ({country}: BusinessTaxIDParams) => {
2773+
switch (country) {
2774+
case CONST.COUNTRY.US:
2775+
return 'Bitte geben Sie eine gültige Arbeitgeber-Identifikationsnummer (EIN) an';
2776+
case CONST.COUNTRY.CA:
2777+
return 'Bitte geben Sie eine gültige Unternehmensnummer (BN) an';
2778+
case CONST.COUNTRY.GB:
2779+
return 'Bitte geben Sie eine gültige Umsatzsteuer-Identifikationsnummer (VRN) an';
2780+
case CONST.COUNTRY.AU:
2781+
return 'Bitte geben Sie eine gültige australische Unternehmensnummer (ABN) an';
2782+
default:
2783+
return 'Bitte geben Sie eine gültige EU-Umsatzsteuer-Identifikationsnummer an';
2784+
}
2785+
},
27452786
},
27462787
},
27472788
beneficialOwnerInfoStep: {

src/languages/en.ts

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import type {
3232
BillingBannerInsufficientFundsParams,
3333
BillingBannerOwnerAmountOwedOverdueParams,
3434
BillingBannerSubtitleWithDateParams,
35+
BusinessTaxIDParams,
3536
CanceledRequestParams,
3637
CardEndingParams,
3738
CardInfoParams,
@@ -2672,14 +2673,40 @@ const translations = {
26722673
whatsTheBusinessAddress: "What's the business address?",
26732674
whatsTheBusinessContactInformation: "What's the business contact information?",
26742675
whatsTheBusinessRegistrationNumber: "What's the business registration number?",
2675-
whatsTheBusinessTaxIDEIN: "What's the business tax ID/EIN/VAT/GST registration number?",
2676+
whatsTheBusinessTaxIDEIN: ({country}: BusinessTaxIDParams) => {
2677+
switch (country) {
2678+
case CONST.COUNTRY.US:
2679+
return 'What’s the Employer Identification Number (EIN)?';
2680+
case CONST.COUNTRY.CA:
2681+
return 'What’s the Business Number (BN)?';
2682+
case CONST.COUNTRY.GB:
2683+
return 'What’s the VAT Registration Number (VRN)?';
2684+
case CONST.COUNTRY.AU:
2685+
return 'What’s the Australian Business Number (ABN)?';
2686+
default:
2687+
return 'What’s the EU VAT number?';
2688+
}
2689+
},
26762690
whatsThisNumber: "What's this number?",
26772691
whereWasTheBusinessIncorporated: 'Where was the business incorporated?',
26782692
whatTypeOfBusinessIsIt: 'What type of business is it?',
26792693
whatsTheBusinessAnnualPayment: "What's the business's annual payment volume?",
26802694
whatsYourExpectedAverageReimbursements: "What's your expected average reimbursement amount?",
26812695
registrationNumber: 'Registration number',
2682-
taxIDEIN: 'Tax ID/EIN number',
2696+
taxIDEIN: ({country}: BusinessTaxIDParams) => {
2697+
switch (country) {
2698+
case CONST.COUNTRY.US:
2699+
return 'EIN';
2700+
case CONST.COUNTRY.CA:
2701+
return 'BN';
2702+
case CONST.COUNTRY.GB:
2703+
return 'VRN';
2704+
case CONST.COUNTRY.AU:
2705+
return 'ABN';
2706+
default:
2707+
return 'EU VAT';
2708+
}
2709+
},
26832710
businessAddress: 'Business address',
26842711
businessType: 'Business type',
26852712
incorporation: 'Incorporation',
@@ -2703,6 +2730,20 @@ const translations = {
27032730
findAverageReimbursement: 'Find average reimbursement amount',
27042731
error: {
27052732
registrationNumber: 'Please provide a valid registration number',
2733+
taxIDEIN: ({country}: BusinessTaxIDParams) => {
2734+
switch (country) {
2735+
case CONST.COUNTRY.US:
2736+
return 'Please provide a valid Employer Identification Number (EIN)';
2737+
case CONST.COUNTRY.CA:
2738+
return 'Please provide a valid Business Number (BN)';
2739+
case CONST.COUNTRY.GB:
2740+
return 'Please provide a valid VAT Registration Number (VRN)';
2741+
case CONST.COUNTRY.AU:
2742+
return 'Please provide a valid Australian Business Number (ABN)';
2743+
default:
2744+
return 'Please provide a valid EU VAT number';
2745+
}
2746+
},
27062747
},
27072748
},
27082749
beneficialOwnerInfoStep: {

src/languages/es.ts

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import type {
3131
BillingBannerInsufficientFundsParams,
3232
BillingBannerOwnerAmountOwedOverdueParams,
3333
BillingBannerSubtitleWithDateParams,
34+
BusinessTaxIDParams,
3435
CanceledRequestParams,
3536
CardEndingParams,
3637
CardInfoParams,
@@ -2694,14 +2695,40 @@ const translations = {
26942695
whatsTheBusinessAddress: '¿Cuál es la dirección de la empresa?',
26952696
whatsTheBusinessContactInformation: '¿Cuál es la información de contacto de la empresa?',
26962697
whatsTheBusinessRegistrationNumber: '¿Cuál es el número de registro de la empresa?',
2697-
whatsTheBusinessTaxIDEIN: '¿Cuál es el número de identificación fiscal ID/EIN/VAT/GST de la empresa?',
2698+
whatsTheBusinessTaxIDEIN: ({country}: BusinessTaxIDParams) => {
2699+
switch (country) {
2700+
case CONST.COUNTRY.US:
2701+
return '¿Cuál es el Número de Identificación del Empleador (EIN)?';
2702+
case CONST.COUNTRY.CA:
2703+
return '¿Cuál es el Número de Empresa (BN)?';
2704+
case CONST.COUNTRY.GB:
2705+
return '¿Cuál es el Número de Registro de IVA (VRN)?';
2706+
case CONST.COUNTRY.AU:
2707+
return '¿Cuál es el Número de Empresa Australiano (ABN)?';
2708+
default:
2709+
return '¿Cuál es el número de IVA de la UE?';
2710+
}
2711+
},
26982712
whatsThisNumber: '¿Qué es este número?',
26992713
whereWasTheBusinessIncorporated: '¿Dónde se constituyó la empresa?',
27002714
whatTypeOfBusinessIsIt: '¿Qué tipo de empresa es?',
27012715
whatsTheBusinessAnnualPayment: '¿Cuál es el volumen anual de pagos de la empresa?',
27022716
whatsYourExpectedAverageReimbursements: '¿Cuál es el monto promedio esperado de reembolso?',
27032717
registrationNumber: 'Número de registro',
2704-
taxIDEIN: 'Número de identificación fiscal/EIN',
2718+
taxIDEIN: ({country}: BusinessTaxIDParams) => {
2719+
switch (country) {
2720+
case CONST.COUNTRY.US:
2721+
return 'EIN';
2722+
case CONST.COUNTRY.CA:
2723+
return 'BN';
2724+
case CONST.COUNTRY.GB:
2725+
return 'VRN';
2726+
case CONST.COUNTRY.AU:
2727+
return 'ABN';
2728+
default:
2729+
return 'EU VAT';
2730+
}
2731+
},
27052732
businessAddress: 'Dirección de la empresa',
27062733
businessType: 'Tipo de empresa',
27072734
incorporation: 'Constitución',
@@ -2725,6 +2752,20 @@ const translations = {
27252752
findAverageReimbursement: 'Encuentra el monto promedio de reembolso',
27262753
error: {
27272754
registrationNumber: 'Por favor, proporciona un número de registro válido',
2755+
taxIDEIN: ({country}: BusinessTaxIDParams) => {
2756+
switch (country) {
2757+
case CONST.COUNTRY.US:
2758+
return 'Por favor, proporcione un Número de Identificación del Empleador (EIN) válido';
2759+
case CONST.COUNTRY.CA:
2760+
return 'Por favor, proporcione un Número de Empresa (BN) válido';
2761+
case CONST.COUNTRY.GB:
2762+
return 'Por favor, proporcione un Número de Registro de IVA (VRN) válido';
2763+
case CONST.COUNTRY.AU:
2764+
return 'Por favor, proporcione un Número de Empresa Australiano (ABN) válido';
2765+
default:
2766+
return 'Por favor, proporcione un número de IVA de la UE válido';
2767+
}
2768+
},
27282769
},
27292770
},
27302771
beneficialOwnerInfoStep: {

src/languages/fr.ts

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ import type {
4444
BillingBannerInsufficientFundsParams,
4545
BillingBannerOwnerAmountOwedOverdueParams,
4646
BillingBannerSubtitleWithDateParams,
47+
BusinessTaxIDParams,
4748
CanceledRequestParams,
4849
CardEndingParams,
4950
CardInfoParams,
@@ -2712,14 +2713,40 @@ const translations = {
27122713
whatsTheBusinessAddress: "Quelle est l'adresse de l'entreprise ?",
27132714
whatsTheBusinessContactInformation: 'Quelles sont les coordonnées professionnelles ?',
27142715
whatsTheBusinessRegistrationNumber: "Quel est le numéro d'enregistrement de l'entreprise ?",
2715-
whatsTheBusinessTaxIDEIN: "Quel est le numéro d'identification fiscale/de TVA/d'enregistrement GST de l'entreprise ?",
2716+
whatsTheBusinessTaxIDEIN: ({country}: BusinessTaxIDParams) => {
2717+
switch (country) {
2718+
case CONST.COUNTRY.US:
2719+
return 'Quel est le numéro d’identification d’employeur (EIN) ?';
2720+
case CONST.COUNTRY.CA:
2721+
return 'Quel est le numéro d’entreprise (BN) ?';
2722+
case CONST.COUNTRY.GB:
2723+
return 'Quel est le numéro d’immatriculation à la TVA (VRN) ?';
2724+
case CONST.COUNTRY.AU:
2725+
return 'Quel est le numéro d’entreprise australien (ABN) ?';
2726+
default:
2727+
return 'Quel est le numéro de TVA intracommunautaire (UE) ?';
2728+
}
2729+
},
27162730
whatsThisNumber: 'Quel est ce numéro ?',
27172731
whereWasTheBusinessIncorporated: "Où l'entreprise a-t-elle été constituée ?",
27182732
whatTypeOfBusinessIsIt: "Quel type d'entreprise est-ce ?",
27192733
whatsTheBusinessAnnualPayment: "Quel est le volume annuel de paiements de l'entreprise ?",
27202734
whatsYourExpectedAverageReimbursements: 'Quel est le montant moyen de remboursement que vous attendez ?',
27212735
registrationNumber: "Numéro d'enregistrement",
2722-
taxIDEIN: "Numéro d'identification fiscale/EIN",
2736+
taxIDEIN: ({country}: BusinessTaxIDParams) => {
2737+
switch (country) {
2738+
case CONST.COUNTRY.US:
2739+
return 'EIN';
2740+
case CONST.COUNTRY.CA:
2741+
return 'BN';
2742+
case CONST.COUNTRY.GB:
2743+
return 'VRN';
2744+
case CONST.COUNTRY.AU:
2745+
return 'ABN';
2746+
default:
2747+
return 'TVA UE';
2748+
}
2749+
},
27232750
businessAddress: 'Adresse professionnelle',
27242751
businessType: "Type d'entreprise",
27252752
incorporation: 'Incorporation',
@@ -2743,6 +2770,20 @@ const translations = {
27432770
findAverageReimbursement: 'Trouver le montant moyen de remboursement',
27442771
error: {
27452772
registrationNumber: "Veuillez fournir un numéro d'enregistrement valide",
2773+
taxIDEIN: ({country}: BusinessTaxIDParams) => {
2774+
switch (country) {
2775+
case CONST.COUNTRY.US:
2776+
return 'Veuillez fournir un numéro d’identification d’employeur (EIN) valide';
2777+
case CONST.COUNTRY.CA:
2778+
return 'Veuillez fournir un numéro d’entreprise (BN) valide';
2779+
case CONST.COUNTRY.GB:
2780+
return 'Veuillez fournir un numéro de TVA (VRN) valide';
2781+
case CONST.COUNTRY.AU:
2782+
return 'Veuillez fournir un numéro d’entreprise australien (ABN) valide';
2783+
default:
2784+
return 'Veuillez fournir un numéro de TVA intracommunautaire valide';
2785+
}
2786+
},
27462787
},
27472788
},
27482789
beneficialOwnerInfoStep: {

src/languages/it.ts

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ import type {
4444
BillingBannerInsufficientFundsParams,
4545
BillingBannerOwnerAmountOwedOverdueParams,
4646
BillingBannerSubtitleWithDateParams,
47+
BusinessTaxIDParams,
4748
CanceledRequestParams,
4849
CardEndingParams,
4950
CardInfoParams,
@@ -2696,14 +2697,40 @@ const translations = {
26962697
whatsTheBusinessAddress: "Qual è l'indirizzo dell'azienda?",
26972698
whatsTheBusinessContactInformation: 'Quali sono le informazioni di contatto aziendali?',
26982699
whatsTheBusinessRegistrationNumber: "Qual è il numero di registrazione dell'azienda?",
2699-
whatsTheBusinessTaxIDEIN: "Qual è il numero di partita IVA/ID fiscale/EIN/registrazione IVA/GST dell'azienda?",
2700+
whatsTheBusinessTaxIDEIN: ({country}: BusinessTaxIDParams) => {
2701+
switch (country) {
2702+
case CONST.COUNTRY.US:
2703+
return 'Qual è il numero di identificazione del datore di lavoro (EIN)?';
2704+
case CONST.COUNTRY.CA:
2705+
return 'Qual è il numero aziendale (BN)?';
2706+
case CONST.COUNTRY.GB:
2707+
return 'Qual è il numero di partita IVA (VRN)?';
2708+
case CONST.COUNTRY.AU:
2709+
return 'Qual è il numero aziendale australiano (ABN)?';
2710+
default:
2711+
return 'Qual è il numero di partita IVA UE?';
2712+
}
2713+
},
27002714
whatsThisNumber: 'Qual è questo numero?',
27012715
whereWasTheBusinessIncorporated: "Dove è stata costituita l'azienda?",
27022716
whatTypeOfBusinessIsIt: 'Che tipo di attività è?',
27032717
whatsTheBusinessAnnualPayment: "Qual è il volume di pagamento annuale dell'azienda?",
27042718
whatsYourExpectedAverageReimbursements: "Qual è l'importo medio di rimborso previsto?",
27052719
registrationNumber: 'Numero di registrazione',
2706-
taxIDEIN: 'Numero di identificazione fiscale/EIN',
2720+
taxIDEIN: ({country}: BusinessTaxIDParams) => {
2721+
switch (country) {
2722+
case CONST.COUNTRY.US:
2723+
return 'EIN';
2724+
case CONST.COUNTRY.CA:
2725+
return 'BN';
2726+
case CONST.COUNTRY.GB:
2727+
return 'VRN';
2728+
case CONST.COUNTRY.AU:
2729+
return 'ABN';
2730+
default:
2731+
return 'IVA UE';
2732+
}
2733+
},
27072734
businessAddress: 'Indirizzo aziendale',
27082735
businessType: 'Tipo di attività',
27092736
incorporation: 'Incorporazione',
@@ -2727,6 +2754,20 @@ const translations = {
27272754
findAverageReimbursement: "Trova l'importo medio del rimborso",
27282755
error: {
27292756
registrationNumber: 'Si prega di fornire un numero di registrazione valido',
2757+
taxIDEIN: ({country}: BusinessTaxIDParams) => {
2758+
switch (country) {
2759+
case CONST.COUNTRY.US:
2760+
return 'Si prega di fornire un numero di identificazione del datore di lavoro (EIN) valido';
2761+
case CONST.COUNTRY.CA:
2762+
return 'Si prega di fornire un numero aziendale (BN) valido';
2763+
case CONST.COUNTRY.GB:
2764+
return 'Si prega di fornire un numero di partita IVA (VRN) valido';
2765+
case CONST.COUNTRY.AU:
2766+
return 'Si prega di fornire un numero aziendale australiano (ABN) valido';
2767+
default:
2768+
return 'Si prega di fornire un numero di partita IVA UE valido';
2769+
}
2770+
},
27302771
},
27312772
},
27322773
beneficialOwnerInfoStep: {

0 commit comments

Comments
 (0)