@silexpert/core 1.3.201 → 1.3.202

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/Interface/api/cerfa/3514.d.ts +2 -2
  2. package/dist/cjs/types/Interface/api/cerfa/3514.d.ts.map +1 -1
  3. package/dist/cjs/types/Interface/api/cerfa/3514.js.map +1 -1
  4. package/dist/cjs/types/Interface/api/cerfa/3517.d.ts +235 -240
  5. package/dist/cjs/types/Interface/api/cerfa/3517.d.ts.map +1 -1
  6. package/dist/cjs/types/Interface/api/cerfa/3517.js.map +1 -1
  7. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +1 -1
  8. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  9. package/dist/cjs/types/Interface/api/customerActivity/Query.d.ts +5 -0
  10. package/dist/cjs/types/Interface/api/customerActivity/Query.d.ts.map +1 -1
  11. package/dist/cjs/types/Interface/api/customerActivity/Query.js +24 -1
  12. package/dist/cjs/types/Interface/api/customerActivity/Query.js.map +1 -1
  13. package/dist/cjs/utils/vat/3517/century26.d.ts +8 -0
  14. package/dist/cjs/utils/vat/3517/century26.d.ts.map +1 -0
  15. package/dist/cjs/utils/vat/3517/{century23.js → century26.js} +150 -196
  16. package/dist/cjs/utils/vat/3517/century26.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/Interface/api/cerfa/3514.d.ts +2 -2
  20. package/dist/mjs/types/Interface/api/cerfa/3514.d.ts.map +1 -1
  21. package/dist/mjs/types/Interface/api/cerfa/3514.js.map +1 -1
  22. package/dist/mjs/types/Interface/api/cerfa/3517.d.ts +235 -240
  23. package/dist/mjs/types/Interface/api/cerfa/3517.d.ts.map +1 -1
  24. package/dist/mjs/types/Interface/api/cerfa/3517.js.map +1 -1
  25. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +1 -1
  26. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  27. package/dist/mjs/types/Interface/api/customerActivity/Query.d.ts +5 -0
  28. package/dist/mjs/types/Interface/api/customerActivity/Query.d.ts.map +1 -1
  29. package/dist/mjs/types/Interface/api/customerActivity/Query.js +26 -1
  30. package/dist/mjs/types/Interface/api/customerActivity/Query.js.map +1 -1
  31. package/dist/mjs/utils/vat/3517/century26.d.ts +8 -0
  32. package/dist/mjs/utils/vat/3517/century26.d.ts.map +1 -0
  33. package/dist/mjs/utils/vat/3517/{century23.js → century26.js} +92 -138
  34. package/dist/mjs/utils/vat/3517/century26.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/Interface/api/cerfa/3514.ts +2 -2
  39. package/ts/types/Interface/api/cerfa/3517.ts +203 -211
  40. package/ts/types/Interface/api/cerfa/ReadCerfa.ts +1 -1
  41. package/ts/types/Interface/api/customerActivity/Query.ts +20 -1
  42. package/ts/utils/vat/3517/{century23.ts → century26.ts} +98 -152
  43. package/ts/utils/vat/centuries.ts +21 -21
  44. package/dist/cjs/utils/vat/3517/century23.d.ts +0 -8
  45. package/dist/cjs/utils/vat/3517/century23.d.ts.map +0 -1
  46. package/dist/cjs/utils/vat/3517/century23.js.map +0 -1
  47. package/dist/mjs/utils/vat/3517/century23.d.ts +0 -8
  48. package/dist/mjs/utils/vat/3517/century23.d.ts.map +0 -1
  49. package/dist/mjs/utils/vat/3517/century23.js.map +0 -1
@@ -1,17 +1,16 @@
1
-
2
1
  import * as dayjs from 'dayjs';
3
2
  import { isDefined } from 'class-validator';
4
3
  import { round as _round, uniqBy } from 'lodash';
5
- import { Cerfa3517_2023, PayloadCerfa3517_2023 } from '../../../types/Interface/api/cerfa/3517';
4
+ import { Cerfa3517_2026, PayloadCerfa3517_2026 } from '../../../types/Interface/api/cerfa/3517';
6
5
  import { IAccountingEntry } from '../../../types/Interface/models/IAccountingEntry';
7
6
  import { Vat } from '../../../types/Enum/Vat';
8
7
  import { getAmountByAccountNumber, getTaxAmountByAccountNumber, setZeroIfIsNegative, textFormatting } from '../utils';
9
8
  import { AsponeFormFields, Cerfa3514_2022, CerfaPayloadForm, IRegistration } from '../../../types';
10
9
 
11
- export function getCerfa3517Century23Payload(
10
+ export function getCerfa3517Century26Payload(
12
11
  accountingEntries: IAccountingEntry[],
13
- payload: PayloadCerfa3517_2023,
14
- ): Cerfa3517_2023 {
12
+ payload: PayloadCerfa3517_2026,
13
+ ): Cerfa3517_2026 {
15
14
  const shouldHaveVatCode = isDefined(payload.setting?.tvaCode) && isDefined(payload.society.siret);
16
15
  const shouldFillRefund = _round(payload.refund?.asked ?? 0) > 0;
17
16
  const isNil = payload.isNil === true;
@@ -134,7 +133,7 @@ export function getCerfa3517Century23Payload(
134
133
  payload?.exerciceAdvanceRegistrations?.find((a) => [10, 11].includes(dayjs(a.endDate).month())) ?? null;
135
134
  const decemberAdvancePayload: Cerfa3514_2022 | null = decemberAdvance?.payload?.cerfa3514 ?? null;
136
135
 
137
- const data: Cerfa3517_2023 = {
136
+ const data: Cerfa3517_2026 = {
138
137
  isNil: payload.isNil === true,
139
138
  declaration: {
140
139
  comment: payload.comment ?? null,
@@ -288,21 +287,28 @@ export function getCerfa3517Century23Payload(
288
287
  balanceSurplus: 0, // Calculé plus bas
289
288
  },
290
289
  tax: {
291
- onRetransmission: isNil ? 0 : _round(payload.tax?.onRetransmission ?? 0),
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
+ },
292
297
  onResultFarm: isNil ? 0 : _round(payload.tax?.onResultFarm ?? 0),
293
298
  payingVideo: {
294
- reduced: isNil ? 0 : _round(payload.tax?.payingVideo?.reduced ?? 0),
295
- normal: isNil ? 0 : _round(payload.tax?.payingVideo?.normal ?? 0),
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
+ },
296
307
  },
297
- freeVideo: {
298
- reduce: isNil ? 0 : _round(payload.tax?.freeVideo?.reduced ?? 0),
299
- normal: isNil ? 0 : _round(payload.tax?.freeVideo?.normal ?? 0),
308
+ bailiff: {
309
+ tax: isNil ? 0 : _round(payload.tax?.bailiff?.tax ?? 0),
310
+ count: isNil ? 0 : _round(payload.tax?.bailiff?.count ?? 0),
300
311
  },
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),
306
312
  development: isNil ? 0 : _round(payload.tax?.development ?? 0),
307
313
  publicity: isNil ? 0 : _round(payload.tax?.publicity ?? 0),
308
314
  onCompanySurplus: isNil ? 0 : _round(payload.tax?.onCompanySurplus ?? 0),
@@ -398,7 +404,7 @@ export function getCerfa3517Century23Payload(
398
404
  },
399
405
  total: 0, // Calculé plus bas
400
406
  refund: {
401
- creditRefundable: shouldFillRefund ? (isNil ? 0 : _round(payload.refund?.creditRefundable ?? 0)) : 0,
407
+ creditRefundable: 0, // Calculé plus bas
402
408
  surplus: 0, // Calculé plus bas
403
409
  maximum: 0, // Calculé plus bas
404
410
  asked: isNil ? 0 : _round(payload.refund?.asked ?? 0),
@@ -455,16 +461,12 @@ export function getCerfa3517Century23Payload(
455
461
  data.net.balanceSurplus = data.net.credit + data.net.surplus;
456
462
 
457
463
  data.tax.total =
458
- data.tax.onRetransmission +
464
+ data.tax.onRetransmission.tax +
459
465
  data.tax.onResultFarm +
460
- data.tax.payingVideo.reduced +
461
- data.tax.payingVideo.normal +
462
- data.tax.freeVideo.reduce +
463
- data.tax.freeVideo.normal +
464
- data.tax.bailiff +
466
+ data.tax.payingVideo.reduced.tax +
467
+ data.tax.payingVideo.normal.tax +
468
+ data.tax.bailiff.tax +
465
469
  data.tax.contribution +
466
- data.tax.ofEmployer +
467
- data.tax.onBoardingCorse +
468
470
  data.tax.onBoarding +
469
471
  data.tax.development +
470
472
  data.tax.publicity +
@@ -519,6 +521,7 @@ export function getCerfa3517Century23Payload(
519
521
  data.recapitulation.toPay =
520
522
  data.recapitulation.vatNetDue + data.recapitulation.assimiledTax + data.recapitulation.consumsion;
521
523
 
524
+ data.refund.creditRefundable = shouldFillRefund ? data.net.credit : 0;
522
525
  data.refund.surplus = shouldFillRefund ? data.net.surplus : 0;
523
526
  data.refund.maximum = shouldFillRefund ? data.refund.creditRefundable + data.refund.surplus : 0;
524
527
  data.refund.reportable =
@@ -531,7 +534,7 @@ export function getCerfa3517Century23Payload(
531
534
  return data;
532
535
  }
533
536
 
534
- export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): AsponeFormFields {
537
+ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): AsponeFormFields {
535
538
  const comment = textFormatting(data.declaration.comment);
536
539
 
537
540
  return [
@@ -626,8 +629,7 @@ export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): Aspo
626
629
  key: 'BD',
627
630
  isMultiple: false,
628
631
  tag: 'Valeur',
629
- description:
630
- 'Taxe sur les émissions de polluants atmosphériques due au titre de 2022 (CGI, art. 1010) 911630 70C',
632
+ description: 'Taxe annuelle sur les émissions de polluants atmosphériques des véhicules de tourisme',
631
633
  value: data.tax.oldVehicle,
632
634
  },
633
635
  {
@@ -692,13 +694,6 @@ export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): Aspo
692
694
  "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",
693
695
  value: data.tax.specialDue,
694
696
  },
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
- },
702
697
  {
703
698
  key: 'CJ',
704
699
  isMultiple: false,
@@ -1039,13 +1034,6 @@ export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): Aspo
1039
1034
  description: 'TICCE - crédit imputé sur la TVA 912237 ',
1040
1035
  value: data.tic.ticc.imputed && data.tic.ticc.imputed > 0 ? data.tic.ticc.imputed : null,
1041
1036
  },
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
- },
1049
1037
  {
1050
1038
  key: 'JA',
1051
1039
  isMultiple: false,
@@ -1059,7 +1047,7 @@ export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): Aspo
1059
1047
  tag: 'Valeur',
1060
1048
  description:
1061
1049
  "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",
1062
- value: data.deductible.rate !== 100 ? data.deductible.rate : null,
1050
+ value: data.deductible.rate !== 100 ? data.deductible.rate : data.isNil ? 100 : null,
1063
1051
  },
1064
1052
  {
1065
1053
  key: 'JE',
@@ -1075,13 +1063,6 @@ export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): Aspo
1075
1063
  description: 'TOTAL - crédit imputé sur la TVA 912252 ',
1076
1064
  value: data.tic.total.imputed && data.tic.total.imputed > 0 ? data.tic.total.imputed : null,
1077
1065
  },
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
- },
1085
1066
  {
1086
1067
  key: 'KA',
1087
1068
  isMultiple: false,
@@ -1235,25 +1216,27 @@ export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): Aspo
1235
1216
  value: data.tic.ticfe.refund && data.tic.ticfe.refund > 0 ? data.tic.ticfe.refund : null,
1236
1217
  },
1237
1218
  {
1238
- key: 'NU',
1219
+ key: 'QA',
1239
1220
  isMultiple: false,
1240
1221
  tag: 'Valeur',
1241
- description: 'TICFE - crédit constaté 912248 ',
1242
- value: data.tic.ticfe.credit && data.tic.ticfe.credit > 0 ? data.tic.ticfe.credit : null,
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,
1243
1225
  },
1244
1226
  {
1245
- key: 'QA',
1227
+ key: 'ZR',
1246
1228
  isMultiple: false,
1247
1229
  tag: 'Valeur',
1248
- description: 'Taxe sur les retransmissions sportives 100023 36',
1249
- value: data.tax.onRetransmission,
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,
1250
1233
  },
1251
1234
  {
1252
1235
  key: 'QH',
1253
1236
  isMultiple: false,
1254
1237
  tag: 'Valeur',
1255
1238
  description: 'Taxe sur les actes des huissiers de justice 100036 44',
1256
- value: data.tax.bailiff,
1239
+ value: data.tax.bailiff.tax,
1257
1240
  },
1258
1241
  {
1259
1242
  key: 'QS',
@@ -1298,22 +1281,6 @@ export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): Aspo
1298
1281
  description: 'Crédit imputé sur le ou les prochains acomptes 100224 52',
1299
1282
  value: data.recapitulation.ticRefunded,
1300
1283
  },
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
- },
1317
1284
  {
1318
1285
  key: 'RN',
1319
1286
  isMultiple: false,
@@ -1352,27 +1319,18 @@ export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): Aspo
1352
1319
  value: data.isNil ? 'X' : null,
1353
1320
  },
1354
1321
  {
1355
- key: 'SH',
1356
- isMultiple: false,
1322
+ key: 'BK',
1357
1323
  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',
1363
1324
  isMultiple: false,
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,
1325
+ description: 'Autres',
1326
+ value: comment && comment.length > 0 ? 'X' : null,
1368
1327
  },
1369
1328
  {
1370
- key: 'SS',
1329
+ key: 'SH',
1371
1330
  isMultiple: false,
1372
1331
  tag: 'Valeur',
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,
1332
+ description: "Total des droits de la taxe sur l'exploration d'hydrocarbures (CGI, art 1590) 909352 85",
1333
+ value: data.tax.fuelExploration,
1376
1334
  },
1377
1335
  {
1378
1336
  key: 'SV',
@@ -1426,13 +1384,6 @@ export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): Aspo
1426
1384
  description: 'TICGN - Reliquat de crédit à rembourser 912240 ',
1427
1385
  value: data.tic.ticgn.refund && data.tic.ticgn.refund > 0 ? data.tic.ticgn.refund : null,
1428
1386
  },
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
- },
1436
1387
  {
1437
1388
  key: 'UB',
1438
1389
  isMultiple: false,
@@ -1464,13 +1415,6 @@ export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): Aspo
1464
1415
  description: 'TICCE - Reliquat de crédit à rembourser 912241 ',
1465
1416
  value: data.tic.ticc.refund && data.tic.ticc.refund > 0 ? data.tic.ticc.refund : null,
1466
1417
  },
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
- },
1474
1418
  {
1475
1419
  key: 'VA',
1476
1420
  isMultiple: false,
@@ -1702,14 +1646,6 @@ export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): Aspo
1702
1646
  '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',
1703
1647
  value: data.tax.platform,
1704
1648
  },
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
- },
1713
1649
  {
1714
1650
  key: 'XG',
1715
1651
  isMultiple: false,
@@ -1731,12 +1667,47 @@ export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): Aspo
1731
1667
  description: 'Taxe sur certaines dépenses de publicité (CGI, art. 302 bis MA) 907826 47',
1732
1668
  value: data.tax.publicity,
1733
1669
  },
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
+ },
1734
1705
  ],
1735
1706
  },
1736
1707
  ];
1737
1708
  }
1738
1709
 
1739
- export function getCerfa3517DDRCentury23egistrationField(data: Cerfa3517_2023): AsponeFormFields {
1710
+ export function getCerfa3517DDRCentury26RegistrationField(data: Cerfa3517_2026): AsponeFormFields {
1740
1711
  if (data.refund.asked > 0) {
1741
1712
  return [
1742
1713
  {
@@ -1788,11 +1759,6 @@ export function getCerfa3517DDRCentury23egistrationField(data: Cerfa3517_2023):
1788
1759
  description: 'NAD Nom et prénom du demandeur 100178 ',
1789
1760
  value: textFormatting(data.refund.name, 35),
1790
1761
  },
1791
- // {
1792
- // tag: 'DesignationSuite1',
1793
- // description: 'NAD Qualité du demandeur 100179 ',
1794
- // value: null,
1795
- // },
1796
1762
  {
1797
1763
  tag: 'AdresseVille',
1798
1764
  description: 'NAD Lieu de dépôt de la demande 100184 ',
@@ -1899,7 +1865,7 @@ export function getCerfa3517DDRCentury23egistrationField(data: Cerfa3517_2023):
1899
1865
  return [];
1900
1866
  }
1901
1867
 
1902
- export const cerfa3517Century23Fields: CerfaPayloadForm[] = [
1868
+ export const cerfa3517Century26Fields: CerfaPayloadForm[] = [
1903
1869
  {
1904
1870
  sectionName: 'Général',
1905
1871
  childrens: [
@@ -2011,8 +1977,9 @@ export const cerfa3517Century23Fields: CerfaPayloadForm[] = [
2011
1977
  sectionName: 'Décompte des taxes assimilées',
2012
1978
  childrens: [
2013
1979
  {
2014
- label: '36 - Taxe sur les retransmissions sportives au taux de 5 % (CGI, art. 302 bis ZE)',
2015
- key: 'tax.onRetransmission',
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',
2016
1983
  type: 'number',
2017
1984
  },
2018
1985
  {
@@ -2021,32 +1988,23 @@ export const cerfa3517Century23Fields: CerfaPayloadForm[] = [
2021
1988
  type: 'number',
2022
1989
  },
2023
1990
  {
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',
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',
2033
1993
  type: 'number',
2034
1994
  },
2035
1995
  {
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',
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',
2039
1998
  type: 'number',
2040
1999
  },
2041
2000
  {
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',
2001
+ label: "44 - Taxe sur les actes des huissiers de justice (CGI, art. 302 bis Y) - Nombre d'actes",
2002
+ key: 'tax.bailiff.count',
2045
2003
  type: 'number',
2046
2004
  },
2047
2005
  {
2048
2006
  label: '44 - Taxe sur les actes des huissiers de justice (CGI, art. 302 bis Y)',
2049
- key: 'tax.bailiff',
2007
+ key: 'tax.bailiff.tax',
2050
2008
  type: 'number',
2051
2009
  },
2052
2010
  {
@@ -2059,11 +2017,6 @@ export const cerfa3517Century23Fields: CerfaPayloadForm[] = [
2059
2017
  key: 'tax.ofEmployer',
2060
2018
  type: 'number',
2061
2019
  },
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
- },
2067
2020
  {
2068
2021
  label:
2069
2022
  '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)',
@@ -2077,7 +2030,7 @@ export const cerfa3517Century23Fields: CerfaPayloadForm[] = [
2077
2030
  type: 'number',
2078
2031
  },
2079
2032
  {
2080
- label: '47 - Taxe sur certaines dépenses de publicité au taux de 1 % (CGI, art 302 bis MA)',
2033
+ label: '47 - Taxe sur la publicité diffusée au moyen de documents imprimés (CIBS, art. L454-29)',
2081
2034
  key: 'tax.publicity',
2082
2035
  type: 'number',
2083
2036
  },
@@ -2186,7 +2139,7 @@ export const cerfa3517Century23Fields: CerfaPayloadForm[] = [
2186
2139
  type: 'number',
2187
2140
  },
2188
2141
  {
2189
- label: '70C - Taxe annuelle sur l’ancienneté des véhicules de tourisme',
2142
+ label: '70C - Taxe annuelle sur les émissions de polluants atmosphériques des véhicules de tourisme',
2190
2143
  key: 'tax.oldVehicle',
2191
2144
  type: 'number',
2192
2145
  },
@@ -2303,7 +2256,7 @@ export const cerfa3517Century23Fields: CerfaPayloadForm[] = [
2303
2256
  },
2304
2257
  {
2305
2258
  label:
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)',
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',
2307
2260
  key: 'tax.platform',
2308
2261
  type: 'number',
2309
2262
  },
@@ -2317,13 +2270,6 @@ export const cerfa3517Century23Fields: CerfaPayloadForm[] = [
2317
2270
  },
2318
2271
  {
2319
2272
  sectionName: 'Demande de remboursement',
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
- ],
2273
+ childrens: [{ label: 'Remboursement demandé', key: 'refund.asked', type: 'number' }],
2328
2274
  },
2329
2275
  ];
@@ -27,17 +27,11 @@ 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,
31
30
  Cerfa3517_2025,
32
- PayloadCerfa3517_2023,
31
+ Cerfa3517_2026,
33
32
  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';
41
35
  import {
42
36
  cerfa3310Century24Fields,
43
37
  getCerfa3310Century24Payload,
@@ -54,6 +48,12 @@ import {
54
48
  getCerfa3310Century25Payload,
55
49
  getCerfa3310Century25RegistrationFields,
56
50
  } 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,23 +135,11 @@ 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
- },
150
138
  {
151
139
  idCerfaType: CerfaType.CERFA_3517,
152
140
  name: '3517',
153
141
  century: '25',
154
- centuries: [2025, 2026],
142
+ centuries: [2022, 2023, 2024, 2025],
155
143
  payload: (accountingEntries: IAccountingEntry[], payload: PayloadCerfa3517_2025) =>
156
144
  getCerfa3517Century25Payload(accountingEntries, payload),
157
145
  asponePayload: (data: Cerfa3517_2025) => getCerfa3517Century25RegistrationField(data),
@@ -159,6 +147,18 @@ const vatDocuments: VatDocument[] = [
159
147
  fileName: '3517-2025',
160
148
  annexFields: (data: Cerfa3517_2025) => getCerfa3517DDRCentury25egistrationField(data),
161
149
  },
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_2023, PayloadCerfa3517_2023 } from '../../../types/Interface/api/cerfa/3517';
2
- import { IAccountingEntry } from '../../../types/Interface/models/IAccountingEntry';
3
- import { AsponeFormFields, CerfaPayloadForm } from '../../../types';
4
- export declare function getCerfa3517Century23Payload(accountingEntries: IAccountingEntry[], payload: PayloadCerfa3517_2023): Cerfa3517_2023;
5
- export declare function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): AsponeFormFields;
6
- export declare function getCerfa3517DDRCentury23egistrationField(data: Cerfa3517_2023): AsponeFormFields;
7
- export declare const cerfa3517Century23Fields: CerfaPayloadForm[];
8
- //# sourceMappingURL=century23.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"century23.d.ts","sourceRoot":"","sources":["../../../../../ts/utils/vat/3517/century23.ts"],"names":[],"mappings":"AAIA,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,CAsgBhB;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,cAAc,GAAG,gBAAgB,CAmrC3F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,cAAc,GAAG,gBAAgB,CAiK/F;AAED,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,EA2atD,CAAC"}