@silexpert/core 1.1.153 → 1.1.154

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.
@@ -42,10 +42,10 @@ export const BrandPourcentage = [
42
42
  },
43
43
  companyInformation: {
44
44
  ape: '6920Z',
45
- bp: '',
45
+ bp: 'BP 31029',
46
46
  city: 'Laxou',
47
47
  montantCapital: '150 000',
48
- nomRaisonSociale: 'POURCENTAGE',
48
+ nomRaisonSociale: 'EXPERTISE CHOIX C',
49
49
  ECName: 'M. Jean-Louis BOICHÉ',
50
50
  ECOrderCity: 'Nancy',
51
51
  phone: '01 86 90 82 15',
@@ -69,6 +69,10 @@ export const BrandPourcentage = [
69
69
  BIC: 'AGRIFRPP861',
70
70
  Name: 'POURCENTAGE',
71
71
  Id: 'FR57ZZZ878E61',
72
+ codeEtablissement: '16106',
73
+ codeGuichet: '01001',
74
+ numeroCompte: '96018269527',
75
+ cleRib: '65',
72
76
  },
73
77
  internalInvoicing: {
74
78
  statut: 'SASU',
@@ -345,6 +349,10 @@ export const BrandPourcentage = [
345
349
  BIC: 'AGRIFRPP861',
346
350
  Name: 'SOFRAGECO',
347
351
  Id: 'FR08ZZZ892C4F',
352
+ codeEtablissement: '16106',
353
+ codeGuichet: '01001',
354
+ numeroCompte: '96017036111',
355
+ cleRib: '54',
348
356
  },
349
357
  internalInvoicing: {
350
358
  statut: 'SAS',
@@ -587,7 +595,7 @@ export const BrandPourcentage = [
587
595
  montantCapital: '466 800',
588
596
  nomRaisonSociale: 'AMEX',
589
597
  ECName: 'M. Jean-Louis BOICHÉ',
590
- ECOrderCity: 'Nancy',
598
+ ECOrderCity: 'Nice',
591
599
  phone: '04 93 87 03 03',
592
600
  postalAddress: '11, Boulevard Victor Hugo',
593
601
  rcs: 'Nice B 882 255 094',
@@ -609,6 +617,10 @@ export const BrandPourcentage = [
609
617
  BIC: 'AGRIFRPP861',
610
618
  Name: 'AMEX',
611
619
  Id: 'FR57ZZZ86ECE0',
620
+ codeEtablissement: '16106',
621
+ codeGuichet: '01001',
622
+ numeroCompte: '96026934238',
623
+ cleRib: '89',
612
624
  },
613
625
  internalInvoicing: {
614
626
  statut: 'SARL',
@@ -72,24 +72,24 @@ export function getCerfa3310Century23Payload(accountingEntries: IAccountingEntry
72
72
  const untaxedIntracommunityDelivery = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => withoutTaxVat.includes(ae.idVat) && intracomVat.includes(ae.idVat)), ['701', '707'], 0, true));
73
73
  // TVA brute
74
74
  const normalRate = setZeroIfIsNegative(getAmountByAccountNumber(taxedServicesEntries.filter((e) => vats.filter((v) => v.value === 20).map((v) => v.id).includes(e.idVat)), servicesAccounts, 0, true)
75
- + getAmountByAccountNumber(intracommunityServiceEntries.filter((e) => vats.filter((v) => v.value === 20).map((v) => v.id).includes(e.idVat)), ['6'], 0, true)) + (payload?.vatControl?.france?.base20 ?? 0);
75
+ + getAmountByAccountNumber(intracommunityServiceEntries.filter((e) => vats.filter((v) => v.value === 20).map((v) => v.id).includes(e.idVat)), ['6'], 0, true)) + (payload?.vatControl?.france?.base20 ?? 0) + (payload?.vatControl?.other?.base20 ?? 0);
76
76
 
77
77
  const normalRateTax = _round(normalRate * 0.2);
78
78
 
79
79
  const reducedRate5Dot5 = setZeroIfIsNegative(getAmountByAccountNumber(taxedServicesEntries.filter((e) => vats.filter((v) => v.value === 5.5).map((v) => v.id).includes(e.idVat)), servicesAccounts, 0, true)
80
- + getAmountByAccountNumber(intracommunityServiceEntries.filter((e) => vats.filter((v) => v.value === 5.5).map((v) => v.id).includes(e.idVat)), ['6'], 0, true)) + (payload?.vatControl?.france?.base5Dot5 ?? 0);
80
+ + getAmountByAccountNumber(intracommunityServiceEntries.filter((e) => vats.filter((v) => v.value === 5.5).map((v) => v.id).includes(e.idVat)), ['6'], 0, true)) + (payload?.vatControl?.france?.base5Dot5 ?? 0) + (payload?.vatControl?.other?.base5Dot5 ?? 0);
81
81
  const reducedRate5Dot5Tax = _round(reducedRate5Dot5 * 0.055);
82
82
 
83
83
  const reducedRate10 = setZeroIfIsNegative(getAmountByAccountNumber(taxedServicesEntries.filter((e) => vats.filter((v) => v.value === 10).map((v) => v.id).includes(e.idVat)), servicesAccounts, 0, true)
84
- + getAmountByAccountNumber(intracommunityServiceEntries.filter((e) => vats.filter((v) => v.value === 10).map((v) => v.id).includes(e.idVat)), ['6'], 0, true)) + (payload?.vatControl?.france?.base10 ?? 0);
84
+ + getAmountByAccountNumber(intracommunityServiceEntries.filter((e) => vats.filter((v) => v.value === 10).map((v) => v.id).includes(e.idVat)), ['6'], 0, true)) + (payload?.vatControl?.france?.base10 ?? 0) + (payload?.vatControl?.other?.base10 ?? 0);
85
85
  const reducedRate10Tax = _round(reducedRate10 * 0.1);
86
86
 
87
87
  const reducedRate8Dot5 = setZeroIfIsNegative(getAmountByAccountNumber(taxedServicesEntries.filter((e) => vats.filter((v) => v.value === 8.5).map((v) => v.id).includes(e.idVat)), servicesAccounts, 0, true)
88
- + getAmountByAccountNumber(intracommunityServiceEntries.filter((e) => vats.filter((v) => v.value === 8.5).map((v) => v.id).includes(e.idVat)), ['6'], 0, true)) + (payload?.vatControl?.france?.base8Dot5 ?? 0);
88
+ + getAmountByAccountNumber(intracommunityServiceEntries.filter((e) => vats.filter((v) => v.value === 8.5).map((v) => v.id).includes(e.idVat)), ['6'], 0, true)) + (payload?.vatControl?.france?.base8Dot5 ?? 0) + (payload?.vatControl?.other?.base5Dot5 ?? 0);
89
89
  const reducedRate8Dot5Tax = _round(reducedRate8Dot5 * 0.085);
90
90
 
91
91
  const reducedRate2Dot1 = setZeroIfIsNegative(getAmountByAccountNumber(taxedServicesEntries.filter((e) => vats.filter((v) => v.value === 2.1).map((v) => v.id).includes(e.idVat)), servicesAccounts, 0, true)
92
- + getAmountByAccountNumber(intracommunityServiceEntries.filter((e) => vats.filter((v) => v.value === 2.1).map((v) => v.id).includes(e.idVat)), ['6'], 0, true)) + (payload?.vatControl?.france?.base2Dot1 ?? 0);
92
+ + getAmountByAccountNumber(intracommunityServiceEntries.filter((e) => vats.filter((v) => v.value === 2.1).map((v) => v.id).includes(e.idVat)), ['6'], 0, true)) + (payload?.vatControl?.france?.base2Dot1 ?? 0) + (payload?.vatControl?.other?.base2Dot1 ?? 0);
93
93
  const reducedRate2Dot1Tax = _round(reducedRate2Dot1 * 0.021);
94
94
 
95
95
  const importNormalRate = setZeroIfIsNegative(getAmountByAccountNumber(taxedImportEntries.filter((e) => vats.filter((v) => v.value === 20).map((v) => v.id).includes(e.idVat)), taxedImportAccounts, 0, true)) + (payload?.vatControl?.importations?.base20 ?? 0);