@silexpert/core 1.3.193-ca12-5 → 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.
Files changed (49) hide show
  1. package/dist/cjs/types/Enum/SocietyApproval.d.ts +0 -19
  2. package/dist/cjs/types/Enum/SocietyApproval.d.ts.map +1 -1
  3. package/dist/cjs/types/Enum/SocietyApproval.js +1 -76
  4. package/dist/cjs/types/Enum/SocietyApproval.js.map +1 -1
  5. package/dist/cjs/types/Interface/api/cerfa/3514.d.ts +2 -2
  6. package/dist/cjs/types/Interface/api/cerfa/3514.d.ts.map +1 -1
  7. package/dist/cjs/types/Interface/api/cerfa/3514.js.map +1 -1
  8. package/dist/cjs/types/Interface/api/cerfa/3517.d.ts +240 -235
  9. package/dist/cjs/types/Interface/api/cerfa/3517.d.ts.map +1 -1
  10. package/dist/cjs/types/Interface/api/cerfa/3517.js.map +1 -1
  11. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +1 -1
  12. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  13. package/dist/cjs/utils/vat/3517/century23.d.ts +8 -0
  14. package/dist/cjs/utils/vat/3517/century23.d.ts.map +1 -0
  15. package/dist/cjs/utils/vat/3517/{century26.js → century23.js} +196 -150
  16. package/dist/cjs/utils/vat/3517/century23.js.map +1 -0
  17. package/dist/cjs/utils/vat/centuries.js +13 -13
  18. package/dist/cjs/utils/vat/centuries.js.map +1 -1
  19. package/dist/mjs/types/Enum/SocietyApproval.d.ts +0 -19
  20. package/dist/mjs/types/Enum/SocietyApproval.d.ts.map +1 -1
  21. package/dist/mjs/types/Enum/SocietyApproval.js +0 -75
  22. package/dist/mjs/types/Enum/SocietyApproval.js.map +1 -1
  23. package/dist/mjs/types/Interface/api/cerfa/3514.d.ts +2 -2
  24. package/dist/mjs/types/Interface/api/cerfa/3514.d.ts.map +1 -1
  25. package/dist/mjs/types/Interface/api/cerfa/3514.js.map +1 -1
  26. package/dist/mjs/types/Interface/api/cerfa/3517.d.ts +240 -235
  27. package/dist/mjs/types/Interface/api/cerfa/3517.d.ts.map +1 -1
  28. package/dist/mjs/types/Interface/api/cerfa/3517.js.map +1 -1
  29. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +1 -1
  30. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  31. package/dist/mjs/utils/vat/3517/century23.d.ts +8 -0
  32. package/dist/mjs/utils/vat/3517/century23.d.ts.map +1 -0
  33. package/dist/mjs/utils/vat/3517/{century26.js → century23.js} +138 -92
  34. package/dist/mjs/utils/vat/3517/century23.js.map +1 -0
  35. package/dist/mjs/utils/vat/centuries.js +13 -13
  36. package/dist/mjs/utils/vat/centuries.js.map +1 -1
  37. package/package.json +1 -1
  38. package/ts/types/Enum/SocietyApproval.ts +0 -83
  39. package/ts/types/Interface/api/cerfa/3514.ts +2 -2
  40. package/ts/types/Interface/api/cerfa/3517.ts +211 -203
  41. package/ts/types/Interface/api/cerfa/ReadCerfa.ts +1 -1
  42. package/ts/utils/vat/3517/{century26.ts → century23.ts} +152 -98
  43. package/ts/utils/vat/centuries.ts +21 -21
  44. package/dist/cjs/utils/vat/3517/century26.d.ts +0 -8
  45. package/dist/cjs/utils/vat/3517/century26.d.ts.map +0 -1
  46. package/dist/cjs/utils/vat/3517/century26.js.map +0 -1
  47. package/dist/mjs/utils/vat/3517/century26.d.ts +0 -8
  48. package/dist/mjs/utils/vat/3517/century26.d.ts.map +0 -1
  49. 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 { Cerfa3517_2026, PayloadCerfa3517_2026 } from '../../../types/Interface/api/cerfa/3517';
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 getCerfa3517Century26Payload(
11
+ export function getCerfa3517Century23Payload(
11
12
  accountingEntries: IAccountingEntry[],
12
- payload: PayloadCerfa3517_2026,
13
- ): Cerfa3517_2026 {
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: Cerfa3517_2026 = {
137
+ const data: Cerfa3517_2023 = {
137
138
  isNil: payload.isNil === true,
138
139
  declaration: {
139
140
  comment: payload.comment ?? null,
@@ -287,28 +288,21 @@ export function getCerfa3517Century26Payload(
287
288
  balanceSurplus: 0, // Calculé plus bas
288
289
  },
289
290
  tax: {
290
- onBoarding: isNil ? 0 : _round(payload.tax?.onBoarding ?? 0),
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
- base: isNil ? 0 : _round(payload.tax?.payingVideo?.reduced ?? 0),
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
- },
294
+ reduced: isNil ? 0 : _round(payload.tax?.payingVideo?.reduced ?? 0),
295
+ normal: isNil ? 0 : _round(payload.tax?.payingVideo?.normal ?? 0),
307
296
  },
308
- bailiff: {
309
- tax: isNil ? 0 : _round(payload.tax?.bailiff?.tax ?? 0),
310
- count: isNil ? 0 : _round(payload.tax?.bailiff?.count ?? 0),
297
+ freeVideo: {
298
+ reduce: isNil ? 0 : _round(payload.tax?.freeVideo?.reduced ?? 0),
299
+ normal: isNil ? 0 : _round(payload.tax?.freeVideo?.normal ?? 0),
311
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),
312
306
  development: isNil ? 0 : _round(payload.tax?.development ?? 0),
313
307
  publicity: isNil ? 0 : _round(payload.tax?.publicity ?? 0),
314
308
  onCompanySurplus: isNil ? 0 : _round(payload.tax?.onCompanySurplus ?? 0),
@@ -404,7 +398,7 @@ export function getCerfa3517Century26Payload(
404
398
  },
405
399
  total: 0, // Calculé plus bas
406
400
  refund: {
407
- creditRefundable: 0, // Calculé plus bas
401
+ creditRefundable: shouldFillRefund ? (isNil ? 0 : _round(payload.refund?.creditRefundable ?? 0)) : 0,
408
402
  surplus: 0, // Calculé plus bas
409
403
  maximum: 0, // Calculé plus bas
410
404
  asked: isNil ? 0 : _round(payload.refund?.asked ?? 0),
@@ -461,12 +455,16 @@ export function getCerfa3517Century26Payload(
461
455
  data.net.balanceSurplus = data.net.credit + data.net.surplus;
462
456
 
463
457
  data.tax.total =
464
- data.tax.onRetransmission.tax +
458
+ data.tax.onRetransmission +
465
459
  data.tax.onResultFarm +
466
- data.tax.payingVideo.reduced.tax +
467
- data.tax.payingVideo.normal.tax +
468
- 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 +
469
465
  data.tax.contribution +
466
+ data.tax.ofEmployer +
467
+ data.tax.onBoardingCorse +
470
468
  data.tax.onBoarding +
471
469
  data.tax.development +
472
470
  data.tax.publicity +
@@ -521,7 +519,6 @@ export function getCerfa3517Century26Payload(
521
519
  data.recapitulation.toPay =
522
520
  data.recapitulation.vatNetDue + data.recapitulation.assimiledTax + data.recapitulation.consumsion;
523
521
 
524
- data.refund.creditRefundable = shouldFillRefund ? data.net.credit : 0;
525
522
  data.refund.surplus = shouldFillRefund ? data.net.surplus : 0;
526
523
  data.refund.maximum = shouldFillRefund ? data.refund.creditRefundable + data.refund.surplus : 0;
527
524
  data.refund.reportable =
@@ -534,7 +531,7 @@ export function getCerfa3517Century26Payload(
534
531
  return data;
535
532
  }
536
533
 
537
- export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): AsponeFormFields {
534
+ export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): AsponeFormFields {
538
535
  const comment = textFormatting(data.declaration.comment);
539
536
 
540
537
  return [
@@ -629,7 +626,8 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
629
626
  key: 'BD',
630
627
  isMultiple: false,
631
628
  tag: 'Valeur',
632
- description: 'Taxe annuelle sur les émissions de polluants atmosphériques des véhicules de tourisme',
629
+ description:
630
+ 'Taxe sur les émissions de polluants atmosphériques due au titre de 2022 (CGI, art. 1010) 911630 70C',
633
631
  value: data.tax.oldVehicle,
634
632
  },
635
633
  {
@@ -694,6 +692,13 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
694
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",
695
693
  value: data.tax.specialDue,
696
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
+ },
697
702
  {
698
703
  key: 'CJ',
699
704
  isMultiple: false,
@@ -1034,6 +1039,13 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
1034
1039
  description: 'TICCE - crédit imputé sur la TVA 912237 ',
1035
1040
  value: data.tic.ticc.imputed && data.tic.ticc.imputed > 0 ? data.tic.ticc.imputed : null,
1036
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
+ },
1037
1049
  {
1038
1050
  key: 'JA',
1039
1051
  isMultiple: false,
@@ -1047,7 +1059,7 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
1047
1059
  tag: 'Valeur',
1048
1060
  description:
1049
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",
1050
- value: data.deductible.rate !== 100 ? data.deductible.rate : data.isNil ? 100 : null,
1062
+ value: data.deductible.rate !== 100 ? data.deductible.rate : null,
1051
1063
  },
1052
1064
  {
1053
1065
  key: 'JE',
@@ -1063,6 +1075,13 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
1063
1075
  description: 'TOTAL - crédit imputé sur la TVA 912252 ',
1064
1076
  value: data.tic.total.imputed && data.tic.total.imputed > 0 ? data.tic.total.imputed : null,
1065
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
+ },
1066
1085
  {
1067
1086
  key: 'KA',
1068
1087
  isMultiple: false,
@@ -1216,27 +1235,25 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
1216
1235
  value: data.tic.ticfe.refund && data.tic.ticfe.refund > 0 ? data.tic.ticfe.refund : null,
1217
1236
  },
1218
1237
  {
1219
- key: 'QA',
1238
+ key: 'NU',
1220
1239
  isMultiple: false,
1221
1240
  tag: 'Valeur',
1222
- description:
1223
- "Taxe sur la cession de droits d'exploitation audiovisuels des manifestations sportives au taux de 5 % (CIBS, art. L455-28)",
1224
- 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,
1225
1243
  },
1226
1244
  {
1227
- key: 'ZR',
1245
+ key: 'QA',
1228
1246
  isMultiple: false,
1229
1247
  tag: 'Valeur',
1230
- description:
1231
- "Base imposable sur la taxe sur la cession de droits d'exploitation audiovisuels des manifestations sportives au taux de 5 % (CIBS, art. L455-28)",
1232
- value: data.tax.onRetransmission.base,
1248
+ description: 'Taxe sur les retransmissions sportives 100023 36',
1249
+ value: data.tax.onRetransmission,
1233
1250
  },
1234
1251
  {
1235
1252
  key: 'QH',
1236
1253
  isMultiple: false,
1237
1254
  tag: 'Valeur',
1238
1255
  description: 'Taxe sur les actes des huissiers de justice 100036 44',
1239
- value: data.tax.bailiff.tax,
1256
+ value: data.tax.bailiff,
1240
1257
  },
1241
1258
  {
1242
1259
  key: 'QS',
@@ -1281,6 +1298,22 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
1281
1298
  description: 'Crédit imputé sur le ou les prochains acomptes 100224 52',
1282
1299
  value: data.recapitulation.ticRefunded,
1283
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
+ },
1284
1317
  {
1285
1318
  key: 'RN',
1286
1319
  isMultiple: false,
@@ -1319,18 +1352,27 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
1319
1352
  value: data.isNil ? 'X' : null,
1320
1353
  },
1321
1354
  {
1322
- key: 'BK',
1355
+ key: 'SH',
1356
+ isMultiple: false,
1323
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',
1324
1363
  isMultiple: false,
1325
- description: 'Autres',
1326
- value: comment && comment.length > 0 ? 'X' : null,
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,
1327
1368
  },
1328
1369
  {
1329
- key: 'SH',
1370
+ key: 'SS',
1330
1371
  isMultiple: false,
1331
1372
  tag: 'Valeur',
1332
- description: "Total des droits de la taxe sur l'exploration d'hydrocarbures (CGI, art 1590) 909352 85",
1333
- value: data.tax.fuelExploration,
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,
1334
1376
  },
1335
1377
  {
1336
1378
  key: 'SV',
@@ -1384,6 +1426,13 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
1384
1426
  description: 'TICGN - Reliquat de crédit à rembourser 912240 ',
1385
1427
  value: data.tic.ticgn.refund && data.tic.ticgn.refund > 0 ? data.tic.ticgn.refund : null,
1386
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
+ },
1387
1436
  {
1388
1437
  key: 'UB',
1389
1438
  isMultiple: false,
@@ -1415,6 +1464,13 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
1415
1464
  description: 'TICCE - Reliquat de crédit à rembourser 912241 ',
1416
1465
  value: data.tic.ticc.refund && data.tic.ticc.refund > 0 ? data.tic.ticc.refund : null,
1417
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
+ },
1418
1474
  {
1419
1475
  key: 'VA',
1420
1476
  isMultiple: false,
@@ -1646,6 +1702,14 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
1646
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',
1647
1703
  value: data.tax.platform,
1648
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
+ },
1649
1713
  {
1650
1714
  key: 'XG',
1651
1715
  isMultiple: false,
@@ -1667,47 +1731,12 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
1667
1731
  description: 'Taxe sur certaines dépenses de publicité (CGI, art. 302 bis MA) 907826 47',
1668
1732
  value: data.tax.publicity,
1669
1733
  },
1670
- {
1671
- key: 'TL',
1672
- isMultiple: false,
1673
- tag: 'Valeur',
1674
- description: 'Taxe sur les vidéogrammes (CIBS, art. L452-28) au taux de 1,8025 % - Base imposable',
1675
- value: data.tax.payingVideo?.reduced.base,
1676
- },
1677
- {
1678
- key: 'NX',
1679
- isMultiple: false,
1680
- tag: 'Valeur',
1681
- description: 'Taxe sur les vidéogrammes (CIBS, art. L452-28) au taux de 1,8025 % - Taxe due',
1682
- value: data.tax.payingVideo?.reduced.tax,
1683
- },
1684
- {
1685
- key: 'UL',
1686
- isMultiple: false,
1687
- tag: 'Valeur',
1688
- description: 'Taxe sur les vidéogrammes (CIBS, art. L452-28) au taux de 15 % - Base imposable',
1689
- value: data.tax.payingVideo?.normal.base,
1690
- },
1691
- {
1692
- key: 'LL',
1693
- isMultiple: false,
1694
- tag: 'Valeur',
1695
- description: 'Taxe sur les vidéogrammes (CIBS, art. L452-28) au taux de 15 % - Taxe due',
1696
- value: data.tax.payingVideo?.normal.tax,
1697
- },
1698
- {
1699
- key: 'ZJ',
1700
- isMultiple: false,
1701
- tag: 'Valeur',
1702
- value: data.tax.bailiff.count,
1703
- description: 'Base imposable sur la taxe sur les actes des huissiers de justice (CGI, art 302 bis Y)',
1704
- },
1705
1734
  ],
1706
1735
  },
1707
1736
  ];
1708
1737
  }
1709
1738
 
1710
- export function getCerfa3517DDRCentury26RegistrationField(data: Cerfa3517_2026): AsponeFormFields {
1739
+ export function getCerfa3517DDRCentury23egistrationField(data: Cerfa3517_2023): AsponeFormFields {
1711
1740
  if (data.refund.asked > 0) {
1712
1741
  return [
1713
1742
  {
@@ -1759,6 +1788,11 @@ export function getCerfa3517DDRCentury26RegistrationField(data: Cerfa3517_2026):
1759
1788
  description: 'NAD Nom et prénom du demandeur 100178 ',
1760
1789
  value: textFormatting(data.refund.name, 35),
1761
1790
  },
1791
+ // {
1792
+ // tag: 'DesignationSuite1',
1793
+ // description: 'NAD Qualité du demandeur 100179 ',
1794
+ // value: null,
1795
+ // },
1762
1796
  {
1763
1797
  tag: 'AdresseVille',
1764
1798
  description: 'NAD Lieu de dépôt de la demande 100184 ',
@@ -1865,7 +1899,7 @@ export function getCerfa3517DDRCentury26RegistrationField(data: Cerfa3517_2026):
1865
1899
  return [];
1866
1900
  }
1867
1901
 
1868
- export const cerfa3517Century26Fields: CerfaPayloadForm[] = [
1902
+ export const cerfa3517Century23Fields: CerfaPayloadForm[] = [
1869
1903
  {
1870
1904
  sectionName: 'Général',
1871
1905
  childrens: [
@@ -1977,9 +2011,8 @@ export const cerfa3517Century26Fields: CerfaPayloadForm[] = [
1977
2011
  sectionName: 'Décompte des taxes assimilées',
1978
2012
  childrens: [
1979
2013
  {
1980
- label:
1981
- '36 - Taxe sur la cession de droits d’exploitation audiovisuelle des manifestations sportives au taux de 5 % (CIBS, art. L455-28) (Base Hors-Taxe)',
1982
- 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',
1983
2016
  type: 'number',
1984
2017
  },
1985
2018
  {
@@ -1988,23 +2021,32 @@ export const cerfa3517Century26Fields: CerfaPayloadForm[] = [
1988
2021
  type: 'number',
1989
2022
  },
1990
2023
  {
1991
- label: '38A - Taxe sur les vidéogrammes (CIBS, art. L452-28) au taux de 1,8025 % (Base Hors-Taxe)',
1992
- key: 'tax.payingVideo.reduced.base',
2024
+ label:
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',
2027
+ type: 'number',
2028
+ },
2029
+ {
2030
+ label:
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',
1993
2033
  type: 'number',
1994
2034
  },
1995
2035
  {
1996
- label: '38B - Taxe sur les vidéogrammes (CIBS, art. L452-28) au taux de 15 % (Base Hors-Taxe)',
1997
- key: 'tax.payingVideo.normal.base',
2036
+ label:
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',
1998
2039
  type: 'number',
1999
2040
  },
2000
2041
  {
2001
- label: "44 - Taxe sur les actes des huissiers de justice (CGI, art. 302 bis Y) - Nombre d'actes",
2002
- key: 'tax.bailiff.count',
2042
+ label:
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',
2003
2045
  type: 'number',
2004
2046
  },
2005
2047
  {
2006
2048
  label: '44 - Taxe sur les actes des huissiers de justice (CGI, art. 302 bis Y)',
2007
- key: 'tax.bailiff.tax',
2049
+ key: 'tax.bailiff',
2008
2050
  type: 'number',
2009
2051
  },
2010
2052
  {
@@ -2017,6 +2059,11 @@ export const cerfa3517Century26Fields: CerfaPayloadForm[] = [
2017
2059
  key: 'tax.ofEmployer',
2018
2060
  type: 'number',
2019
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
+ },
2020
2067
  {
2021
2068
  label:
2022
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)',
@@ -2030,7 +2077,7 @@ export const cerfa3517Century26Fields: CerfaPayloadForm[] = [
2030
2077
  type: 'number',
2031
2078
  },
2032
2079
  {
2033
- label: '47 - Taxe sur la publicité diffusée au moyen de documents imprimés (CIBS, art. L454-29)',
2080
+ label: '47 - Taxe sur certaines dépenses de publicité au taux de 1 % (CGI, art 302 bis MA)',
2034
2081
  key: 'tax.publicity',
2035
2082
  type: 'number',
2036
2083
  },
@@ -2139,7 +2186,7 @@ export const cerfa3517Century26Fields: CerfaPayloadForm[] = [
2139
2186
  type: 'number',
2140
2187
  },
2141
2188
  {
2142
- label: '70C - Taxe annuelle sur les émissions de polluants atmosphériques des véhicules de tourisme',
2189
+ label: '70C - Taxe annuelle sur l’ancienneté des véhicules de tourisme',
2143
2190
  key: 'tax.oldVehicle',
2144
2191
  type: 'number',
2145
2192
  },
@@ -2256,7 +2303,7 @@ export const cerfa3517Century26Fields: CerfaPayloadForm[] = [
2256
2303
  },
2257
2304
  {
2258
2305
  label:
2259
- '94 - Taxe sur la mise en relation par voie électronique en vue de fournir certaines prestations de transport (CIBS, art. L454-35) – Taxe due',
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)',
2260
2307
  key: 'tax.platform',
2261
2308
  type: 'number',
2262
2309
  },
@@ -2270,6 +2317,13 @@ export const cerfa3517Century26Fields: CerfaPayloadForm[] = [
2270
2317
  },
2271
2318
  {
2272
2319
  sectionName: 'Demande de remboursement',
2273
- childrens: [{ label: 'Remboursement demandé', key: 'refund.asked', type: 'number' }],
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
+ ],
2274
2328
  },
2275
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
- Cerfa3517_2026,
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: [2022, 2023, 2024, 2025],
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"century26.d.ts","sourceRoot":"","sources":["../../../../../ts/utils/vat/3517/century26.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AAGpF,OAAO,EAAE,gBAAgB,EAAkB,gBAAgB,EAAiB,MAAM,gBAAgB,CAAC;AAEnG,wBAAgB,4BAA4B,CAC1C,iBAAiB,EAAE,gBAAgB,EAAE,EACrC,OAAO,EAAE,qBAAqB,GAC7B,cAAc,CA0gBhB;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,cAAc,GAAG,gBAAgB,CAmpC7F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,cAAc,GAAG,gBAAgB,CA4JhG;AAED,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,EAuZtD,CAAC"}