@silexpert/core 1.3.203 → 1.3.204-1
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/dist/cjs/api/resources/User.d.ts +3 -0
- package/dist/cjs/api/resources/User.d.ts.map +1 -1
- package/dist/cjs/api/resources/User.js +3 -0
- package/dist/cjs/api/resources/User.js.map +1 -1
- package/dist/cjs/types/Enum/AnalyticsUtm.d.ts +49 -0
- package/dist/cjs/types/Enum/AnalyticsUtm.d.ts.map +1 -0
- package/dist/cjs/types/Enum/AnalyticsUtm.js +54 -0
- package/dist/cjs/types/Enum/AnalyticsUtm.js.map +1 -0
- package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +4 -3
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +67 -0
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/Cron.d.ts +1 -0
- package/dist/cjs/types/Interface/api/card/Cron.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/Cron.js +6 -0
- package/dist/cjs/types/Interface/api/card/Cron.js.map +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts +1 -0
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts +2 -0
- package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterProspect.js +14 -0
- package/dist/cjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAnalyticsUtm.d.ts +2 -0
- package/dist/cjs/types/Interface/models/IAnalyticsUtm.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IAnalyticsUtm.js.map +1 -1
- package/dist/cjs/types/Interface/models/IPrestationList.d.ts +1 -0
- package/dist/cjs/types/Interface/models/IPrestationList.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IPrestationList.js.map +1 -1
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/vat/3310/century25.d.ts.map +1 -1
- package/dist/cjs/utils/vat/3310/century25.js +25 -22
- package/dist/cjs/utils/vat/3310/century25.js.map +1 -1
- package/dist/mjs/api/resources/User.d.ts +3 -0
- package/dist/mjs/api/resources/User.d.ts.map +1 -1
- package/dist/mjs/api/resources/User.js +3 -0
- package/dist/mjs/api/resources/User.js.map +1 -1
- package/dist/mjs/types/Enum/AnalyticsUtm.d.ts +49 -0
- package/dist/mjs/types/Enum/AnalyticsUtm.d.ts.map +1 -0
- package/dist/mjs/types/Enum/AnalyticsUtm.js +51 -0
- package/dist/mjs/types/Enum/AnalyticsUtm.js.map +1 -0
- package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +4 -3
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +67 -0
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/Cron.d.ts +1 -0
- package/dist/mjs/types/Interface/api/card/Cron.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/Cron.js +6 -0
- package/dist/mjs/types/Interface/api/card/Cron.js.map +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts +1 -0
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts +2 -0
- package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterProspect.js +16 -0
- package/dist/mjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAnalyticsUtm.d.ts +2 -0
- package/dist/mjs/types/Interface/models/IAnalyticsUtm.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IAnalyticsUtm.js.map +1 -1
- package/dist/mjs/types/Interface/models/IPrestationList.d.ts +1 -0
- package/dist/mjs/types/Interface/models/IPrestationList.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IPrestationList.js.map +1 -1
- package/dist/mjs/types/index.d.ts +1 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/vat/3310/century25.d.ts.map +1 -1
- package/dist/mjs/utils/vat/3310/century25.js +25 -22
- package/dist/mjs/utils/vat/3310/century25.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/User.ts +4 -0
- package/ts/types/Enum/AnalyticsUtm.ts +51 -0
- package/ts/types/Enum/BalanceSheet.ts +4 -3
- package/ts/types/Enum/PrestationType.ts +67 -0
- package/ts/types/Interface/api/card/Cron.ts +5 -0
- package/ts/types/Interface/api/revenue/revenueMovement.ts +1 -0
- package/ts/types/Interface/api/user/RegisterProspect.ts +12 -0
- package/ts/types/Interface/models/IAnalyticsUtm.ts +2 -0
- package/ts/types/Interface/models/IPrestationList.ts +1 -0
- package/ts/types/index.ts +1 -0
- package/ts/utils/vat/3310/century25.ts +28 -24
|
@@ -195,8 +195,9 @@ export function getCerfa3310Century25Payload(accountingEntries, payload, updated
|
|
|
195
195
|
.includes(e.idVat)), ['6'])) + (payload?.vatControl?.deducted?.other ?? 0);
|
|
196
196
|
const coefficient = _round(payload.vat?.deductible?.coefficient ?? 100, 2);
|
|
197
197
|
const isNil = payload.isNil === true;
|
|
198
|
-
const report = isNil
|
|
199
|
-
|
|
198
|
+
const report = isNil
|
|
199
|
+
? 0
|
|
200
|
+
: (isDefined(payload.vat?.deductible?.toReport) && payload.vat?.deductible?.toReport >= 0
|
|
200
201
|
? _round(payload.vat?.deductible?.toReport ?? 0)
|
|
201
202
|
: (payload.previousVatDeclaration?.credit?.toReport ?? 0)) + (payload?.vatControl?.deducted?.reported ?? 0);
|
|
202
203
|
const isHolidayDeposit = payload.isHolidayDeposit === true;
|
|
@@ -647,6 +648,15 @@ export function getCerfa3310Century25RegistrationFields(data) {
|
|
|
647
648
|
value: data.vat.importations.reduceRate1Dot05.base,
|
|
648
649
|
});
|
|
649
650
|
}
|
|
651
|
+
if (data.vat.deductible.other.collected > 0) {
|
|
652
|
+
importFields.push({
|
|
653
|
+
key: 'HH',
|
|
654
|
+
tag: 'Valeur',
|
|
655
|
+
isMultiple: false,
|
|
656
|
+
description: 'MOA - TVA collectée sur autres produits ou PS [cf notice] ou déductible',
|
|
657
|
+
value: data.vat.deductible.other.collected,
|
|
658
|
+
});
|
|
659
|
+
}
|
|
650
660
|
return [
|
|
651
661
|
{
|
|
652
662
|
name: '3310CA3',
|
|
@@ -756,14 +766,14 @@ export function getCerfa3310Century25RegistrationFields(data) {
|
|
|
756
766
|
key: 'CF',
|
|
757
767
|
tag: 'Valeur',
|
|
758
768
|
isMultiple: false,
|
|
759
|
-
description:
|
|
769
|
+
description: "MOA Livraisons d'electricité, de gaz naturel, de chaleur ou de froid imposables en France, base hors taxe",
|
|
760
770
|
value: data.taxedOperations.energyDelivery,
|
|
761
771
|
},
|
|
762
772
|
{
|
|
763
773
|
key: 'CG',
|
|
764
774
|
tag: 'Valeur',
|
|
765
775
|
isMultiple: false,
|
|
766
|
-
description:
|
|
776
|
+
description: "MOA Achats de biens ou de prestations de services réalisés auprès d'un assujetti non établi en France, art 283-1 du CGI",
|
|
767
777
|
value: data.taxedOperations.purchaseOfServicesNotInFrance,
|
|
768
778
|
},
|
|
769
779
|
{
|
|
@@ -826,7 +836,7 @@ export function getCerfa3310Century25RegistrationFields(data) {
|
|
|
826
836
|
key: 'DC',
|
|
827
837
|
tag: 'Valeur',
|
|
828
838
|
isMultiple: false,
|
|
829
|
-
description:
|
|
839
|
+
description: "MOA Livraisons intracommunautaires à destination d'une personne assujettie 100077",
|
|
830
840
|
value: data.untaxedOperations.intracommunityDelivery,
|
|
831
841
|
},
|
|
832
842
|
{
|
|
@@ -847,7 +857,7 @@ export function getCerfa3310Century25RegistrationFields(data) {
|
|
|
847
857
|
key: 'DF',
|
|
848
858
|
tag: 'Valeur',
|
|
849
859
|
isMultiple: false,
|
|
850
|
-
description:
|
|
860
|
+
description: "MOA Livraisons d'electricité, de gaz naturel, de chaleur ou de froid non imposables en France 100122",
|
|
851
861
|
value: data.untaxedOperations.energyDelivery,
|
|
852
862
|
},
|
|
853
863
|
{
|
|
@@ -1051,7 +1061,7 @@ export function getCerfa3310Century25RegistrationFields(data) {
|
|
|
1051
1061
|
key: 'HE',
|
|
1052
1062
|
tag: 'Valeur',
|
|
1053
1063
|
isMultiple: false,
|
|
1054
|
-
description:
|
|
1064
|
+
description: "PCD 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",
|
|
1055
1065
|
value: isDefined(data.vat.deductible.coefficient) && data.vat.deductible.coefficient !== 100
|
|
1056
1066
|
? data.vat.deductible.coefficient
|
|
1057
1067
|
: null,
|
|
@@ -1070,18 +1080,11 @@ export function getCerfa3310Century25RegistrationFields(data) {
|
|
|
1070
1080
|
description: 'MOA Total de la TVA déductible',
|
|
1071
1081
|
value: data.vat.deductible.total,
|
|
1072
1082
|
},
|
|
1073
|
-
{
|
|
1074
|
-
key: 'HH',
|
|
1075
|
-
tag: 'Valeur',
|
|
1076
|
-
isMultiple: false,
|
|
1077
|
-
description: 'MOA - TVA collectée sur autres produits ou PS [cf notice] ou déductible',
|
|
1078
|
-
value: data.vat.deductible.other.collected,
|
|
1079
|
-
},
|
|
1080
1083
|
{
|
|
1081
1084
|
key: 'HJ',
|
|
1082
1085
|
tag: 'Valeur',
|
|
1083
1086
|
isMultiple: false,
|
|
1084
|
-
description:
|
|
1087
|
+
description: "CCITBX Mention membre d'un groupe Table TBX avec X pour sélectionné, CCI/7037 = CAV/1131 =",
|
|
1085
1088
|
value: null,
|
|
1086
1089
|
},
|
|
1087
1090
|
{
|
|
@@ -1284,7 +1287,7 @@ export function getCerfa3310Century25RegistrationFields(data) {
|
|
|
1284
1287
|
key: 'LS',
|
|
1285
1288
|
tag: 'Valeur',
|
|
1286
1289
|
isMultiple: false,
|
|
1287
|
-
description:
|
|
1290
|
+
description: "CCITBX Mention de qualité de représentant d'un assujetti unique Table TBX avec X pour sélectionné, CCI/7037 = CAV/1131 =",
|
|
1288
1291
|
value: null,
|
|
1289
1292
|
},
|
|
1290
1293
|
{
|
|
@@ -1305,7 +1308,7 @@ export function getCerfa3310Century25RegistrationFields(data) {
|
|
|
1305
1308
|
key: 'MD',
|
|
1306
1309
|
tag: 'Valeur',
|
|
1307
1310
|
isMultiple: false,
|
|
1308
|
-
description:
|
|
1311
|
+
description: "MOA Retenue de TVA sur droits d'auteur taxe due",
|
|
1309
1312
|
value: data.vat.otherRate.author.tax,
|
|
1310
1313
|
},
|
|
1311
1314
|
{
|
|
@@ -1326,7 +1329,7 @@ export function getCerfa3310Century25RegistrationFields(data) {
|
|
|
1326
1329
|
key: 'MG',
|
|
1327
1330
|
tag: 'Valeur',
|
|
1328
1331
|
isMultiple: false,
|
|
1329
|
-
description:
|
|
1332
|
+
description: "MOA Retenue de TVA sur droits d'auteur base HT",
|
|
1330
1333
|
value: data.vat.otherRate.oldRate.base,
|
|
1331
1334
|
},
|
|
1332
1335
|
{
|
|
@@ -1538,12 +1541,12 @@ export const cerfa3310Century25Fields = [
|
|
|
1538
1541
|
type: 'number',
|
|
1539
1542
|
},
|
|
1540
1543
|
{
|
|
1541
|
-
label:
|
|
1544
|
+
label: "B3 - Achats d'electricité, de gaz naturel, de chaleur ou de froid imposables en France",
|
|
1542
1545
|
key: 'taxedOperations.energyDelivery',
|
|
1543
1546
|
type: 'number',
|
|
1544
1547
|
},
|
|
1545
1548
|
{
|
|
1546
|
-
label:
|
|
1549
|
+
label: "B4 - Achats de biens ou de prestations de services réalisés auprès d'un assujetti non établi en France",
|
|
1547
1550
|
key: 'taxedOperations.regularizations',
|
|
1548
1551
|
type: 'number',
|
|
1549
1552
|
},
|
|
@@ -1573,7 +1576,7 @@ export const cerfa3310Century25Fields = [
|
|
|
1573
1576
|
type: 'number',
|
|
1574
1577
|
},
|
|
1575
1578
|
{
|
|
1576
|
-
label:
|
|
1579
|
+
label: "F3 - Livraisons d'électricité, de gaz naturel, de chaleur ou de froid non imposables en France",
|
|
1577
1580
|
key: 'untaxedOperations.energyDelivery',
|
|
1578
1581
|
type: 'number',
|
|
1579
1582
|
},
|
|
@@ -1690,7 +1693,7 @@ export const cerfa3310Century25Fields = [
|
|
|
1690
1693
|
type: 'number',
|
|
1691
1694
|
},
|
|
1692
1695
|
{
|
|
1693
|
-
label:
|
|
1696
|
+
label: "29 - Taxes assimilées calculées sur l'annexe n° 3310 A",
|
|
1694
1697
|
key: 'credit.assimiledTaxes',
|
|
1695
1698
|
type: 'number',
|
|
1696
1699
|
},
|