@silexpert/core 1.2.67 → 1.2.68
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.
|
@@ -35,7 +35,7 @@ function getCerfa3517Century23Payload(accountingEntries, payload) {
|
|
|
35
35
|
const vatReducedRate8Dot5 = (0, utils_1.setZeroIfIsNegative)((0, utils_1.getAmountByAccountNumber)(vatEntries.filter((ae) => ae.idVat === Vat_1.Vat.TX_8_5.id), taxedOperationsAccounts, 0, true));
|
|
36
36
|
const vatReducedRate2Dot1 = (0, utils_1.setZeroIfIsNegative)((0, utils_1.getAmountByAccountNumber)(vatEntries.filter((ae) => ae.idVat === Vat_1.Vat.TX_2_1.id), taxedOperationsAccounts, 0, true));
|
|
37
37
|
const prestation2Entries = vatEntries.filter((ae) => intracomVat.includes(ae.idVat));
|
|
38
|
-
const presta2Accounts = ['604', '61', '62', '607', '651', '601', '602']; // Ajout suite à la demande de Ben x Angelo
|
|
38
|
+
const presta2Accounts = ['604', '61', '62', '607', '651', '601', '602', '606']; // Ajout suite à la demande de Ben x Angelo, 606 Angelo
|
|
39
39
|
const prestation2Base = (0, utils_1.setZeroIfIsNegative)((0, utils_1.getAmountByAccountNumber)(prestation2Entries, presta2Accounts, 0, true));
|
|
40
40
|
const prestation2AmountOfVat = (0, utils_1.setZeroIfIsNegative)((0, utils_1.getTaxAmountByAccountNumber)(prestation2Entries, presta2Accounts, 0, false, true));
|
|
41
41
|
const saleOfImmobilization = (0, utils_1.setZeroIfIsNegative)((0, utils_1.getAmountByAccountNumber)(vatEntries.filter((ae) => !withoutTaxVat.includes(ae.idVat) && frenchVat.includes(ae.idVat)), ['775'], 0, true));
|