@silexpert/core 1.1.73 → 1.1.75

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.
@@ -365,7 +365,7 @@ function getCerfa3517Century23Payload(accountingEntries, payload) {
365
365
  data.recapitulation.toPay = data.recapitulation.vatNetDue + data.recapitulation.assimiledTax + data.recapitulation.consumsion;
366
366
  data.refund.surplus = shouldFillRefund ? data.net.surplus : 0;
367
367
  data.refund.maximum = shouldFillRefund ? data.refund.creditRefundable + data.refund.surplus : 0;
368
- data.refund.reportable = shouldFillRefund ? data.refund.maximum - data.refund.reportable : 0;
368
+ data.refund.reportable = shouldFillRefund ? data.refund.maximum - data.refund.asked : 0;
369
369
  data.total = (0, _utils.setZeroIfIsNegative)(data.vat.total.tax - (data.vat.saleOfImmobilization.tax + data.vat.ownDelivery.tax + data.deductible.total1));
370
370
  return data;
371
371
  }