@silexpert/core 1.1.74 → 1.1.76

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 (56) hide show
  1. package/es/api/resources/GeneralLedger.d.ts +2 -2
  2. package/es/api/resources/GeneralLedger.d.ts.map +1 -1
  3. package/es/api/resources/GeneralLedger.js.map +1 -1
  4. package/es/api/resources/Regulate.d.ts +2 -1
  5. package/es/api/resources/Regulate.d.ts.map +1 -1
  6. package/es/api/resources/Regulate.js +3 -0
  7. package/es/api/resources/Regulate.js.map +1 -1
  8. package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
  9. package/es/types/Enum/TaskResponseType.js +11 -0
  10. package/es/types/Enum/TaskResponseType.js.map +1 -1
  11. package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +13 -0
  12. package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
  13. package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js +17 -1
  14. package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
  15. package/es/types/Interface/api/prestation/BodyCreatePrestationSocieties.d.ts +7 -0
  16. package/es/types/Interface/api/prestation/BodyCreatePrestationSocieties.d.ts.map +1 -0
  17. package/es/types/Interface/api/prestation/{QueryCreatePrestationSocieties.js → BodyCreatePrestationSocieties.js} +6 -6
  18. package/es/types/Interface/api/prestation/BodyCreatePrestationSocieties.js.map +1 -0
  19. package/es/types/Interface/api/regulate/DestroyRegulate.d.ts +5 -0
  20. package/es/types/Interface/api/regulate/DestroyRegulate.d.ts.map +1 -0
  21. package/es/types/Interface/api/regulate/DestroyRegulate.js +25 -0
  22. package/es/types/Interface/api/regulate/DestroyRegulate.js.map +1 -0
  23. package/es/types/index.d.ts +2 -1
  24. package/es/types/index.d.ts.map +1 -1
  25. package/es/types/index.js +2 -1
  26. package/es/types/index.js.map +1 -1
  27. package/es/utils/vat/3517/century23.js +1 -1
  28. package/es/utils/vat/3517/century23.js.map +1 -1
  29. package/js/api/resources/GeneralLedger.js.map +1 -1
  30. package/js/api/resources/Regulate.js +5 -0
  31. package/js/api/resources/Regulate.js.map +1 -1
  32. package/js/types/Enum/TaskResponseType.js +10 -0
  33. package/js/types/Enum/TaskResponseType.js.map +1 -1
  34. package/js/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js +8 -1
  35. package/js/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
  36. package/js/types/Interface/api/prestation/{QueryCreatePrestationSocieties.js → BodyCreatePrestationSocieties.js} +8 -8
  37. package/js/types/Interface/api/prestation/BodyCreatePrestationSocieties.js.map +1 -0
  38. package/js/types/Interface/api/regulate/DestroyRegulate.js +23 -0
  39. package/js/types/Interface/api/regulate/DestroyRegulate.js.map +1 -0
  40. package/js/types/index.js +13 -3
  41. package/js/types/index.js.map +1 -1
  42. package/js/utils/vat/3517/century23.js +1 -1
  43. package/js/utils/vat/3517/century23.js.map +1 -1
  44. package/package.json +3 -3
  45. package/ts/api/resources/GeneralLedger.ts +2 -2
  46. package/ts/api/resources/Regulate.ts +4 -1
  47. package/ts/types/Enum/TaskResponseType.ts +11 -0
  48. package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +24 -1
  49. package/ts/types/Interface/api/prestation/{QueryCreatePrestationSocieties.ts → BodyCreatePrestationSocieties.ts} +1 -1
  50. package/ts/types/Interface/api/regulate/DestroyRegulate.ts +15 -0
  51. package/ts/types/index.ts +2 -1
  52. package/ts/utils/vat/3517/century23.ts +1 -1
  53. package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.d.ts +0 -7
  54. package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.d.ts.map +0 -1
  55. package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.js.map +0 -1
  56. package/js/types/Interface/api/prestation/QueryCreatePrestationSocieties.js.map +0 -1
@@ -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
  }