@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.
- package/es/api/resources/LeadsToPartners.d.ts +8 -0
- package/es/api/resources/LeadsToPartners.d.ts.map +1 -0
- package/es/api/resources/LeadsToPartners.js +13 -0
- package/es/api/resources/LeadsToPartners.js.map +1 -0
- package/es/api/resources.d.ts +2 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/CommercialImportHeader.js +22 -22
- package/es/types/Enum/CommercialImportHeader.js.map +1 -1
- package/es/types/Enum/MailAuto.d.ts +2 -1
- package/es/types/Enum/MailAuto.d.ts.map +1 -1
- package/es/types/Enum/MailAuto.js +1 -0
- package/es/types/Enum/MailAuto.js.map +1 -1
- package/es/types/Enum/Partners.d.ts +86 -0
- package/es/types/Enum/Partners.d.ts.map +1 -0
- package/es/types/Enum/Partners.js +86 -0
- package/es/types/Enum/Partners.js.map +1 -0
- package/es/types/Enum/PrestationType.d.ts +2 -1
- package/es/types/Enum/PrestationType.d.ts.map +1 -1
- package/es/types/Enum/PrestationType.js +18 -0
- package/es/types/Enum/PrestationType.js.map +1 -1
- package/es/types/Interface/api/partners/PartnerStatisticType.d.ts +19 -0
- package/es/types/Interface/api/partners/PartnerStatisticType.d.ts.map +1 -0
- package/es/types/Interface/api/partners/PartnerStatisticType.js +5 -0
- package/es/types/Interface/api/partners/PartnerStatisticType.js.map +1 -0
- package/es/types/Interface/api/partners/QueryPartnerAll.d.ts +6 -0
- package/es/types/Interface/api/partners/QueryPartnerAll.d.ts.map +1 -0
- package/es/types/Interface/api/partners/QueryPartnerAll.js +37 -0
- package/es/types/Interface/api/partners/QueryPartnerAll.js.map +1 -0
- package/es/types/Interface/api/partners/QueryPartnerStatistic.d.ts +6 -0
- package/es/types/Interface/api/partners/QueryPartnerStatistic.d.ts.map +1 -0
- package/es/types/Interface/api/partners/QueryPartnerStatistic.js +37 -0
- package/es/types/Interface/api/partners/QueryPartnerStatistic.js.map +1 -0
- package/es/types/Interface/models/ILeadsToPartners.d.ts +13 -0
- package/es/types/Interface/models/ILeadsToPartners.d.ts.map +1 -0
- package/es/types/Interface/models/ILeadsToPartners.js +2 -0
- package/es/types/Interface/models/ILeadsToPartners.js.map +1 -0
- package/es/types/index.d.ts +5 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +5 -0
- package/es/types/index.js.map +1 -1
- package/es/utils/vat/3517/century23.d.ts +1 -0
- package/es/utils/vat/3517/century23.d.ts.map +1 -1
- package/es/utils/vat/3517/century23.js +156 -153
- package/es/utils/vat/3517/century23.js.map +1 -1
- package/js/api/resources/LeadsToPartners.js +24 -0
- package/js/api/resources/LeadsToPartners.js.map +1 -0
- package/js/api/resources.js +3 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/CommercialImportHeader.js +22 -22
- package/js/types/Enum/CommercialImportHeader.js.map +1 -1
- package/js/types/Enum/MailAuto.js +1 -0
- package/js/types/Enum/MailAuto.js.map +1 -1
- package/js/types/Enum/Partners.js +91 -0
- package/js/types/Enum/Partners.js.map +1 -0
- package/js/types/Enum/PrestationType.js +18 -0
- package/js/types/Enum/PrestationType.js.map +1 -1
- package/js/types/Interface/api/partners/PartnerStatisticType.js +9 -0
- package/js/types/Interface/api/partners/PartnerStatisticType.js.map +1 -0
- package/js/types/Interface/api/partners/QueryPartnerAll.js +35 -0
- package/js/types/Interface/api/partners/QueryPartnerAll.js.map +1 -0
- package/js/types/Interface/api/partners/QueryPartnerStatistic.js +35 -0
- package/js/types/Interface/api/partners/QueryPartnerStatistic.js.map +1 -0
- package/js/types/Interface/models/ILeadsToPartners.js +6 -0
- package/js/types/Interface/models/ILeadsToPartners.js.map +1 -0
- package/js/types/index.js +50 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/vat/3517/century23.js +131 -127
- package/js/utils/vat/3517/century23.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/LeadsToPartners.ts +16 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/CommercialImportHeader.ts +22 -22
- package/ts/types/Enum/MailAuto.ts +1 -0
- package/ts/types/Enum/Partners.ts +86 -0
- package/ts/types/Enum/PrestationType.ts +18 -0
- package/ts/types/Interface/api/partners/PartnerStatisticType.ts +19 -0
- package/ts/types/Interface/api/partners/QueryPartnerAll.ts +24 -0
- package/ts/types/Interface/api/partners/QueryPartnerStatistic.ts +24 -0
- package/ts/types/Interface/models/ILeadsToPartners.ts +15 -0
- package/ts/types/index.ts +6 -1
- package/ts/utils/vat/3517/century23.ts +157 -154
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.cerfa3517Century23Fields = undefined;
|
|
7
7
|
exports.getCerfa3517Century23Payload = getCerfa3517Century23Payload;
|
|
8
8
|
exports.getCerfa3517CenturyRegistrationField = getCerfa3517CenturyRegistrationField;
|
|
9
|
+
exports.getCerfa3517DDRRegistrationField = getCerfa3517DDRRegistrationField;
|
|
9
10
|
var _dayjs = require("dayjs");
|
|
10
11
|
var dayjs = _interopRequireWildcard(_dayjs);
|
|
11
12
|
var _classValidator = require("class-validator");
|
|
@@ -372,133 +373,6 @@ function getCerfa3517Century23Payload(accountingEntries, payload) {
|
|
|
372
373
|
function getCerfa3517CenturyRegistrationField(data) {
|
|
373
374
|
var _a, _b, _c, _d;
|
|
374
375
|
const comment = (0, _utils.textFormatting)(data.declaration.comment);
|
|
375
|
-
if (data.refund.asked > 0) {
|
|
376
|
-
return [{
|
|
377
|
-
name: '3517DDR',
|
|
378
|
-
fields: [{
|
|
379
|
-
key: 'AA',
|
|
380
|
-
tag: 'Valeur',
|
|
381
|
-
isMultiple: false,
|
|
382
|
-
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',
|
|
383
|
-
value: data.refund.creditRefundable
|
|
384
|
-
}, {
|
|
385
|
-
key: 'AB',
|
|
386
|
-
tag: 'Valeur',
|
|
387
|
-
isMultiple: false,
|
|
388
|
-
description: 'MOA Excédent de versement de TVA dégagé 100174 b',
|
|
389
|
-
value: data.refund.surplus
|
|
390
|
-
}, {
|
|
391
|
-
key: 'AC',
|
|
392
|
-
tag: 'Valeur',
|
|
393
|
-
isMultiple: false,
|
|
394
|
-
description: 'MOA Maximum remboursable 100175 c',
|
|
395
|
-
value: data.refund.maximum
|
|
396
|
-
}, {
|
|
397
|
-
key: 'AD',
|
|
398
|
-
tag: 'Valeur',
|
|
399
|
-
isMultiple: false,
|
|
400
|
-
description: 'MOA Remboursement demandé 100176 d',
|
|
401
|
-
value: data.refund.asked
|
|
402
|
-
}, {
|
|
403
|
-
key: 'AE',
|
|
404
|
-
tag: 'Valeur',
|
|
405
|
-
isMultiple: false,
|
|
406
|
-
description: 'MOA Crédit reportable si le crédit dégagé est inférieur à 150 euros 100177 e',
|
|
407
|
-
value: data.refund.reportable
|
|
408
|
-
}, {
|
|
409
|
-
key: 'AF',
|
|
410
|
-
value: null,
|
|
411
|
-
isMultiple: false,
|
|
412
|
-
tags: [{
|
|
413
|
-
tag: 'Designation',
|
|
414
|
-
description: 'NAD Nom et prénom du demandeur 100178 ',
|
|
415
|
-
value: (0, _utils.textFormatting)(data.refund.name, 35)
|
|
416
|
-
},
|
|
417
|
-
// {
|
|
418
|
-
// tag: 'DesignationSuite1',
|
|
419
|
-
// description: 'NAD Qualité du demandeur 100179 ',
|
|
420
|
-
// value: null,
|
|
421
|
-
// },
|
|
422
|
-
{
|
|
423
|
-
tag: 'AdresseVille',
|
|
424
|
-
description: 'NAD Lieu de dépôt de la demande 100184 ',
|
|
425
|
-
value: data.refund.place
|
|
426
|
-
}]
|
|
427
|
-
}, {
|
|
428
|
-
key: 'AG',
|
|
429
|
-
tag: 'Valeur',
|
|
430
|
-
isMultiple: false,
|
|
431
|
-
description: 'MOA Montant dont le remboursement est demandé 100180 ',
|
|
432
|
-
value: data.refund.asked
|
|
433
|
-
}, {
|
|
434
|
-
key: 'AH',
|
|
435
|
-
tag: 'Valeur',
|
|
436
|
-
isMultiple: false,
|
|
437
|
-
description: 'CCI Demande de remboursement à créditer au compte désigné Table TBX avec X pour sélectionné, CCI/7037 = CAV/1131 = TBX 100189 ',
|
|
438
|
-
value: data.refund.shouldCredit ? 'X' : null
|
|
439
|
-
}, {
|
|
440
|
-
key: 'AJ',
|
|
441
|
-
tag: 'Valeur',
|
|
442
|
-
isMultiple: false,
|
|
443
|
-
description: 'CCI Demande de remboursement à imputer sur échéance future Table TBX avec X pour sélectionné, CCI/7037 = CAV/1131 = TBX 100186 ',
|
|
444
|
-
value: data.refund.shouldImpute ? 'X' : null
|
|
445
|
-
}, {
|
|
446
|
-
key: 'AK',
|
|
447
|
-
value: null,
|
|
448
|
-
isMultiple: false,
|
|
449
|
-
tags: [{
|
|
450
|
-
tag: 'Iban',
|
|
451
|
-
description: 'FII IBAN IBAN: 34 caractères alphanumériques (INTERNATIONAL BANK ACCOUNT NUMBER) 902429 ',
|
|
452
|
-
value: 'DYNAMIC_IBAN'
|
|
453
|
-
}, {
|
|
454
|
-
tag: 'Bic',
|
|
455
|
-
description: 'FII BIC BIC : 8 ou 11 caractères alphanumériques (BANK IDENTIFIER CODE) 902409 ',
|
|
456
|
-
value: 'DYNAMIC_BIC'
|
|
457
|
-
}, {
|
|
458
|
-
tag: 'TitulaireDesignation',
|
|
459
|
-
description: 'FII Nom du titulaire du compte 100187 ',
|
|
460
|
-
value: (0, _utils.textFormatting)(data.refund.name, 35)
|
|
461
|
-
}]
|
|
462
|
-
}, {
|
|
463
|
-
key: 'AL',
|
|
464
|
-
value: null,
|
|
465
|
-
isMultiple: false,
|
|
466
|
-
tags: [{
|
|
467
|
-
tag: 'TexteLibre1',
|
|
468
|
-
description: 'FTX Commentaires type 1, ligne 1 1° zone de 512 c 100447 ',
|
|
469
|
-
value: null
|
|
470
|
-
}, {
|
|
471
|
-
tag: 'TexteLibre2',
|
|
472
|
-
description: 'FTX Commentaires type 1, ligne 2 2° zone de 512 c 100547 ',
|
|
473
|
-
value: null
|
|
474
|
-
}, {
|
|
475
|
-
tag: 'TexteLibre3',
|
|
476
|
-
description: 'FTX Commentaires type 1, ligne 3 3° zone de 512 c 100548 ',
|
|
477
|
-
value: null
|
|
478
|
-
}, {
|
|
479
|
-
tag: 'TexteLibre4',
|
|
480
|
-
description: 'FTX Commentaires type 1, ligne 4 4° zone de 512 c 100549 ',
|
|
481
|
-
value: null
|
|
482
|
-
}, {
|
|
483
|
-
tag: 'TexteLibre5',
|
|
484
|
-
description: 'FTX Commentaires type 1, ligne 5 5° zone de 512 c 100550 ',
|
|
485
|
-
value: null
|
|
486
|
-
}]
|
|
487
|
-
}, {
|
|
488
|
-
key: 'BA',
|
|
489
|
-
tag: 'Valeur',
|
|
490
|
-
isMultiple: false,
|
|
491
|
-
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 ',
|
|
492
|
-
value: null
|
|
493
|
-
}, {
|
|
494
|
-
key: 'BB',
|
|
495
|
-
tag: 'Valeur',
|
|
496
|
-
isMultiple: false,
|
|
497
|
-
description: 'CCI Cession ou cessation ou décès ou entrée dans un groupe TVA 905930 ',
|
|
498
|
-
value: null
|
|
499
|
-
}]
|
|
500
|
-
}];
|
|
501
|
-
}
|
|
502
376
|
return [{
|
|
503
377
|
name: '3517SCA12',
|
|
504
378
|
fields: [{
|
|
@@ -1465,6 +1339,136 @@ function getCerfa3517CenturyRegistrationField(data) {
|
|
|
1465
1339
|
}]
|
|
1466
1340
|
}];
|
|
1467
1341
|
}
|
|
1342
|
+
function getCerfa3517DDRRegistrationField(data) {
|
|
1343
|
+
if (data.refund.asked > 0) {
|
|
1344
|
+
return [{
|
|
1345
|
+
name: '3517DDR',
|
|
1346
|
+
fields: [{
|
|
1347
|
+
key: 'AA',
|
|
1348
|
+
tag: 'Valeur',
|
|
1349
|
+
isMultiple: false,
|
|
1350
|
+
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',
|
|
1351
|
+
value: data.refund.creditRefundable
|
|
1352
|
+
}, {
|
|
1353
|
+
key: 'AB',
|
|
1354
|
+
tag: 'Valeur',
|
|
1355
|
+
isMultiple: false,
|
|
1356
|
+
description: 'MOA Excédent de versement de TVA dégagé 100174 b',
|
|
1357
|
+
value: data.refund.surplus
|
|
1358
|
+
}, {
|
|
1359
|
+
key: 'AC',
|
|
1360
|
+
tag: 'Valeur',
|
|
1361
|
+
isMultiple: false,
|
|
1362
|
+
description: 'MOA Maximum remboursable 100175 c',
|
|
1363
|
+
value: data.refund.maximum
|
|
1364
|
+
}, {
|
|
1365
|
+
key: 'AD',
|
|
1366
|
+
tag: 'Valeur',
|
|
1367
|
+
isMultiple: false,
|
|
1368
|
+
description: 'MOA Remboursement demandé 100176 d',
|
|
1369
|
+
value: data.refund.asked
|
|
1370
|
+
}, {
|
|
1371
|
+
key: 'AE',
|
|
1372
|
+
tag: 'Valeur',
|
|
1373
|
+
isMultiple: false,
|
|
1374
|
+
description: 'MOA Crédit reportable si le crédit dégagé est inférieur à 150 euros 100177 e',
|
|
1375
|
+
value: data.refund.reportable
|
|
1376
|
+
}, {
|
|
1377
|
+
key: 'AF',
|
|
1378
|
+
value: null,
|
|
1379
|
+
isMultiple: false,
|
|
1380
|
+
tags: [{
|
|
1381
|
+
tag: 'Designation',
|
|
1382
|
+
description: 'NAD Nom et prénom du demandeur 100178 ',
|
|
1383
|
+
value: (0, _utils.textFormatting)(data.refund.name, 35)
|
|
1384
|
+
},
|
|
1385
|
+
// {
|
|
1386
|
+
// tag: 'DesignationSuite1',
|
|
1387
|
+
// description: 'NAD Qualité du demandeur 100179 ',
|
|
1388
|
+
// value: null,
|
|
1389
|
+
// },
|
|
1390
|
+
{
|
|
1391
|
+
tag: 'AdresseVille',
|
|
1392
|
+
description: 'NAD Lieu de dépôt de la demande 100184 ',
|
|
1393
|
+
value: data.refund.place
|
|
1394
|
+
}]
|
|
1395
|
+
}, {
|
|
1396
|
+
key: 'AG',
|
|
1397
|
+
tag: 'Valeur',
|
|
1398
|
+
isMultiple: false,
|
|
1399
|
+
description: 'MOA Montant dont le remboursement est demandé 100180 ',
|
|
1400
|
+
value: data.refund.asked
|
|
1401
|
+
}, {
|
|
1402
|
+
key: 'AH',
|
|
1403
|
+
tag: 'Valeur',
|
|
1404
|
+
isMultiple: false,
|
|
1405
|
+
description: 'CCI Demande de remboursement à créditer au compte désigné Table TBX avec X pour sélectionné, CCI/7037 = CAV/1131 = TBX 100189 ',
|
|
1406
|
+
value: data.refund.shouldCredit ? 'X' : null
|
|
1407
|
+
}, {
|
|
1408
|
+
key: 'AJ',
|
|
1409
|
+
tag: 'Valeur',
|
|
1410
|
+
isMultiple: false,
|
|
1411
|
+
description: 'CCI Demande de remboursement à imputer sur échéance future Table TBX avec X pour sélectionné, CCI/7037 = CAV/1131 = TBX 100186 ',
|
|
1412
|
+
value: data.refund.shouldImpute ? 'X' : null
|
|
1413
|
+
}, {
|
|
1414
|
+
key: 'AK',
|
|
1415
|
+
value: null,
|
|
1416
|
+
isMultiple: false,
|
|
1417
|
+
tags: [{
|
|
1418
|
+
tag: 'Iban',
|
|
1419
|
+
description: 'FII IBAN IBAN: 34 caractères alphanumériques (INTERNATIONAL BANK ACCOUNT NUMBER) 902429 ',
|
|
1420
|
+
value: 'DYNAMIC_IBAN'
|
|
1421
|
+
}, {
|
|
1422
|
+
tag: 'Bic',
|
|
1423
|
+
description: 'FII BIC BIC : 8 ou 11 caractères alphanumériques (BANK IDENTIFIER CODE) 902409 ',
|
|
1424
|
+
value: 'DYNAMIC_BIC'
|
|
1425
|
+
}, {
|
|
1426
|
+
tag: 'TitulaireDesignation',
|
|
1427
|
+
description: 'FII Nom du titulaire du compte 100187 ',
|
|
1428
|
+
value: (0, _utils.textFormatting)(data.refund.name, 35)
|
|
1429
|
+
}]
|
|
1430
|
+
}, {
|
|
1431
|
+
key: 'AL',
|
|
1432
|
+
value: null,
|
|
1433
|
+
isMultiple: false,
|
|
1434
|
+
tags: [{
|
|
1435
|
+
tag: 'TexteLibre1',
|
|
1436
|
+
description: 'FTX Commentaires type 1, ligne 1 1° zone de 512 c 100447 ',
|
|
1437
|
+
value: null
|
|
1438
|
+
}, {
|
|
1439
|
+
tag: 'TexteLibre2',
|
|
1440
|
+
description: 'FTX Commentaires type 1, ligne 2 2° zone de 512 c 100547 ',
|
|
1441
|
+
value: null
|
|
1442
|
+
}, {
|
|
1443
|
+
tag: 'TexteLibre3',
|
|
1444
|
+
description: 'FTX Commentaires type 1, ligne 3 3° zone de 512 c 100548 ',
|
|
1445
|
+
value: null
|
|
1446
|
+
}, {
|
|
1447
|
+
tag: 'TexteLibre4',
|
|
1448
|
+
description: 'FTX Commentaires type 1, ligne 4 4° zone de 512 c 100549 ',
|
|
1449
|
+
value: null
|
|
1450
|
+
}, {
|
|
1451
|
+
tag: 'TexteLibre5',
|
|
1452
|
+
description: 'FTX Commentaires type 1, ligne 5 5° zone de 512 c 100550 ',
|
|
1453
|
+
value: null
|
|
1454
|
+
}]
|
|
1455
|
+
}, {
|
|
1456
|
+
key: 'BA',
|
|
1457
|
+
tag: 'Valeur',
|
|
1458
|
+
isMultiple: false,
|
|
1459
|
+
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 ',
|
|
1460
|
+
value: null
|
|
1461
|
+
}, {
|
|
1462
|
+
key: 'BB',
|
|
1463
|
+
tag: 'Valeur',
|
|
1464
|
+
isMultiple: false,
|
|
1465
|
+
description: 'CCI Cession ou cessation ou décès ou entrée dans un groupe TVA 905930 ',
|
|
1466
|
+
value: null
|
|
1467
|
+
}]
|
|
1468
|
+
}];
|
|
1469
|
+
}
|
|
1470
|
+
return [];
|
|
1471
|
+
}
|
|
1468
1472
|
const cerfa3517Century23Fields = exports.cerfa3517Century23Fields = [{
|
|
1469
1473
|
sectionName: 'Général',
|
|
1470
1474
|
childrens: [{
|