@silexpert/core 1.1.80 → 1.1.82

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 (83) hide show
  1. package/es/api/resources/LeadsToPartners.d.ts +8 -0
  2. package/es/api/resources/LeadsToPartners.d.ts.map +1 -0
  3. package/es/api/resources/LeadsToPartners.js +13 -0
  4. package/es/api/resources/LeadsToPartners.js.map +1 -0
  5. package/es/api/resources.d.ts +2 -0
  6. package/es/api/resources.d.ts.map +1 -1
  7. package/es/api/resources.js +2 -0
  8. package/es/api/resources.js.map +1 -1
  9. package/es/types/Enum/CommercialImportHeader.js +22 -22
  10. package/es/types/Enum/CommercialImportHeader.js.map +1 -1
  11. package/es/types/Enum/MailAuto.d.ts +2 -1
  12. package/es/types/Enum/MailAuto.d.ts.map +1 -1
  13. package/es/types/Enum/MailAuto.js +1 -0
  14. package/es/types/Enum/MailAuto.js.map +1 -1
  15. package/es/types/Enum/Partners.d.ts +86 -0
  16. package/es/types/Enum/Partners.d.ts.map +1 -0
  17. package/es/types/Enum/Partners.js +86 -0
  18. package/es/types/Enum/Partners.js.map +1 -0
  19. package/es/types/Enum/PrestationType.d.ts +2 -1
  20. package/es/types/Enum/PrestationType.d.ts.map +1 -1
  21. package/es/types/Enum/PrestationType.js +18 -0
  22. package/es/types/Enum/PrestationType.js.map +1 -1
  23. package/es/types/Interface/api/partners/PartnerStatisticType.d.ts +19 -0
  24. package/es/types/Interface/api/partners/PartnerStatisticType.d.ts.map +1 -0
  25. package/es/types/Interface/api/partners/PartnerStatisticType.js +5 -0
  26. package/es/types/Interface/api/partners/PartnerStatisticType.js.map +1 -0
  27. package/es/types/Interface/api/partners/QueryPartnerAll.d.ts +6 -0
  28. package/es/types/Interface/api/partners/QueryPartnerAll.d.ts.map +1 -0
  29. package/es/types/Interface/api/partners/QueryPartnerAll.js +37 -0
  30. package/es/types/Interface/api/partners/QueryPartnerAll.js.map +1 -0
  31. package/es/types/Interface/api/partners/QueryPartnerStatistic.d.ts +6 -0
  32. package/es/types/Interface/api/partners/QueryPartnerStatistic.d.ts.map +1 -0
  33. package/es/types/Interface/api/partners/QueryPartnerStatistic.js +37 -0
  34. package/es/types/Interface/api/partners/QueryPartnerStatistic.js.map +1 -0
  35. package/es/types/Interface/models/ILeadsToPartners.d.ts +13 -0
  36. package/es/types/Interface/models/ILeadsToPartners.d.ts.map +1 -0
  37. package/es/types/Interface/models/ILeadsToPartners.js +2 -0
  38. package/es/types/Interface/models/ILeadsToPartners.js.map +1 -0
  39. package/es/types/index.d.ts +5 -0
  40. package/es/types/index.d.ts.map +1 -1
  41. package/es/types/index.js +5 -0
  42. package/es/types/index.js.map +1 -1
  43. package/es/utils/vat/3517/century23.d.ts +1 -0
  44. package/es/utils/vat/3517/century23.d.ts.map +1 -1
  45. package/es/utils/vat/3517/century23.js +156 -153
  46. package/es/utils/vat/3517/century23.js.map +1 -1
  47. package/js/api/resources/LeadsToPartners.js +24 -0
  48. package/js/api/resources/LeadsToPartners.js.map +1 -0
  49. package/js/api/resources.js +3 -1
  50. package/js/api/resources.js.map +1 -1
  51. package/js/types/Enum/CommercialImportHeader.js +22 -22
  52. package/js/types/Enum/CommercialImportHeader.js.map +1 -1
  53. package/js/types/Enum/MailAuto.js +1 -0
  54. package/js/types/Enum/MailAuto.js.map +1 -1
  55. package/js/types/Enum/Partners.js +91 -0
  56. package/js/types/Enum/Partners.js.map +1 -0
  57. package/js/types/Enum/PrestationType.js +18 -0
  58. package/js/types/Enum/PrestationType.js.map +1 -1
  59. package/js/types/Interface/api/partners/PartnerStatisticType.js +9 -0
  60. package/js/types/Interface/api/partners/PartnerStatisticType.js.map +1 -0
  61. package/js/types/Interface/api/partners/QueryPartnerAll.js +35 -0
  62. package/js/types/Interface/api/partners/QueryPartnerAll.js.map +1 -0
  63. package/js/types/Interface/api/partners/QueryPartnerStatistic.js +35 -0
  64. package/js/types/Interface/api/partners/QueryPartnerStatistic.js.map +1 -0
  65. package/js/types/Interface/models/ILeadsToPartners.js +6 -0
  66. package/js/types/Interface/models/ILeadsToPartners.js.map +1 -0
  67. package/js/types/index.js +50 -0
  68. package/js/types/index.js.map +1 -1
  69. package/js/utils/vat/3517/century23.js +131 -127
  70. package/js/utils/vat/3517/century23.js.map +1 -1
  71. package/package.json +1 -1
  72. package/ts/api/resources/LeadsToPartners.ts +16 -0
  73. package/ts/api/resources.ts +2 -0
  74. package/ts/types/Enum/CommercialImportHeader.ts +22 -22
  75. package/ts/types/Enum/MailAuto.ts +1 -0
  76. package/ts/types/Enum/Partners.ts +86 -0
  77. package/ts/types/Enum/PrestationType.ts +18 -0
  78. package/ts/types/Interface/api/partners/PartnerStatisticType.ts +19 -0
  79. package/ts/types/Interface/api/partners/QueryPartnerAll.ts +24 -0
  80. package/ts/types/Interface/api/partners/QueryPartnerStatistic.ts +24 -0
  81. package/ts/types/Interface/models/ILeadsToPartners.ts +15 -0
  82. package/ts/types/index.ts +6 -1
  83. package/ts/utils/vat/3517/century23.ts +157 -154
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.1.80",
3
+ "version": "1.1.82",
4
4
  "description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
5
5
  "homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
6
6
  "main": "js/index.js",
@@ -0,0 +1,16 @@
1
+ import {
2
+ ILeadsToPartners, PartnerStatisticType, QueryPartnerAll, QueryPartnerStatistic,
3
+ } from '../../types';
4
+ import { Resource } from '../Resource';
5
+
6
+ export class LeadsToPartners extends Resource {
7
+ create(params: ILeadsToPartners): Promise<ILeadsToPartners> {
8
+ return this.axios.$post('partner', params);
9
+ }
10
+ getAll(params: QueryPartnerAll): Promise<ILeadsToPartners[]> {
11
+ return this.axios.$get('partner/all', { params });
12
+ }
13
+ getStatistic(params: QueryPartnerStatistic): Promise<PartnerStatisticType[]> {
14
+ return this.axios.$get('partner/statistic', { params });
15
+ }
16
+ }
@@ -130,6 +130,7 @@ import { AccountsSector } from './resources/AccountsSectors';
130
130
  import { BusinessSector } from './resources/BusinessSector';
131
131
  import { VisualizedInformation } from './resources/VisualizedInformation';
132
132
  import { Fusion } from './resources/Fusion';
133
+ import { LeadsToPartners } from './resources/LeadsToPartners';
133
134
 
134
135
  export const resources = {
135
136
  simulation: Simulation,
@@ -264,4 +265,5 @@ export const resources = {
264
265
  businessSector: BusinessSector,
265
266
  visualizedInformation: VisualizedInformation,
266
267
  fusion: Fusion,
268
+ leadsToPartners: LeadsToPartners,
267
269
  };
@@ -10,6 +10,28 @@ export type CommercialImportHeader = {
10
10
  };
11
11
 
12
12
  export const commercialImportHeader: CommercialImportHeader = {
13
+ DATE_VALUE: {
14
+ originalName: 'dateValue',
15
+ name: 'Date de facture',
16
+ required: false,
17
+ description: 'Date d’émission des factures',
18
+ },
19
+ INVOICE_NUMBER: {
20
+ originalName: 'invoiceNumber',
21
+ name: 'Numéro de facture',
22
+ required: false,
23
+ },
24
+ CUSTOMER_NAME: {
25
+ originalName: 'customerName',
26
+ name: 'Nom client',
27
+ required: true,
28
+ description: 'Nom ou raison sociale de vos clients',
29
+ },
30
+ LABEL: {
31
+ originalName: 'Label',
32
+ name: 'Libellé',
33
+ required: false,
34
+ },
13
35
  TAX_INCLUDED_AMOUNT: {
14
36
  originalName: 'taxIncludedAmount',
15
37
  name: 'Montant TTC',
@@ -94,26 +116,4 @@ export const commercialImportHeader: CommercialImportHeader = {
94
116
  description: 'Montant en euros de la TVA 2,1%',
95
117
  relatedField: 'taxExcludedAmount_2_1',
96
118
  },
97
- CUSTOMER_NAME: {
98
- originalName: 'customerName',
99
- name: 'Nom de client',
100
- required: true,
101
- description: 'Nom ou raison sociale de vos clients',
102
- },
103
- DATE_VALUE: {
104
- originalName: 'dateValue',
105
- name: 'date',
106
- required: false,
107
- description: 'Date d’émission des factures',
108
- },
109
- LABEL: {
110
- originalName: 'Label',
111
- name: 'Libellé',
112
- required: false,
113
- },
114
- INVOICE_NUMBER: {
115
- originalName: 'invoiceNumber',
116
- name: 'Numéro de facture',
117
- required: false,
118
- },
119
119
  };
@@ -117,6 +117,7 @@ export enum MailAuto {
117
117
  SEND_KBIS = 143,
118
118
  SOCIETY_DISSOLUTION_LIQUIDATION = 144,
119
119
  FORMALITIES_FILE_SEND_FOR_SIGNATURE = 145,
120
+ SEND_LINK_TRICOLORES = 146,
120
121
  }
121
122
 
122
123
  export enum MailAutoType {
@@ -0,0 +1,86 @@
1
+ export const PartnerTypesDetail = {
2
+ WEBSITE: {
3
+ name: 'Site Internet',
4
+ color: 'green',
5
+ id: 1,
6
+ },
7
+ ACCOUNTANT_LOGICIEL: {
8
+ name: 'Logiciel comptable',
9
+ color: 'blue',
10
+ id: 2,
11
+ },
12
+ EXPERT_ACCOUNTANT: {
13
+ name: 'Expert-comptable en ligne',
14
+ color: 'orange',
15
+ id: 3,
16
+ },
17
+ INSURANCE: {
18
+ name: 'Assurance',
19
+ color: 'red',
20
+ id: 4,
21
+ },
22
+ DOMICILIATION: {
23
+ name: 'Domiciliation',
24
+ color: 'yellow',
25
+ id: 5,
26
+ },
27
+ };
28
+
29
+ export const Partners = {
30
+ NATIVE: {
31
+ id: 1,
32
+ idType: PartnerTypesDetail.INSURANCE.id,
33
+ name: 'Native',
34
+ excludeBrand: [],
35
+ disabled: false,
36
+ },
37
+ POURCENTAGE: {
38
+ id: 2,
39
+ idType: PartnerTypesDetail.EXPERT_ACCOUNTANT.id,
40
+ name: 'Pourcentage',
41
+ excludeBrand: ['Pourcentage'],
42
+ disabled: false,
43
+ },
44
+ CLEMENTINE: {
45
+ id: 3,
46
+ idType: PartnerTypesDetail.EXPERT_ACCOUNTANT.id,
47
+ name: 'Clementine',
48
+ excludeBrand: ['Clementine'],
49
+ disabled: false,
50
+ },
51
+ COMPTALIB: {
52
+ id: 4,
53
+ idType: PartnerTypesDetail.ACCOUNTANT_LOGICIEL.id,
54
+ name: 'Comptalib',
55
+ excludeBrand: ['Comptalib'],
56
+ disabled: false,
57
+ },
58
+ ALEO: {
59
+ id: 5,
60
+ idType: PartnerTypesDetail.WEBSITE.id,
61
+ name: 'Aleo',
62
+ excludeBrand: [],
63
+ disabled: false,
64
+ },
65
+ TRICOLORES: {
66
+ id: 6,
67
+ idType: PartnerTypesDetail.DOMICILIATION.id,
68
+ name: 'Tricolores',
69
+ excludeBrand: [],
70
+ disabled: false,
71
+ },
72
+ QONTO: {
73
+ id: 7,
74
+ idType: null,
75
+ name: 'Qonto',
76
+ excludeBrand: [],
77
+ disabled: true,
78
+ },
79
+ SHINE: {
80
+ id: 8,
81
+ idType: null,
82
+ name: 'Shine',
83
+ excludeBrand: [],
84
+ disabled: true,
85
+ },
86
+ };
@@ -169,6 +169,7 @@ export enum PrestationType {
169
169
  STATUTS_FREE = 212,
170
170
  STATUTS_OPTION_1 = 213,
171
171
  STATUTS_OPTION_2 = 214,
172
+ STATUTS_OPTION_AE = 215,
172
173
  }
173
174
 
174
175
  export interface PrestationDetailEnum {
@@ -3032,4 +3033,21 @@ export const PrestationDetail: PrestationDetailEnum = {
3032
3033
  signaturePage: null,
3033
3034
  point: 0,
3034
3035
  },
3036
+ STATUTS_OPTION_AE: {
3037
+ id: PrestationType.STATUTS_OPTION_AE,
3038
+ name: 'Statuts - Auto\'Créa',
3039
+ isComptable: true,
3040
+ isJuridique: true,
3041
+ isSocial: false,
3042
+ isAttestation: false,
3043
+ inAverageCart: false,
3044
+ isBack: false,
3045
+ price: 118.8,
3046
+ isCatalog: true,
3047
+ hidden: false,
3048
+ isComplementary: false,
3049
+ signaturePosition: '',
3050
+ signaturePage: null,
3051
+ point: 0,
3052
+ },
3035
3053
  };
@@ -0,0 +1,19 @@
1
+ import { ISociety } from '../../models/ISociety';
2
+
3
+ export class PartnerStatisticType {
4
+ id: number;
5
+ fullname: string;
6
+ Native?: partnerCount;
7
+ Pourcentage?: partnerCount;
8
+ Clementine?: partnerCount;
9
+ Comptalib?:partnerCount;
10
+ Aleo?: partnerCount;
11
+ Tricolores?: partnerCount;
12
+ Qonto?: partnerCount;
13
+ Shine?: partnerCount;
14
+ }
15
+
16
+ class partnerCount {
17
+ number: number;
18
+ societies: Partial<ISociety>;
19
+ }
@@ -0,0 +1,24 @@
1
+ import { ApiPropertyOptional } from '../../../../utils';
2
+
3
+ export class QueryPartnerAll {
4
+ @ApiPropertyOptional({
5
+ description: 'society id',
6
+ required: false,
7
+ type: Number,
8
+ })
9
+ idSociety?: number;
10
+
11
+ @ApiPropertyOptional({
12
+ description: 'user id',
13
+ required: false,
14
+ type: Number,
15
+ })
16
+ idUser?: number;
17
+
18
+ @ApiPropertyOptional({
19
+ description: 'partner id',
20
+ required: false,
21
+ type: String,
22
+ })
23
+ idPartner?: number;
24
+ }
@@ -0,0 +1,24 @@
1
+ import { ApiPropertyOptional } from '../../../../utils';
2
+
3
+ export class QueryPartnerStatistic {
4
+ @ApiPropertyOptional({
5
+ description: 'Commercial',
6
+ required: false,
7
+ type: Number,
8
+ })
9
+ idCommercial?: number;
10
+
11
+ @ApiPropertyOptional({
12
+ description: 'Mois',
13
+ required: false,
14
+ type: Number,
15
+ })
16
+ month?: number;
17
+
18
+ @ApiPropertyOptional({
19
+ description: 'Année',
20
+ required: false,
21
+ type: Number,
22
+ })
23
+ year?: number;
24
+ }
@@ -0,0 +1,15 @@
1
+ import { IUser } from './IUser';
2
+ import { ISociety } from './ISociety';
3
+
4
+ export interface ILeadsToPartners {
5
+ id?: number,
6
+ idPartner: number,
7
+ idSociety: number,
8
+ idUser: number,
9
+ createdAt?: Date;
10
+ updatedAt?: Date;
11
+
12
+ // Associations
13
+ society?: ISociety;
14
+ user?: IUser;
15
+ }
package/ts/types/index.ts CHANGED
@@ -90,6 +90,7 @@ export * from './Interface/models/IProductInvoice';
90
90
  export * from './Interface/models/IImmobilization';
91
91
  export * from './Interface/models/IKilometricAllowanceScale';
92
92
  export * from './Interface/models/ILabelPaymentWaiting';
93
+ export * from './Interface/models/ILeadsToPartners';
93
94
  export * from './Interface/models/ILegalForm';
94
95
  export * from './Interface/models/ILegalNotice';
95
96
  export * from './Interface/models/ILettering';
@@ -364,6 +365,7 @@ export * from './Enum/PartnerType';
364
365
  export * from './Enum/ThirdPartyType';
365
366
  export * from './Enum/FecFileDelimiter';
366
367
  export * from './Enum/IncomeStatement';
368
+ export * from './Enum/Partners';
367
369
  export * from './Enum/PartnerTransactionType';
368
370
  export * from './Enum/Vehicle';
369
371
  export * from './Enum/VehicleType';
@@ -948,4 +950,7 @@ export * from './Interface/api/affectedPatrimony/ResultCreateAffectedPatrimony';
948
950
  export * from './Interface/api/affectedPatrimony/ReadAffectedPatrimony';
949
951
  export * from './Interface/api/notificationSetting/CreateNotificationSetting';
950
952
  export * from './Interface/api/notificationSetting/UpdateNotificationSetting';
951
- export * from './Interface/api/appNotification/Update';
953
+ export * from './Interface/api/appNotification/Update';
954
+ export * from './Interface/api/partners/QueryPartnerAll';
955
+ export * from './Interface/api/partners/QueryPartnerStatistic';
956
+ export * from './Interface/api/partners/PartnerStatisticType';
@@ -356,160 +356,6 @@ export function getCerfa3517Century23Payload(accountingEntries: IAccountingEntry
356
356
  export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): AsponeFormFields {
357
357
  const comment = textFormatting(data.declaration.comment);
358
358
 
359
- if (data.refund.asked > 0) {
360
- return [{
361
- name: '3517DDR',
362
- fields: [
363
- {
364
- key: 'AA',
365
- tag: 'Valeur',
366
- isMultiple: false,
367
- description: 'MOA Crédit remboursable dégagé à la clôture de lannée ou de lexercice si celui-ci est supérieur ou égal à 150 euros 100173 a',
368
- value: data.refund.creditRefundable,
369
- },
370
- {
371
- key: 'AB',
372
- tag: 'Valeur',
373
- isMultiple: false,
374
- description: 'MOA Excédent de versement de TVA dégagé 100174 b',
375
- value: data.refund.surplus,
376
- },
377
- {
378
- key: 'AC',
379
- tag: 'Valeur',
380
- isMultiple: false,
381
- description: 'MOA Maximum remboursable 100175 c',
382
- value: data.refund.maximum,
383
- },
384
- {
385
- key: 'AD',
386
- tag: 'Valeur',
387
- isMultiple: false,
388
- description: 'MOA Remboursement demandé 100176 d',
389
- value: data.refund.asked,
390
- },
391
- {
392
- key: 'AE',
393
- tag: 'Valeur',
394
- isMultiple: false,
395
- description: 'MOA Crédit reportable si le crédit dégagé est inférieur à 150 euros 100177 e',
396
- value: data.refund.reportable,
397
- },
398
- {
399
- key: 'AF',
400
- value: null,
401
- isMultiple: false,
402
- tags: [
403
- {
404
- tag: 'Designation',
405
- description: 'NAD Nom et prénom du demandeur 100178 ',
406
- value: textFormatting(data.refund.name, 35),
407
- },
408
- // {
409
- // tag: 'DesignationSuite1',
410
- // description: 'NAD Qualité du demandeur 100179 ',
411
- // value: null,
412
- // },
413
- {
414
- tag: 'AdresseVille',
415
- description: 'NAD Lieu de dépôt de la demande 100184 ',
416
- value: data.refund.place,
417
- },
418
- ],
419
- },
420
- {
421
- key: 'AG',
422
- tag: 'Valeur',
423
- isMultiple: false,
424
- description: 'MOA Montant dont le remboursement est demandé 100180 ',
425
- value: data.refund.asked,
426
- },
427
- {
428
- key: 'AH',
429
- tag: 'Valeur',
430
- isMultiple: false,
431
- description: 'CCI Demande de remboursement à créditer au compte désigné Table TBX avec X pour sélectionné, CCI/7037 = CAV/1131 = TBX 100189 ',
432
- value: data.refund.shouldCredit ? 'X' : null,
433
- },
434
- {
435
- key: 'AJ',
436
- tag: 'Valeur',
437
- isMultiple: false,
438
- description: 'CCI Demande de remboursement à imputer sur échéance future Table TBX avec X pour sélectionné, CCI/7037 = CAV/1131 = TBX 100186 ',
439
- value: data.refund.shouldImpute ? 'X' : null,
440
- },
441
- {
442
- key: 'AK',
443
- value: null,
444
- isMultiple: false,
445
- tags: [
446
- {
447
- tag: 'Iban',
448
- description: 'FII IBAN IBAN: 34 caractères alphanumériques (INTERNATIONAL BANK ACCOUNT NUMBER) 902429 ',
449
- value: 'DYNAMIC_IBAN',
450
- },
451
- {
452
- tag: 'Bic',
453
- description: 'FII BIC BIC : 8 ou 11 caractères alphanumériques (BANK IDENTIFIER CODE) 902409 ',
454
- value: 'DYNAMIC_BIC',
455
- },
456
- {
457
- tag: 'TitulaireDesignation',
458
- description: 'FII Nom du titulaire du compte 100187 ',
459
- value: textFormatting(data.refund.name, 35),
460
- },
461
- ],
462
- },
463
- {
464
- key: 'AL',
465
- value: null,
466
- isMultiple: false,
467
- tags: [
468
- {
469
- tag: 'TexteLibre1',
470
- description: 'FTX Commentaires type 1, ligne 1 1° zone de 512 c 100447 ',
471
- value: null,
472
- },
473
- {
474
- tag: 'TexteLibre2',
475
- description: 'FTX Commentaires type 1, ligne 2 2° zone de 512 c 100547 ',
476
- value: null,
477
- },
478
- {
479
- tag: 'TexteLibre3',
480
- description: 'FTX Commentaires type 1, ligne 3 3° zone de 512 c 100548 ',
481
- value: null,
482
- },
483
- {
484
- tag: 'TexteLibre4',
485
- description: 'FTX Commentaires type 1, ligne 4 4° zone de 512 c 100549 ',
486
- value: null,
487
- },
488
- {
489
- tag: 'TexteLibre5',
490
- description: 'FTX Commentaires type 1, ligne 5 5° zone de 512 c 100550 ',
491
- value: null,
492
- },
493
- ],
494
- },
495
- {
496
- key: 'BA',
497
- tag: 'Valeur',
498
- isMultiple: false,
499
- description: 'DTM Cession ou cessation ou décès ou entrée dans un groupe TVA, date de lévènement Format attendu : yyyyMMdd 905929 ',
500
- value: null,
501
- },
502
- {
503
- key: 'BB',
504
- tag: 'Valeur',
505
- isMultiple: false,
506
- description: 'CCI Cession ou cessation ou décès ou entrée dans un groupe TVA 905930 ',
507
- value: null,
508
- },
509
- ],
510
- }];
511
- }
512
-
513
359
  return [{
514
360
  name: '3517SCA12',
515
361
  fields: [
@@ -1641,6 +1487,163 @@ export function getCerfa3517CenturyRegistrationField(data: Cerfa3517_2023): Aspo
1641
1487
  }];
1642
1488
  }
1643
1489
 
1490
+ export function getCerfa3517DDRRegistrationField(data: Cerfa3517_2023): AsponeFormFields {
1491
+ if (data.refund.asked > 0) {
1492
+ return [{
1493
+ name: '3517DDR',
1494
+ fields: [
1495
+ {
1496
+ key: 'AA',
1497
+ tag: 'Valeur',
1498
+ isMultiple: false,
1499
+ description: 'MOA Crédit remboursable dégagé à la clôture de lannée ou de lexercice si celui-ci est supérieur ou égal à 150 euros 100173 a',
1500
+ value: data.refund.creditRefundable,
1501
+ },
1502
+ {
1503
+ key: 'AB',
1504
+ tag: 'Valeur',
1505
+ isMultiple: false,
1506
+ description: 'MOA Excédent de versement de TVA dégagé 100174 b',
1507
+ value: data.refund.surplus,
1508
+ },
1509
+ {
1510
+ key: 'AC',
1511
+ tag: 'Valeur',
1512
+ isMultiple: false,
1513
+ description: 'MOA Maximum remboursable 100175 c',
1514
+ value: data.refund.maximum,
1515
+ },
1516
+ {
1517
+ key: 'AD',
1518
+ tag: 'Valeur',
1519
+ isMultiple: false,
1520
+ description: 'MOA Remboursement demandé 100176 d',
1521
+ value: data.refund.asked,
1522
+ },
1523
+ {
1524
+ key: 'AE',
1525
+ tag: 'Valeur',
1526
+ isMultiple: false,
1527
+ description: 'MOA Crédit reportable si le crédit dégagé est inférieur à 150 euros 100177 e',
1528
+ value: data.refund.reportable,
1529
+ },
1530
+ {
1531
+ key: 'AF',
1532
+ value: null,
1533
+ isMultiple: false,
1534
+ tags: [
1535
+ {
1536
+ tag: 'Designation',
1537
+ description: 'NAD Nom et prénom du demandeur 100178 ',
1538
+ value: textFormatting(data.refund.name, 35),
1539
+ },
1540
+ // {
1541
+ // tag: 'DesignationSuite1',
1542
+ // description: 'NAD Qualité du demandeur 100179 ',
1543
+ // value: null,
1544
+ // },
1545
+ {
1546
+ tag: 'AdresseVille',
1547
+ description: 'NAD Lieu de dépôt de la demande 100184 ',
1548
+ value: data.refund.place,
1549
+ },
1550
+ ],
1551
+ },
1552
+ {
1553
+ key: 'AG',
1554
+ tag: 'Valeur',
1555
+ isMultiple: false,
1556
+ description: 'MOA Montant dont le remboursement est demandé 100180 ',
1557
+ value: data.refund.asked,
1558
+ },
1559
+ {
1560
+ key: 'AH',
1561
+ tag: 'Valeur',
1562
+ isMultiple: false,
1563
+ description: 'CCI Demande de remboursement à créditer au compte désigné Table TBX avec X pour sélectionné, CCI/7037 = CAV/1131 = TBX 100189 ',
1564
+ value: data.refund.shouldCredit ? 'X' : null,
1565
+ },
1566
+ {
1567
+ key: 'AJ',
1568
+ tag: 'Valeur',
1569
+ isMultiple: false,
1570
+ description: 'CCI Demande de remboursement à imputer sur échéance future Table TBX avec X pour sélectionné, CCI/7037 = CAV/1131 = TBX 100186 ',
1571
+ value: data.refund.shouldImpute ? 'X' : null,
1572
+ },
1573
+ {
1574
+ key: 'AK',
1575
+ value: null,
1576
+ isMultiple: false,
1577
+ tags: [
1578
+ {
1579
+ tag: 'Iban',
1580
+ description: 'FII IBAN IBAN: 34 caractères alphanumériques (INTERNATIONAL BANK ACCOUNT NUMBER) 902429 ',
1581
+ value: 'DYNAMIC_IBAN',
1582
+ },
1583
+ {
1584
+ tag: 'Bic',
1585
+ description: 'FII BIC BIC : 8 ou 11 caractères alphanumériques (BANK IDENTIFIER CODE) 902409 ',
1586
+ value: 'DYNAMIC_BIC',
1587
+ },
1588
+ {
1589
+ tag: 'TitulaireDesignation',
1590
+ description: 'FII Nom du titulaire du compte 100187 ',
1591
+ value: textFormatting(data.refund.name, 35),
1592
+ },
1593
+ ],
1594
+ },
1595
+ {
1596
+ key: 'AL',
1597
+ value: null,
1598
+ isMultiple: false,
1599
+ tags: [
1600
+ {
1601
+ tag: 'TexteLibre1',
1602
+ description: 'FTX Commentaires type 1, ligne 1 1° zone de 512 c 100447 ',
1603
+ value: null,
1604
+ },
1605
+ {
1606
+ tag: 'TexteLibre2',
1607
+ description: 'FTX Commentaires type 1, ligne 2 2° zone de 512 c 100547 ',
1608
+ value: null,
1609
+ },
1610
+ {
1611
+ tag: 'TexteLibre3',
1612
+ description: 'FTX Commentaires type 1, ligne 3 3° zone de 512 c 100548 ',
1613
+ value: null,
1614
+ },
1615
+ {
1616
+ tag: 'TexteLibre4',
1617
+ description: 'FTX Commentaires type 1, ligne 4 4° zone de 512 c 100549 ',
1618
+ value: null,
1619
+ },
1620
+ {
1621
+ tag: 'TexteLibre5',
1622
+ description: 'FTX Commentaires type 1, ligne 5 5° zone de 512 c 100550 ',
1623
+ value: null,
1624
+ },
1625
+ ],
1626
+ },
1627
+ {
1628
+ key: 'BA',
1629
+ tag: 'Valeur',
1630
+ isMultiple: false,
1631
+ description: 'DTM Cession ou cessation ou décès ou entrée dans un groupe TVA, date de lévènement Format attendu : yyyyMMdd 905929 ',
1632
+ value: null,
1633
+ },
1634
+ {
1635
+ key: 'BB',
1636
+ tag: 'Valeur',
1637
+ isMultiple: false,
1638
+ description: 'CCI Cession ou cessation ou décès ou entrée dans un groupe TVA 905930 ',
1639
+ value: null,
1640
+ },
1641
+ ],
1642
+ }];
1643
+ }
1644
+ return [];
1645
+ }
1646
+
1644
1647
  export const cerfa3517Century23Fields: CerfaPayloadForm[] = [{
1645
1648
  sectionName: 'Général',
1646
1649
  childrens: [