@silexpert/core 1.1.57 → 1.1.59

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 (47) hide show
  1. package/es/api/resources/TerminationList.d.ts +2 -1
  2. package/es/api/resources/TerminationList.d.ts.map +1 -1
  3. package/es/api/resources/TerminationList.js +3 -0
  4. package/es/api/resources/TerminationList.js.map +1 -1
  5. package/es/types/Enum/Tax.d.ts +2 -1
  6. package/es/types/Enum/Tax.d.ts.map +1 -1
  7. package/es/types/Enum/Tax.js +1 -0
  8. package/es/types/Enum/Tax.js.map +1 -1
  9. package/es/types/Interface/api/terminationList/CreateTerminationList.d.ts +14 -0
  10. package/es/types/Interface/api/terminationList/CreateTerminationList.d.ts.map +1 -0
  11. package/es/types/Interface/api/terminationList/CreateTerminationList.js +80 -0
  12. package/es/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -0
  13. package/es/types/Interface/models/ITerminationList.d.ts +11 -11
  14. package/es/types/Interface/models/ITerminationList.d.ts.map +1 -1
  15. package/es/types/Interface/models/ITerminationList.js.map +1 -1
  16. package/es/types/index.d.ts +1 -0
  17. package/es/types/index.d.ts.map +1 -1
  18. package/es/types/index.js +1 -0
  19. package/es/types/index.js.map +1 -1
  20. package/es/utils/vat/3310/century23.d.ts.map +1 -1
  21. package/es/utils/vat/3310/century23.js +1 -2
  22. package/es/utils/vat/3310/century23.js.map +1 -1
  23. package/es/utils/vat/registration.d.ts +0 -1
  24. package/es/utils/vat/registration.d.ts.map +1 -1
  25. package/es/utils/vat/registration.js +12 -12
  26. package/es/utils/vat/registration.js.map +1 -1
  27. package/js/api/resources/TerminationList.js +3 -0
  28. package/js/api/resources/TerminationList.js.map +1 -1
  29. package/js/types/Enum/Tax.js +1 -0
  30. package/js/types/Enum/Tax.js.map +1 -1
  31. package/js/types/Interface/api/terminationList/CreateTerminationList.js +32 -0
  32. package/js/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -0
  33. package/js/types/Interface/models/ITerminationList.js.map +1 -1
  34. package/js/types/index.js +10 -0
  35. package/js/types/index.js.map +1 -1
  36. package/js/utils/vat/3310/century23.js +1 -2
  37. package/js/utils/vat/3310/century23.js.map +1 -1
  38. package/js/utils/vat/registration.js +12 -14
  39. package/js/utils/vat/registration.js.map +1 -1
  40. package/package.json +1 -1
  41. package/ts/api/resources/TerminationList.ts +5 -1
  42. package/ts/types/Enum/Tax.ts +1 -0
  43. package/ts/types/Interface/api/terminationList/CreateTerminationList.ts +63 -0
  44. package/ts/types/Interface/models/ITerminationList.ts +11 -11
  45. package/ts/types/index.ts +1 -0
  46. package/ts/utils/vat/3310/century23.ts +1 -2
  47. package/ts/utils/vat/registration.ts +3 -3
@@ -60,10 +60,9 @@ function getCerfa3310Century23Payload(accountingEntries, payload, updatedEntries
60
60
  const taxedImport = (0, _utils.setZeroIfIsNegative)((0, _utils.getAmountByAccountNumber)(taxedImportEntries, taxedImportAccounts, 0, true));
61
61
  const intracommunityAccounts2 = ['601', '602', '603', '605', '606', '607', '651'];
62
62
  const taxedIntracommunityAcquisitions = (0, _utils.getAmountByAccountNumber)(vatEntries.filter(ae => intracomVat.includes(ae.idVat) && withTaxVat.includes(ae.idVat)), [...intracommunityAccounts2, ...intracommunityServiceAccounts], 0, true);
63
- console.log('👀 ~ file: century23.ts:64 ~ taxedIntracommunityAcquisitions:', taxedIntracommunityAcquisitions);
64
63
  // Opérations non taxées
65
64
  const untaxedExportationNotInEurope = (0, _utils.setZeroIfIsNegative)((0, _utils.getAmountByAccountNumber)(vatEntries.filter(ae => importationVat.includes(ae.idVat) && withoutTaxVat.includes(ae.idVat)), servicesAccounts, 0, true));
66
- const untaxedOther = (0, _utils.setZeroIfIsNegative)((0, _utils.getAmountByAccountNumber)(vatEntries.filter(ae => frenchVat.includes(ae.idVat) && withoutTaxVat.includes(ae.idVat)), ['7'], 0, true));
65
+ const untaxedOther = (0, _utils.setZeroIfIsNegative)((0, _utils.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.
67
66
  const untaxedImport = (0, _utils.setZeroIfIsNegative)((0, _utils.getAmountByAccountNumber)(vatEntries.filter(ae => importationVat.includes(ae.idVat) && withoutTaxVat.includes(ae.idVat)), ['6'], 0, true));
68
67
  const untaxedIntracomunity = (0, _utils.setZeroIfIsNegative)((0, _utils.getAmountByAccountNumber)(vatEntries.filter(ae => intracomVat.includes(ae.idVat) && withoutTaxVat.includes(ae.idVat)), intracommunityAccounts2, 0, true));
69
68
  const untaxedIntracommunityDelivery = (0, _utils.setZeroIfIsNegative)((0, _utils.getAmountByAccountNumber)(vatEntries.filter(ae => withoutTaxVat.includes(ae.idVat) && intracomVat.includes(ae.idVat)), ['701', '707'], 0, true));