@silexpert/core 1.1.91 → 1.1.93

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 (55) hide show
  1. package/es/api/resources/Checklist.d.ts +5 -2
  2. package/es/api/resources/Checklist.d.ts.map +1 -1
  3. package/es/api/resources/Checklist.js +6 -0
  4. package/es/api/resources/Checklist.js.map +1 -1
  5. package/es/types/Enum/ChecklistType.d.ts +4 -0
  6. package/es/types/Enum/ChecklistType.d.ts.map +1 -1
  7. package/es/types/Enum/ChecklistType.js +5 -0
  8. package/es/types/Enum/ChecklistType.js.map +1 -1
  9. package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
  10. package/es/types/Enum/TaskResponseType.js +11 -0
  11. package/es/types/Enum/TaskResponseType.js.map +1 -1
  12. package/es/types/Enum/TimeCounterType.d.ts +7 -0
  13. package/es/types/Enum/TimeCounterType.d.ts.map +1 -1
  14. package/es/types/Enum/TimeCounterType.js +7 -0
  15. package/es/types/Enum/TimeCounterType.js.map +1 -1
  16. package/es/types/Interface/api/checklist/Query.d.ts +15 -0
  17. package/es/types/Interface/api/checklist/Query.d.ts.map +1 -1
  18. package/es/types/Interface/api/checklist/Query.js +44 -1
  19. package/es/types/Interface/api/checklist/Query.js.map +1 -1
  20. package/es/types/Interface/api/checklist/Read.d.ts +23 -0
  21. package/es/types/Interface/api/checklist/Read.d.ts.map +1 -1
  22. package/es/types/Interface/api/checklist/Read.js.map +1 -1
  23. package/es/types/Interface/models/IChecklist.d.ts +2 -1
  24. package/es/types/Interface/models/IChecklist.d.ts.map +1 -1
  25. package/es/types/Interface/models/IChecklist.js.map +1 -1
  26. package/es/types/Interface/models/IUser.d.ts +2 -0
  27. package/es/types/Interface/models/IUser.d.ts.map +1 -1
  28. package/es/types/Interface/models/IUser.js.map +1 -1
  29. package/es/utils/vat/3310/century23.js +18 -18
  30. package/es/utils/vat/3310/century23.js.map +1 -1
  31. package/js/api/resources/Checklist.js +14 -0
  32. package/js/api/resources/Checklist.js.map +1 -1
  33. package/js/types/Enum/ChecklistType.js +5 -0
  34. package/js/types/Enum/ChecklistType.js.map +1 -1
  35. package/js/types/Enum/TaskResponseType.js +10 -0
  36. package/js/types/Enum/TaskResponseType.js.map +1 -1
  37. package/js/types/Enum/TimeCounterType.js +7 -0
  38. package/js/types/Enum/TimeCounterType.js.map +1 -1
  39. package/js/types/Interface/api/checklist/Query.js +13 -1
  40. package/js/types/Interface/api/checklist/Query.js.map +1 -1
  41. package/js/types/Interface/api/checklist/Read.js.map +1 -1
  42. package/js/types/Interface/models/IChecklist.js.map +1 -1
  43. package/js/types/Interface/models/IUser.js.map +1 -1
  44. package/js/utils/vat/3310/century23.js +18 -18
  45. package/js/utils/vat/3310/century23.js.map +1 -1
  46. package/package.json +1 -1
  47. package/ts/api/resources/Checklist.ts +18 -2
  48. package/ts/types/Enum/ChecklistType.ts +5 -0
  49. package/ts/types/Enum/TaskResponseType.ts +11 -0
  50. package/ts/types/Enum/TimeCounterType.ts +7 -0
  51. package/ts/types/Interface/api/checklist/Query.ts +38 -1
  52. package/ts/types/Interface/api/checklist/Read.ts +24 -1
  53. package/ts/types/Interface/models/IChecklist.ts +2 -1
  54. package/ts/types/Interface/models/IUser.ts +2 -0
  55. package/ts/utils/vat/3310/century23.ts +18 -18
@@ -1 +1 @@
1
- {"version":3,"file":"IUser.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IUser.ts"],"names":[],"mappings":"","sourcesContent":["import { ICalendarEvent } from './ICalendarEvent';\nimport { IRole } from './IRole';\nimport { ICivility } from './ICivility';\nimport { IFile } from './IFile';\nimport { IUserSocietyPermission } from './IUserSocietyPermission';\nimport { IWorkingSchedule } from './IWorkingSchedule';\nimport { IRecontactHistory } from './IRecontactHistory';\nimport { IQuality } from './IQuality';\nimport { IAllowedIp } from './IAllowedIp';\nimport { IBusinessPartner } from './IBusinessPartner';\nimport { ILog } from './ILog';\nimport { INotification } from './INotification';\nimport { ISociety } from './ISociety';\nimport { ITeam } from './ITeam';\nimport { IUserTest } from './IUserTest';\nimport { IMobile } from './IMobile';\nimport { IRoleUser } from './IRoleUser';\nimport { ITimeRecorder } from './ITimeRecorder';\nimport { EntityType } from '../../Enum/EntityType';\n\ntype isAny<T> = T | any;\n\n// users\nexport interface IUser {\n id?: number;\n firstname?: string | null;\n lastname?: string | null;\n fullname?: string | null;\n email?: string | null;\n email2?: string | null;\n isMigrated?: boolean;\n username?: string | null;\n stripeCustomerId?: string | null;\n positionLabel?: string | null;\n sha?: string | null;\n hash?: string | null;\n password?: string | null;\n idFile?: number | null;\n quality?: string | null;\n idQuality?: number | null;\n phone?: string | null;\n phone2?: string | null;\n textMessageNumber?: string | null;\n prefix?: string | null;\n tokenLostPassword?: string | null;\n tokenApi?: string | null;\n tokenNotification?: string | null;\n tokenSocket?: string | null;\n authyId?: string | null;\n authCode?: string | null;\n authCodeDate?: Date | null;\n tutoTransaction?: boolean | null;\n lastConnection?: Date | null;\n beforeLastConnection?: Date | null;\n active?: boolean | null;\n toContact?: boolean;\n stateProspect?: boolean | null;\n birthdate?: Date | null;\n arrivalDate?: Date | null;\n entity?: EntityType | null;\n validityDateOfResidencePermit?: Date | null;\n isNewProspect?: boolean;\n hasAccountNumberDisplay?: boolean;\n isAssociate?: boolean | null;\n isResponderActive?: boolean;\n suppDoublon?: boolean | null;\n calendlyUrl?: string | null;\n idCivility?: number | null;\n idCommercialDoublon?: number | null;\n idProspectIsWith?: number | null;\n apprentice?: boolean;\n idCommercialGrade?: number | null;\n smsNotAllowed?: boolean;\n restDaysAbsence?: number | null;\n startOnboarding?: Date | null;\n societyByDefault?: number | null;\n longAbsence?: boolean | null;\n isDailyContract?: boolean | null;\n internationalPhone?: string | null;\n isThemeLight?: boolean;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n confirmedAt?: Date | null;\n tokenConfirmedAt?: string | null;\n idPoleLeader?: number | null;\n affiliateTrackingId?: number | null;\n\n // Associations\n userHasEvent?: isAny<ICalendarEvent>[];\n roles?: IRole[];\n roleUser?: IRoleUser;\n genders?: ICivility;\n commercial?: IUser;\n prospectPrincipal?: IUser;\n avatar?: IFile;\n userPermissions?: IUserSocietyPermission[];\n workingSchedules?: IWorkingSchedule[];\n recontactHistories?: IRecontactHistory[];\n poleLeader?: IUser;\n userQuality?: IQuality;\n allowedIps?: IAllowedIp[];\n businessPartner?: IBusinessPartner;\n poleAccountants?: IUser[];\n logs?: ILog[];\n notifications?: INotification[];\n societies?: ISociety[];\n teams?: ITeam[];\n usersTest?: IUserTest;\n mobile?: IMobile;\n timeRecorders?: ITimeRecorder[];\n}\n"]}
1
+ {"version":3,"file":"IUser.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IUser.ts"],"names":[],"mappings":"","sourcesContent":["import { ICalendarEvent } from './ICalendarEvent';\nimport { IRole } from './IRole';\nimport { ICivility } from './ICivility';\nimport { IFile } from './IFile';\nimport { IUserSocietyPermission } from './IUserSocietyPermission';\nimport { IWorkingSchedule } from './IWorkingSchedule';\nimport { IRecontactHistory } from './IRecontactHistory';\nimport { IQuality } from './IQuality';\nimport { IAllowedIp } from './IAllowedIp';\nimport { IBusinessPartner } from './IBusinessPartner';\nimport { ILog } from './ILog';\nimport { INotification } from './INotification';\nimport { ISociety } from './ISociety';\nimport { ITeam } from './ITeam';\nimport { IUserTest } from './IUserTest';\nimport { IMobile } from './IMobile';\nimport { IRoleUser } from './IRoleUser';\nimport { ITimeRecorder } from './ITimeRecorder';\nimport { EntityType } from '../../Enum/EntityType';\nimport { IMailAddress } from './IMailAddress';\n\ntype isAny<T> = T | any;\n\n// users\nexport interface IUser {\n id?: number;\n firstname?: string | null;\n lastname?: string | null;\n fullname?: string | null;\n email?: string | null;\n email2?: string | null;\n isMigrated?: boolean;\n username?: string | null;\n stripeCustomerId?: string | null;\n positionLabel?: string | null;\n sha?: string | null;\n hash?: string | null;\n password?: string | null;\n idFile?: number | null;\n quality?: string | null;\n idQuality?: number | null;\n phone?: string | null;\n phone2?: string | null;\n textMessageNumber?: string | null;\n prefix?: string | null;\n tokenLostPassword?: string | null;\n tokenApi?: string | null;\n tokenNotification?: string | null;\n tokenSocket?: string | null;\n authyId?: string | null;\n authCode?: string | null;\n authCodeDate?: Date | null;\n tutoTransaction?: boolean | null;\n lastConnection?: Date | null;\n beforeLastConnection?: Date | null;\n active?: boolean | null;\n toContact?: boolean;\n stateProspect?: boolean | null;\n birthdate?: Date | null;\n arrivalDate?: Date | null;\n entity?: EntityType | null;\n validityDateOfResidencePermit?: Date | null;\n isNewProspect?: boolean;\n hasAccountNumberDisplay?: boolean;\n isAssociate?: boolean | null;\n isResponderActive?: boolean;\n suppDoublon?: boolean | null;\n calendlyUrl?: string | null;\n idCivility?: number | null;\n idCommercialDoublon?: number | null;\n idProspectIsWith?: number | null;\n apprentice?: boolean;\n idCommercialGrade?: number | null;\n smsNotAllowed?: boolean;\n restDaysAbsence?: number | null;\n startOnboarding?: Date | null;\n societyByDefault?: number | null;\n longAbsence?: boolean | null;\n isDailyContract?: boolean | null;\n internationalPhone?: string | null;\n isThemeLight?: boolean;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n confirmedAt?: Date | null;\n tokenConfirmedAt?: string | null;\n idPoleLeader?: number | null;\n affiliateTrackingId?: number | null;\n\n // Associations\n userHasEvent?: isAny<ICalendarEvent>[];\n roles?: IRole[];\n roleUser?: IRoleUser;\n genders?: ICivility;\n commercial?: IUser;\n prospectPrincipal?: IUser;\n avatar?: IFile;\n userPermissions?: IUserSocietyPermission[];\n workingSchedules?: IWorkingSchedule[];\n recontactHistories?: IRecontactHistory[];\n poleLeader?: IUser;\n userQuality?: IQuality;\n allowedIps?: IAllowedIp[];\n businessPartner?: IBusinessPartner;\n poleAccountants?: IUser[];\n logs?: ILog[];\n notifications?: INotification[];\n societies?: ISociety[];\n teams?: ITeam[];\n usersTest?: IUserTest;\n mobile?: IMobile;\n timeRecorders?: ITimeRecorder[];\n mailAddresses?: IMailAddress[];\n}\n"]}
@@ -38,50 +38,50 @@ export function getCerfa3310Century23Payload(accountingEntries, payload, updated
38
38
  // Opérations taxées -
39
39
  const taxedServicesEntries = vatEntries.filter((ae) => frenchVat.includes(ae.idVat) && withTaxVat.includes(ae.idVat));
40
40
  const servicesAccounts = ['701', '702', '703', '704', '705', '706', '707', '708', '472'];
41
- const taxedServicesFromFrance = setZeroIfIsNegative(getAmountByAccountNumber(taxedServicesEntries, servicesAccounts, 0, true));
42
- const taxedOther = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => withTaxVat.includes(ae.idVat)), ['775'], 0, true));
41
+ const taxedServicesFromFrance = setZeroIfIsNegative(getAmountByAccountNumber(taxedServicesEntries, servicesAccounts, 0));
42
+ const taxedOther = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => withTaxVat.includes(ae.idVat)), ['775'], 0));
43
43
  const intracommunityServiceAccounts = ['604', '611', '612', '613', '614', '615', '616', '617', '618', '619', '62'];
44
44
  const intracommunityServiceEntries = vatEntries.filter((ae) => withTaxVat.includes(ae.idVat) && intracomVat.includes(ae.idVat));
45
45
  // Case A3
46
46
  const taxedPurchaseOfIntracommunityService = 0; /* setZeroIfIsNegative(getAmountByAccountNumber(intracommunityServiceEntries, intracommunityServiceAccounts, 0, true)); */
47
47
  const taxedImportEntries = vatEntries.filter((ae) => importationVat.includes(ae.idVat) && withTaxVat.includes(ae.idVat));
48
48
  const taxedImportAccounts = ['6'];
49
- const taxedImport = setZeroIfIsNegative(getAmountByAccountNumber(taxedImportEntries, taxedImportAccounts, 0, true));
49
+ const taxedImport = setZeroIfIsNegative(getAmountByAccountNumber(taxedImportEntries, taxedImportAccounts, 0));
50
50
  const intracommunityAccounts2 = ['601', '602', '603', '605', '606', '607', '651'];
51
51
  const taxedIntracommunityAcquisitions = getAmountByAccountNumber(vatEntries.filter((ae) => intracomVat.includes(ae.idVat) && withTaxVat.includes(ae.idVat)), [...intracommunityAccounts2, ...intracommunityServiceAccounts], 0, true);
52
52
  // Opérations non taxées
53
- const untaxedExportationNotInEurope = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => importationVat.includes(ae.idVat) && withoutTaxVat.includes(ae.idVat)), servicesAccounts, 0, true));
53
+ const untaxedExportationNotInEurope = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => importationVat.includes(ae.idVat) && withoutTaxVat.includes(ae.idVat)), servicesAccounts, 0));
54
54
  const untaxedOther = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => frenchVat.includes(ae.idVat) && withoutTaxVat.includes(ae.idVat)), ['70', '71', '72', '73', '75', '77', '78', '790', '792', '793', '794', '795', '796', '797', '798', '799'], 0, true)); // 02/08/23 - ne plus prendre en compte les comptes 76,74,791 - Chloé R.
55
- const untaxedImport = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => importationVat.includes(ae.idVat) && withoutTaxVat.includes(ae.idVat)), ['6'], 0, true));
56
- const untaxedIntracomunity = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => intracomVat.includes(ae.idVat) && withoutTaxVat.includes(ae.idVat)), intracommunityAccounts2, 0, true));
57
- const untaxedIntracommunityDelivery = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => withoutTaxVat.includes(ae.idVat) && intracomVat.includes(ae.idVat)), ['701', '707'], 0, true));
55
+ const untaxedImport = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => importationVat.includes(ae.idVat) && withoutTaxVat.includes(ae.idVat)), ['6'], 0));
56
+ const untaxedIntracomunity = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => intracomVat.includes(ae.idVat) && withoutTaxVat.includes(ae.idVat)), intracommunityAccounts2, 0));
57
+ const untaxedIntracommunityDelivery = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => withoutTaxVat.includes(ae.idVat) && intracomVat.includes(ae.idVat)), ['701', '707'], 0));
58
58
  // TVA brute
59
- const normalRate = setZeroIfIsNegative(getAmountByAccountNumber(taxedServicesEntries.filter((e) => vats.filter((v) => v.value === 20).map((v) => v.id).includes(e.idVat)), servicesAccounts, 0, true)
59
+ const normalRate = setZeroIfIsNegative(getAmountByAccountNumber(taxedServicesEntries.filter((e) => vats.filter((v) => v.value === 20).map((v) => v.id).includes(e.idVat)), servicesAccounts, 0)
60
60
  + getAmountByAccountNumber(intracommunityServiceEntries.filter((e) => vats.filter((v) => v.value === 20).map((v) => v.id).includes(e.idVat)), ['6'], 0, true));
61
61
  const normalRateTax = _round(normalRate * 0.2);
62
- const reducedRate5Dot5 = setZeroIfIsNegative(getAmountByAccountNumber(taxedServicesEntries.filter((e) => vats.filter((v) => v.value === 5.5).map((v) => v.id).includes(e.idVat)), servicesAccounts, 0, true)
62
+ const reducedRate5Dot5 = setZeroIfIsNegative(getAmountByAccountNumber(taxedServicesEntries.filter((e) => vats.filter((v) => v.value === 5.5).map((v) => v.id).includes(e.idVat)), servicesAccounts, 0)
63
63
  + getAmountByAccountNumber(intracommunityServiceEntries.filter((e) => vats.filter((v) => v.value === 5.5).map((v) => v.id).includes(e.idVat)), ['6'], 0, true));
64
64
  const reducedRate5Dot5Tax = _round(reducedRate5Dot5 * 0.055);
65
- const reducedRate10 = setZeroIfIsNegative(getAmountByAccountNumber(taxedServicesEntries.filter((e) => vats.filter((v) => v.value === 10).map((v) => v.id).includes(e.idVat)), servicesAccounts, 0, true)
65
+ const reducedRate10 = setZeroIfIsNegative(getAmountByAccountNumber(taxedServicesEntries.filter((e) => vats.filter((v) => v.value === 10).map((v) => v.id).includes(e.idVat)), servicesAccounts, 0)
66
66
  + getAmountByAccountNumber(intracommunityServiceEntries.filter((e) => vats.filter((v) => v.value === 10).map((v) => v.id).includes(e.idVat)), ['6'], 0, true));
67
67
  const reducedRate10Tax = _round(reducedRate10 * 0.1);
68
- const reducedRate8Dot5 = setZeroIfIsNegative(getAmountByAccountNumber(taxedServicesEntries.filter((e) => vats.filter((v) => v.value === 8.5).map((v) => v.id).includes(e.idVat)), servicesAccounts, 0, true)
68
+ const reducedRate8Dot5 = setZeroIfIsNegative(getAmountByAccountNumber(taxedServicesEntries.filter((e) => vats.filter((v) => v.value === 8.5).map((v) => v.id).includes(e.idVat)), servicesAccounts, 0)
69
69
  + getAmountByAccountNumber(intracommunityServiceEntries.filter((e) => vats.filter((v) => v.value === 8.5).map((v) => v.id).includes(e.idVat)), ['6'], 0, true));
70
70
  const reducedRate8Dot5Tax = _round(reducedRate8Dot5 * 0.085);
71
- const reducedRate2Dot1 = setZeroIfIsNegative(getAmountByAccountNumber(taxedServicesEntries.filter((e) => vats.filter((v) => v.value === 2.1).map((v) => v.id).includes(e.idVat)), servicesAccounts, 0, true)
71
+ const reducedRate2Dot1 = setZeroIfIsNegative(getAmountByAccountNumber(taxedServicesEntries.filter((e) => vats.filter((v) => v.value === 2.1).map((v) => v.id).includes(e.idVat)), servicesAccounts, 0)
72
72
  + getAmountByAccountNumber(intracommunityServiceEntries.filter((e) => vats.filter((v) => v.value === 2.1).map((v) => v.id).includes(e.idVat)), ['6'], 0, true));
73
73
  const reducedRate2Dot1Tax = _round(reducedRate2Dot1 * 0.021);
74
- const importNormalRate = setZeroIfIsNegative(getAmountByAccountNumber(taxedImportEntries.filter((e) => vats.filter((v) => v.value === 20).map((v) => v.id).includes(e.idVat)), taxedImportAccounts, 0, true));
74
+ const importNormalRate = setZeroIfIsNegative(getAmountByAccountNumber(taxedImportEntries.filter((e) => vats.filter((v) => v.value === 20).map((v) => v.id).includes(e.idVat)), taxedImportAccounts, 0));
75
75
  const importNormalRateTax = _round(importNormalRate * 0.2);
76
- const importReducedRate10 = setZeroIfIsNegative(getAmountByAccountNumber(taxedImportEntries.filter((e) => vats.filter((v) => v.value === 10).map((v) => v.id).includes(e.idVat)), taxedImportAccounts, 0, true));
76
+ const importReducedRate10 = setZeroIfIsNegative(getAmountByAccountNumber(taxedImportEntries.filter((e) => vats.filter((v) => v.value === 10).map((v) => v.id).includes(e.idVat)), taxedImportAccounts, 0));
77
77
  const importReducedRate10Tax = _round(importReducedRate10 * 0.1);
78
- const importReducedRate8Dot5 = setZeroIfIsNegative(getAmountByAccountNumber(taxedImportEntries.filter((e) => vats.filter((v) => v.value === 8.5).map((v) => v.id).includes(e.idVat)), taxedImportAccounts, 0, true));
78
+ const importReducedRate8Dot5 = setZeroIfIsNegative(getAmountByAccountNumber(taxedImportEntries.filter((e) => vats.filter((v) => v.value === 8.5).map((v) => v.id).includes(e.idVat)), taxedImportAccounts, 0));
79
79
  const importReducedRate8Dot5Tax = _round(importReducedRate8Dot5 * 0.085);
80
- const importReducedRate5Dot5 = setZeroIfIsNegative(getAmountByAccountNumber(taxedImportEntries.filter((e) => vats.filter((v) => v.value === 5.5).map((v) => v.id).includes(e.idVat)), taxedImportAccounts, 0, true));
80
+ const importReducedRate5Dot5 = setZeroIfIsNegative(getAmountByAccountNumber(taxedImportEntries.filter((e) => vats.filter((v) => v.value === 5.5).map((v) => v.id).includes(e.idVat)), taxedImportAccounts, 0));
81
81
  const importReducedRate5Dot5Tax = _round(importReducedRate8Dot5 * 0.055);
82
- const importReducedRate2Dot1 = setZeroIfIsNegative(getAmountByAccountNumber(taxedImportEntries.filter((e) => vats.filter((v) => v.value === 2.1).map((v) => v.id).includes(e.idVat)), taxedImportAccounts, 0, true));
82
+ const importReducedRate2Dot1 = setZeroIfIsNegative(getAmountByAccountNumber(taxedImportEntries.filter((e) => vats.filter((v) => v.value === 2.1).map((v) => v.id).includes(e.idVat)), taxedImportAccounts, 0));
83
83
  const importReducedRate2Dot1Tax = _round(importReducedRate2Dot1 * 0.021);
84
- const importReducedRate1Dot05 = setZeroIfIsNegative(getAmountByAccountNumber(taxedImportEntries.filter((e) => vats.filter((v) => v.value === 1.05).map((v) => v.id).includes(e.idVat)), taxedImportAccounts, 0, true));
84
+ const importReducedRate1Dot05 = setZeroIfIsNegative(getAmountByAccountNumber(taxedImportEntries.filter((e) => vats.filter((v) => v.value === 1.05).map((v) => v.id).includes(e.idVat)), taxedImportAccounts, 0));
85
85
  const importReducedRate1Dot05Tax = _round(importReducedRate1Dot05 * 0.0105);
86
86
  const intracommunityTax = setZeroIfIsNegative(getTaxAmountByAccountNumber(intracommunityServiceEntries, [...intracommunityServiceAccounts, ...intracommunityAccounts2], 0));
87
87
  // TVA Déductible