@silexpert/core 1.1.28 → 1.1.30
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/types/Interface/api/cerfa/3310.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/3310.js.map +1 -1
- package/es/utils/vat/3310/century23.d.ts +2 -1
- package/es/utils/vat/3310/century23.d.ts.map +1 -1
- package/es/utils/vat/3310/century23.js +26 -4
- package/es/utils/vat/3310/century23.js.map +1 -1
- package/es/utils/vat/3517/century23.js +3 -3
- package/es/utils/vat/3517/century23.js.map +1 -1
- package/es/utils/vat/utils.d.ts +1 -1
- package/es/utils/vat/utils.d.ts.map +1 -1
- package/es/utils/vat/utils.js +3 -3
- package/es/utils/vat/utils.js.map +1 -1
- package/js/types/Interface/api/cerfa/3310.js.map +1 -1
- package/js/utils/vat/3310/century23.js +25 -3
- package/js/utils/vat/3310/century23.js.map +1 -1
- package/js/utils/vat/3517/century23.js +3 -3
- package/js/utils/vat/3517/century23.js.map +1 -1
- package/js/utils/vat/utils.js +3 -3
- package/js/utils/vat/utils.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Interface/api/cerfa/3310.ts +1 -1
- package/ts/utils/vat/3310/century23.ts +26 -4
- package/ts/utils/vat/3517/century23.ts +3 -3
- package/ts/utils/vat/utils.ts +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"3310.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/cerfa/3310.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,KAAK,GAAG,GAAG;IACT,MA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AAC,EAAE;YACV,OAAO,CAAC,EAAE;gBACR,GAAG,CAAC,EAAE,MAAM,CAAC;gBACb,IAAI,CAAC,EAAE,MAAM,CAAC;aACf,CAAC;SACH,CAAC;QACF,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,MAAM,CAAC,EAAE;QACP,8BAA8B,CAAC,EAAE,MAAM,CAAC;QACxC,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,KAAK,CAAC,EAAE;QACN,6BAA6B,CAAC,EAAE,MAAM,CAAC;KACxC,CAAC;CACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"3310.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/cerfa/3310.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from '../../models/ISociety';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { ServiceOfTax } from '../tax/ReadTax';\n\ntype BaseAndTax = {\n base: number;\n tax: number;\n};\n\ntype Tic = {\n credit?: number;\n refund?: number;\n imputed?: number;\n tax?: number;\n};\n\nexport interface Cerfa3310_2023 {\n declaration: {\n recipient: {\n name: string | null;\n address: {\n full: string;\n }\n numbers: {\n SIE: string | null;\n folder: string | null;\n key: string | null;\n period: string | null;\n CM: string | null;\n OPT: string | null;\n service: string | null;\n system: string | null;\n }\n }\n period: {\n start: {\n day: string;\n month: string;\n year: string;\n },\n end: {\n day: string;\n month: string;\n year: string;\n }\n },\n service: {\n address: {\n full: string | null;\n }\n },\n siret: {\n first: string | null;\n second: string | null;\n },\n intracommunityVat: {\n first: string | null;\n second: string | null;\n third: string | null;\n },\n comment: string | null;\n payment: {\n date: string | null;\n phone: string | null;\n isPayment: boolean;\n byImputation: boolean;\n }\n },\n isNil: boolean;\n untaxedOperations: {\n exportationNotInEurope: number;\n other: number;\n distanceSelling: number;\n import: number;\n withdrawSuspensiveRegime: number;\n importInSuspensiveSystem: number;\n intracommunityAcquisitions: number;\n intracommunityDelivery: number;\n energyDelivery: number;\n oilProductsConsumption: number;\n importPetrolInSuspensiveSystem: number;\n purchaseInFranchise: number;\n saleOfServicesNotInFrance: number;\n regularizations: number;\n internalUniq: number;\n },\n taxedOperations: {\n services: number;\n other: number;\n purchaseOfIntracommunityServiceProvision: number;\n import: number;\n withdrawSuspensiveRegime: number;\n releaseFromConsumption: number;\n intracommunityAcquisitions: number;\n energyDelivery: number;\n purchaseOfServicesNotInFrance: number;\n regularizations: number;\n },\n vat: {\n carrieredOutInFrance: {\n normalRate20: BaseAndTax,\n reduceRate5Dot5: BaseAndTax,\n reduceRate10: BaseAndTax,\n },\n overseasDepartment: {\n reduceRate8Dot5: BaseAndTax,\n reduceRate2Dot1: BaseAndTax\n },\n oilProducts: {\n normalRate20: BaseAndTax,\n reduceRate13: BaseAndTax\n },\n importations: {\n normalRate20: BaseAndTax,\n reduceRate10: BaseAndTax,\n reduceRate8Dot5: BaseAndTax,\n reduceRate5Dot5: BaseAndTax,\n reduceRate2Dot1: BaseAndTax,\n reduceRate1Dot05: BaseAndTax,\n },\n previouslyDeductedToBeReturned: {\n onOilProducts: number;\n otherThanOilProducts: number;\n total: number;\n },\n sumToAdd: number;\n grossDue: number;\n onIntracommunityAcquisition: number;\n toMonaco: number;\n deductible: {\n other: {\n oil: number;\n thanOilProducts: number;\n collected: number;\n total: number;\n }\n immobilizations: number;\n otherGoodsAndServices: number;\n report: number;\n toImpute: number;\n total: number;\n onImportOtherThanOilProducts: number;\n coefficient: number;\n onOilProducts: number;\n },\n otherRate: {\n oldRate: BaseAndTax,\n at1Dot75: BaseAndTax,\n at1Dot05: BaseAndTax,\n at10: BaseAndTax,\n atCorse2Dot1: BaseAndTax,\n atCorse0Dot9: BaseAndTax,\n at2Dot1: BaseAndTax,\n author: BaseAndTax,\n }\n },\n credit: {\n amount: number;\n refundAsked: number;\n transferedToSocietyHeadOfGroup: number;\n assimiledTaxes: number;\n toReport: number;\n ticRefund: number;\n ticTransfered: number;\n },\n toPay: {\n netDue: number;\n acquittedBySocietyHeadOfGroup: number;\n total: number;\n },\n isDGE: boolean;\n isUniq: boolean;\n tic?: {\n ticfe?: Tic,\n ticgn?: Tic,\n ticc?: Tic,\n total?: Tic,\n }
|
|
1
|
+
{"version":3,"file":"3310.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/cerfa/3310.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from '../../models/ISociety';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { ServiceOfTax } from '../tax/ReadTax';\n\ntype BaseAndTax = {\n base: number;\n tax: number;\n};\n\ntype Tic = {\n credit?: number;\n refund?: number;\n imputed?: number;\n tax?: number;\n};\n\nexport interface Cerfa3310_2023 {\n declaration: {\n recipient: {\n name: string | null;\n address: {\n full: string;\n }\n numbers: {\n SIE: string | null;\n folder: string | null;\n key: string | null;\n period: string | null;\n CM: string | null;\n OPT: string | null;\n service: string | null;\n system: string | null;\n }\n }\n period: {\n start: {\n day: string;\n month: string;\n year: string;\n },\n end: {\n day: string;\n month: string;\n year: string;\n }\n },\n service: {\n address: {\n full: string | null;\n }\n },\n siret: {\n first: string | null;\n second: string | null;\n },\n intracommunityVat: {\n first: string | null;\n second: string | null;\n third: string | null;\n },\n comment: string | null;\n payment: {\n date: string | null;\n phone: string | null;\n isPayment: boolean;\n byImputation: boolean;\n }\n },\n isNil: boolean;\n untaxedOperations: {\n exportationNotInEurope: number;\n other: number;\n distanceSelling: number;\n import: number;\n withdrawSuspensiveRegime: number;\n importInSuspensiveSystem: number;\n intracommunityAcquisitions: number;\n intracommunityDelivery: number;\n energyDelivery: number;\n oilProductsConsumption: number;\n importPetrolInSuspensiveSystem: number;\n purchaseInFranchise: number;\n saleOfServicesNotInFrance: number;\n regularizations: number;\n internalUniq: number;\n },\n taxedOperations: {\n services: number;\n other: number;\n purchaseOfIntracommunityServiceProvision: number;\n import: number;\n withdrawSuspensiveRegime: number;\n releaseFromConsumption: number;\n intracommunityAcquisitions: number;\n energyDelivery: number;\n purchaseOfServicesNotInFrance: number;\n regularizations: number;\n },\n vat: {\n carrieredOutInFrance: {\n normalRate20: BaseAndTax,\n reduceRate5Dot5: BaseAndTax,\n reduceRate10: BaseAndTax,\n },\n overseasDepartment: {\n reduceRate8Dot5: BaseAndTax,\n reduceRate2Dot1: BaseAndTax\n },\n oilProducts: {\n normalRate20: BaseAndTax,\n reduceRate13: BaseAndTax\n },\n importations: {\n normalRate20: BaseAndTax,\n reduceRate10: BaseAndTax,\n reduceRate8Dot5: BaseAndTax,\n reduceRate5Dot5: BaseAndTax,\n reduceRate2Dot1: BaseAndTax,\n reduceRate1Dot05: BaseAndTax,\n },\n previouslyDeductedToBeReturned: {\n onOilProducts: number;\n otherThanOilProducts: number;\n total: number;\n },\n sumToAdd: number;\n grossDue: number;\n onIntracommunityAcquisition: number;\n toMonaco: number;\n deductible: {\n other: {\n oil: number;\n thanOilProducts: number;\n collected: number;\n total: number;\n }\n immobilizations: number;\n otherGoodsAndServices: number;\n report: number;\n toImpute: number;\n total: number;\n onImportOtherThanOilProducts: number;\n coefficient: number;\n onOilProducts: number;\n },\n otherRate: {\n oldRate: BaseAndTax,\n at1Dot75: BaseAndTax,\n at1Dot05: BaseAndTax,\n at10: BaseAndTax,\n atCorse2Dot1: BaseAndTax,\n atCorse0Dot9: BaseAndTax,\n at2Dot1: BaseAndTax,\n author: BaseAndTax,\n }\n },\n credit: {\n amount: number;\n refundAsked: number;\n transferedToSocietyHeadOfGroup: number;\n assimiledTaxes: number;\n toReport: number;\n ticRefund: number;\n ticTransfered: number;\n },\n toPay: {\n netDue: number;\n acquittedBySocietyHeadOfGroup: number;\n total: number;\n },\n isDGE: boolean;\n isUniq: boolean;\n tic?: {\n ticfe?: Tic,\n ticgn?: Tic,\n ticc?: Tic,\n total?: Tic,\n },\n}\n\nexport type PayloadCerfa3310_2023 = {\n isHolidayDeposit: boolean;\n startDate: string;\n endDate: string;\n society: ISociety;\n setting: ISocietyGescom | null;\n isNil: boolean;\n previousVatDeclaration: Cerfa3310_2023 | null;\n sie: ServiceOfTax | null;\n comment?: string;\n taxedOperations?: {\n withdrawSuspensiveRegime?: number;\n releaseFromConsumption?: number;\n energyDelivery?: number;\n purchaseOfServicesNotInFrance?: number;\n regularizations?: number;\n };\n untaxedOperations?: {\n distanceSelling?: number;\n withdrawSuspensiveRegime?: number;\n importInSuspensiveSystem?: number;\n intracommunityAcquisitions: number;\n intracommunityDelivery: number;\n energyDelivery?: number;\n oilProductsConsumption?: number;\n importPetrolInSuspensiveSystem?: number;\n purchaseInFranchise?: number;\n saleOfServicesNotInFrance?: number;\n regularizations?: number;\n internalUniq?: number;\n },\n vat?: {\n oilProducts?: {\n normalRate20?: { base?: number }\n reduceRate13?: { base?: number }\n },\n previouslyDeductedToBeReturned?: {\n onOilProducts?: number;\n otherThanOilProducts?: number;\n total?: number;\n },\n toMonaco?: number;\n deductible?: {\n other?: {\n oil?: number;\n },\n toImpute?: number;\n onOilProducts?: number;\n coefficient?: number;\n },\n otherRate?: {\n oldRate?: {\n tax?: number;\n base?: number;\n },\n },\n sumToAdd?: number;\n },\n credit?: {\n transferedToSocietyHeadOfGroup?: number;\n assimiledTaxes?: number;\n refundAsked?: number;\n },\n toPay?: {\n acquittedBySocietyHeadOfGroup?: number;\n },\n};"]}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { IAccountingEntry } from '../../../types/Interface/models/IAccountingEntry';
|
|
2
2
|
import { Cerfa3310_2023, PayloadCerfa3310_2023 } from '../../../types/Interface/api/cerfa/3310';
|
|
3
3
|
import { AsponeFormFields, CerfaPayloadForm } from '../../../types/Interface/api/cerfa/ReadCerfa';
|
|
4
|
-
|
|
4
|
+
import { ReadVatDeclarationUpdatedEntry } from '../../../types/Interface/api/vatDeclaration/ReadVatDeclaration';
|
|
5
|
+
export declare function getCerfa3310Century23Payload(accountingEntries: IAccountingEntry[], payload: PayloadCerfa3310_2023, updatedEntries?: ReadVatDeclarationUpdatedEntry[]): Cerfa3310_2023;
|
|
5
6
|
export declare function getCerfa3310Century23RegistrationFields(data: Cerfa3310_2023): AsponeFormFields;
|
|
6
7
|
export declare const cerfa3310Century23Fields: CerfaPayloadForm[];
|
|
7
8
|
//# sourceMappingURL=century23.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"century23.d.ts","sourceRoot":"","sources":["../../../../ts/utils/vat/3310/century23.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAGhG,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;
|
|
1
|
+
{"version":3,"file":"century23.d.ts","sourceRoot":"","sources":["../../../../ts/utils/vat/3310/century23.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAGhG,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAClG,OAAO,EAAE,8BAA8B,EAAE,MAAM,gEAAgE,CAAC;AAEhH,wBAAgB,4BAA4B,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,EAAE,OAAO,EAAE,qBAAqB,EAAE,cAAc,GAAE,8BAA8B,EAAO,GAAG,cAAc,CA6UzL;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,cAAc,GAAG,gBAAgB,CAg5B9F;AAED,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,EAiLrD,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as dayjs from 'dayjs';
|
|
2
2
|
import { isDefined } from 'class-validator';
|
|
3
|
-
import { round as _round } from 'lodash';
|
|
3
|
+
import { round as _round, flatten } from 'lodash';
|
|
4
4
|
import { Vat } from '../../../types/Enum/Vat';
|
|
5
5
|
import { getAmountByAccountNumber, getTaxAmountByAccountNumber, textFormatting } from '../utils';
|
|
6
|
-
export function getCerfa3310Century23Payload(accountingEntries, payload) {
|
|
6
|
+
export function getCerfa3310Century23Payload(accountingEntries, payload, updatedEntries = []) {
|
|
7
7
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90, _91, _92, _93, _94, _95, _96;
|
|
8
8
|
const shouldHaveVatCode = isDefined((_a = payload.setting) === null || _a === void 0 ? void 0 : _a.tvaCode) && isDefined(payload.society.siret);
|
|
9
9
|
const vats = Object.values(Vat);
|
|
@@ -13,6 +13,28 @@ export function getCerfa3310Century23Payload(accountingEntries, payload) {
|
|
|
13
13
|
const withoutTaxVat = vats.filter((v) => v.value === 0).map((v) => v.id);
|
|
14
14
|
const importationVat = vats.filter((v) => v.isVatImportation && !v.isVatIntracom).map((v) => v.id);
|
|
15
15
|
const vatEntries = accountingEntries.filter((ae) => typeof ae.idVat === 'number');
|
|
16
|
+
const oldEntries = flatten(updatedEntries === null || updatedEntries === void 0 ? void 0 : updatedEntries.map((u) => u.old.entries));
|
|
17
|
+
const newEntries = flatten(updatedEntries === null || updatedEntries === void 0 ? void 0 : updatedEntries.map((u) => u.new.entries));
|
|
18
|
+
const collectedOldAmount = getAmountByAccountNumber(oldEntries, ['4457'], 0);
|
|
19
|
+
const collectedNewAmount = getAmountByAccountNumber(newEntries, ['4457'], 0);
|
|
20
|
+
const deductedOldAmount = getAmountByAccountNumber(oldEntries, ['4456'], 0);
|
|
21
|
+
const deductedNewAmount = getAmountByAccountNumber(newEntries, ['4456'], 0);
|
|
22
|
+
const mxCollected = collectedNewAmount - collectedOldAmount;
|
|
23
|
+
const mxDeducted = deductedNewAmount - deductedOldAmount;
|
|
24
|
+
let mxToAdd = 0;
|
|
25
|
+
let mxToSub = 0;
|
|
26
|
+
if (mxCollected > 0) {
|
|
27
|
+
mxToAdd += mxCollected;
|
|
28
|
+
}
|
|
29
|
+
if (mxDeducted < 0) {
|
|
30
|
+
mxToAdd += Math.abs(mxDeducted);
|
|
31
|
+
}
|
|
32
|
+
if (mxCollected < 0) {
|
|
33
|
+
mxToSub += Math.abs(mxCollected);
|
|
34
|
+
}
|
|
35
|
+
if (mxDeducted > 0) {
|
|
36
|
+
mxToSub += mxDeducted;
|
|
37
|
+
}
|
|
16
38
|
// Opérations taxées
|
|
17
39
|
const taxedServicesEntries = vatEntries.filter((ae) => frenchVat.includes(ae.idVat) && withTaxVat.includes(ae.idVat));
|
|
18
40
|
const servicesAccounts = ['701', '702', '703', '704', '705', '706', '707', '708', '472'];
|
|
@@ -68,7 +90,7 @@ export function getCerfa3310Century23Payload(accountingEntries, payload) {
|
|
|
68
90
|
const coefficient = _round((_g = (_f = (_e = payload.vat) === null || _e === void 0 ? void 0 : _e.deductible) === null || _f === void 0 ? void 0 : _f.coefficient) !== null && _g !== void 0 ? _g : 100, 2);
|
|
69
91
|
const isNil = payload.isNil === true;
|
|
70
92
|
const isHolidayDeposit = payload.isHolidayDeposit === true;
|
|
71
|
-
const sumToAdd = isNil ? 0 : isHolidayDeposit ? (_round(((_k = (_j = (_h = payload.previousVatDeclaration) === null || _h === void 0 ? void 0 : _h.toPay) === null || _j === void 0 ? void 0 : _j.total) !== null && _k !== void 0 ? _k : 0) * 0.8, 2)) : _round((_m = (_l = payload.vat) === null || _l === void 0 ? void 0 : _l.sumToAdd) !== null && _m !== void 0 ? _m : 0);
|
|
93
|
+
const sumToAdd = isNil ? 0 : isHolidayDeposit ? (_round(((_k = (_j = (_h = payload.previousVatDeclaration) === null || _h === void 0 ? void 0 : _h.toPay) === null || _j === void 0 ? void 0 : _j.total) !== null && _k !== void 0 ? _k : 0) * 0.8, 2)) : (_round((_m = (_l = payload.vat) === null || _l === void 0 ? void 0 : _l.sumToAdd) !== null && _m !== void 0 ? _m : 0) + mxToAdd);
|
|
72
94
|
const comment = isHolidayDeposit ? `ACOMPTE CONGES ${(_o = payload.comment) !== null && _o !== void 0 ? _o : ''}` : ((_p = payload.comment) !== null && _p !== void 0 ? _p : null);
|
|
73
95
|
const initialPayload = {
|
|
74
96
|
isNil,
|
|
@@ -234,7 +256,7 @@ export function getCerfa3310Century23Payload(accountingEntries, payload) {
|
|
|
234
256
|
total: isNil || isHolidayDeposit ? 0 : otherDeductibles,
|
|
235
257
|
},
|
|
236
258
|
report,
|
|
237
|
-
toImpute: isNil || isHolidayDeposit ? 0 : _round((_74 = (_73 = (_72 = payload.vat) === null || _72 === void 0 ? void 0 : _72.deductible) === null || _73 === void 0 ? void 0 : _73.toImpute) !== null && _74 !== void 0 ? _74 : 0),
|
|
259
|
+
toImpute: isNil || isHolidayDeposit ? 0 : (_round((_74 = (_73 = (_72 = payload.vat) === null || _72 === void 0 ? void 0 : _72.deductible) === null || _73 === void 0 ? void 0 : _73.toImpute) !== null && _74 !== void 0 ? _74 : 0) + mxToSub),
|
|
238
260
|
total: 0,
|
|
239
261
|
onImportOtherThanOilProducts: isNil || isHolidayDeposit ? 0 : otherDeductibles,
|
|
240
262
|
coefficient: isNil || isHolidayDeposit ? 100 : coefficient,
|