@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.
- package/es/api/resources/GeneralLedger.d.ts +2 -2
- package/es/api/resources/GeneralLedger.d.ts.map +1 -1
- package/es/api/resources/GeneralLedger.js.map +1 -1
- package/es/api/resources/Regulate.d.ts +2 -1
- package/es/api/resources/Regulate.d.ts.map +1 -1
- package/es/api/resources/Regulate.js +3 -0
- package/es/api/resources/Regulate.js.map +1 -1
- package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
- package/es/types/Enum/TaskResponseType.js +11 -0
- package/es/types/Enum/TaskResponseType.js.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +13 -0
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js +17 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/es/types/Interface/api/prestation/BodyCreatePrestationSocieties.d.ts +7 -0
- package/es/types/Interface/api/prestation/BodyCreatePrestationSocieties.d.ts.map +1 -0
- package/es/types/Interface/api/prestation/{QueryCreatePrestationSocieties.js → BodyCreatePrestationSocieties.js} +6 -6
- package/es/types/Interface/api/prestation/BodyCreatePrestationSocieties.js.map +1 -0
- package/es/types/Interface/api/regulate/DestroyRegulate.d.ts +5 -0
- package/es/types/Interface/api/regulate/DestroyRegulate.d.ts.map +1 -0
- package/es/types/Interface/api/regulate/DestroyRegulate.js +25 -0
- package/es/types/Interface/api/regulate/DestroyRegulate.js.map +1 -0
- package/es/types/index.d.ts +2 -1
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +2 -1
- package/es/types/index.js.map +1 -1
- package/es/utils/vat/3517/century23.js +1 -1
- package/es/utils/vat/3517/century23.js.map +1 -1
- package/js/api/resources/GeneralLedger.js.map +1 -1
- package/js/api/resources/Regulate.js +5 -0
- package/js/api/resources/Regulate.js.map +1 -1
- package/js/types/Enum/TaskResponseType.js +10 -0
- package/js/types/Enum/TaskResponseType.js.map +1 -1
- package/js/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js +8 -1
- package/js/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/js/types/Interface/api/prestation/{QueryCreatePrestationSocieties.js → BodyCreatePrestationSocieties.js} +8 -8
- package/js/types/Interface/api/prestation/BodyCreatePrestationSocieties.js.map +1 -0
- package/js/types/Interface/api/regulate/DestroyRegulate.js +23 -0
- package/js/types/Interface/api/regulate/DestroyRegulate.js.map +1 -0
- package/js/types/index.js +13 -3
- package/js/types/index.js.map +1 -1
- package/js/utils/vat/3517/century23.js +1 -1
- package/js/utils/vat/3517/century23.js.map +1 -1
- package/package.json +3 -3
- package/ts/api/resources/GeneralLedger.ts +2 -2
- package/ts/api/resources/Regulate.ts +4 -1
- package/ts/types/Enum/TaskResponseType.ts +11 -0
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +24 -1
- package/ts/types/Interface/api/prestation/{QueryCreatePrestationSocieties.ts → BodyCreatePrestationSocieties.ts} +1 -1
- package/ts/types/Interface/api/regulate/DestroyRegulate.ts +15 -0
- package/ts/types/index.ts +2 -1
- package/ts/utils/vat/3517/century23.ts +1 -1
- package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.d.ts +0 -7
- package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.d.ts.map +0 -1
- package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.js.map +0 -1
- 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.
|
|
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
|
}
|