@silexpert/core 1.3.193-ca12-3 → 1.3.193
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/types/Enum/SocietyApproval.d.ts +0 -19
- package/dist/cjs/types/Enum/SocietyApproval.d.ts.map +1 -1
- package/dist/cjs/types/Enum/SocietyApproval.js +1 -76
- package/dist/cjs/types/Enum/SocietyApproval.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3514.d.ts +2 -2
- package/dist/cjs/types/Interface/api/cerfa/3514.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3514.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3517.d.ts +233 -238
- package/dist/cjs/types/Interface/api/cerfa/3517.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3517.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/cjs/utils/vat/3517/century23.d.ts +8 -0
- package/dist/cjs/utils/vat/3517/century23.d.ts.map +1 -0
- package/dist/cjs/utils/vat/3517/{century26.js → century23.js} +193 -247
- package/dist/cjs/utils/vat/3517/century23.js.map +1 -0
- package/dist/cjs/utils/vat/centuries.js +13 -13
- package/dist/cjs/utils/vat/centuries.js.map +1 -1
- package/dist/mjs/types/Enum/SocietyApproval.d.ts +0 -19
- package/dist/mjs/types/Enum/SocietyApproval.d.ts.map +1 -1
- package/dist/mjs/types/Enum/SocietyApproval.js +0 -75
- package/dist/mjs/types/Enum/SocietyApproval.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3514.d.ts +2 -2
- package/dist/mjs/types/Interface/api/cerfa/3514.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3514.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3517.d.ts +233 -238
- package/dist/mjs/types/Interface/api/cerfa/3517.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3517.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/mjs/utils/vat/3517/century23.d.ts +8 -0
- package/dist/mjs/utils/vat/3517/century23.d.ts.map +1 -0
- package/dist/mjs/utils/vat/3517/{century26.js → century23.js} +135 -189
- package/dist/mjs/utils/vat/3517/century23.js.map +1 -0
- package/dist/mjs/utils/vat/centuries.js +13 -13
- package/dist/mjs/utils/vat/centuries.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Enum/SocietyApproval.ts +0 -83
- package/ts/types/Interface/api/cerfa/3514.ts +2 -2
- package/ts/types/Interface/api/cerfa/3517.ts +211 -207
- package/ts/types/Interface/api/cerfa/ReadCerfa.ts +1 -1
- package/ts/utils/vat/3517/{century26.ts → century23.ts} +145 -203
- package/ts/utils/vat/centuries.ts +21 -21
- package/dist/cjs/utils/vat/3517/century26.d.ts +0 -8
- package/dist/cjs/utils/vat/3517/century26.d.ts.map +0 -1
- package/dist/cjs/utils/vat/3517/century26.js.map +0 -1
- package/dist/mjs/utils/vat/3517/century26.d.ts +0 -8
- package/dist/mjs/utils/vat/3517/century26.d.ts.map +0 -1
- package/dist/mjs/utils/vat/3517/century26.js.map +0 -1
|
@@ -1,16 +1,17 @@
|
|
|
1
|
+
|
|
1
2
|
import * as dayjs from 'dayjs';
|
|
2
3
|
import { isDefined } from 'class-validator';
|
|
3
4
|
import { round as _round, uniqBy } from 'lodash';
|
|
4
|
-
import {
|
|
5
|
+
import { Cerfa3517_2023, PayloadCerfa3517_2023 } from '../../../types/Interface/api/cerfa/3517';
|
|
5
6
|
import { IAccountingEntry } from '../../../types/Interface/models/IAccountingEntry';
|
|
6
7
|
import { Vat } from '../../../types/Enum/Vat';
|
|
7
8
|
import { getAmountByAccountNumber, getTaxAmountByAccountNumber, setZeroIfIsNegative, textFormatting } from '../utils';
|
|
8
9
|
import { AsponeFormFields, Cerfa3514_2022, CerfaPayloadForm, IRegistration } from '../../../types';
|
|
9
10
|
|
|
10
|
-
export function
|
|
11
|
+
export function getCerfa3517Century23Payload(
|
|
11
12
|
accountingEntries: IAccountingEntry[],
|
|
12
|
-
payload:
|
|
13
|
-
):
|
|
13
|
+
payload: PayloadCerfa3517_2023,
|
|
14
|
+
): Cerfa3517_2023 {
|
|
14
15
|
const shouldHaveVatCode = isDefined(payload.setting?.tvaCode) && isDefined(payload.society.siret);
|
|
15
16
|
const shouldFillRefund = _round(payload.refund?.asked ?? 0) > 0;
|
|
16
17
|
const isNil = payload.isNil === true;
|
|
@@ -133,7 +134,7 @@ export function getCerfa3517Century26Payload(
|
|
|
133
134
|
payload?.exerciceAdvanceRegistrations?.find((a) => [10, 11].includes(dayjs(a.endDate).month())) ?? null;
|
|
134
135
|
const decemberAdvancePayload: Cerfa3514_2022 | null = decemberAdvance?.payload?.cerfa3514 ?? null;
|
|
135
136
|
|
|
136
|
-
const data:
|
|
137
|
+
const data: Cerfa3517_2023 = {
|
|
137
138
|
isNil: payload.isNil === true,
|
|
138
139
|
declaration: {
|
|
139
140
|
comment: payload.comment ?? null,
|
|
@@ -287,48 +288,21 @@ export function getCerfa3517Century26Payload(
|
|
|
287
288
|
balanceSurplus: 0, // Calculé plus bas
|
|
288
289
|
},
|
|
289
290
|
tax: {
|
|
290
|
-
|
|
291
|
-
ofEmployer: isNil ? 0 : _round(payload.tax?.ofEmployer ?? 0),
|
|
292
|
-
contribution: isNil ? 0 : _round(payload.tax?.contribution ?? 0),
|
|
293
|
-
onRetransmission: {
|
|
294
|
-
base: isNil ? 0 : _round(payload.tax?.onRetransmission ?? 0),
|
|
295
|
-
tax: isNil ? 0 : _round((payload.tax?.onRetransmission ?? 0) * 0.05),
|
|
296
|
-
},
|
|
291
|
+
onRetransmission: isNil ? 0 : _round(payload.tax?.onRetransmission ?? 0),
|
|
297
292
|
onResultFarm: isNil ? 0 : _round(payload.tax?.onResultFarm ?? 0),
|
|
298
293
|
payingVideo: {
|
|
299
|
-
reduced:
|
|
300
|
-
|
|
301
|
-
tax: isNil ? 0 : _round((payload.tax?.payingVideo?.reduced ?? 0) * 0.018025),
|
|
302
|
-
},
|
|
303
|
-
normal: {
|
|
304
|
-
base: isNil ? 0 : _round(payload.tax?.payingVideo?.normal ?? 0),
|
|
305
|
-
tax: isNil ? 0 : _round((payload.tax?.payingVideo?.normal ?? 0) * 0.15),
|
|
306
|
-
},
|
|
307
|
-
},
|
|
308
|
-
videoOnAsk: {
|
|
309
|
-
reduced: {
|
|
310
|
-
base: isNil ? 0 : _round(payload.tax?.videoOnAsk?.reduced ?? 0),
|
|
311
|
-
tax: isNil ? 0 : _round((payload.tax?.videoOnAsk?.reduced ?? 0) * 0.0515),
|
|
312
|
-
},
|
|
313
|
-
normal: {
|
|
314
|
-
base: isNil ? 0 : _round(payload.tax?.videoOnAsk?.normal ?? 0),
|
|
315
|
-
tax: isNil ? 0 : _round((payload.tax?.videoOnAsk?.normal ?? 0) * 0.15),
|
|
316
|
-
},
|
|
317
|
-
},
|
|
318
|
-
onAdsFromVideo: {
|
|
319
|
-
reduced: {
|
|
320
|
-
base: isNil ? 0 : _round(payload.tax?.onAdsFromVideo?.reduced ?? 0),
|
|
321
|
-
tax: isNil ? 0 : _round((payload.tax?.onAdsFromVideo?.reduced ?? 0) * 0.0515),
|
|
322
|
-
},
|
|
323
|
-
normal: {
|
|
324
|
-
base: isNil ? 0 : _round(payload.tax?.onAdsFromVideo?.normal ?? 0),
|
|
325
|
-
tax: isNil ? 0 : _round((payload.tax?.onAdsFromVideo?.normal ?? 0) * 0.15),
|
|
326
|
-
},
|
|
294
|
+
reduced: isNil ? 0 : _round(payload.tax?.payingVideo?.reduced ?? 0),
|
|
295
|
+
normal: isNil ? 0 : _round(payload.tax?.payingVideo?.normal ?? 0),
|
|
327
296
|
},
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
297
|
+
freeVideo: {
|
|
298
|
+
reduce: isNil ? 0 : _round(payload.tax?.freeVideo?.reduced ?? 0),
|
|
299
|
+
normal: isNil ? 0 : _round(payload.tax?.freeVideo?.normal ?? 0),
|
|
331
300
|
},
|
|
301
|
+
bailiff: isNil ? 0 : _round(payload.tax?.bailiff ?? 0),
|
|
302
|
+
contribution: isNil ? 0 : _round(payload.tax?.contribution ?? 0),
|
|
303
|
+
ofEmployer: isNil ? 0 : _round(payload.tax?.ofEmployer ?? 0),
|
|
304
|
+
onBoardingCorse: isNil ? 0 : _round(payload.tax?.onBoardingCorse ?? 0),
|
|
305
|
+
onBoarding: isNil ? 0 : _round(payload.tax?.onBoarding ?? 0),
|
|
332
306
|
development: isNil ? 0 : _round(payload.tax?.development ?? 0),
|
|
333
307
|
publicity: isNil ? 0 : _round(payload.tax?.publicity ?? 0),
|
|
334
308
|
onCompanySurplus: isNil ? 0 : _round(payload.tax?.onCompanySurplus ?? 0),
|
|
@@ -424,7 +398,7 @@ export function getCerfa3517Century26Payload(
|
|
|
424
398
|
},
|
|
425
399
|
total: 0, // Calculé plus bas
|
|
426
400
|
refund: {
|
|
427
|
-
creditRefundable: 0
|
|
401
|
+
creditRefundable: shouldFillRefund ? (isNil ? 0 : _round(payload.refund?.creditRefundable ?? 0)) : 0,
|
|
428
402
|
surplus: 0, // Calculé plus bas
|
|
429
403
|
maximum: 0, // Calculé plus bas
|
|
430
404
|
asked: isNil ? 0 : _round(payload.refund?.asked ?? 0),
|
|
@@ -481,16 +455,16 @@ export function getCerfa3517Century26Payload(
|
|
|
481
455
|
data.net.balanceSurplus = data.net.credit + data.net.surplus;
|
|
482
456
|
|
|
483
457
|
data.tax.total =
|
|
484
|
-
data.tax.onRetransmission
|
|
458
|
+
data.tax.onRetransmission +
|
|
485
459
|
data.tax.onResultFarm +
|
|
486
|
-
data.tax.payingVideo.reduced
|
|
487
|
-
data.tax.payingVideo.normal
|
|
488
|
-
data.tax.
|
|
489
|
-
data.tax.
|
|
490
|
-
data.tax.
|
|
491
|
-
data.tax.onAdsFromVideo.normal.tax +
|
|
492
|
-
data.tax.bailiff.tax +
|
|
460
|
+
data.tax.payingVideo.reduced +
|
|
461
|
+
data.tax.payingVideo.normal +
|
|
462
|
+
data.tax.freeVideo.reduce +
|
|
463
|
+
data.tax.freeVideo.normal +
|
|
464
|
+
data.tax.bailiff +
|
|
493
465
|
data.tax.contribution +
|
|
466
|
+
data.tax.ofEmployer +
|
|
467
|
+
data.tax.onBoardingCorse +
|
|
494
468
|
data.tax.onBoarding +
|
|
495
469
|
data.tax.development +
|
|
496
470
|
data.tax.publicity +
|
|
@@ -545,7 +519,6 @@ export function getCerfa3517Century26Payload(
|
|
|
545
519
|
data.recapitulation.toPay =
|
|
546
520
|
data.recapitulation.vatNetDue + data.recapitulation.assimiledTax + data.recapitulation.consumsion;
|
|
547
521
|
|
|
548
|
-
data.refund.creditRefundable = shouldFillRefund ? data.net.credit : 0;
|
|
549
522
|
data.refund.surplus = shouldFillRefund ? data.net.surplus : 0;
|
|
550
523
|
data.refund.maximum = shouldFillRefund ? data.refund.creditRefundable + data.refund.surplus : 0;
|
|
551
524
|
data.refund.reportable =
|
|
@@ -558,7 +531,7 @@ export function getCerfa3517Century26Payload(
|
|
|
558
531
|
return data;
|
|
559
532
|
}
|
|
560
533
|
|
|
561
|
-
export function
|
|
534
|
+
export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): AsponeFormFields {
|
|
562
535
|
const comment = textFormatting(data.declaration.comment);
|
|
563
536
|
|
|
564
537
|
return [
|
|
@@ -653,7 +626,8 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
|
|
|
653
626
|
key: 'BD',
|
|
654
627
|
isMultiple: false,
|
|
655
628
|
tag: 'Valeur',
|
|
656
|
-
description:
|
|
629
|
+
description:
|
|
630
|
+
'Taxe sur les émissions de polluants atmosphériques due au titre de 2022 (CGI, art. 1010) 911630 70C',
|
|
657
631
|
value: data.tax.oldVehicle,
|
|
658
632
|
},
|
|
659
633
|
{
|
|
@@ -718,6 +692,13 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
|
|
|
718
692
|
"Taxe spéciale due en cas de non-respect de l'engagement de conserver pendant 5 ans les parts de fonds commun de placement à risques ou de fonds professionnels de capital investissement (art. 209-0-A du CGI) 912234 4M",
|
|
719
693
|
value: data.tax.specialDue,
|
|
720
694
|
},
|
|
695
|
+
{
|
|
696
|
+
key: 'CH',
|
|
697
|
+
isMultiple: false,
|
|
698
|
+
tag: 'Valeur',
|
|
699
|
+
description: 'TICFE - Taxe due 912244 ',
|
|
700
|
+
value: data.tic.ticfe.tax && data.tic.ticfe.tax > 0 ? data.tic.ticfe.tax : null,
|
|
701
|
+
},
|
|
721
702
|
{
|
|
722
703
|
key: 'CJ',
|
|
723
704
|
isMultiple: false,
|
|
@@ -1058,6 +1039,13 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
|
|
|
1058
1039
|
description: 'TICCE - crédit imputé sur la TVA 912237 ',
|
|
1059
1040
|
value: data.tic.ticc.imputed && data.tic.ticc.imputed > 0 ? data.tic.ticc.imputed : null,
|
|
1060
1041
|
},
|
|
1042
|
+
{
|
|
1043
|
+
key: 'HH',
|
|
1044
|
+
isMultiple: false,
|
|
1045
|
+
tag: 'Valeur',
|
|
1046
|
+
description: 'TICGN - Taxe due 912245 ',
|
|
1047
|
+
value: data.tic.ticgn.tax && data.tic.ticgn.tax > 0 ? data.tic.ticgn.tax : null,
|
|
1048
|
+
},
|
|
1061
1049
|
{
|
|
1062
1050
|
key: 'JA',
|
|
1063
1051
|
isMultiple: false,
|
|
@@ -1071,7 +1059,7 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
|
|
|
1071
1059
|
tag: 'Valeur',
|
|
1072
1060
|
description:
|
|
1073
1061
|
"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 100094 25A",
|
|
1074
|
-
value: data.deductible.rate !== 100 ? data.deductible.rate :
|
|
1062
|
+
value: data.deductible.rate !== 100 ? data.deductible.rate : null,
|
|
1075
1063
|
},
|
|
1076
1064
|
{
|
|
1077
1065
|
key: 'JE',
|
|
@@ -1087,6 +1075,13 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
|
|
|
1087
1075
|
description: 'TOTAL - crédit imputé sur la TVA 912252 ',
|
|
1088
1076
|
value: data.tic.total.imputed && data.tic.total.imputed > 0 ? data.tic.total.imputed : null,
|
|
1089
1077
|
},
|
|
1078
|
+
{
|
|
1079
|
+
key: 'JH',
|
|
1080
|
+
isMultiple: false,
|
|
1081
|
+
tag: 'Valeur',
|
|
1082
|
+
description: 'TICCE - Taxe due 912246 ',
|
|
1083
|
+
value: data.tic.ticc.tax && data.tic.ticc.tax > 0 ? data.tic.ticc.tax : null,
|
|
1084
|
+
},
|
|
1090
1085
|
{
|
|
1091
1086
|
key: 'KA',
|
|
1092
1087
|
isMultiple: false,
|
|
@@ -1240,27 +1235,25 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
|
|
|
1240
1235
|
value: data.tic.ticfe.refund && data.tic.ticfe.refund > 0 ? data.tic.ticfe.refund : null,
|
|
1241
1236
|
},
|
|
1242
1237
|
{
|
|
1243
|
-
key: '
|
|
1238
|
+
key: 'NU',
|
|
1244
1239
|
isMultiple: false,
|
|
1245
1240
|
tag: 'Valeur',
|
|
1246
|
-
description:
|
|
1247
|
-
|
|
1248
|
-
value: data.tax.onRetransmission.tax,
|
|
1241
|
+
description: 'TICFE - crédit constaté 912248 ',
|
|
1242
|
+
value: data.tic.ticfe.credit && data.tic.ticfe.credit > 0 ? data.tic.ticfe.credit : null,
|
|
1249
1243
|
},
|
|
1250
1244
|
{
|
|
1251
|
-
key: '
|
|
1245
|
+
key: 'QA',
|
|
1252
1246
|
isMultiple: false,
|
|
1253
1247
|
tag: 'Valeur',
|
|
1254
|
-
description:
|
|
1255
|
-
|
|
1256
|
-
value: data.tax.onRetransmission.base,
|
|
1248
|
+
description: 'Taxe sur les retransmissions sportives 100023 36',
|
|
1249
|
+
value: data.tax.onRetransmission,
|
|
1257
1250
|
},
|
|
1258
1251
|
{
|
|
1259
1252
|
key: 'QH',
|
|
1260
1253
|
isMultiple: false,
|
|
1261
1254
|
tag: 'Valeur',
|
|
1262
1255
|
description: 'Taxe sur les actes des huissiers de justice 100036 44',
|
|
1263
|
-
value: data.tax.bailiff
|
|
1256
|
+
value: data.tax.bailiff,
|
|
1264
1257
|
},
|
|
1265
1258
|
{
|
|
1266
1259
|
key: 'QS',
|
|
@@ -1305,6 +1298,22 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
|
|
|
1305
1298
|
description: 'Crédit imputé sur le ou les prochains acomptes 100224 52',
|
|
1306
1299
|
value: data.recapitulation.ticRefunded,
|
|
1307
1300
|
},
|
|
1301
|
+
{
|
|
1302
|
+
key: 'RF',
|
|
1303
|
+
isMultiple: false,
|
|
1304
|
+
tag: 'Valeur',
|
|
1305
|
+
description:
|
|
1306
|
+
'Taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre onéreux au taux de 5,15 % 902441 42',
|
|
1307
|
+
value: data.tax.payingVideo?.reduced,
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
key: 'RG',
|
|
1311
|
+
isMultiple: false,
|
|
1312
|
+
tag: 'Valeur',
|
|
1313
|
+
description:
|
|
1314
|
+
'Taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre onéreux au taux de 15 % 902437 43',
|
|
1315
|
+
value: data.tax.payingVideo?.normal,
|
|
1316
|
+
},
|
|
1308
1317
|
{
|
|
1309
1318
|
key: 'RN',
|
|
1310
1319
|
isMultiple: false,
|
|
@@ -1343,18 +1352,27 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
|
|
|
1343
1352
|
value: data.isNil ? 'X' : null,
|
|
1344
1353
|
},
|
|
1345
1354
|
{
|
|
1346
|
-
key: '
|
|
1355
|
+
key: 'SH',
|
|
1356
|
+
isMultiple: false,
|
|
1347
1357
|
tag: 'Valeur',
|
|
1358
|
+
description: "Total des droits de la taxe sur l'exploration d'hydrocarbures (CGI, art 1590) 909352 85",
|
|
1359
|
+
value: data.tax.fuelExploration,
|
|
1360
|
+
},
|
|
1361
|
+
{
|
|
1362
|
+
key: 'SQ',
|
|
1348
1363
|
isMultiple: false,
|
|
1349
|
-
|
|
1350
|
-
|
|
1364
|
+
tag: 'Valeur',
|
|
1365
|
+
description:
|
|
1366
|
+
'Taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre gratuit (CGI, art 1609 sexdecies B) au taux de 5,15 % 909815 43A',
|
|
1367
|
+
value: data.tax.freeVideo?.reduce ?? 0,
|
|
1351
1368
|
},
|
|
1352
1369
|
{
|
|
1353
|
-
key: '
|
|
1370
|
+
key: 'SS',
|
|
1354
1371
|
isMultiple: false,
|
|
1355
1372
|
tag: 'Valeur',
|
|
1356
|
-
description:
|
|
1357
|
-
|
|
1373
|
+
description:
|
|
1374
|
+
'Taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre gratuit (CGI, art 1609 sexdecies B) au taux de 15 % 909817 43B',
|
|
1375
|
+
value: data.tax.freeVideo?.normal ?? 0,
|
|
1358
1376
|
},
|
|
1359
1377
|
{
|
|
1360
1378
|
key: 'SV',
|
|
@@ -1408,6 +1426,13 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
|
|
|
1408
1426
|
description: 'TICGN - Reliquat de crédit à rembourser 912240 ',
|
|
1409
1427
|
value: data.tic.ticgn.refund && data.tic.ticgn.refund > 0 ? data.tic.ticgn.refund : null,
|
|
1410
1428
|
},
|
|
1429
|
+
{
|
|
1430
|
+
key: 'TH',
|
|
1431
|
+
isMultiple: false,
|
|
1432
|
+
tag: 'Valeur',
|
|
1433
|
+
description: 'TICGN - crédit constaté 912249 ',
|
|
1434
|
+
value: data.tic.ticgn.credit && data.tic.ticgn.credit > 0 ? data.tic.ticgn.credit : null,
|
|
1435
|
+
},
|
|
1411
1436
|
{
|
|
1412
1437
|
key: 'UB',
|
|
1413
1438
|
isMultiple: false,
|
|
@@ -1439,6 +1464,13 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
|
|
|
1439
1464
|
description: 'TICCE - Reliquat de crédit à rembourser 912241 ',
|
|
1440
1465
|
value: data.tic.ticc.refund && data.tic.ticc.refund > 0 ? data.tic.ticc.refund : null,
|
|
1441
1466
|
},
|
|
1467
|
+
{
|
|
1468
|
+
key: 'UH',
|
|
1469
|
+
isMultiple: false,
|
|
1470
|
+
tag: 'Valeur',
|
|
1471
|
+
description: 'TICCE - crédit constaté 912250 ',
|
|
1472
|
+
value: data.tic.ticc.credit && data.tic.ticc.credit > 0 ? data.tic.ticc.credit : null,
|
|
1473
|
+
},
|
|
1442
1474
|
{
|
|
1443
1475
|
key: 'VA',
|
|
1444
1476
|
isMultiple: false,
|
|
@@ -1670,6 +1702,14 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
|
|
|
1670
1702
|
'Taxe sur les exploitants de plateformes de mise en relation par voie électronique en vue de fournir certaines prestations de transport (CGI, article 300 bis) - Taxe due 911708 94',
|
|
1671
1703
|
value: data.tax.platform,
|
|
1672
1704
|
},
|
|
1705
|
+
{
|
|
1706
|
+
key: 'XF',
|
|
1707
|
+
isMultiple: false,
|
|
1708
|
+
tag: 'Valeur',
|
|
1709
|
+
description:
|
|
1710
|
+
'Taxe sur le transport aérien de passagers - Majoration en Corse (CIBS, art. L422-13 et L422-29) - Taxe 912231 45A',
|
|
1711
|
+
value: data.tax.onBoardingCorse,
|
|
1712
|
+
},
|
|
1673
1713
|
{
|
|
1674
1714
|
key: 'XG',
|
|
1675
1715
|
isMultiple: false,
|
|
@@ -1691,111 +1731,12 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
|
|
|
1691
1731
|
description: 'Taxe sur certaines dépenses de publicité (CGI, art. 302 bis MA) 907826 47',
|
|
1692
1732
|
value: data.tax.publicity,
|
|
1693
1733
|
},
|
|
1694
|
-
{
|
|
1695
|
-
key: 'TL',
|
|
1696
|
-
isMultiple: false,
|
|
1697
|
-
tag: 'Valeur',
|
|
1698
|
-
description: 'Taxe sur les vidéogrammes (CIBS, art. L452-28) au taux de 1,8025 % - Base imposable',
|
|
1699
|
-
value: data.tax.payingVideo?.reduced.base,
|
|
1700
|
-
},
|
|
1701
|
-
{
|
|
1702
|
-
key: 'NX',
|
|
1703
|
-
isMultiple: false,
|
|
1704
|
-
tag: 'Valeur',
|
|
1705
|
-
description: 'Taxe sur les vidéogrammes (CIBS, art. L452-28) au taux de 1,8025 % - Taxe due',
|
|
1706
|
-
value: data.tax.payingVideo?.reduced.tax,
|
|
1707
|
-
},
|
|
1708
|
-
{
|
|
1709
|
-
key: 'UL',
|
|
1710
|
-
isMultiple: false,
|
|
1711
|
-
tag: 'Valeur',
|
|
1712
|
-
description: 'Taxe sur les vidéogrammes (CIBS, art. L452-28) au taux de 15 % - Base imposable',
|
|
1713
|
-
value: data.tax.payingVideo?.normal.base,
|
|
1714
|
-
},
|
|
1715
|
-
{
|
|
1716
|
-
key: 'LL',
|
|
1717
|
-
isMultiple: false,
|
|
1718
|
-
tag: 'Valeur',
|
|
1719
|
-
description: 'Taxe sur les vidéogrammes (CIBS, art. L452-28) au taux de 15 % - Taxe due',
|
|
1720
|
-
value: data.tax.payingVideo?.normal.tax,
|
|
1721
|
-
},
|
|
1722
|
-
{
|
|
1723
|
-
key: 'RF',
|
|
1724
|
-
tag: 'Valeur',
|
|
1725
|
-
value: data.tax.videoOnAsk?.reduced?.tax,
|
|
1726
|
-
description:
|
|
1727
|
-
'Taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre onéreux au taux de 5,15 %',
|
|
1728
|
-
isMultiple: false,
|
|
1729
|
-
},
|
|
1730
|
-
{
|
|
1731
|
-
key: 'RG',
|
|
1732
|
-
isMultiple: false,
|
|
1733
|
-
tag: 'Valeur',
|
|
1734
|
-
value: data.tax.videoOnAsk?.normal?.tax,
|
|
1735
|
-
description:
|
|
1736
|
-
'Taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre onéreux au taux de 15 %',
|
|
1737
|
-
},
|
|
1738
|
-
{
|
|
1739
|
-
key: 'SQ',
|
|
1740
|
-
isMultiple: false,
|
|
1741
|
-
tag: 'Valeur',
|
|
1742
|
-
value: data.tax.onAdsFromVideo?.reduced?.tax,
|
|
1743
|
-
description:
|
|
1744
|
-
'Taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre gratuit (CGI, art 1609 sexdecies B) au taux de 5,15 %',
|
|
1745
|
-
},
|
|
1746
|
-
{
|
|
1747
|
-
key: 'SR',
|
|
1748
|
-
isMultiple: false,
|
|
1749
|
-
tag: 'Valeur',
|
|
1750
|
-
value: data.tax.onAdsFromVideo?.reduced?.base,
|
|
1751
|
-
description:
|
|
1752
|
-
'Base imposable sur la taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre gratuit (CGI, art 1609 sexdecies B) au taux de 5,15 %',
|
|
1753
|
-
},
|
|
1754
|
-
{
|
|
1755
|
-
key: 'SS',
|
|
1756
|
-
isMultiple: false,
|
|
1757
|
-
tag: 'Valeur',
|
|
1758
|
-
value: data.tax.onAdsFromVideo?.normal?.tax,
|
|
1759
|
-
description:
|
|
1760
|
-
'Taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre gratuit (CGI, art 1609 sexdecies B) au taux de 15 %',
|
|
1761
|
-
},
|
|
1762
|
-
{
|
|
1763
|
-
key: 'ST',
|
|
1764
|
-
isMultiple: false,
|
|
1765
|
-
tag: 'Valeur',
|
|
1766
|
-
value: data.tax.onAdsFromVideo?.normal?.base,
|
|
1767
|
-
description:
|
|
1768
|
-
'Base imposable sur la taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre gratuit (CGI, art 1609 sexdecies B) au taux de 15 %',
|
|
1769
|
-
},
|
|
1770
|
-
{
|
|
1771
|
-
key: 'ZG',
|
|
1772
|
-
isMultiple: false,
|
|
1773
|
-
tag: 'Valeur',
|
|
1774
|
-
value: data.tax.videoOnAsk?.reduced?.base,
|
|
1775
|
-
description:
|
|
1776
|
-
'Base imposable sur la taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre onéreux au taux de 5,15 %',
|
|
1777
|
-
},
|
|
1778
|
-
{
|
|
1779
|
-
key: 'ZH',
|
|
1780
|
-
isMultiple: false,
|
|
1781
|
-
tag: 'Valeur',
|
|
1782
|
-
value: data.tax.videoOnAsk?.normal?.base,
|
|
1783
|
-
description:
|
|
1784
|
-
'Base imposable sur la taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre onéreux au taux de 15 %',
|
|
1785
|
-
},
|
|
1786
|
-
{
|
|
1787
|
-
key: 'ZJ',
|
|
1788
|
-
isMultiple: false,
|
|
1789
|
-
tag: 'Valeur',
|
|
1790
|
-
value: data.tax.bailiff.count,
|
|
1791
|
-
description: 'Base imposable sur la taxe sur les actes des huissiers de justice (CGI, art 302 bis Y)',
|
|
1792
|
-
},
|
|
1793
1734
|
],
|
|
1794
1735
|
},
|
|
1795
1736
|
];
|
|
1796
1737
|
}
|
|
1797
1738
|
|
|
1798
|
-
export function
|
|
1739
|
+
export function getCerfa3517DDRCentury23egistrationField(data: Cerfa3517_2023): AsponeFormFields {
|
|
1799
1740
|
if (data.refund.asked > 0) {
|
|
1800
1741
|
return [
|
|
1801
1742
|
{
|
|
@@ -1847,6 +1788,11 @@ export function getCerfa3517DDRCentury26RegistrationField(data: Cerfa3517_2026):
|
|
|
1847
1788
|
description: 'NAD Nom et prénom du demandeur 100178 ',
|
|
1848
1789
|
value: textFormatting(data.refund.name, 35),
|
|
1849
1790
|
},
|
|
1791
|
+
// {
|
|
1792
|
+
// tag: 'DesignationSuite1',
|
|
1793
|
+
// description: 'NAD Qualité du demandeur 100179 ',
|
|
1794
|
+
// value: null,
|
|
1795
|
+
// },
|
|
1850
1796
|
{
|
|
1851
1797
|
tag: 'AdresseVille',
|
|
1852
1798
|
description: 'NAD Lieu de dépôt de la demande 100184 ',
|
|
@@ -1953,7 +1899,7 @@ export function getCerfa3517DDRCentury26RegistrationField(data: Cerfa3517_2026):
|
|
|
1953
1899
|
return [];
|
|
1954
1900
|
}
|
|
1955
1901
|
|
|
1956
|
-
export const
|
|
1902
|
+
export const cerfa3517Century23Fields: CerfaPayloadForm[] = [
|
|
1957
1903
|
{
|
|
1958
1904
|
sectionName: 'Général',
|
|
1959
1905
|
childrens: [
|
|
@@ -2065,9 +2011,8 @@ export const cerfa3517Century26Fields: CerfaPayloadForm[] = [
|
|
|
2065
2011
|
sectionName: 'Décompte des taxes assimilées',
|
|
2066
2012
|
childrens: [
|
|
2067
2013
|
{
|
|
2068
|
-
label:
|
|
2069
|
-
|
|
2070
|
-
key: 'tax.onRetransmission.base',
|
|
2014
|
+
label: '36 - Taxe sur les retransmissions sportives au taux de 5 % (CGI, art. 302 bis ZE)',
|
|
2015
|
+
key: 'tax.onRetransmission',
|
|
2071
2016
|
type: 'number',
|
|
2072
2017
|
},
|
|
2073
2018
|
{
|
|
@@ -2075,48 +2020,33 @@ export const cerfa3517Century26Fields: CerfaPayloadForm[] = [
|
|
|
2075
2020
|
key: 'tax.onResultFarm',
|
|
2076
2021
|
type: 'number',
|
|
2077
2022
|
},
|
|
2078
|
-
{
|
|
2079
|
-
label: '38A - Taxe sur les vidéogrammes (CIBS, art. L452-28) au taux de 1,8025 % (Base Hors-Taxe)',
|
|
2080
|
-
key: 'tax.payingVideo.reduced.base',
|
|
2081
|
-
type: 'number',
|
|
2082
|
-
},
|
|
2083
|
-
{
|
|
2084
|
-
label: '38B - Taxe sur les vidéogrammes (CIBS, art. L452-28) au taux de 15 % (Base Hors-Taxe)',
|
|
2085
|
-
key: 'tax.payingVideo.normal.base',
|
|
2086
|
-
type: 'number',
|
|
2087
|
-
},
|
|
2088
2023
|
{
|
|
2089
2024
|
label:
|
|
2090
|
-
'42 - Taxe sur
|
|
2091
|
-
key: 'tax.
|
|
2025
|
+
'42 - Taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre onéreux (CGI, art. 1609 sexdecies B) au taux de 5.15%',
|
|
2026
|
+
key: 'tax.payingVideo.reduced',
|
|
2092
2027
|
type: 'number',
|
|
2093
2028
|
},
|
|
2094
2029
|
{
|
|
2095
2030
|
label:
|
|
2096
|
-
'43 - Taxe sur
|
|
2097
|
-
key: 'tax.
|
|
2031
|
+
'43 - Taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre onéreux (CGI, art. 1609 sexdecies B) au taux de 15%',
|
|
2032
|
+
key: 'tax.payingVideo.normal',
|
|
2098
2033
|
type: 'number',
|
|
2099
2034
|
},
|
|
2100
2035
|
{
|
|
2101
2036
|
label:
|
|
2102
|
-
'43A - Taxe sur la
|
|
2103
|
-
key: 'tax.
|
|
2037
|
+
'43A - Taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre gratuit (CGI, art. 1609 sexdecies B) au taux de 5.15%',
|
|
2038
|
+
key: 'tax.freeVideo.reduced',
|
|
2104
2039
|
type: 'number',
|
|
2105
2040
|
},
|
|
2106
2041
|
{
|
|
2107
2042
|
label:
|
|
2108
|
-
'43B - Taxe sur la
|
|
2109
|
-
key: 'tax.
|
|
2110
|
-
type: 'number',
|
|
2111
|
-
},
|
|
2112
|
-
{
|
|
2113
|
-
label: "44 - Taxe sur les actes des huissiers de justice (CGI, art. 302 bis Y) - Nombre d'actes",
|
|
2114
|
-
key: 'tax.bailiff.count',
|
|
2043
|
+
'43B - Taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre gratuit (CGI, art. 1609 sexdecies B) au taux de 15%',
|
|
2044
|
+
key: 'tax.freeVideo.normal',
|
|
2115
2045
|
type: 'number',
|
|
2116
2046
|
},
|
|
2117
2047
|
{
|
|
2118
2048
|
label: '44 - Taxe sur les actes des huissiers de justice (CGI, art. 302 bis Y)',
|
|
2119
|
-
key: 'tax.bailiff
|
|
2049
|
+
key: 'tax.bailiff',
|
|
2120
2050
|
type: 'number',
|
|
2121
2051
|
},
|
|
2122
2052
|
{
|
|
@@ -2129,6 +2059,11 @@ export const cerfa3517Century26Fields: CerfaPayloadForm[] = [
|
|
|
2129
2059
|
key: 'tax.ofEmployer',
|
|
2130
2060
|
type: 'number',
|
|
2131
2061
|
},
|
|
2062
|
+
{
|
|
2063
|
+
label: '45A - Taxe sur le transport aérien de passagers – Majoration en Corse (CIBS, art. L422-13 et L422-29)',
|
|
2064
|
+
key: 'tax.onBoardingCorse',
|
|
2065
|
+
type: 'number',
|
|
2066
|
+
},
|
|
2132
2067
|
{
|
|
2133
2068
|
label:
|
|
2134
2069
|
'45B - Taxe sur le transport maritime de passagers dans certains territoires côtiers –Embarquement ou débarquement en Corse (CIBS, art. L423-57 et suivants)',
|
|
@@ -2142,7 +2077,7 @@ export const cerfa3517Century26Fields: CerfaPayloadForm[] = [
|
|
|
2142
2077
|
type: 'number',
|
|
2143
2078
|
},
|
|
2144
2079
|
{
|
|
2145
|
-
label: '47 - Taxe sur
|
|
2080
|
+
label: '47 - Taxe sur certaines dépenses de publicité au taux de 1 % (CGI, art 302 bis MA)',
|
|
2146
2081
|
key: 'tax.publicity',
|
|
2147
2082
|
type: 'number',
|
|
2148
2083
|
},
|
|
@@ -2251,7 +2186,7 @@ export const cerfa3517Century26Fields: CerfaPayloadForm[] = [
|
|
|
2251
2186
|
type: 'number',
|
|
2252
2187
|
},
|
|
2253
2188
|
{
|
|
2254
|
-
label: '70C - Taxe annuelle sur
|
|
2189
|
+
label: '70C - Taxe annuelle sur l’ancienneté des véhicules de tourisme',
|
|
2255
2190
|
key: 'tax.oldVehicle',
|
|
2256
2191
|
type: 'number',
|
|
2257
2192
|
},
|
|
@@ -2368,7 +2303,7 @@ export const cerfa3517Century26Fields: CerfaPayloadForm[] = [
|
|
|
2368
2303
|
},
|
|
2369
2304
|
{
|
|
2370
2305
|
label:
|
|
2371
|
-
'94 - Taxe sur
|
|
2306
|
+
'94 - Taxe sur les exploitants de plateformes de mise en relation par voie électronique en vue de fournir certaines prestations de transport (CGI, article 300 bis)',
|
|
2372
2307
|
key: 'tax.platform',
|
|
2373
2308
|
type: 'number',
|
|
2374
2309
|
},
|
|
@@ -2382,6 +2317,13 @@ export const cerfa3517Century26Fields: CerfaPayloadForm[] = [
|
|
|
2382
2317
|
},
|
|
2383
2318
|
{
|
|
2384
2319
|
sectionName: 'Demande de remboursement',
|
|
2385
|
-
childrens: [
|
|
2320
|
+
childrens: [
|
|
2321
|
+
{ label: 'Remboursement demandé', key: 'refund.asked', type: 'number' },
|
|
2322
|
+
{
|
|
2323
|
+
label: 'Crédit remboursable dégagé à la clôture de l’année ou de l’exercice',
|
|
2324
|
+
key: 'refund.creditRefundable',
|
|
2325
|
+
type: 'number',
|
|
2326
|
+
},
|
|
2327
|
+
],
|
|
2386
2328
|
},
|
|
2387
2329
|
];
|
|
@@ -27,11 +27,17 @@ import { getCerfa3519Century23RegistrationFields } from './3519/century23';
|
|
|
27
27
|
import { cerfa3514Century22Fields, getCerfa3514Century22Payload } from './3514/century22';
|
|
28
28
|
import { getCerfa3514Century23RegistrationFields } from './3514/century23';
|
|
29
29
|
import {
|
|
30
|
+
Cerfa3517_2023,
|
|
30
31
|
Cerfa3517_2025,
|
|
31
|
-
|
|
32
|
+
PayloadCerfa3517_2023,
|
|
32
33
|
PayloadCerfa3517_2025,
|
|
33
|
-
PayloadCerfa3517_2026,
|
|
34
34
|
} from '../../types/Interface/api/cerfa/3517';
|
|
35
|
+
import {
|
|
36
|
+
cerfa3517Century23Fields,
|
|
37
|
+
getCerfa3517Century23Payload,
|
|
38
|
+
getCerfa3517CenturyRegistrationField,
|
|
39
|
+
getCerfa3517DDRCentury23egistrationField,
|
|
40
|
+
} from './3517/century23';
|
|
35
41
|
import {
|
|
36
42
|
cerfa3310Century24Fields,
|
|
37
43
|
getCerfa3310Century24Payload,
|
|
@@ -48,12 +54,6 @@ import {
|
|
|
48
54
|
getCerfa3310Century25Payload,
|
|
49
55
|
getCerfa3310Century25RegistrationFields,
|
|
50
56
|
} from './3310/century25';
|
|
51
|
-
import {
|
|
52
|
-
cerfa3517Century26Fields,
|
|
53
|
-
getCerfa3517Century26Payload,
|
|
54
|
-
getCerfa3517Century26RegistrationField,
|
|
55
|
-
getCerfa3517DDRCentury26RegistrationField,
|
|
56
|
-
} from './3517/century26';
|
|
57
57
|
|
|
58
58
|
const vatDocuments: VatDocument[] = [
|
|
59
59
|
{
|
|
@@ -135,11 +135,23 @@ const vatDocuments: VatDocument[] = [
|
|
|
135
135
|
fields: cerfa3514Century22Fields,
|
|
136
136
|
fileName: '3514-2022',
|
|
137
137
|
},
|
|
138
|
+
{
|
|
139
|
+
idCerfaType: CerfaType.CERFA_3517,
|
|
140
|
+
name: '3517',
|
|
141
|
+
century: '23',
|
|
142
|
+
centuries: [2022, 2023, 2024],
|
|
143
|
+
payload: (accountingEntries: IAccountingEntry[], payload: PayloadCerfa3517_2023) =>
|
|
144
|
+
getCerfa3517Century23Payload(accountingEntries, payload),
|
|
145
|
+
asponePayload: (data: Cerfa3517_2023) => getCerfa3517CenturyRegistrationField(data),
|
|
146
|
+
fields: cerfa3517Century23Fields,
|
|
147
|
+
fileName: '3517-2023',
|
|
148
|
+
annexFields: (data: Cerfa3517_2023) => getCerfa3517DDRCentury23egistrationField(data),
|
|
149
|
+
},
|
|
138
150
|
{
|
|
139
151
|
idCerfaType: CerfaType.CERFA_3517,
|
|
140
152
|
name: '3517',
|
|
141
153
|
century: '25',
|
|
142
|
-
centuries: [
|
|
154
|
+
centuries: [2025, 2026],
|
|
143
155
|
payload: (accountingEntries: IAccountingEntry[], payload: PayloadCerfa3517_2025) =>
|
|
144
156
|
getCerfa3517Century25Payload(accountingEntries, payload),
|
|
145
157
|
asponePayload: (data: Cerfa3517_2025) => getCerfa3517Century25RegistrationField(data),
|
|
@@ -147,18 +159,6 @@ const vatDocuments: VatDocument[] = [
|
|
|
147
159
|
fileName: '3517-2025',
|
|
148
160
|
annexFields: (data: Cerfa3517_2025) => getCerfa3517DDRCentury25egistrationField(data),
|
|
149
161
|
},
|
|
150
|
-
{
|
|
151
|
-
idCerfaType: CerfaType.CERFA_3517,
|
|
152
|
-
name: '3517',
|
|
153
|
-
century: '26',
|
|
154
|
-
centuries: [2026],
|
|
155
|
-
payload: (accountingEntries: IAccountingEntry[], payload: PayloadCerfa3517_2026) =>
|
|
156
|
-
getCerfa3517Century26Payload(accountingEntries, payload),
|
|
157
|
-
asponePayload: (data: Cerfa3517_2026) => getCerfa3517Century26RegistrationField(data),
|
|
158
|
-
fields: cerfa3517Century26Fields,
|
|
159
|
-
fileName: '3517-2026',
|
|
160
|
-
annexFields: (data: Cerfa3517_2026) => getCerfa3517DDRCentury26RegistrationField(data),
|
|
161
|
-
},
|
|
162
162
|
];
|
|
163
163
|
|
|
164
164
|
export const getVatCerfaObject = (idCerfaType: CerfaType, endDate: string): VatDocument => {
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Cerfa3517_2026, PayloadCerfa3517_2026 } from '../../../types/Interface/api/cerfa/3517';
|
|
2
|
-
import { IAccountingEntry } from '../../../types/Interface/models/IAccountingEntry';
|
|
3
|
-
import { AsponeFormFields, CerfaPayloadForm } from '../../../types';
|
|
4
|
-
export declare function getCerfa3517Century26Payload(accountingEntries: IAccountingEntry[], payload: PayloadCerfa3517_2026): Cerfa3517_2026;
|
|
5
|
-
export declare function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): AsponeFormFields;
|
|
6
|
-
export declare function getCerfa3517DDRCentury26RegistrationField(data: Cerfa3517_2026): AsponeFormFields;
|
|
7
|
-
export declare const cerfa3517Century26Fields: CerfaPayloadForm[];
|
|
8
|
-
//# sourceMappingURL=century26.d.ts.map
|