@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.
- package/es/api/resources/TerminationList.d.ts +2 -1
- package/es/api/resources/TerminationList.d.ts.map +1 -1
- package/es/api/resources/TerminationList.js +3 -0
- package/es/api/resources/TerminationList.js.map +1 -1
- package/es/types/Enum/Tax.d.ts +2 -1
- package/es/types/Enum/Tax.d.ts.map +1 -1
- package/es/types/Enum/Tax.js +1 -0
- package/es/types/Enum/Tax.js.map +1 -1
- package/es/types/Interface/api/terminationList/CreateTerminationList.d.ts +14 -0
- package/es/types/Interface/api/terminationList/CreateTerminationList.d.ts.map +1 -0
- package/es/types/Interface/api/terminationList/CreateTerminationList.js +80 -0
- package/es/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -0
- package/es/types/Interface/models/ITerminationList.d.ts +11 -11
- package/es/types/Interface/models/ITerminationList.d.ts.map +1 -1
- package/es/types/Interface/models/ITerminationList.js.map +1 -1
- package/es/types/index.d.ts +1 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +1 -0
- package/es/types/index.js.map +1 -1
- package/es/utils/vat/3310/century23.d.ts.map +1 -1
- package/es/utils/vat/3310/century23.js +1 -2
- package/es/utils/vat/3310/century23.js.map +1 -1
- package/es/utils/vat/registration.d.ts +0 -1
- package/es/utils/vat/registration.d.ts.map +1 -1
- package/es/utils/vat/registration.js +12 -12
- package/es/utils/vat/registration.js.map +1 -1
- package/js/api/resources/TerminationList.js +3 -0
- package/js/api/resources/TerminationList.js.map +1 -1
- package/js/types/Enum/Tax.js +1 -0
- package/js/types/Enum/Tax.js.map +1 -1
- package/js/types/Interface/api/terminationList/CreateTerminationList.js +32 -0
- package/js/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -0
- package/js/types/Interface/models/ITerminationList.js.map +1 -1
- package/js/types/index.js +10 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/vat/3310/century23.js +1 -2
- package/js/utils/vat/3310/century23.js.map +1 -1
- package/js/utils/vat/registration.js +12 -14
- package/js/utils/vat/registration.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/TerminationList.ts +5 -1
- package/ts/types/Enum/Tax.ts +1 -0
- package/ts/types/Interface/api/terminationList/CreateTerminationList.ts +63 -0
- package/ts/types/Interface/models/ITerminationList.ts +11 -11
- package/ts/types/index.ts +1 -0
- package/ts/utils/vat/3310/century23.ts +1 -2
- 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)), ['
|
|
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));
|