@silexpert/core 1.3.205 → 1.3.206-esm-0
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/dist/cjs/api/resources/Project.d.ts +2 -1
- package/dist/cjs/api/resources/Project.d.ts.map +1 -1
- package/dist/cjs/api/resources/Project.js +2 -1
- package/dist/cjs/api/resources/Project.js.map +1 -1
- package/dist/cjs/types/Enum/TaskResponseType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/TaskResponseType.js +11 -0
- package/dist/cjs/types/Enum/TaskResponseType.js.map +1 -1
- package/dist/cjs/types/Enum/Unit.js +1 -1
- package/dist/cjs/types/Enum/Unit.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3310.d.ts +5 -285
- package/dist/cjs/types/Interface/api/cerfa/3310.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3310.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +3 -3
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/cjs/types/Interface/api/exercice/QueryExercice.d.ts +3 -0
- package/dist/cjs/types/Interface/api/exercice/QueryExercice.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/exercice/QueryExercice.js +10 -1
- package/dist/cjs/types/Interface/api/exercice/QueryExercice.js.map +1 -1
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts +2 -2
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/dist/cjs/types/Interface/api/webmail/CreateMailFromLambda.d.ts +6 -7
- package/dist/cjs/types/Interface/api/webmail/CreateMailFromLambda.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/webmail/CreateMailFromLambda.js +2 -1
- package/dist/cjs/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -1
- package/dist/cjs/utils/vat/3310/century24.d.ts.map +1 -1
- package/dist/cjs/utils/vat/3310/century24.js +22 -16
- package/dist/cjs/utils/vat/3310/century24.js.map +1 -1
- package/dist/cjs/utils/vat/3310/century25.d.ts.map +1 -1
- package/dist/cjs/utils/vat/3310/century25.js +5 -0
- package/dist/cjs/utils/vat/3310/century25.js.map +1 -1
- package/dist/cjs/utils/vat/3310/century26.d.ts +8 -0
- package/dist/cjs/utils/vat/3310/century26.d.ts.map +1 -0
- package/dist/cjs/utils/vat/3310/{century23.js → century26.js} +114 -43
- package/dist/cjs/utils/vat/3310/century26.js.map +1 -0
- package/dist/cjs/utils/vat/centuries.js +31 -31
- package/dist/cjs/utils/vat/centuries.js.map +1 -1
- package/dist/mjs/api/resources/Project.d.ts +2 -1
- package/dist/mjs/api/resources/Project.d.ts.map +1 -1
- package/dist/mjs/api/resources/Project.js +2 -1
- package/dist/mjs/api/resources/Project.js.map +1 -1
- package/dist/mjs/types/Enum/TaskResponseType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/TaskResponseType.js +11 -0
- package/dist/mjs/types/Enum/TaskResponseType.js.map +1 -1
- package/dist/mjs/types/Enum/Unit.js +1 -1
- package/dist/mjs/types/Enum/Unit.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3310.d.ts +5 -285
- package/dist/mjs/types/Interface/api/cerfa/3310.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3310.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +3 -3
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/mjs/types/Interface/api/exercice/QueryExercice.d.ts +3 -0
- package/dist/mjs/types/Interface/api/exercice/QueryExercice.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/exercice/QueryExercice.js +10 -1
- package/dist/mjs/types/Interface/api/exercice/QueryExercice.js.map +1 -1
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts +2 -2
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/dist/mjs/types/Interface/api/webmail/CreateMailFromLambda.d.ts +6 -7
- package/dist/mjs/types/Interface/api/webmail/CreateMailFromLambda.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/webmail/CreateMailFromLambda.js +8 -7
- package/dist/mjs/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -1
- package/dist/mjs/utils/vat/3310/century24.d.ts.map +1 -1
- package/dist/mjs/utils/vat/3310/century24.js +22 -16
- package/dist/mjs/utils/vat/3310/century24.js.map +1 -1
- package/dist/mjs/utils/vat/3310/century25.d.ts.map +1 -1
- package/dist/mjs/utils/vat/3310/century25.js +5 -0
- package/dist/mjs/utils/vat/3310/century25.js.map +1 -1
- package/dist/mjs/utils/vat/3310/century26.d.ts +8 -0
- package/dist/mjs/utils/vat/3310/century26.d.ts.map +1 -0
- package/dist/mjs/utils/vat/3310/{century23.js → century26.js} +108 -37
- package/dist/mjs/utils/vat/3310/century26.js.map +1 -0
- package/dist/mjs/utils/vat/centuries.js +20 -20
- package/dist/mjs/utils/vat/centuries.js.map +1 -1
- package/package.json +12 -14
- package/ts/api/resources/Project.ts +3 -1
- package/ts/types/Enum/TaskResponseType.ts +11 -0
- package/ts/types/Enum/Unit.ts +1 -1
- package/ts/types/Interface/api/cerfa/3310.ts +7 -285
- package/ts/types/Interface/api/cerfa/ReadCerfa.ts +3 -3
- package/ts/types/Interface/api/exercice/QueryExercice.ts +8 -1
- package/ts/types/Interface/api/registration/CreateRegistration.ts +2 -2
- package/ts/types/Interface/api/webmail/CreateMailFromLambda.ts +7 -8
- package/ts/utils/vat/3310/century24.ts +27 -21
- package/ts/utils/vat/3310/century25.ts +5 -0
- package/ts/utils/vat/3310/{century23.ts → century26.ts} +118 -43
- package/ts/utils/vat/centuries.ts +32 -32
- package/dist/cjs/utils/vat/3310/century23.d.ts +0 -8
- package/dist/cjs/utils/vat/3310/century23.d.ts.map +0 -1
- package/dist/cjs/utils/vat/3310/century23.js.map +0 -1
- package/dist/mjs/utils/vat/3310/century23.d.ts +0 -8
- package/dist/mjs/utils/vat/3310/century23.d.ts.map +0 -1
- package/dist/mjs/utils/vat/3310/century23.js.map +0 -1
|
@@ -14,170 +14,6 @@ type Tic = {
|
|
|
14
14
|
tax?: number;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
export type Cerfa3310_2023 = {
|
|
18
|
-
declaration: {
|
|
19
|
-
recipient: {
|
|
20
|
-
name?: string | null;
|
|
21
|
-
address: {
|
|
22
|
-
full: string;
|
|
23
|
-
};
|
|
24
|
-
numbers: {
|
|
25
|
-
SIE: string | null;
|
|
26
|
-
folder: string | null;
|
|
27
|
-
key: string | null;
|
|
28
|
-
period: string | null;
|
|
29
|
-
CM: string | null;
|
|
30
|
-
OPT: string | null;
|
|
31
|
-
service: string | null;
|
|
32
|
-
system: string | null;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
period: {
|
|
36
|
-
start: {
|
|
37
|
-
day: string;
|
|
38
|
-
month: string;
|
|
39
|
-
year: string;
|
|
40
|
-
};
|
|
41
|
-
end: {
|
|
42
|
-
day: string;
|
|
43
|
-
month: string;
|
|
44
|
-
year: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
service: {
|
|
48
|
-
address: {
|
|
49
|
-
full: string | null;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
siret: {
|
|
53
|
-
first: string | null;
|
|
54
|
-
second: string | null;
|
|
55
|
-
};
|
|
56
|
-
intracommunityVat: {
|
|
57
|
-
first: string | null;
|
|
58
|
-
second: string | null;
|
|
59
|
-
third: string | null;
|
|
60
|
-
};
|
|
61
|
-
comment: string | null;
|
|
62
|
-
payment: {
|
|
63
|
-
date: string | null;
|
|
64
|
-
phone: string | null;
|
|
65
|
-
isPayment: boolean;
|
|
66
|
-
byImputation: boolean;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
isNil: boolean;
|
|
70
|
-
untaxedOperations: {
|
|
71
|
-
exportationNotInEurope: number;
|
|
72
|
-
other: number;
|
|
73
|
-
distanceSelling: number;
|
|
74
|
-
import: number;
|
|
75
|
-
withdrawSuspensiveRegime: number;
|
|
76
|
-
importInSuspensiveSystem: number;
|
|
77
|
-
intracommunityAcquisitions: number;
|
|
78
|
-
intracommunityDelivery: number;
|
|
79
|
-
energyDelivery: number;
|
|
80
|
-
oilProductsConsumption: number;
|
|
81
|
-
importPetrolInSuspensiveSystem: number;
|
|
82
|
-
purchaseInFranchise: number;
|
|
83
|
-
saleOfServicesNotInFrance: number;
|
|
84
|
-
regularizations: number;
|
|
85
|
-
internalUniq: number;
|
|
86
|
-
};
|
|
87
|
-
taxedOperations: {
|
|
88
|
-
services: number;
|
|
89
|
-
other: number;
|
|
90
|
-
purchaseOfIntracommunityServiceProvision: number;
|
|
91
|
-
import: number;
|
|
92
|
-
withdrawSuspensiveRegime: number;
|
|
93
|
-
releaseFromConsumption: number;
|
|
94
|
-
intracommunityAcquisitions: number;
|
|
95
|
-
energyDelivery: number;
|
|
96
|
-
purchaseOfServicesNotInFrance: number;
|
|
97
|
-
regularizations: number;
|
|
98
|
-
};
|
|
99
|
-
vat: {
|
|
100
|
-
carrieredOutInFrance: {
|
|
101
|
-
normalRate20: BaseAndTax;
|
|
102
|
-
reduceRate5Dot5: BaseAndTax;
|
|
103
|
-
reduceRate10: BaseAndTax;
|
|
104
|
-
};
|
|
105
|
-
overseasDepartment: {
|
|
106
|
-
reduceRate8Dot5: BaseAndTax;
|
|
107
|
-
reduceRate2Dot1: BaseAndTax;
|
|
108
|
-
};
|
|
109
|
-
oilProducts: {
|
|
110
|
-
normalRate20: BaseAndTax;
|
|
111
|
-
reduceRate13: BaseAndTax;
|
|
112
|
-
};
|
|
113
|
-
importations: {
|
|
114
|
-
normalRate20: BaseAndTax;
|
|
115
|
-
reduceRate10: BaseAndTax;
|
|
116
|
-
reduceRate8Dot5: BaseAndTax;
|
|
117
|
-
reduceRate5Dot5: BaseAndTax;
|
|
118
|
-
reduceRate2Dot1: BaseAndTax;
|
|
119
|
-
reduceRate1Dot05: BaseAndTax;
|
|
120
|
-
};
|
|
121
|
-
previouslyDeductedToBeReturned: {
|
|
122
|
-
onOilProducts: number;
|
|
123
|
-
otherThanOilProducts: number;
|
|
124
|
-
total: number;
|
|
125
|
-
};
|
|
126
|
-
sumToAdd: number;
|
|
127
|
-
grossDue: number;
|
|
128
|
-
onIntracommunityAcquisition: number;
|
|
129
|
-
toMonaco: number;
|
|
130
|
-
deductible: {
|
|
131
|
-
other: {
|
|
132
|
-
oil: number;
|
|
133
|
-
thanOilProducts: number;
|
|
134
|
-
collected: number;
|
|
135
|
-
total: number;
|
|
136
|
-
};
|
|
137
|
-
immobilizations: number;
|
|
138
|
-
otherGoodsAndServices: number;
|
|
139
|
-
report: number;
|
|
140
|
-
toImpute: number;
|
|
141
|
-
total: number;
|
|
142
|
-
onImportOtherThanOilProducts: number;
|
|
143
|
-
coefficient: number;
|
|
144
|
-
onOilProducts: number;
|
|
145
|
-
};
|
|
146
|
-
otherRate: {
|
|
147
|
-
oldRate: BaseAndTax;
|
|
148
|
-
at1Dot75: BaseAndTax;
|
|
149
|
-
at1Dot05: BaseAndTax;
|
|
150
|
-
at10: BaseAndTax;
|
|
151
|
-
atCorse2Dot1: BaseAndTax;
|
|
152
|
-
atCorse0Dot9: BaseAndTax;
|
|
153
|
-
at2Dot1: BaseAndTax;
|
|
154
|
-
author: BaseAndTax;
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
credit: {
|
|
158
|
-
amount: number;
|
|
159
|
-
refundAsked: number;
|
|
160
|
-
transferedToSocietyHeadOfGroup: number;
|
|
161
|
-
assimiledTaxes: number;
|
|
162
|
-
toReport: number;
|
|
163
|
-
ticRefund: number;
|
|
164
|
-
ticTransfered: number;
|
|
165
|
-
};
|
|
166
|
-
toPay: {
|
|
167
|
-
netDue: number;
|
|
168
|
-
acquittedBySocietyHeadOfGroup: number;
|
|
169
|
-
total: number;
|
|
170
|
-
};
|
|
171
|
-
isDGE: boolean;
|
|
172
|
-
isUniq: boolean;
|
|
173
|
-
tic?: {
|
|
174
|
-
ticfe?: Tic;
|
|
175
|
-
ticgn?: Tic;
|
|
176
|
-
ticc?: Tic;
|
|
177
|
-
total?: Tic;
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
|
|
181
17
|
export type Cerfa3310_2024 = {
|
|
182
18
|
declaration: {
|
|
183
19
|
recipient: {
|
|
@@ -343,124 +179,6 @@ export type Cerfa3310_2024 = {
|
|
|
343
179
|
};
|
|
344
180
|
};
|
|
345
181
|
|
|
346
|
-
export type PayloadCerfa3310_2023 = {
|
|
347
|
-
isHolidayDeposit: boolean;
|
|
348
|
-
startDate: string;
|
|
349
|
-
endDate: string;
|
|
350
|
-
society: ISociety;
|
|
351
|
-
setting: ISocietyGescom | null;
|
|
352
|
-
isNil: boolean;
|
|
353
|
-
previousVatDeclaration: Cerfa3310_2023 | null;
|
|
354
|
-
sie: ServiceOfTax | null;
|
|
355
|
-
comment?: string;
|
|
356
|
-
taxedOperations?: {
|
|
357
|
-
withdrawSuspensiveRegime?: number;
|
|
358
|
-
releaseFromConsumption?: number;
|
|
359
|
-
energyDelivery?: number;
|
|
360
|
-
purchaseOfServicesNotInFrance?: number;
|
|
361
|
-
regularizations?: number;
|
|
362
|
-
};
|
|
363
|
-
untaxedOperations?: {
|
|
364
|
-
distanceSelling?: number;
|
|
365
|
-
withdrawSuspensiveRegime?: number;
|
|
366
|
-
importInSuspensiveSystem?: number;
|
|
367
|
-
intracommunityAcquisitions: number;
|
|
368
|
-
intracommunityDelivery: number;
|
|
369
|
-
energyDelivery?: number;
|
|
370
|
-
oilProductsConsumption?: number;
|
|
371
|
-
importPetrolInSuspensiveSystem?: number;
|
|
372
|
-
purchaseInFranchise?: number;
|
|
373
|
-
saleOfServicesNotInFrance?: number;
|
|
374
|
-
regularizations?: number;
|
|
375
|
-
internalUniq?: number;
|
|
376
|
-
};
|
|
377
|
-
// MODULE DE CONTROLE DE TVA
|
|
378
|
-
vatControl?: {
|
|
379
|
-
france?: {
|
|
380
|
-
base20?: number;
|
|
381
|
-
base10?: number;
|
|
382
|
-
base8Dot5?: number;
|
|
383
|
-
base5Dot5?: number;
|
|
384
|
-
base2Dot1?: number;
|
|
385
|
-
};
|
|
386
|
-
other?: {
|
|
387
|
-
base20?: number;
|
|
388
|
-
base10?: number;
|
|
389
|
-
base5Dot5?: number;
|
|
390
|
-
base2Dot1?: number;
|
|
391
|
-
};
|
|
392
|
-
importations?: {
|
|
393
|
-
base20?: number;
|
|
394
|
-
base10?: number;
|
|
395
|
-
base8Dot5?: number;
|
|
396
|
-
base5Dot5?: number;
|
|
397
|
-
base2Dot1?: number;
|
|
398
|
-
};
|
|
399
|
-
intracomunity?: {
|
|
400
|
-
base20?: number;
|
|
401
|
-
};
|
|
402
|
-
regularisations?: {
|
|
403
|
-
base20?: number;
|
|
404
|
-
base10?: number;
|
|
405
|
-
base5Dot5?: number;
|
|
406
|
-
base2Dot1?: number;
|
|
407
|
-
case5B?: number;
|
|
408
|
-
};
|
|
409
|
-
untaxed?: {
|
|
410
|
-
exportation?: number;
|
|
411
|
-
importation?: number;
|
|
412
|
-
intracomunity?: number;
|
|
413
|
-
regularisation?: number;
|
|
414
|
-
other?: number;
|
|
415
|
-
};
|
|
416
|
-
deducted?: {
|
|
417
|
-
immobilization?: number;
|
|
418
|
-
abs?: number;
|
|
419
|
-
other?: number;
|
|
420
|
-
reported?: number;
|
|
421
|
-
case2C?: number;
|
|
422
|
-
};
|
|
423
|
-
refundAsked?: number;
|
|
424
|
-
};
|
|
425
|
-
// FIN MODULE CONTROLE TVA
|
|
426
|
-
vat?: {
|
|
427
|
-
oilProducts?: {
|
|
428
|
-
normalRate20?: { base?: number };
|
|
429
|
-
reduceRate13?: { base?: number };
|
|
430
|
-
};
|
|
431
|
-
previouslyDeductedToBeReturned?: {
|
|
432
|
-
onOilProducts?: number;
|
|
433
|
-
otherThanOilProducts?: number;
|
|
434
|
-
total?: number;
|
|
435
|
-
};
|
|
436
|
-
toMonaco?: number;
|
|
437
|
-
deductible?: {
|
|
438
|
-
other?: {
|
|
439
|
-
oil?: number;
|
|
440
|
-
};
|
|
441
|
-
toImpute?: number;
|
|
442
|
-
onOilProducts?: number;
|
|
443
|
-
coefficient?: number;
|
|
444
|
-
toReport?: number;
|
|
445
|
-
};
|
|
446
|
-
otherRate?: {
|
|
447
|
-
oldRate?: {
|
|
448
|
-
tax?: number;
|
|
449
|
-
base?: number;
|
|
450
|
-
};
|
|
451
|
-
};
|
|
452
|
-
sumToAdd?: number;
|
|
453
|
-
};
|
|
454
|
-
credit?: {
|
|
455
|
-
transferedToSocietyHeadOfGroup?: number;
|
|
456
|
-
assimiledTaxes?: number;
|
|
457
|
-
refundAsked?: number;
|
|
458
|
-
};
|
|
459
|
-
toPay?: {
|
|
460
|
-
acquittedBySocietyHeadOfGroup?: number;
|
|
461
|
-
};
|
|
462
|
-
};
|
|
463
|
-
|
|
464
182
|
export type PayloadCerfa3310_2024 = {
|
|
465
183
|
isHolidayDeposit: boolean;
|
|
466
184
|
startDate: string;
|
|
@@ -468,7 +186,7 @@ export type PayloadCerfa3310_2024 = {
|
|
|
468
186
|
society: ISociety;
|
|
469
187
|
setting: ISocietyGescom | null;
|
|
470
188
|
isNil: boolean;
|
|
471
|
-
previousVatDeclaration:
|
|
189
|
+
previousVatDeclaration: Cerfa3310_2024 | null;
|
|
472
190
|
sie: ServiceOfTax | null;
|
|
473
191
|
comment?: string;
|
|
474
192
|
taxedOperations?: {
|
|
@@ -580,6 +298,7 @@ export type PayloadCerfa3310_2024 = {
|
|
|
580
298
|
};
|
|
581
299
|
|
|
582
300
|
export type PayloadCerfa3310_2025 = PayloadCerfa3310_2024;
|
|
301
|
+
export type PayloadCerfa3310_2026 = PayloadCerfa3310_2025;
|
|
583
302
|
|
|
584
303
|
export type Cerfa3310_2025 = Cerfa3310_2024 & {
|
|
585
304
|
isHolidayDeposit?: boolean;
|
|
@@ -589,5 +308,8 @@ export type Cerfa3310_2025 = Cerfa3310_2024 & {
|
|
|
589
308
|
};
|
|
590
309
|
};
|
|
591
310
|
|
|
592
|
-
export type
|
|
593
|
-
|
|
311
|
+
export type Cerfa3310_2026 = Cerfa3310_2025;
|
|
312
|
+
|
|
313
|
+
// eslint-disable-next-line @typescript-eslint/no-duplicate-type-constituents
|
|
314
|
+
export type AnyCerfa3310_Century = Cerfa3310_2024 | Cerfa3310_2025 | Cerfa3310_2026;
|
|
315
|
+
export type AnyPayloadCerfa3310_Century = PayloadCerfa3310_2024;
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from '../../..';
|
|
17
17
|
import { Question } from '../../../Enum/BalanceSheetQuestion';
|
|
18
18
|
import { TerminationType } from '../../../Enum/AnswerTypeValue';
|
|
19
|
-
import {
|
|
19
|
+
import { AnyCerfa3310_Century } from './3310';
|
|
20
20
|
import { getCerfa3519Century17Payload } from '../../../../utils/vat/3519/century17';
|
|
21
21
|
import { getCerfa3519Century23RegistrationFields } from '../../../../utils/vat/3519/century23';
|
|
22
22
|
|
|
@@ -39,7 +39,7 @@ export type CerfaPayloadForm = {
|
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
export type AnnexVatDocument = {
|
|
42
|
-
shouldInclude: (data:
|
|
42
|
+
shouldInclude: (data: AnyCerfa3310_Century) => boolean;
|
|
43
43
|
name: string;
|
|
44
44
|
century: string;
|
|
45
45
|
payload: (amount: number, payload: PayloadCerfa3519_2017) => ReturnType<typeof getCerfa3519Century17Payload>;
|
|
@@ -56,7 +56,7 @@ export type VatDocument = {
|
|
|
56
56
|
payload: (...args: any[]) => any;
|
|
57
57
|
asponePayload: (...args: any[]) => any;
|
|
58
58
|
fields: Array<CerfaPayloadForm>;
|
|
59
|
-
fileName: '
|
|
59
|
+
fileName: '3514-2022' | '3310-2024' | '3517-2025' | '3310-2025' | '3517-2026' | '3310-2026';
|
|
60
60
|
annex?: AnnexVatDocument;
|
|
61
61
|
annexFields?: (data: any) => AsponeFormFields;
|
|
62
62
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsBoolean, IsDate, IsOptional } from 'class-validator';
|
|
1
|
+
import { IsBoolean, IsDate, IsIn, IsOptional } from 'class-validator';
|
|
2
2
|
import { ApiPropertyOptional } from '../../../../utils/decorators';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
4
|
|
|
@@ -37,3 +37,10 @@ export class QuerySocietyExercice {
|
|
|
37
37
|
@IsOptional()
|
|
38
38
|
paranoid?: boolean;
|
|
39
39
|
}
|
|
40
|
+
|
|
41
|
+
export class QueryExerciceProject {
|
|
42
|
+
@ApiPropertyOptional()
|
|
43
|
+
@IsIn(['juridical', 'default'])
|
|
44
|
+
@IsOptional()
|
|
45
|
+
type?: 'juridical' | 'default';
|
|
46
|
+
}
|
|
@@ -16,13 +16,13 @@ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
|
16
16
|
import { CerfaType } from '../../../Enum/CerfaType';
|
|
17
17
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
18
18
|
import { Rof } from '../../../Enum/Aspone';
|
|
19
|
-
import { Cerfa3310_2023 } from '../cerfa/3310';
|
|
20
19
|
import { Cerfa3519_2017 } from '../cerfa/3519';
|
|
21
20
|
import { CerfaFormValue } from '../cerfa/ReadCerfa';
|
|
22
21
|
import { UpdatedAnnotation } from './ReadRegistration';
|
|
23
22
|
import { CustomerVatState, CustomerVatType } from '../../../Enum/CustomerVat';
|
|
24
23
|
import { Cerfa2069RCI_2024_Payload } from '../cerfa/2069RCI';
|
|
25
24
|
import { Cerfa2573_2024 } from '../cerfa/2573';
|
|
25
|
+
import { AnyCerfa3310_Century } from '../cerfa/3310';
|
|
26
26
|
|
|
27
27
|
export class CreateRegistrationSetting {
|
|
28
28
|
@ApiPropertyOptional()
|
|
@@ -125,7 +125,7 @@ export class UpdateOrCreateVatRegistration {
|
|
|
125
125
|
endDate: string;
|
|
126
126
|
|
|
127
127
|
@ApiProperty()
|
|
128
|
-
payload:
|
|
128
|
+
payload: AnyCerfa3310_Century;
|
|
129
129
|
|
|
130
130
|
@ApiPropertyOptional()
|
|
131
131
|
annexPayload?: Cerfa3519_2017;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IsArray, IsDate, IsIn, IsNotEmpty, IsObject, IsOptional, IsString } from 'class-validator';
|
|
2
|
-
import { AddressObject, HeaderLines } from 'mailparser';
|
|
2
|
+
// import { AddressObject, HeaderLines } from 'mailparser';
|
|
3
3
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
4
4
|
|
|
5
5
|
export class CreateMailFromLambda {
|
|
@@ -15,7 +15,7 @@ export class CreateMailFromLambda {
|
|
|
15
15
|
@ApiProperty()
|
|
16
16
|
@IsArray()
|
|
17
17
|
@IsNotEmpty()
|
|
18
|
-
headerLines: HeaderLines;
|
|
18
|
+
headerLines: any; // HeaderLines;
|
|
19
19
|
|
|
20
20
|
@ApiProperty()
|
|
21
21
|
html: string | false;
|
|
@@ -46,25 +46,24 @@ export class CreateMailFromLambda {
|
|
|
46
46
|
|
|
47
47
|
@ApiPropertyOptional()
|
|
48
48
|
@IsOptional()
|
|
49
|
-
to?: AddressObject | AddressObject[];
|
|
49
|
+
to?: any; // AddressObject | AddressObject[];
|
|
50
50
|
|
|
51
51
|
@ApiPropertyOptional()
|
|
52
52
|
@IsObject()
|
|
53
53
|
@IsOptional()
|
|
54
|
-
from?: AddressObject;
|
|
54
|
+
from?: any; // AddressObject;
|
|
55
55
|
|
|
56
56
|
@ApiPropertyOptional()
|
|
57
57
|
@IsOptional()
|
|
58
|
-
cc?: AddressObject | AddressObject[];
|
|
58
|
+
cc?: any; // AddressObject | AddressObject[];
|
|
59
59
|
|
|
60
60
|
@ApiPropertyOptional()
|
|
61
61
|
@IsOptional()
|
|
62
|
-
bcc?: AddressObject | AddressObject[];
|
|
63
|
-
|
|
62
|
+
bcc?: any; // AddressObject | AddressObject[];
|
|
64
63
|
@ApiPropertyOptional()
|
|
65
64
|
@IsObject()
|
|
66
65
|
@IsOptional()
|
|
67
|
-
replyTo?: AddressObject;
|
|
66
|
+
replyTo?: any; // AddressObject;
|
|
68
67
|
|
|
69
68
|
@ApiPropertyOptional()
|
|
70
69
|
@IsString()
|
|
@@ -461,13 +461,14 @@ export function getCerfa3310Century24Payload(
|
|
|
461
461
|
),
|
|
462
462
|
) + (payload?.vatControl?.deducted?.other ?? 0);
|
|
463
463
|
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
464
|
+
const isNil = payload.isNil === true;
|
|
465
|
+
const report = isNil
|
|
466
|
+
? 0
|
|
467
|
+
: (isDefined(payload.vat?.deductible?.toReport) && payload.vat?.deductible?.toReport >= 0
|
|
468
|
+
? _round(payload.vat?.deductible?.toReport ?? 0)
|
|
469
|
+
: (payload.previousVatDeclaration?.credit?.toReport ?? 0)) + (payload?.vatControl?.deducted?.reported ?? 0);
|
|
470
|
+
const coefficient = _round(payload.vat?.deductible?.coefficient ?? 100, 2);
|
|
471
|
+
const isHolidayDeposit = payload.isHolidayDeposit === true;
|
|
471
472
|
|
|
472
473
|
const sumToAdd =
|
|
473
474
|
setZeroIfIsNegative(
|
|
@@ -1053,7 +1054,7 @@ export function getCerfa3310Century24RegistrationFields(data: Cerfa3310_2024): A
|
|
|
1053
1054
|
tag: 'Valeur',
|
|
1054
1055
|
isMultiple: false,
|
|
1055
1056
|
description:
|
|
1056
|
-
|
|
1057
|
+
"MOA Livraisons d'electricité, de gaz naturel, de chaleur ou de froid imposables en France, base hors taxe",
|
|
1057
1058
|
value: data.taxedOperations.energyDelivery,
|
|
1058
1059
|
},
|
|
1059
1060
|
{
|
|
@@ -1061,7 +1062,7 @@ export function getCerfa3310Century24RegistrationFields(data: Cerfa3310_2024): A
|
|
|
1061
1062
|
tag: 'Valeur',
|
|
1062
1063
|
isMultiple: false,
|
|
1063
1064
|
description:
|
|
1064
|
-
|
|
1065
|
+
"MOA Achats de biens ou de prestations de services réalisés auprès d'un assujetti non établi en France, art 283-1 du CGI",
|
|
1065
1066
|
value: data.taxedOperations.purchaseOfServicesNotInFrance,
|
|
1066
1067
|
},
|
|
1067
1068
|
{
|
|
@@ -1124,7 +1125,7 @@ export function getCerfa3310Century24RegistrationFields(data: Cerfa3310_2024): A
|
|
|
1124
1125
|
key: 'DC',
|
|
1125
1126
|
tag: 'Valeur',
|
|
1126
1127
|
isMultiple: false,
|
|
1127
|
-
description:
|
|
1128
|
+
description: "MOA Livraisons intracommunautaires à destination d'une personne assujettie 100077",
|
|
1128
1129
|
value: data.untaxedOperations.intracommunityDelivery,
|
|
1129
1130
|
},
|
|
1130
1131
|
{
|
|
@@ -1146,7 +1147,7 @@ export function getCerfa3310Century24RegistrationFields(data: Cerfa3310_2024): A
|
|
|
1146
1147
|
tag: 'Valeur',
|
|
1147
1148
|
isMultiple: false,
|
|
1148
1149
|
description:
|
|
1149
|
-
|
|
1150
|
+
"MOA Livraisons d'electricité, de gaz naturel, de chaleur ou de froid non imposables en France 100122",
|
|
1150
1151
|
value: data.untaxedOperations.energyDelivery,
|
|
1151
1152
|
},
|
|
1152
1153
|
{
|
|
@@ -1353,7 +1354,7 @@ export function getCerfa3310Century24RegistrationFields(data: Cerfa3310_2024): A
|
|
|
1353
1354
|
tag: 'Valeur',
|
|
1354
1355
|
isMultiple: false,
|
|
1355
1356
|
description:
|
|
1356
|
-
|
|
1357
|
+
"PCD Pourcentage de déduction applicable pour la période s'il est différent de 100% Valeur entière et au plus 2 décimales",
|
|
1357
1358
|
value:
|
|
1358
1359
|
isDefined(data.vat.deductible.coefficient) && data.vat.deductible.coefficient !== 100
|
|
1359
1360
|
? data.vat.deductible.coefficient
|
|
@@ -1384,7 +1385,7 @@ export function getCerfa3310Century24RegistrationFields(data: Cerfa3310_2024): A
|
|
|
1384
1385
|
key: 'HJ',
|
|
1385
1386
|
tag: 'Valeur',
|
|
1386
1387
|
isMultiple: false,
|
|
1387
|
-
description:
|
|
1388
|
+
description: "CCITBX Mention membre d'un groupe Table TBX avec X pour sélectionné, CCI/7037 = CAV/1131 =",
|
|
1388
1389
|
value: null,
|
|
1389
1390
|
},
|
|
1390
1391
|
{
|
|
@@ -1591,7 +1592,7 @@ export function getCerfa3310Century24RegistrationFields(data: Cerfa3310_2024): A
|
|
|
1591
1592
|
tag: 'Valeur',
|
|
1592
1593
|
isMultiple: false,
|
|
1593
1594
|
description:
|
|
1594
|
-
|
|
1595
|
+
"CCITBX Mention de qualité de représentant d'un assujetti unique Table TBX avec X pour sélectionné, CCI/7037 = CAV/1131 =",
|
|
1595
1596
|
value: null,
|
|
1596
1597
|
},
|
|
1597
1598
|
{
|
|
@@ -1612,7 +1613,7 @@ export function getCerfa3310Century24RegistrationFields(data: Cerfa3310_2024): A
|
|
|
1612
1613
|
key: 'MD',
|
|
1613
1614
|
tag: 'Valeur',
|
|
1614
1615
|
isMultiple: false,
|
|
1615
|
-
description:
|
|
1616
|
+
description: "MOA Retenue de TVA sur droits d'auteur taxe due",
|
|
1616
1617
|
value: data.vat.otherRate.author.tax,
|
|
1617
1618
|
},
|
|
1618
1619
|
{
|
|
@@ -1633,7 +1634,7 @@ export function getCerfa3310Century24RegistrationFields(data: Cerfa3310_2024): A
|
|
|
1633
1634
|
key: 'MG',
|
|
1634
1635
|
tag: 'Valeur',
|
|
1635
1636
|
isMultiple: false,
|
|
1636
|
-
description:
|
|
1637
|
+
description: "MOA Retenue de TVA sur droits d'auteur base HT",
|
|
1637
1638
|
value: data.vat.otherRate.oldRate.base,
|
|
1638
1639
|
},
|
|
1639
1640
|
{
|
|
@@ -1820,12 +1821,17 @@ export const cerfa3310Century24Fields: CerfaPayloadForm[] = [
|
|
|
1820
1821
|
type: 'number',
|
|
1821
1822
|
},
|
|
1822
1823
|
{
|
|
1823
|
-
label:
|
|
1824
|
+
label: "B3 - Achats d'electricité, de gaz naturel, de chaleur ou de froid imposables en France",
|
|
1824
1825
|
key: 'taxedOperations.energyDelivery',
|
|
1825
1826
|
type: 'number',
|
|
1826
1827
|
},
|
|
1827
1828
|
{
|
|
1828
|
-
label:
|
|
1829
|
+
label: "B4 - Achats de biens ou de prestations de services réalisés auprès d'un assujetti non établi en France",
|
|
1830
|
+
key: 'taxedOperations.purchaseOfServicesNotInFrance',
|
|
1831
|
+
type: 'number',
|
|
1832
|
+
},
|
|
1833
|
+
{
|
|
1834
|
+
label: 'B5 - Régularisations',
|
|
1829
1835
|
key: 'taxedOperations.regularizations',
|
|
1830
1836
|
type: 'number',
|
|
1831
1837
|
},
|
|
@@ -1855,7 +1861,7 @@ export const cerfa3310Century24Fields: CerfaPayloadForm[] = [
|
|
|
1855
1861
|
type: 'number',
|
|
1856
1862
|
},
|
|
1857
1863
|
{
|
|
1858
|
-
label:
|
|
1864
|
+
label: "F3 - Livraisons d'électricité, de gaz naturel, de chaleur ou de froid non imposables en France",
|
|
1859
1865
|
key: 'untaxedOperations.energyDelivery',
|
|
1860
1866
|
type: 'number',
|
|
1861
1867
|
},
|
|
@@ -1885,7 +1891,7 @@ export const cerfa3310Century24Fields: CerfaPayloadForm[] = [
|
|
|
1885
1891
|
type: 'number',
|
|
1886
1892
|
},
|
|
1887
1893
|
{
|
|
1888
|
-
label:
|
|
1894
|
+
label: "F9 - Opérations internes réalisées entre membres d'un assujetti unique",
|
|
1889
1895
|
key: 'untaxedOperations.internalUniq',
|
|
1890
1896
|
type: 'number',
|
|
1891
1897
|
},
|
|
@@ -1972,7 +1978,7 @@ export const cerfa3310Century24Fields: CerfaPayloadForm[] = [
|
|
|
1972
1978
|
type: 'number',
|
|
1973
1979
|
},
|
|
1974
1980
|
{
|
|
1975
|
-
label:
|
|
1981
|
+
label: "29 - Taxes assimilées calculées sur l'annexe n° 3310 A",
|
|
1976
1982
|
key: 'credit.assimiledTaxes',
|
|
1977
1983
|
type: 'number',
|
|
1978
1984
|
},
|
|
@@ -1875,6 +1875,11 @@ export const cerfa3310Century25Fields: CerfaPayloadForm[] = [
|
|
|
1875
1875
|
},
|
|
1876
1876
|
{
|
|
1877
1877
|
label: "B4 - Achats de biens ou de prestations de services réalisés auprès d'un assujetti non établi en France",
|
|
1878
|
+
key: 'taxedOperations.purchaseOfServicesNotInFrance',
|
|
1879
|
+
type: 'number',
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
label: 'B5 - Régularisations',
|
|
1878
1883
|
key: 'taxedOperations.regularizations',
|
|
1879
1884
|
type: 'number',
|
|
1880
1885
|
},
|