@silexpert/core 1.3.138 → 1.3.139

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 (121) hide show
  1. package/dist/cjs/api/resources/DashboardLayout.d.ts +3 -4
  2. package/dist/cjs/api/resources/DashboardLayout.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/DashboardLayout.js.map +1 -1
  4. package/dist/cjs/api/resources/Registration.js +1 -1
  5. package/dist/cjs/api/resources/Registration.js.map +1 -1
  6. package/dist/cjs/types/Enum/Aspone.d.ts +8 -0
  7. package/dist/cjs/types/Enum/Aspone.d.ts.map +1 -1
  8. package/dist/cjs/types/Enum/Aspone.js +11 -1
  9. package/dist/cjs/types/Enum/Aspone.js.map +1 -1
  10. package/dist/cjs/types/Enum/BalanceSheet.d.ts +66 -0
  11. package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  12. package/dist/cjs/types/Enum/BalanceSheet.js +136 -69
  13. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  14. package/dist/cjs/types/Enum/BalanceSheetQuestion.d.ts +62 -1
  15. package/dist/cjs/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
  16. package/dist/cjs/types/Enum/BalanceSheetQuestion.js +62 -0
  17. package/dist/cjs/types/Enum/BalanceSheetQuestion.js.map +1 -1
  18. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts +58 -13
  19. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
  20. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js +58 -12
  21. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  22. package/dist/cjs/types/Enum/GlobalRegime.js +19 -19
  23. package/dist/cjs/types/Enum/GlobalRegime.js.map +1 -1
  24. package/dist/cjs/types/Enum/IncomeStatement.d.ts +32 -0
  25. package/dist/cjs/types/Enum/IncomeStatement.d.ts.map +1 -1
  26. package/dist/cjs/types/Enum/IncomeStatement.js +74 -41
  27. package/dist/cjs/types/Enum/IncomeStatement.js.map +1 -1
  28. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +3 -2
  29. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
  30. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
  31. package/dist/cjs/types/Interface/api/cerfa/2031.d.ts +3 -2
  32. package/dist/cjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
  33. package/dist/cjs/types/Interface/api/cerfa/2031.js.map +1 -1
  34. package/dist/cjs/types/Interface/api/cerfa/2050.d.ts +1592 -1634
  35. package/dist/cjs/types/Interface/api/cerfa/2050.d.ts.map +1 -1
  36. package/dist/cjs/types/Interface/api/cerfa/2050.js.map +1 -1
  37. package/dist/cjs/types/Interface/api/cerfa/2065.d.ts +3 -2
  38. package/dist/cjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
  39. package/dist/cjs/types/Interface/api/cerfa/2065.js.map +1 -1
  40. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +10 -1
  41. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
  42. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  43. package/dist/cjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts +3 -2
  44. package/dist/cjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts.map +1 -1
  45. package/dist/cjs/types/Interface/api/incomeStatement/ReadIncomeStatement.js.map +1 -1
  46. package/dist/cjs/types/Interface/api/payment/Params.d.ts +1 -0
  47. package/dist/cjs/types/Interface/api/payment/Params.d.ts.map +1 -1
  48. package/dist/cjs/types/Interface/api/payment/Params.js +9 -0
  49. package/dist/cjs/types/Interface/api/payment/Params.js.map +1 -1
  50. package/dist/cjs/types/Interface/api/registration/ReadRegistration.d.ts +4 -0
  51. package/dist/cjs/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
  52. package/dist/cjs/types/Interface/api/registration/ReadRegistration.js.map +1 -1
  53. package/dist/mjs/api/resources/DashboardLayout.d.ts +3 -4
  54. package/dist/mjs/api/resources/DashboardLayout.d.ts.map +1 -1
  55. package/dist/mjs/api/resources/DashboardLayout.js.map +1 -1
  56. package/dist/mjs/api/resources/Registration.js +1 -1
  57. package/dist/mjs/api/resources/Registration.js.map +1 -1
  58. package/dist/mjs/types/Enum/Aspone.d.ts +8 -0
  59. package/dist/mjs/types/Enum/Aspone.d.ts.map +1 -1
  60. package/dist/mjs/types/Enum/Aspone.js +10 -0
  61. package/dist/mjs/types/Enum/Aspone.js.map +1 -1
  62. package/dist/mjs/types/Enum/BalanceSheet.d.ts +66 -0
  63. package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  64. package/dist/mjs/types/Enum/BalanceSheet.js +135 -68
  65. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  66. package/dist/mjs/types/Enum/BalanceSheetQuestion.d.ts +62 -1
  67. package/dist/mjs/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
  68. package/dist/mjs/types/Enum/BalanceSheetQuestion.js +62 -0
  69. package/dist/mjs/types/Enum/BalanceSheetQuestion.js.map +1 -1
  70. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts +58 -13
  71. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
  72. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js +58 -12
  73. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  74. package/dist/mjs/types/Enum/GlobalRegime.js +19 -19
  75. package/dist/mjs/types/Enum/GlobalRegime.js.map +1 -1
  76. package/dist/mjs/types/Enum/IncomeStatement.d.ts +32 -0
  77. package/dist/mjs/types/Enum/IncomeStatement.d.ts.map +1 -1
  78. package/dist/mjs/types/Enum/IncomeStatement.js +73 -40
  79. package/dist/mjs/types/Enum/IncomeStatement.js.map +1 -1
  80. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +3 -2
  81. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
  82. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
  83. package/dist/mjs/types/Interface/api/cerfa/2031.d.ts +3 -2
  84. package/dist/mjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
  85. package/dist/mjs/types/Interface/api/cerfa/2031.js.map +1 -1
  86. package/dist/mjs/types/Interface/api/cerfa/2050.d.ts +1592 -1634
  87. package/dist/mjs/types/Interface/api/cerfa/2050.d.ts.map +1 -1
  88. package/dist/mjs/types/Interface/api/cerfa/2050.js.map +1 -1
  89. package/dist/mjs/types/Interface/api/cerfa/2065.d.ts +3 -2
  90. package/dist/mjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
  91. package/dist/mjs/types/Interface/api/cerfa/2065.js.map +1 -1
  92. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +10 -1
  93. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
  94. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  95. package/dist/mjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts +3 -2
  96. package/dist/mjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts.map +1 -1
  97. package/dist/mjs/types/Interface/api/incomeStatement/ReadIncomeStatement.js.map +1 -1
  98. package/dist/mjs/types/Interface/api/payment/Params.d.ts +1 -0
  99. package/dist/mjs/types/Interface/api/payment/Params.d.ts.map +1 -1
  100. package/dist/mjs/types/Interface/api/payment/Params.js +11 -1
  101. package/dist/mjs/types/Interface/api/payment/Params.js.map +1 -1
  102. package/dist/mjs/types/Interface/api/registration/ReadRegistration.d.ts +4 -0
  103. package/dist/mjs/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
  104. package/dist/mjs/types/Interface/api/registration/ReadRegistration.js.map +1 -1
  105. package/package.json +1 -1
  106. package/ts/api/resources/DashboardLayout.ts +3 -4
  107. package/ts/api/resources/Registration.ts +1 -1
  108. package/ts/types/Enum/Aspone.ts +10 -0
  109. package/ts/types/Enum/BalanceSheet.ts +137 -68
  110. package/ts/types/Enum/BalanceSheetQuestion.ts +63 -0
  111. package/ts/types/Enum/BalanceSheetQuestionWording.ts +130 -81
  112. package/ts/types/Enum/GlobalRegime.ts +19 -19
  113. package/ts/types/Enum/IncomeStatement.ts +73 -40
  114. package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +4 -2
  115. package/ts/types/Interface/api/cerfa/2031.ts +3 -2
  116. package/ts/types/Interface/api/cerfa/2050.ts +1580 -1399
  117. package/ts/types/Interface/api/cerfa/2065.ts +2 -2
  118. package/ts/types/Interface/api/cerfa/ReadCerfa.ts +20 -2
  119. package/ts/types/Interface/api/incomeStatement/ReadIncomeStatement.ts +4 -2
  120. package/ts/types/Interface/api/payment/Params.ts +9 -1
  121. package/ts/types/Interface/api/registration/ReadRegistration.ts +4 -0
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-duplicate-enum-values */
1
2
  import { ThirdPartyType } from './ThirdPartyType';
2
3
  import { MathematicalSign } from './Util';
3
4
  export var BalanceSheetState;
@@ -275,9 +276,46 @@ export const ForecastBalanceSheetDetails = [
275
276
  forRoles: [['front_office'], ['expert']],
276
277
  },
277
278
  ];
279
+ export var BalanceSheetLabel;
280
+ (function (BalanceSheetLabel) {
281
+ BalanceSheetLabel["CAPITAL_SOUSCRIT"] = "Capital souscrit - non appel\u00E9";
282
+ BalanceSheetLabel["FRAIS_ETABLISSEMENT"] = "Frais d'\u00E9tablissement";
283
+ BalanceSheetLabel["CONCESSIONS_BREVETS"] = "Concessions, brevets, licences, marques, proc\u00E9d\u00E9s, logiciels, droits et valeurs similaires";
284
+ BalanceSheetLabel["FOND_COMMERCIAL"] = "Fonds commercial";
285
+ BalanceSheetLabel["AUTRES_IMMOBILISATIONS_INCORPORELLES"] = "Autres immobilisations inc.";
286
+ BalanceSheetLabel["AVANCES_ET_ACOMPTES_INCORPORELLES"] = "Avances et acomptes";
287
+ BalanceSheetLabel["TERRAINS"] = "Terrains";
288
+ BalanceSheetLabel["CONSTRUCTIONS"] = "Constructions";
289
+ BalanceSheetLabel["INSTALLATIONS_TECHNIQUES"] = "Installations techniques, mat\u00E9riels, et outillage industriels";
290
+ BalanceSheetLabel["AUTRES_IMMOBILISATIONS_CORPORELLES"] = "Autres immobilisations corp.";
291
+ BalanceSheetLabel["IMMOBILISATIONS_CORPORELLES_EN_COURS"] = "Immobilisations corporelles en cours";
292
+ BalanceSheetLabel["AVANCES_ET_ACOMPTES_CORPORELLES"] = "Avances et acomptes";
293
+ BalanceSheetLabel["CREANCES_RATTACHEES_PARTICIPATIONS"] = "Cr\u00E9ances rattach\u00E9es \u00E0 des participations";
294
+ BalanceSheetLabel["AUTRES_TITRES_IMMOBILISES"] = "Autres titres immobilis\u00E9s";
295
+ BalanceSheetLabel["PRETS"] = "Pr\u00EAts";
296
+ BalanceSheetLabel["AUTRES_IMMOBILISATIONS_FINANCIERES"] = "Autres immobilisations fin.";
297
+ BalanceSheetLabel["TOTAL_1"] = "Total (I)";
298
+ BalanceSheetLabel["MATIERES_PREMIERES_ET_AUTRES_APPROVISIONNEMENTS"] = "Mati\u00E8res premi\u00E8res et autres approvisionnements";
299
+ BalanceSheetLabel["PRODUITS_INTERMEDIAIRES_ET_FINIS"] = "Produits interm\u00E9diaires et finis";
300
+ BalanceSheetLabel["MARCHANDISES"] = "Marchandises";
301
+ BalanceSheetLabel["AVANCES_ET_ACOMPTES_VERSES_SUR_COMMANDES"] = "Avances et acomptes vers\u00E9s sur commandes";
302
+ BalanceSheetLabel["CREANCES_CLIENTS_ET_COMPTES_RATTACHES"] = "Cr\u00E9ances clients et comptes rattach\u00E9s";
303
+ BalanceSheetLabel["AUTRES_CREANCES"] = "Autres cr\u00E9ances";
304
+ BalanceSheetLabel["CAPITAL_SOUSCRIT_APPELE_NON_VERSE"] = "Capital souscrit - appel\u00E9, non vers\u00E9";
305
+ BalanceSheetLabel["VALEUR_MOBILIERE_PLACEMENT_ACTION_PROPRE"] = "Actions propres";
306
+ BalanceSheetLabel["VALEUR_MOBILIERE_PLACEMENT"] = "Valeurs mobili\u00E8res de placement";
307
+ BalanceSheetLabel["DISPONIBILITES"] = "Disponibilit\u00E9s";
308
+ BalanceSheetLabel["CHARGES_CONSTATEES_AVANCE"] = "Charges constat\u00E9es d'avance";
309
+ BalanceSheetLabel["TOTAL_2"] = "Total (II)";
310
+ BalanceSheetLabel["PRIMES_DE_REMBOURSEMENT_DES_EMPRUNTS"] = "Primes de remboursement des emprunts (IV)";
311
+ BalanceSheetLabel["ECARTS_DE_CONVERSIONS"] = "Ecarts de conversion Actif (V)";
312
+ BalanceSheetLabel["TOTAL_GENERAL"] = "Total g\u00E9n\u00E9ral (I+II+III+IV+V)";
313
+ BalanceSheetLabel["PARTICIPATIONS"] = "Participations";
314
+ BalanceSheetLabel["FRAIS_DE_RECHERCHE_DEVELOPPEMENT"] = "Frais de recherche et de d\u00E9veloppement";
315
+ })(BalanceSheetLabel || (BalanceSheetLabel = {}));
278
316
  export const BALANCE_SHEET_LIST_ACTIVE = [
279
317
  {
280
- name: 'Capital souscrit - non appelé',
318
+ name: BalanceSheetLabel.CAPITAL_SOUSCRIT,
281
319
  key: 'subscribedCapital',
282
320
  accounts: ['109'],
283
321
  isSubcategory: true,
@@ -296,29 +334,29 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
296
334
  isSubcategory: true,
297
335
  fields: [
298
336
  {
299
- name: "Frais d'établissement",
337
+ name: BalanceSheetLabel.FRAIS_ETABLISSEMENT,
300
338
  accounts: ['201'],
301
339
  accountsDeducted: ['2801'],
302
340
  total: 0,
303
341
  totalDeducted: 0,
304
342
  },
305
343
  {
306
- name: 'Frais de recherche et de développement',
344
+ name: BalanceSheetLabel.FRAIS_DE_RECHERCHE_DEVELOPPEMENT,
307
345
  accounts: ['203'],
308
346
  accountsDeducted: ['2803'],
309
347
  },
310
348
  {
311
- name: 'Concessions, brevets, licences, marques, procédés, logiciels, droits et valeurs similaires',
349
+ name: BalanceSheetLabel.CONCESSIONS_BREVETS,
312
350
  accounts: ['205'],
313
351
  accountsDeducted: ['2805', '2905'],
314
352
  },
315
353
  {
316
- name: 'Fonds commercial',
354
+ name: BalanceSheetLabel.FOND_COMMERCIAL,
317
355
  accounts: ['206', '207'],
318
356
  accountsDeducted: ['2806', '2807', '2906', '2907'],
319
357
  },
320
358
  {
321
- name: 'Autres',
359
+ name: BalanceSheetLabel.AUTRES_IMMOBILISATIONS_INCORPORELLES,
322
360
  accounts: ['200', '208'],
323
361
  accountsDeducted: ['2808', '2908'],
324
362
  },
@@ -328,7 +366,7 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
328
366
  accountsDeducted: ['2932'],
329
367
  },
330
368
  {
331
- name: 'Avances et acomptes',
369
+ name: BalanceSheetLabel.AVANCES_ET_ACOMPTES_INCORPORELLES,
332
370
  accounts: ['237'],
333
371
  },
334
372
  ],
@@ -339,32 +377,32 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
339
377
  isSubcategory: true,
340
378
  fields: [
341
379
  {
342
- name: 'Terrains',
380
+ name: BalanceSheetLabel.TERRAINS,
343
381
  accounts: ['211', '212'],
344
382
  accountsDeducted: ['2811', '2812', '2911'],
345
383
  },
346
384
  {
347
- name: 'Constructions',
385
+ name: BalanceSheetLabel.CONSTRUCTIONS,
348
386
  accounts: ['213', '214'],
349
387
  accountsDeducted: ['2813', '2814'],
350
388
  },
351
389
  {
352
- name: 'Installations techniques, matériels, et outillage industriels',
390
+ name: BalanceSheetLabel.INSTALLATIONS_TECHNIQUES,
353
391
  accounts: ['215'],
354
392
  accountsDeducted: ['2815'],
355
393
  },
356
394
  {
357
- name: 'Autres',
395
+ name: BalanceSheetLabel.AUTRES_IMMOBILISATIONS_CORPORELLES,
358
396
  accounts: ['218', '22'],
359
397
  accountsDeducted: ['2818', '282', '292'],
360
398
  },
361
399
  {
362
- name: 'Immobilisations corporelles en cours',
400
+ name: BalanceSheetLabel.IMMOBILISATIONS_CORPORELLES_EN_COURS,
363
401
  accounts: ['231'],
364
402
  accountsDeducted: ['2931'],
365
403
  },
366
404
  {
367
- name: 'Avances et acomptes',
405
+ name: BalanceSheetLabel.AVANCES_ET_ACOMPTES_CORPORELLES,
368
406
  accounts: ['238'],
369
407
  },
370
408
  ],
@@ -375,12 +413,12 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
375
413
  isSubcategory: true,
376
414
  fields: [
377
415
  {
378
- name: 'Participations',
416
+ name: BalanceSheetLabel.PARTICIPATIONS,
379
417
  accounts: ['261', '266'],
380
418
  accountsDeducted: ['2691', '2966'],
381
419
  },
382
420
  {
383
- name: 'Créances rattachées à des participations',
421
+ name: BalanceSheetLabel.CREANCES_RATTACHEES_PARTICIPATIONS,
384
422
  accounts: ['267', '268'],
385
423
  accountsDeducted: ['2967', '2968'],
386
424
  },
@@ -390,17 +428,17 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
390
428
  accountsDeducted: ['2973'],
391
429
  },
392
430
  {
393
- name: 'Autres titres immobilisés',
431
+ name: BalanceSheetLabel.AUTRES_TITRES_IMMOBILISES,
394
432
  accounts: ['271', '272'],
395
433
  accountsDeducted: ['2971', '2972'],
396
434
  },
397
435
  {
398
- name: 'Prêts',
436
+ name: BalanceSheetLabel.PRETS,
399
437
  accounts: ['274'],
400
438
  accountsDeducted: ['2974'],
401
439
  },
402
440
  {
403
- name: 'Autres',
441
+ name: BalanceSheetLabel.AUTRES_IMMOBILISATIONS_FINANCIERES,
404
442
  accounts: ['236', '275', '276', '277'],
405
443
  accountsDeducted: ['2975', '2976'],
406
444
  },
@@ -409,7 +447,7 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
409
447
  ],
410
448
  },
411
449
  {
412
- name: 'Total (I)',
450
+ name: BalanceSheetLabel.TOTAL_1,
413
451
  key: 'total1',
414
452
  total: 0,
415
453
  totalDeducted: 0,
@@ -429,7 +467,7 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
429
467
  isSubcategory: true,
430
468
  fields: [
431
469
  {
432
- name: 'Matières premières et autres approvisionnements',
470
+ name: BalanceSheetLabel.MATIERES_PREMIERES_ET_AUTRES_APPROVISIONNEMENTS,
433
471
  accounts: ['31', '32'],
434
472
  accountsDeducted: ['391', '392'],
435
473
  },
@@ -439,19 +477,19 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
439
477
  accountsDeducted: ['393', '394'],
440
478
  },
441
479
  {
442
- name: 'Produits intermédiaires et finis',
480
+ name: BalanceSheetLabel.PRODUITS_INTERMEDIAIRES_ET_FINIS,
443
481
  accounts: ['35', '36'],
444
482
  accountsDeducted: ['395', '396'],
445
483
  },
446
484
  {
447
- name: 'Marchandises',
485
+ name: BalanceSheetLabel.MARCHANDISES,
448
486
  accounts: ['37'],
449
487
  accountsDeducted: ['397'],
450
488
  },
451
489
  ],
452
490
  },
453
491
  {
454
- name: 'Avances et acomptes versés sur commandes',
492
+ name: BalanceSheetLabel.AVANCES_ET_ACOMPTES_VERSES_SUR_COMMANDES,
455
493
  key: 'advancesAndDeposits',
456
494
  accounts: ['4091'],
457
495
  },
@@ -462,7 +500,7 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
462
500
  fields: [
463
501
  {
464
502
  // créance client = lorsque les clients te doivent de l'argent = somme débit > crédit
465
- name: 'Créances clients et comptes rattachés',
503
+ name: BalanceSheetLabel.CREANCES_CLIENTS_ET_COMPTES_RATTACHES,
466
504
  accounts: ['411', '413', '416', '417', '418'],
467
505
  idThirdPartyTypeToAdd: [ThirdPartyType.CUSTOMER, MathematicalSign.PLUS],
468
506
  accountsDeducted: ['491'],
@@ -470,7 +508,7 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
470
508
  },
471
509
  {
472
510
  // autres = lorsque les fournisseurs te doivent de l'argent = somme débit > crédit
473
- name: 'Autres',
511
+ name: BalanceSheetLabel.AUTRES_CREANCES,
474
512
  accounts: [
475
513
  '401',
476
514
  '408',
@@ -506,18 +544,18 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
506
544
  type: 'active',
507
545
  },
508
546
  {
509
- name: 'Capital souscrit - appelé, non versé',
547
+ name: BalanceSheetLabel.CAPITAL_SOUSCRIT_APPELE_NON_VERSE,
510
548
  accounts: ['4562'],
511
549
  },
512
550
  ],
513
551
  },
514
552
  {
515
- name: 'Valeurs mobilières de placement',
553
+ name: BalanceSheetLabel.VALEUR_MOBILIERE_PLACEMENT,
516
554
  key: 'securities',
517
555
  isSubcategory: true,
518
556
  fields: [
519
557
  {
520
- name: 'Actions propres',
558
+ name: BalanceSheetLabel.VALEUR_MOBILIERE_PLACEMENT_ACTION_PROPRE,
521
559
  accounts: ['502'],
522
560
  accountsDeducted: ['5902'],
523
561
  },
@@ -535,20 +573,20 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
535
573
  type: 'active',
536
574
  },
537
575
  {
538
- name: 'Disponibilités',
576
+ name: BalanceSheetLabel.DISPONIBILITES,
539
577
  key: 'availabilities',
540
578
  accounts: ['511', '512', '514', '515', '516', '517', '5181', '5187', '53', '54', '58'],
541
579
  type: 'active',
542
580
  },
543
581
  {
544
- name: "Charges constatées d'avance",
582
+ name: BalanceSheetLabel.CHARGES_CONSTATEES_AVANCE,
545
583
  key: 'establishedInAdvance',
546
584
  accounts: ['486'],
547
585
  },
548
586
  ],
549
587
  },
550
588
  {
551
- name: 'Total (II)',
589
+ name: BalanceSheetLabel.TOTAL_2,
552
590
  key: 'total2',
553
591
  total: 0,
554
592
  totalDeducted: 0,
@@ -565,7 +603,7 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
565
603
  totalDeducted: 0,
566
604
  },
567
605
  {
568
- name: 'Primes de remboursement des emprunts (IV)',
606
+ name: BalanceSheetLabel.PRIMES_DE_REMBOURSEMENT_DES_EMPRUNTS,
569
607
  key: 'total4',
570
608
  accounts: ['169'],
571
609
  isTotal: true,
@@ -573,7 +611,7 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
573
611
  totalDeducted: 0,
574
612
  },
575
613
  {
576
- name: 'Ecarts de conversion Actif (V)',
614
+ name: BalanceSheetLabel.ECARTS_DE_CONVERSIONS,
577
615
  key: 'total5',
578
616
  total: 0,
579
617
  totalDeducted: 0,
@@ -581,7 +619,7 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
581
619
  isTotal: true,
582
620
  },
583
621
  {
584
- name: 'Total général (I+II+III+IV+V)',
622
+ name: BalanceSheetLabel.TOTAL_GENERAL,
585
623
  key: 'total6',
586
624
  total: 0,
587
625
  totalDeducted: 0,
@@ -599,23 +637,53 @@ export const BALANCE_SHEET_LIST_ACTIVE = [
599
637
  isTotal: true,
600
638
  },
601
639
  ];
640
+ export var BalanceSheetPassiveLabel;
641
+ (function (BalanceSheetPassiveLabel) {
642
+ BalanceSheetPassiveLabel["CAPITAL"] = "Capital (dont vers\u00E9...)";
643
+ BalanceSheetPassiveLabel["RESERVE_LEGALE"] = "R\u00E9serve l\u00E9gale";
644
+ BalanceSheetPassiveLabel["PRIMES_EMISSION"] = "Primes d'\u00E9mission, de fusion, d'apport";
645
+ BalanceSheetPassiveLabel["ECART_DE_REEVALUATION"] = "Ecart de r\u00E9\u00E9valuation";
646
+ BalanceSheetPassiveLabel["RESERVES_STATUAIRES"] = "R\u00E9serves statutaires ou contractuelles";
647
+ BalanceSheetPassiveLabel["RESERVES_REGLEMENTEES"] = "R\u00E9serves r\u00E9glement\u00E9es";
648
+ BalanceSheetPassiveLabel["AUTRES_RESERVES"] = "Autres";
649
+ BalanceSheetPassiveLabel["REPORT_A_NOUVEAU"] = "Report \u00E0 nouveau";
650
+ BalanceSheetPassiveLabel["SUBVENTIONS_INVESTISSEMENT"] = "Subventions d'investissement";
651
+ BalanceSheetPassiveLabel["PROVISIONS_REFLEMENTEES"] = "Provisions r\u00E9glement\u00E9es";
652
+ BalanceSheetPassiveLabel["PROVISIONS_POUR_RISQUES"] = "Provisions pour risques";
653
+ BalanceSheetPassiveLabel["PROVISIONS_POUR_CHARGES"] = "Provisions pour charges";
654
+ BalanceSheetPassiveLabel["EMPRUNTS_OBLIGATAIRES_CONVERTIBLES"] = "Emprunts obligataires convertibles";
655
+ BalanceSheetPassiveLabel["AUTRES_EMPRUNTS_OBLIGATAIRES_CONVERTIBLES"] = "Autres emprunts obligataires";
656
+ BalanceSheetPassiveLabel["EMPRUNTS_ET_DETTES_AUPRES_ETABLISSEMENTS"] = "Emprunts et dettes aupr\u00E8s \u00E9tablissements de cr\u00E9dits (1)";
657
+ BalanceSheetPassiveLabel["EMPRUNTS_ET_DETTES_FINANCIERES_DIVERSES"] = "Emprunts et dettes financi\u00E8res diverses (2)";
658
+ BalanceSheetPassiveLabel["AVANCES_ET_ACOMPTES_RECUES"] = "Avances et acomptes re\u00E7ues sur commandes en cours";
659
+ BalanceSheetPassiveLabel["DETTES_FOURNISSEURS_ET_COMPTES_RATTACHES"] = "Dettes Fournisseurs et Comptes rattach\u00E9s";
660
+ BalanceSheetPassiveLabel["DETTES_FISCALES_ET_SOCIALES"] = "Dettes fiscales et sociales";
661
+ BalanceSheetPassiveLabel["DETTES_SUR_IMMOBILISATIONS_ET_COMPTES_RATTACHES"] = "Dettes sur immobilisations et Comptes rattach\u00E9s";
662
+ BalanceSheetPassiveLabel["AUTRES_DETTES"] = "Autres dettes";
663
+ BalanceSheetPassiveLabel["PRODUITS_CONSTATES_D_AVANCE"] = "Produits constat\u00E9s d'avance";
664
+ BalanceSheetPassiveLabel["ECART_PASSIF"] = "Ecarts de conversion passif (IV)";
665
+ BalanceSheetPassiveLabel["TOTAL_GENERAL"] = "Total g\u00E9n\u00E9ral (I+II+III+IV)";
666
+ BalanceSheetPassiveLabel["CONCOURS"] = "(1) Dont concours bancaires courants et soldes cr\u00E9diteurs de banques";
667
+ BalanceSheetPassiveLabel["EMPRUNTS_PARTICIPATIFS"] = "(2) Dont emprunts participatifs";
668
+ })(BalanceSheetPassiveLabel || (BalanceSheetPassiveLabel = {}));
669
+ export const SOCIAL_CAPITAL_NUMBERS = ['101', '108', '102'];
602
670
  export const BALANCE_SHEET_LIST_PASSIVE = [
603
671
  {
604
- name: 'Capital (dont versé...)',
672
+ name: BalanceSheetPassiveLabel.CAPITAL,
605
673
  key: 'subscribedCapital',
606
- accounts: ['101', '108', '102'],
674
+ accounts: SOCIAL_CAPITAL_NUMBERS,
607
675
  isSubcategory: true,
608
676
  total: 0,
609
677
  },
610
678
  {
611
- name: "Primes d'émission, de fusion, d'apport",
679
+ name: BalanceSheetPassiveLabel.PRIMES_EMISSION,
612
680
  key: 'issuePremiums',
613
681
  accounts: ['104'],
614
682
  isSubcategory: true,
615
683
  total: 0,
616
684
  },
617
685
  {
618
- name: 'Ecart de réévaluation',
686
+ name: BalanceSheetPassiveLabel.ECART_DE_REEVALUATION,
619
687
  key: 'revaluationGap',
620
688
  accounts: ['105'],
621
689
  isSubcategory: true,
@@ -635,27 +703,27 @@ export const BALANCE_SHEET_LIST_PASSIVE = [
635
703
  isCategory: true,
636
704
  fields: [
637
705
  {
638
- name: 'Réserve légale',
706
+ name: BalanceSheetPassiveLabel.RESERVE_LEGALE,
639
707
  accounts: ['1061'],
640
708
  total: 0,
641
709
  totalDeducted: 0,
642
710
  },
643
711
  {
644
- name: 'Réserves statutaires ou contractuelles',
712
+ name: BalanceSheetPassiveLabel.RESERVES_STATUAIRES,
645
713
  accounts: ['1063'],
646
714
  },
647
715
  {
648
- name: 'Réserves réglementées',
716
+ name: BalanceSheetPassiveLabel.RESERVES_REGLEMENTEES,
649
717
  accounts: ['1062', '1064'],
650
718
  },
651
719
  {
652
- name: 'Autres',
720
+ name: BalanceSheetPassiveLabel.AUTRES_RESERVES,
653
721
  accounts: ['1068'],
654
722
  },
655
723
  ],
656
724
  },
657
725
  {
658
- name: 'Report à nouveau',
726
+ name: BalanceSheetPassiveLabel.REPORT_A_NOUVEAU,
659
727
  key: 'postponement',
660
728
  accounts: ['11', '12'],
661
729
  isSubcategory: true,
@@ -669,14 +737,14 @@ export const BALANCE_SHEET_LIST_PASSIVE = [
669
737
  total: 0,
670
738
  },
671
739
  {
672
- name: "Subventions d'investissement",
740
+ name: BalanceSheetPassiveLabel.SUBVENTIONS_INVESTISSEMENT,
673
741
  key: 'subsidies',
674
742
  accounts: ['13'],
675
743
  isSubcategory: true,
676
744
  total: 0,
677
745
  },
678
746
  {
679
- name: 'Provisions réglementées',
747
+ name: BalanceSheetPassiveLabel.PROVISIONS_REFLEMENTEES,
680
748
  key: 'subsidiesRegulated',
681
749
  accounts: ['14'],
682
750
  isSubcategory: true,
@@ -706,13 +774,13 @@ export const BALANCE_SHEET_LIST_PASSIVE = [
706
774
  isCategory: true,
707
775
  fields: [
708
776
  {
709
- name: 'Provisions pour risques',
777
+ name: BalanceSheetPassiveLabel.PROVISIONS_POUR_RISQUES,
710
778
  accounts: ['151'],
711
779
  isSubcategory: true,
712
780
  total: 0,
713
781
  },
714
782
  {
715
- name: 'Provisions pour charges',
783
+ name: BalanceSheetPassiveLabel.PROVISIONS_POUR_CHARGES,
716
784
  accounts: ['153', '155', '156', '157', '158'],
717
785
  isSubcategory: true,
718
786
  total: 0,
@@ -733,38 +801,38 @@ export const BALANCE_SHEET_LIST_PASSIVE = [
733
801
  key: 'debts',
734
802
  fields: [
735
803
  {
736
- name: 'Emprunts obligataires convertibles',
804
+ name: BalanceSheetPassiveLabel.EMPRUNTS_OBLIGATAIRES_CONVERTIBLES,
737
805
  key: 'convertibleBonds',
738
806
  accounts: ['161', '16881'],
739
807
  isSubcategory: true,
740
808
  total: 0,
741
809
  },
742
810
  {
743
- name: 'Autres emprunts obligataires',
811
+ name: BalanceSheetPassiveLabel.AUTRES_EMPRUNTS_OBLIGATAIRES_CONVERTIBLES,
744
812
  key: 'convertibleBonds',
745
813
  accounts: ['163', '16883'],
746
814
  isSubcategory: true,
747
815
  total: 0,
748
816
  },
749
817
  {
750
- name: 'Emprunts et dettes auprès établissements de crédits (1)',
818
+ name: BalanceSheetPassiveLabel.EMPRUNTS_ET_DETTES_AUPRES_ETABLISSEMENTS,
751
819
  key: 'loansCredits',
752
- accounts: ['164', '511', '512', '514', '517', '5186', '519', '53', '58'], // Ben.P. 10/12/24 suppression 16884 car déjà pris en dessous
820
+ accounts: ['511', '168', '512', '514', '517', '5186', '519', '53', '58'], // Ben.P. 10/12/24 suppression 16884 car déjà pris en dessous
821
+ accountsWithoutType: ['164'],
753
822
  isSubcategory: true,
754
823
  total: 0,
755
824
  type: 'passive',
756
825
  },
757
826
  {
758
- name: 'Emprunts et dettes financières diverses (2)',
827
+ name: BalanceSheetPassiveLabel.EMPRUNTS_ET_DETTES_FINANCIERES_DIVERSES,
759
828
  key: 'loans',
760
- // accounts: ['165', '166', '167', '168', '16885', '16886', '16887', '16888', '17', '426', '451', '455', '4563', '4564', '4567', '457', '458'],
761
- accounts: ['165', '166', '167', '168', '17', '426', '451', '455', '4563', '4564', '4567', '457', '458'],
829
+ accounts: ['165', '166', '167', '17', '426', '451', '455', '4563', '4564', '4567', '457', '458'],
762
830
  isSubcategory: true,
763
831
  total: 0,
764
832
  type: 'passive',
765
833
  },
766
834
  {
767
- name: 'Avances et acomptes reçues sur commandes en cours',
835
+ name: BalanceSheetPassiveLabel.AVANCES_ET_ACOMPTES_RECUES,
768
836
  key: 'advancesAndDeposits',
769
837
  accounts: ['4191'],
770
838
  isSubcategory: true,
@@ -772,7 +840,7 @@ export const BALANCE_SHEET_LIST_PASSIVE = [
772
840
  type: 'passive',
773
841
  },
774
842
  {
775
- name: 'Dettes Fournisseurs et Comptes rattachés',
843
+ name: BalanceSheetPassiveLabel.DETTES_FOURNISSEURS_ET_COMPTES_RATTACHES,
776
844
  key: 'payables',
777
845
  accounts: ['401', '403', '4081', '4083', '4088'],
778
846
  // PASSIF dette fournisseurs = lorsque l'entreprise doit de l'argent au fournisseurs = somme crédit > débit
@@ -782,15 +850,15 @@ export const BALANCE_SHEET_LIST_PASSIVE = [
782
850
  type: 'passive',
783
851
  },
784
852
  {
785
- name: 'Dettes fiscales et sociales',
853
+ name: BalanceSheetPassiveLabel.DETTES_FISCALES_ET_SOCIALES,
786
854
  key: 'taxDebts',
787
- accounts: ['42', '43', '44'],
855
+ accounts: ['420', '421', '422', '424', '425', '427', '428', '429', '43', '44', '457'],
788
856
  isSubcategory: true,
789
857
  total: 0,
790
858
  type: 'passive',
791
859
  },
792
860
  {
793
- name: 'Dettes sur immobilisations et Comptes rattachés',
861
+ name: BalanceSheetPassiveLabel.DETTES_SUR_IMMOBILISATIONS_ET_COMPTES_RATTACHES,
794
862
  key: 'immobilizationDebts',
795
863
  accounts: ['269', '279', '404', '405', '4084'],
796
864
  isSubcategory: true,
@@ -798,10 +866,9 @@ export const BALANCE_SHEET_LIST_PASSIVE = [
798
866
  type: 'passive',
799
867
  },
800
868
  {
801
- name: 'Autres dettes',
869
+ name: BalanceSheetPassiveLabel.AUTRES_DETTES,
802
870
  key: 'OtherDebts',
803
- accounts: ['411', '418', '4196', '4197', '464', '467', '4686', '471', '472', '478', '509'],
804
- accountsForceToDeduce: ['4198'],
871
+ accounts: ['4196', '4197', '4198', '464', '467', '468', '478', '509'],
805
872
  // PASSIF Autres = lorsque l'entreprise doit de l'argent au client = somme débit > crédit (modifié)
806
873
  idThirdPartyTypeToAdd: [ThirdPartyType.CUSTOMER, MathematicalSign.LESS],
807
874
  isSubcategory: true,
@@ -817,7 +884,7 @@ export const BALANCE_SHEET_LIST_PASSIVE = [
817
884
  type: 'passive',
818
885
  },
819
886
  {
820
- name: "Produits constatés d'avance",
887
+ name: BalanceSheetPassiveLabel.PRODUITS_CONSTATES_D_AVANCE,
821
888
  key: 'advanceProducts',
822
889
  accounts: ['487', '489'],
823
890
  isSubcategory: true,
@@ -834,14 +901,14 @@ export const BALANCE_SHEET_LIST_PASSIVE = [
834
901
  isTotal: true,
835
902
  },
836
903
  {
837
- name: 'Ecarts de conversion passif (IV)',
904
+ name: BalanceSheetPassiveLabel.ECART_PASSIF,
838
905
  key: 'total4',
839
906
  total: 0,
840
907
  accounts: ['477'],
841
908
  isTotal: true,
842
909
  },
843
910
  {
844
- name: 'Total général (I+II+III+IV)',
911
+ name: BalanceSheetPassiveLabel.TOTAL_GENERAL,
845
912
  key: 'total5',
846
913
  total: 0,
847
914
  calculation: true,
@@ -864,13 +931,13 @@ export const BALANCE_SHEET_LIST_PASSIVE = [
864
931
  ];
865
932
  export const BALANCE_SHEET_LIST_PASSIVE_DETAILS = [
866
933
  {
867
- name: '(1) Dont concours bancaires courants et soldes créditeurs de banques',
868
- accounts: ['51'],
934
+ name: BalanceSheetPassiveLabel.CONCOURS,
935
+ accounts: ['512', '519', '58'],
869
936
  total: 0,
870
937
  type: 'passive',
871
938
  },
872
939
  {
873
- name: '(2) Dont emprunts participatifs',
940
+ name: BalanceSheetPassiveLabel.EMPRUNTS_PARTICIPATIFS,
874
941
  accounts: ['1675'],
875
942
  total: 0,
876
943
  type: 'passive',