@silexpert/core 1.1.38 → 1.1.39

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.
@@ -348,7 +348,7 @@ function getCerfa3517Century23Payload(accountingEntries, payload) {
348
348
  data.net.advance.paid = data.net.advance1.paid + data.net.advance2.paid;
349
349
  data.net.advance.toPay = data.net.advance1.toPay + data.net.advance2.toPay;
350
350
  data.net.advance.total = data.net.advance.paid + data.net.advance.toPay;
351
- data.net.balance = data.net.due - (data.net.credit + data.net.advance.total) > 0 ? data.net.due - (data.net.due + data.net.advance.total) : 0;
351
+ data.net.balance = data.net.due - (data.net.credit + data.net.advance.total) > 0 ? data.net.due - (data.net.credit + data.net.advance.total) : 0;
352
352
  data.net.surplus = data.net.advance.total - data.net.due > 0 ? data.net.advance.total - data.net.due : 0;
353
353
  data.net.balanceSurplus = data.net.credit + data.net.surplus;
354
354
  data.tax.total = data.tax.onRetransmission + data.tax.onResultFarm + data.tax.payingVideo.reduced + data.tax.payingVideo.normal + data.tax.freeVideo.reduce + data.tax.freeVideo.normal + data.tax.bailiff + data.tax.contribution + data.tax.ofEmployer + data.tax.onBoardingCorse + data.tax.onBoarding + data.tax.development + data.tax.publicity + data.tax.onCompanySurplus + data.tax.onPublicElectricity + data.tax.onCanceledOrders + data.tax.specialDue + data.tax.slaughter + data.tax.cutting + data.tax.substances + data.tax.fishing + data.tax.fishingProduct + data.tax.agreement + data.tax.phyto.onCirculation + data.tax.phyto.onExportation + data.tax.phyto.total + data.tax.onPreciousMetal.normalRate + data.tax.onPreciousMetal.reduceRate + data.tax.onContribution + data.tax.onSaleAntiquity + data.tax.onYearly + data.tax.onCO2 + data.tax.oldVehicle + data.tax.profit + data.tax.social + data.tax.fromOtherCountry + data.tax.trottingRace + data.tax.gallopRace + data.tax.sportBetting + data.tax.sportBettingSocial + data.tax.sportBettingSport + data.tax.sportBettingCommercial + data.tax.sportBettingCommercialSocial + data.tax.sportBettingCommercialSport + data.tax.onlineGame + data.tax.onlineGameSocial + data.tax.fuelExploration + data.tax.nonAlcoolWithSugar + data.tax.nonAlcool + data.tax.nonAlcoolWithEdul + data.tax.mineralWater + data.tax.numericalService + data.tax.platform;