@silexpert/core 1.3.193-ca12-3 → 1.3.193

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/Enum/SocietyApproval.d.ts +0 -19
  2. package/dist/cjs/types/Enum/SocietyApproval.d.ts.map +1 -1
  3. package/dist/cjs/types/Enum/SocietyApproval.js +1 -76
  4. package/dist/cjs/types/Enum/SocietyApproval.js.map +1 -1
  5. package/dist/cjs/types/Interface/api/cerfa/3514.d.ts +2 -2
  6. package/dist/cjs/types/Interface/api/cerfa/3514.d.ts.map +1 -1
  7. package/dist/cjs/types/Interface/api/cerfa/3514.js.map +1 -1
  8. package/dist/cjs/types/Interface/api/cerfa/3517.d.ts +233 -238
  9. package/dist/cjs/types/Interface/api/cerfa/3517.d.ts.map +1 -1
  10. package/dist/cjs/types/Interface/api/cerfa/3517.js.map +1 -1
  11. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +1 -1
  12. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  13. package/dist/cjs/utils/vat/3517/century23.d.ts +8 -0
  14. package/dist/cjs/utils/vat/3517/century23.d.ts.map +1 -0
  15. package/dist/cjs/utils/vat/3517/{century26.js → century23.js} +193 -247
  16. package/dist/cjs/utils/vat/3517/century23.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/Enum/SocietyApproval.d.ts +0 -19
  20. package/dist/mjs/types/Enum/SocietyApproval.d.ts.map +1 -1
  21. package/dist/mjs/types/Enum/SocietyApproval.js +0 -75
  22. package/dist/mjs/types/Enum/SocietyApproval.js.map +1 -1
  23. package/dist/mjs/types/Interface/api/cerfa/3514.d.ts +2 -2
  24. package/dist/mjs/types/Interface/api/cerfa/3514.d.ts.map +1 -1
  25. package/dist/mjs/types/Interface/api/cerfa/3514.js.map +1 -1
  26. package/dist/mjs/types/Interface/api/cerfa/3517.d.ts +233 -238
  27. package/dist/mjs/types/Interface/api/cerfa/3517.d.ts.map +1 -1
  28. package/dist/mjs/types/Interface/api/cerfa/3517.js.map +1 -1
  29. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +1 -1
  30. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  31. package/dist/mjs/utils/vat/3517/century23.d.ts +8 -0
  32. package/dist/mjs/utils/vat/3517/century23.d.ts.map +1 -0
  33. package/dist/mjs/utils/vat/3517/{century26.js → century23.js} +135 -189
  34. package/dist/mjs/utils/vat/3517/century23.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/Enum/SocietyApproval.ts +0 -83
  39. package/ts/types/Interface/api/cerfa/3514.ts +2 -2
  40. package/ts/types/Interface/api/cerfa/3517.ts +211 -207
  41. package/ts/types/Interface/api/cerfa/ReadCerfa.ts +1 -1
  42. package/ts/utils/vat/3517/{century26.ts → century23.ts} +145 -203
  43. package/ts/utils/vat/centuries.ts +21 -21
  44. package/dist/cjs/utils/vat/3517/century26.d.ts +0 -8
  45. package/dist/cjs/utils/vat/3517/century26.d.ts.map +0 -1
  46. package/dist/cjs/utils/vat/3517/century26.js.map +0 -1
  47. package/dist/mjs/utils/vat/3517/century26.d.ts +0 -8
  48. package/dist/mjs/utils/vat/3517/century26.d.ts.map +0 -1
  49. package/dist/mjs/utils/vat/3517/century26.js.map +0 -1
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.cerfa3517Century26Fields = void 0;
4
- exports.getCerfa3517Century26Payload = getCerfa3517Century26Payload;
5
- exports.getCerfa3517Century26RegistrationField = getCerfa3517Century26RegistrationField;
6
- exports.getCerfa3517DDRCentury26RegistrationField = getCerfa3517DDRCentury26RegistrationField;
3
+ exports.cerfa3517Century23Fields = void 0;
4
+ exports.getCerfa3517Century23Payload = getCerfa3517Century23Payload;
5
+ exports.getCerfa3517CenturyRegistrationField = getCerfa3517CenturyRegistrationField;
6
+ exports.getCerfa3517DDRCentury23egistrationField = getCerfa3517DDRCentury23egistrationField;
7
7
  const dayjs = require("dayjs");
8
8
  const class_validator_1 = require("class-validator");
9
9
  const lodash_1 = require("lodash");
10
10
  const Vat_1 = require("../../../types/Enum/Vat");
11
11
  const utils_1 = require("../utils");
12
- function getCerfa3517Century26Payload(accountingEntries, payload) {
13
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90, _91, _92, _93, _94, _95, _96, _97, _98, _99, _100, _101, _102, _103, _104, _105, _106, _107, _108, _109, _110, _111, _112, _113, _114, _115, _116, _117, _118, _119, _120, _121, _122, _123, _124, _125, _126, _127, _128, _129, _130, _131, _132, _133, _134, _135, _136, _137, _138, _139, _140, _141, _142, _143, _144, _145, _146, _147, _148, _149, _150, _151, _152, _153, _154, _155, _156, _157, _158, _159, _160, _161, _162, _163, _164, _165, _166, _167, _168, _169, _170, _171, _172, _173, _174, _175, _176, _177, _178, _179, _180, _181, _182, _183, _184, _185, _186, _187, _188, _189, _190, _191, _192, _193, _194, _195, _196, _197, _198, _199, _200, _201, _202, _203, _204, _205, _206, _207, _208, _209, _210, _211, _212, _213, _214, _215, _216, _217, _218, _219, _220;
12
+ function getCerfa3517Century23Payload(accountingEntries, payload) {
13
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90, _91, _92, _93, _94, _95, _96, _97, _98, _99, _100, _101, _102, _103, _104, _105, _106, _107, _108, _109, _110, _111, _112, _113, _114, _115, _116, _117, _118, _119, _120, _121, _122, _123, _124, _125, _126, _127, _128, _129, _130, _131, _132, _133, _134, _135, _136, _137, _138, _139, _140, _141, _142, _143, _144, _145, _146, _147, _148, _149, _150, _151, _152, _153, _154, _155, _156, _157, _158, _159, _160, _161, _162, _163, _164, _165, _166, _167, _168, _169, _170, _171, _172, _173, _174, _175, _176, _177, _178, _179, _180, _181, _182, _183, _184, _185, _186, _187, _188, _189, _190, _191, _192, _193, _194;
14
14
  const shouldHaveVatCode = (0, class_validator_1.isDefined)((_a = payload.setting) === null || _a === void 0 ? void 0 : _a.tvaCode) && (0, class_validator_1.isDefined)(payload.society.siret);
15
15
  const shouldFillRefund = (0, lodash_1.round)((_c = (_b = payload.refund) === null || _b === void 0 ? void 0 : _b.asked) !== null && _c !== void 0 ? _c : 0) > 0;
16
16
  const isNil = payload.isNil === true;
@@ -199,94 +199,67 @@ function getCerfa3517Century26Payload(accountingEntries, payload) {
199
199
  balanceSurplus: 0, // Calculé plus bas
200
200
  },
201
201
  tax: {
202
- onBoarding: isNil ? 0 : (0, lodash_1.round)((_67 = (_66 = payload.tax) === null || _66 === void 0 ? void 0 : _66.onBoarding) !== null && _67 !== void 0 ? _67 : 0),
203
- ofEmployer: isNil ? 0 : (0, lodash_1.round)((_69 = (_68 = payload.tax) === null || _68 === void 0 ? void 0 : _68.ofEmployer) !== null && _69 !== void 0 ? _69 : 0),
204
- contribution: isNil ? 0 : (0, lodash_1.round)((_71 = (_70 = payload.tax) === null || _70 === void 0 ? void 0 : _70.contribution) !== null && _71 !== void 0 ? _71 : 0),
205
- onRetransmission: {
206
- base: isNil ? 0 : (0, lodash_1.round)((_73 = (_72 = payload.tax) === null || _72 === void 0 ? void 0 : _72.onRetransmission) !== null && _73 !== void 0 ? _73 : 0),
207
- tax: isNil ? 0 : (0, lodash_1.round)(((_75 = (_74 = payload.tax) === null || _74 === void 0 ? void 0 : _74.onRetransmission) !== null && _75 !== void 0 ? _75 : 0) * 0.05),
208
- },
209
- onResultFarm: isNil ? 0 : (0, lodash_1.round)((_77 = (_76 = payload.tax) === null || _76 === void 0 ? void 0 : _76.onResultFarm) !== null && _77 !== void 0 ? _77 : 0),
202
+ onRetransmission: isNil ? 0 : (0, lodash_1.round)((_67 = (_66 = payload.tax) === null || _66 === void 0 ? void 0 : _66.onRetransmission) !== null && _67 !== void 0 ? _67 : 0),
203
+ onResultFarm: isNil ? 0 : (0, lodash_1.round)((_69 = (_68 = payload.tax) === null || _68 === void 0 ? void 0 : _68.onResultFarm) !== null && _69 !== void 0 ? _69 : 0),
210
204
  payingVideo: {
211
- reduced: {
212
- base: isNil ? 0 : (0, lodash_1.round)((_80 = (_79 = (_78 = payload.tax) === null || _78 === void 0 ? void 0 : _78.payingVideo) === null || _79 === void 0 ? void 0 : _79.reduced) !== null && _80 !== void 0 ? _80 : 0),
213
- tax: isNil ? 0 : (0, lodash_1.round)(((_83 = (_82 = (_81 = payload.tax) === null || _81 === void 0 ? void 0 : _81.payingVideo) === null || _82 === void 0 ? void 0 : _82.reduced) !== null && _83 !== void 0 ? _83 : 0) * 0.018025),
214
- },
215
- normal: {
216
- base: isNil ? 0 : (0, lodash_1.round)((_86 = (_85 = (_84 = payload.tax) === null || _84 === void 0 ? void 0 : _84.payingVideo) === null || _85 === void 0 ? void 0 : _85.normal) !== null && _86 !== void 0 ? _86 : 0),
217
- tax: isNil ? 0 : (0, lodash_1.round)(((_89 = (_88 = (_87 = payload.tax) === null || _87 === void 0 ? void 0 : _87.payingVideo) === null || _88 === void 0 ? void 0 : _88.normal) !== null && _89 !== void 0 ? _89 : 0) * 0.15),
218
- },
219
- },
220
- videoOnAsk: {
221
- reduced: {
222
- base: isNil ? 0 : (0, lodash_1.round)((_92 = (_91 = (_90 = payload.tax) === null || _90 === void 0 ? void 0 : _90.videoOnAsk) === null || _91 === void 0 ? void 0 : _91.reduced) !== null && _92 !== void 0 ? _92 : 0),
223
- tax: isNil ? 0 : (0, lodash_1.round)(((_95 = (_94 = (_93 = payload.tax) === null || _93 === void 0 ? void 0 : _93.videoOnAsk) === null || _94 === void 0 ? void 0 : _94.reduced) !== null && _95 !== void 0 ? _95 : 0) * 0.0515),
224
- },
225
- normal: {
226
- base: isNil ? 0 : (0, lodash_1.round)((_98 = (_97 = (_96 = payload.tax) === null || _96 === void 0 ? void 0 : _96.videoOnAsk) === null || _97 === void 0 ? void 0 : _97.normal) !== null && _98 !== void 0 ? _98 : 0),
227
- tax: isNil ? 0 : (0, lodash_1.round)(((_101 = (_100 = (_99 = payload.tax) === null || _99 === void 0 ? void 0 : _99.videoOnAsk) === null || _100 === void 0 ? void 0 : _100.normal) !== null && _101 !== void 0 ? _101 : 0) * 0.15),
228
- },
229
- },
230
- onAdsFromVideo: {
231
- reduced: {
232
- base: isNil ? 0 : (0, lodash_1.round)((_104 = (_103 = (_102 = payload.tax) === null || _102 === void 0 ? void 0 : _102.onAdsFromVideo) === null || _103 === void 0 ? void 0 : _103.reduced) !== null && _104 !== void 0 ? _104 : 0),
233
- tax: isNil ? 0 : (0, lodash_1.round)(((_107 = (_106 = (_105 = payload.tax) === null || _105 === void 0 ? void 0 : _105.onAdsFromVideo) === null || _106 === void 0 ? void 0 : _106.reduced) !== null && _107 !== void 0 ? _107 : 0) * 0.0515),
234
- },
235
- normal: {
236
- base: isNil ? 0 : (0, lodash_1.round)((_110 = (_109 = (_108 = payload.tax) === null || _108 === void 0 ? void 0 : _108.onAdsFromVideo) === null || _109 === void 0 ? void 0 : _109.normal) !== null && _110 !== void 0 ? _110 : 0),
237
- tax: isNil ? 0 : (0, lodash_1.round)(((_113 = (_112 = (_111 = payload.tax) === null || _111 === void 0 ? void 0 : _111.onAdsFromVideo) === null || _112 === void 0 ? void 0 : _112.normal) !== null && _113 !== void 0 ? _113 : 0) * 0.15),
238
- },
239
- },
240
- bailiff: {
241
- tax: isNil ? 0 : (0, lodash_1.round)((_116 = (_115 = (_114 = payload.tax) === null || _114 === void 0 ? void 0 : _114.bailiff) === null || _115 === void 0 ? void 0 : _115.tax) !== null && _116 !== void 0 ? _116 : 0),
242
- count: isNil ? 0 : (0, lodash_1.round)((_119 = (_118 = (_117 = payload.tax) === null || _117 === void 0 ? void 0 : _117.bailiff) === null || _118 === void 0 ? void 0 : _118.count) !== null && _119 !== void 0 ? _119 : 0),
243
- },
244
- development: isNil ? 0 : (0, lodash_1.round)((_121 = (_120 = payload.tax) === null || _120 === void 0 ? void 0 : _120.development) !== null && _121 !== void 0 ? _121 : 0),
245
- publicity: isNil ? 0 : (0, lodash_1.round)((_123 = (_122 = payload.tax) === null || _122 === void 0 ? void 0 : _122.publicity) !== null && _123 !== void 0 ? _123 : 0),
246
- onCompanySurplus: isNil ? 0 : (0, lodash_1.round)((_125 = (_124 = payload.tax) === null || _124 === void 0 ? void 0 : _124.onCompanySurplus) !== null && _125 !== void 0 ? _125 : 0),
247
- onPublicElectricity: isNil ? 0 : (0, lodash_1.round)((_127 = (_126 = payload.tax) === null || _126 === void 0 ? void 0 : _126.onPublicElectricity) !== null && _127 !== void 0 ? _127 : 0),
248
- onCanceledOrders: isNil ? 0 : (0, lodash_1.round)((_129 = (_128 = payload.tax) === null || _128 === void 0 ? void 0 : _128.onCanceledOrders) !== null && _129 !== void 0 ? _129 : 0),
249
- specialDue: isNil ? 0 : (0, lodash_1.round)((_131 = (_130 = payload.tax) === null || _130 === void 0 ? void 0 : _130.specialDue) !== null && _131 !== void 0 ? _131 : 0),
250
- slaughter: isNil ? 0 : (0, lodash_1.round)((_133 = (_132 = payload.tax) === null || _132 === void 0 ? void 0 : _132.slaughter) !== null && _133 !== void 0 ? _133 : 0),
251
- cutting: isNil ? 0 : (0, lodash_1.round)((_135 = (_134 = payload.tax) === null || _134 === void 0 ? void 0 : _134.cutting) !== null && _135 !== void 0 ? _135 : 0),
252
- substances: isNil ? 0 : (0, lodash_1.round)((_137 = (_136 = payload.tax) === null || _136 === void 0 ? void 0 : _136.substances) !== null && _137 !== void 0 ? _137 : 0),
253
- fishing: isNil ? 0 : (0, lodash_1.round)((_139 = (_138 = payload.tax) === null || _138 === void 0 ? void 0 : _138.fishing) !== null && _139 !== void 0 ? _139 : 0),
254
- fishingProduct: isNil ? 0 : (0, lodash_1.round)((_141 = (_140 = payload.tax) === null || _140 === void 0 ? void 0 : _140.fishingProduct) !== null && _141 !== void 0 ? _141 : 0),
255
- agreement: isNil ? 0 : (0, lodash_1.round)((_143 = (_142 = payload.tax) === null || _142 === void 0 ? void 0 : _142.agreement) !== null && _143 !== void 0 ? _143 : 0),
205
+ reduced: isNil ? 0 : (0, lodash_1.round)((_72 = (_71 = (_70 = payload.tax) === null || _70 === void 0 ? void 0 : _70.payingVideo) === null || _71 === void 0 ? void 0 : _71.reduced) !== null && _72 !== void 0 ? _72 : 0),
206
+ normal: isNil ? 0 : (0, lodash_1.round)((_75 = (_74 = (_73 = payload.tax) === null || _73 === void 0 ? void 0 : _73.payingVideo) === null || _74 === void 0 ? void 0 : _74.normal) !== null && _75 !== void 0 ? _75 : 0),
207
+ },
208
+ freeVideo: {
209
+ reduce: isNil ? 0 : (0, lodash_1.round)((_78 = (_77 = (_76 = payload.tax) === null || _76 === void 0 ? void 0 : _76.freeVideo) === null || _77 === void 0 ? void 0 : _77.reduced) !== null && _78 !== void 0 ? _78 : 0),
210
+ normal: isNil ? 0 : (0, lodash_1.round)((_81 = (_80 = (_79 = payload.tax) === null || _79 === void 0 ? void 0 : _79.freeVideo) === null || _80 === void 0 ? void 0 : _80.normal) !== null && _81 !== void 0 ? _81 : 0),
211
+ },
212
+ bailiff: isNil ? 0 : (0, lodash_1.round)((_83 = (_82 = payload.tax) === null || _82 === void 0 ? void 0 : _82.bailiff) !== null && _83 !== void 0 ? _83 : 0),
213
+ contribution: isNil ? 0 : (0, lodash_1.round)((_85 = (_84 = payload.tax) === null || _84 === void 0 ? void 0 : _84.contribution) !== null && _85 !== void 0 ? _85 : 0),
214
+ ofEmployer: isNil ? 0 : (0, lodash_1.round)((_87 = (_86 = payload.tax) === null || _86 === void 0 ? void 0 : _86.ofEmployer) !== null && _87 !== void 0 ? _87 : 0),
215
+ onBoardingCorse: isNil ? 0 : (0, lodash_1.round)((_89 = (_88 = payload.tax) === null || _88 === void 0 ? void 0 : _88.onBoardingCorse) !== null && _89 !== void 0 ? _89 : 0),
216
+ onBoarding: isNil ? 0 : (0, lodash_1.round)((_91 = (_90 = payload.tax) === null || _90 === void 0 ? void 0 : _90.onBoarding) !== null && _91 !== void 0 ? _91 : 0),
217
+ development: isNil ? 0 : (0, lodash_1.round)((_93 = (_92 = payload.tax) === null || _92 === void 0 ? void 0 : _92.development) !== null && _93 !== void 0 ? _93 : 0),
218
+ publicity: isNil ? 0 : (0, lodash_1.round)((_95 = (_94 = payload.tax) === null || _94 === void 0 ? void 0 : _94.publicity) !== null && _95 !== void 0 ? _95 : 0),
219
+ onCompanySurplus: isNil ? 0 : (0, lodash_1.round)((_97 = (_96 = payload.tax) === null || _96 === void 0 ? void 0 : _96.onCompanySurplus) !== null && _97 !== void 0 ? _97 : 0),
220
+ onPublicElectricity: isNil ? 0 : (0, lodash_1.round)((_99 = (_98 = payload.tax) === null || _98 === void 0 ? void 0 : _98.onPublicElectricity) !== null && _99 !== void 0 ? _99 : 0),
221
+ onCanceledOrders: isNil ? 0 : (0, lodash_1.round)((_101 = (_100 = payload.tax) === null || _100 === void 0 ? void 0 : _100.onCanceledOrders) !== null && _101 !== void 0 ? _101 : 0),
222
+ specialDue: isNil ? 0 : (0, lodash_1.round)((_103 = (_102 = payload.tax) === null || _102 === void 0 ? void 0 : _102.specialDue) !== null && _103 !== void 0 ? _103 : 0),
223
+ slaughter: isNil ? 0 : (0, lodash_1.round)((_105 = (_104 = payload.tax) === null || _104 === void 0 ? void 0 : _104.slaughter) !== null && _105 !== void 0 ? _105 : 0),
224
+ cutting: isNil ? 0 : (0, lodash_1.round)((_107 = (_106 = payload.tax) === null || _106 === void 0 ? void 0 : _106.cutting) !== null && _107 !== void 0 ? _107 : 0),
225
+ substances: isNil ? 0 : (0, lodash_1.round)((_109 = (_108 = payload.tax) === null || _108 === void 0 ? void 0 : _108.substances) !== null && _109 !== void 0 ? _109 : 0),
226
+ fishing: isNil ? 0 : (0, lodash_1.round)((_111 = (_110 = payload.tax) === null || _110 === void 0 ? void 0 : _110.fishing) !== null && _111 !== void 0 ? _111 : 0),
227
+ fishingProduct: isNil ? 0 : (0, lodash_1.round)((_113 = (_112 = payload.tax) === null || _112 === void 0 ? void 0 : _112.fishingProduct) !== null && _113 !== void 0 ? _113 : 0),
228
+ agreement: isNil ? 0 : (0, lodash_1.round)((_115 = (_114 = payload.tax) === null || _114 === void 0 ? void 0 : _114.agreement) !== null && _115 !== void 0 ? _115 : 0),
256
229
  phyto: {
257
- onCirculation: isNil ? 0 : (0, lodash_1.round)((_146 = (_145 = (_144 = payload.tax) === null || _144 === void 0 ? void 0 : _144.phyto) === null || _145 === void 0 ? void 0 : _145.onCirculation) !== null && _146 !== void 0 ? _146 : 0),
258
- onExportation: isNil ? 0 : (0, lodash_1.round)((_149 = (_148 = (_147 = payload.tax) === null || _147 === void 0 ? void 0 : _147.phyto) === null || _148 === void 0 ? void 0 : _148.onExportation) !== null && _149 !== void 0 ? _149 : 0),
259
- total: isNil ? 0 : (0, lodash_1.round)((_152 = (_151 = (_150 = payload.tax) === null || _150 === void 0 ? void 0 : _150.phyto) === null || _151 === void 0 ? void 0 : _151.total) !== null && _152 !== void 0 ? _152 : 0),
230
+ onCirculation: isNil ? 0 : (0, lodash_1.round)((_118 = (_117 = (_116 = payload.tax) === null || _116 === void 0 ? void 0 : _116.phyto) === null || _117 === void 0 ? void 0 : _117.onCirculation) !== null && _118 !== void 0 ? _118 : 0),
231
+ onExportation: isNil ? 0 : (0, lodash_1.round)((_121 = (_120 = (_119 = payload.tax) === null || _119 === void 0 ? void 0 : _119.phyto) === null || _120 === void 0 ? void 0 : _120.onExportation) !== null && _121 !== void 0 ? _121 : 0),
232
+ total: isNil ? 0 : (0, lodash_1.round)((_124 = (_123 = (_122 = payload.tax) === null || _122 === void 0 ? void 0 : _122.phyto) === null || _123 === void 0 ? void 0 : _123.total) !== null && _124 !== void 0 ? _124 : 0),
260
233
  },
261
234
  onPreciousMetal: {
262
- normalRate: isNil ? 0 : (0, lodash_1.round)((_155 = (_154 = (_153 = payload.tax) === null || _153 === void 0 ? void 0 : _153.onPreciousMetal) === null || _154 === void 0 ? void 0 : _154.normalRate) !== null && _155 !== void 0 ? _155 : 0),
263
- reduceRate: isNil ? 0 : (0, lodash_1.round)((_158 = (_157 = (_156 = payload.tax) === null || _156 === void 0 ? void 0 : _156.onPreciousMetal) === null || _157 === void 0 ? void 0 : _157.reduceRate) !== null && _158 !== void 0 ? _158 : 0),
264
- },
265
- onContribution: isNil ? 0 : (0, lodash_1.round)((_160 = (_159 = payload.tax) === null || _159 === void 0 ? void 0 : _159.onContribution) !== null && _160 !== void 0 ? _160 : 0),
266
- onSaleAntiquity: isNil ? 0 : (0, lodash_1.round)((_162 = (_161 = payload.tax) === null || _161 === void 0 ? void 0 : _161.onSaleAntiquity) !== null && _162 !== void 0 ? _162 : 0),
267
- onYearly: isNil ? 0 : (0, lodash_1.round)((_164 = (_163 = payload.tax) === null || _163 === void 0 ? void 0 : _163.onYearly) !== null && _164 !== void 0 ? _164 : 0),
268
- onCO2: isNil ? 0 : (0, lodash_1.round)((_166 = (_165 = payload.tax) === null || _165 === void 0 ? void 0 : _165.onCO2) !== null && _166 !== void 0 ? _166 : 0),
269
- oldVehicle: isNil ? 0 : (0, lodash_1.round)((_168 = (_167 = payload.tax) === null || _167 === void 0 ? void 0 : _167.oldVehicle) !== null && _168 !== void 0 ? _168 : 0),
270
- profit: isNil ? 0 : (0, lodash_1.round)((_170 = (_169 = payload.tax) === null || _169 === void 0 ? void 0 : _169.profit) !== null && _170 !== void 0 ? _170 : 0),
271
- social: isNil ? 0 : (0, lodash_1.round)((_172 = (_171 = payload.tax) === null || _171 === void 0 ? void 0 : _171.social) !== null && _172 !== void 0 ? _172 : 0),
272
- fromOtherCountry: isNil ? 0 : (0, lodash_1.round)((_174 = (_173 = payload.tax) === null || _173 === void 0 ? void 0 : _173.fromOtherCountry) !== null && _174 !== void 0 ? _174 : 0),
273
- trottingRace: isNil ? 0 : (0, lodash_1.round)((_176 = (_175 = payload.tax) === null || _175 === void 0 ? void 0 : _175.trottingRace) !== null && _176 !== void 0 ? _176 : 0),
274
- gallopRace: isNil ? 0 : (0, lodash_1.round)((_178 = (_177 = payload.tax) === null || _177 === void 0 ? void 0 : _177.gallopRace) !== null && _178 !== void 0 ? _178 : 0),
275
- sportBetting: isNil ? 0 : (0, lodash_1.round)((_180 = (_179 = payload.tax) === null || _179 === void 0 ? void 0 : _179.sportBetting) !== null && _180 !== void 0 ? _180 : 0),
276
- sportBettingSocial: isNil ? 0 : (0, lodash_1.round)((_182 = (_181 = payload.tax) === null || _181 === void 0 ? void 0 : _181.sportBettingSocial) !== null && _182 !== void 0 ? _182 : 0),
277
- sportBettingSport: isNil ? 0 : (0, lodash_1.round)((_184 = (_183 = payload.tax) === null || _183 === void 0 ? void 0 : _183.sportBettingSport) !== null && _184 !== void 0 ? _184 : 0),
278
- sportBettingCommercial: isNil ? 0 : (0, lodash_1.round)((_186 = (_185 = payload.tax) === null || _185 === void 0 ? void 0 : _185.sportBettingCommercial) !== null && _186 !== void 0 ? _186 : 0),
279
- sportBettingCommercialSocial: isNil ? 0 : (0, lodash_1.round)((_188 = (_187 = payload.tax) === null || _187 === void 0 ? void 0 : _187.sportBettingCommercialSocial) !== null && _188 !== void 0 ? _188 : 0),
280
- sportBettingCommercialSport: isNil ? 0 : (0, lodash_1.round)((_190 = (_189 = payload.tax) === null || _189 === void 0 ? void 0 : _189.sportBettingCommercialSport) !== null && _190 !== void 0 ? _190 : 0),
281
- onlineGame: isNil ? 0 : (0, lodash_1.round)((_192 = (_191 = payload.tax) === null || _191 === void 0 ? void 0 : _191.onlineGame) !== null && _192 !== void 0 ? _192 : 0),
282
- onlineGameSocial: isNil ? 0 : (0, lodash_1.round)((_194 = (_193 = payload.tax) === null || _193 === void 0 ? void 0 : _193.onlineGameSocial) !== null && _194 !== void 0 ? _194 : 0),
283
- fuelExploration: isNil ? 0 : (0, lodash_1.round)((_196 = (_195 = payload.tax) === null || _195 === void 0 ? void 0 : _195.fuelExploration) !== null && _196 !== void 0 ? _196 : 0),
284
- nonAlcool: isNil ? 0 : (0, lodash_1.round)((_198 = (_197 = payload.tax) === null || _197 === void 0 ? void 0 : _197.nonAlcool) !== null && _198 !== void 0 ? _198 : 0),
285
- nonAlcoolWithSugar: isNil ? 0 : (0, lodash_1.round)((_200 = (_199 = payload.tax) === null || _199 === void 0 ? void 0 : _199.nonAlcoolWithSugar) !== null && _200 !== void 0 ? _200 : 0),
286
- nonAlcoolWithEdul: isNil ? 0 : (0, lodash_1.round)((_202 = (_201 = payload.tax) === null || _201 === void 0 ? void 0 : _201.nonAlcoolWithEdul) !== null && _202 !== void 0 ? _202 : 0),
287
- mineralWater: isNil ? 0 : (0, lodash_1.round)((_204 = (_203 = payload.tax) === null || _203 === void 0 ? void 0 : _203.mineralWater) !== null && _204 !== void 0 ? _204 : 0),
288
- numericalService: isNil ? 0 : (0, lodash_1.round)((_206 = (_205 = payload.tax) === null || _205 === void 0 ? void 0 : _205.numericalService) !== null && _206 !== void 0 ? _206 : 0),
289
- platform: isNil ? 0 : (0, lodash_1.round)((_208 = (_207 = payload.tax) === null || _207 === void 0 ? void 0 : _207.platform) !== null && _208 !== void 0 ? _208 : 0),
235
+ normalRate: isNil ? 0 : (0, lodash_1.round)((_127 = (_126 = (_125 = payload.tax) === null || _125 === void 0 ? void 0 : _125.onPreciousMetal) === null || _126 === void 0 ? void 0 : _126.normalRate) !== null && _127 !== void 0 ? _127 : 0),
236
+ reduceRate: isNil ? 0 : (0, lodash_1.round)((_130 = (_129 = (_128 = payload.tax) === null || _128 === void 0 ? void 0 : _128.onPreciousMetal) === null || _129 === void 0 ? void 0 : _129.reduceRate) !== null && _130 !== void 0 ? _130 : 0),
237
+ },
238
+ onContribution: isNil ? 0 : (0, lodash_1.round)((_132 = (_131 = payload.tax) === null || _131 === void 0 ? void 0 : _131.onContribution) !== null && _132 !== void 0 ? _132 : 0),
239
+ onSaleAntiquity: isNil ? 0 : (0, lodash_1.round)((_134 = (_133 = payload.tax) === null || _133 === void 0 ? void 0 : _133.onSaleAntiquity) !== null && _134 !== void 0 ? _134 : 0),
240
+ onYearly: isNil ? 0 : (0, lodash_1.round)((_136 = (_135 = payload.tax) === null || _135 === void 0 ? void 0 : _135.onYearly) !== null && _136 !== void 0 ? _136 : 0),
241
+ onCO2: isNil ? 0 : (0, lodash_1.round)((_138 = (_137 = payload.tax) === null || _137 === void 0 ? void 0 : _137.onCO2) !== null && _138 !== void 0 ? _138 : 0),
242
+ oldVehicle: isNil ? 0 : (0, lodash_1.round)((_140 = (_139 = payload.tax) === null || _139 === void 0 ? void 0 : _139.oldVehicle) !== null && _140 !== void 0 ? _140 : 0),
243
+ profit: isNil ? 0 : (0, lodash_1.round)((_142 = (_141 = payload.tax) === null || _141 === void 0 ? void 0 : _141.profit) !== null && _142 !== void 0 ? _142 : 0),
244
+ social: isNil ? 0 : (0, lodash_1.round)((_144 = (_143 = payload.tax) === null || _143 === void 0 ? void 0 : _143.social) !== null && _144 !== void 0 ? _144 : 0),
245
+ fromOtherCountry: isNil ? 0 : (0, lodash_1.round)((_146 = (_145 = payload.tax) === null || _145 === void 0 ? void 0 : _145.fromOtherCountry) !== null && _146 !== void 0 ? _146 : 0),
246
+ trottingRace: isNil ? 0 : (0, lodash_1.round)((_148 = (_147 = payload.tax) === null || _147 === void 0 ? void 0 : _147.trottingRace) !== null && _148 !== void 0 ? _148 : 0),
247
+ gallopRace: isNil ? 0 : (0, lodash_1.round)((_150 = (_149 = payload.tax) === null || _149 === void 0 ? void 0 : _149.gallopRace) !== null && _150 !== void 0 ? _150 : 0),
248
+ sportBetting: isNil ? 0 : (0, lodash_1.round)((_152 = (_151 = payload.tax) === null || _151 === void 0 ? void 0 : _151.sportBetting) !== null && _152 !== void 0 ? _152 : 0),
249
+ sportBettingSocial: isNil ? 0 : (0, lodash_1.round)((_154 = (_153 = payload.tax) === null || _153 === void 0 ? void 0 : _153.sportBettingSocial) !== null && _154 !== void 0 ? _154 : 0),
250
+ sportBettingSport: isNil ? 0 : (0, lodash_1.round)((_156 = (_155 = payload.tax) === null || _155 === void 0 ? void 0 : _155.sportBettingSport) !== null && _156 !== void 0 ? _156 : 0),
251
+ sportBettingCommercial: isNil ? 0 : (0, lodash_1.round)((_158 = (_157 = payload.tax) === null || _157 === void 0 ? void 0 : _157.sportBettingCommercial) !== null && _158 !== void 0 ? _158 : 0),
252
+ sportBettingCommercialSocial: isNil ? 0 : (0, lodash_1.round)((_160 = (_159 = payload.tax) === null || _159 === void 0 ? void 0 : _159.sportBettingCommercialSocial) !== null && _160 !== void 0 ? _160 : 0),
253
+ sportBettingCommercialSport: isNil ? 0 : (0, lodash_1.round)((_162 = (_161 = payload.tax) === null || _161 === void 0 ? void 0 : _161.sportBettingCommercialSport) !== null && _162 !== void 0 ? _162 : 0),
254
+ onlineGame: isNil ? 0 : (0, lodash_1.round)((_164 = (_163 = payload.tax) === null || _163 === void 0 ? void 0 : _163.onlineGame) !== null && _164 !== void 0 ? _164 : 0),
255
+ onlineGameSocial: isNil ? 0 : (0, lodash_1.round)((_166 = (_165 = payload.tax) === null || _165 === void 0 ? void 0 : _165.onlineGameSocial) !== null && _166 !== void 0 ? _166 : 0),
256
+ fuelExploration: isNil ? 0 : (0, lodash_1.round)((_168 = (_167 = payload.tax) === null || _167 === void 0 ? void 0 : _167.fuelExploration) !== null && _168 !== void 0 ? _168 : 0),
257
+ nonAlcool: isNil ? 0 : (0, lodash_1.round)((_170 = (_169 = payload.tax) === null || _169 === void 0 ? void 0 : _169.nonAlcool) !== null && _170 !== void 0 ? _170 : 0),
258
+ nonAlcoolWithSugar: isNil ? 0 : (0, lodash_1.round)((_172 = (_171 = payload.tax) === null || _171 === void 0 ? void 0 : _171.nonAlcoolWithSugar) !== null && _172 !== void 0 ? _172 : 0),
259
+ nonAlcoolWithEdul: isNil ? 0 : (0, lodash_1.round)((_174 = (_173 = payload.tax) === null || _173 === void 0 ? void 0 : _173.nonAlcoolWithEdul) !== null && _174 !== void 0 ? _174 : 0),
260
+ mineralWater: isNil ? 0 : (0, lodash_1.round)((_176 = (_175 = payload.tax) === null || _175 === void 0 ? void 0 : _175.mineralWater) !== null && _176 !== void 0 ? _176 : 0),
261
+ numericalService: isNil ? 0 : (0, lodash_1.round)((_178 = (_177 = payload.tax) === null || _177 === void 0 ? void 0 : _177.numericalService) !== null && _178 !== void 0 ? _178 : 0),
262
+ platform: isNil ? 0 : (0, lodash_1.round)((_180 = (_179 = payload.tax) === null || _179 === void 0 ? void 0 : _179.platform) !== null && _180 !== void 0 ? _180 : 0),
290
263
  total: 0, // Calculé plus bas
291
264
  },
292
265
  tic: {
@@ -317,9 +290,9 @@ function getCerfa3517Century26Payload(accountingEntries, payload) {
317
290
  },
318
291
  recapitulation: {
319
292
  balance: 0, // Calculé plus bas
320
- refund: isNil ? 0 : (0, lodash_1.round)((_210 = (_209 = payload.refund) === null || _209 === void 0 ? void 0 : _209.asked) !== null && _210 !== void 0 ? _210 : 0),
293
+ refund: isNil ? 0 : (0, lodash_1.round)((_182 = (_181 = payload.refund) === null || _181 === void 0 ? void 0 : _181.asked) !== null && _182 !== void 0 ? _182 : 0),
321
294
  creditToReport: 0, // Calculé plus bas
322
- imputedCredit: isNil ? 0 : (0, lodash_1.round)((_212 = (_211 = payload.recapitulation) === null || _211 === void 0 ? void 0 : _211.imputedCredit) !== null && _212 !== void 0 ? _212 : 0),
295
+ imputedCredit: isNil ? 0 : (0, lodash_1.round)((_184 = (_183 = payload.recapitulation) === null || _183 === void 0 ? void 0 : _183.imputedCredit) !== null && _184 !== void 0 ? _184 : 0),
323
296
  ticRefunded: 0, // Calculé plus bas
324
297
  imputeOnVat: 0, // Calculé plus bas
325
298
  vatNetDue: 0, // Calculé plus bas
@@ -336,20 +309,20 @@ function getCerfa3517Century26Payload(accountingEntries, payload) {
336
309
  },
337
310
  total: 0, // Calculé plus bas
338
311
  refund: {
339
- creditRefundable: 0, // Calculé plus bas
312
+ creditRefundable: shouldFillRefund ? (isNil ? 0 : (0, lodash_1.round)((_186 = (_185 = payload.refund) === null || _185 === void 0 ? void 0 : _185.creditRefundable) !== null && _186 !== void 0 ? _186 : 0)) : 0,
340
313
  surplus: 0, // Calculé plus bas
341
314
  maximum: 0, // Calculé plus bas
342
- asked: isNil ? 0 : (0, lodash_1.round)((_214 = (_213 = payload.refund) === null || _213 === void 0 ? void 0 : _213.asked) !== null && _214 !== void 0 ? _214 : 0),
315
+ asked: isNil ? 0 : (0, lodash_1.round)((_188 = (_187 = payload.refund) === null || _187 === void 0 ? void 0 : _187.asked) !== null && _188 !== void 0 ? _188 : 0),
343
316
  reportable: 0, //
344
317
  place: shouldFillRefund ? payload.society.city : null,
345
318
  date: shouldFillRefund ? dayjs().format('YYYY-MM-DD') : null,
346
319
  shouldCredit: true,
347
320
  shouldImpute: false,
348
- name: shouldFillRefund ? `${(_215 = payload.owner) === null || _215 === void 0 ? void 0 : _215.firstname} ${(_216 = payload.owner) === null || _216 === void 0 ? void 0 : _216.lastname}` : null,
321
+ name: shouldFillRefund ? `${(_189 = payload.owner) === null || _189 === void 0 ? void 0 : _189.firstname} ${(_190 = payload.owner) === null || _190 === void 0 ? void 0 : _190.lastname}` : null,
349
322
  },
350
323
  bankAccount: {
351
- iban: (_218 = (_217 = payload.details) === null || _217 === void 0 ? void 0 : _217.iban) !== null && _218 !== void 0 ? _218 : null,
352
- bic: (_220 = (_219 = payload.details) === null || _219 === void 0 ? void 0 : _219.bic) !== null && _220 !== void 0 ? _220 : null,
324
+ iban: (_192 = (_191 = payload.details) === null || _191 === void 0 ? void 0 : _191.iban) !== null && _192 !== void 0 ? _192 : null,
325
+ bic: (_194 = (_193 = payload.details) === null || _193 === void 0 ? void 0 : _193.bic) !== null && _194 !== void 0 ? _194 : null,
353
326
  },
354
327
  };
355
328
  data.vat.total.tax =
@@ -388,16 +361,16 @@ function getCerfa3517Century26Payload(accountingEntries, payload) {
388
361
  data.net.surplus = data.net.advance.total - data.net.due > 0 ? data.net.advance.total - data.net.due : 0;
389
362
  data.net.balanceSurplus = data.net.credit + data.net.surplus;
390
363
  data.tax.total =
391
- data.tax.onRetransmission.tax +
364
+ data.tax.onRetransmission +
392
365
  data.tax.onResultFarm +
393
- data.tax.payingVideo.reduced.tax +
394
- data.tax.payingVideo.normal.tax +
395
- data.tax.videoOnAsk.reduced.tax +
396
- data.tax.videoOnAsk.normal.tax +
397
- data.tax.onAdsFromVideo.reduced.tax +
398
- data.tax.onAdsFromVideo.normal.tax +
399
- data.tax.bailiff.tax +
366
+ data.tax.payingVideo.reduced +
367
+ data.tax.payingVideo.normal +
368
+ data.tax.freeVideo.reduce +
369
+ data.tax.freeVideo.normal +
370
+ data.tax.bailiff +
400
371
  data.tax.contribution +
372
+ data.tax.ofEmployer +
373
+ data.tax.onBoardingCorse +
401
374
  data.tax.onBoarding +
402
375
  data.tax.development +
403
376
  data.tax.publicity +
@@ -450,7 +423,6 @@ function getCerfa3517Century26Payload(accountingEntries, payload) {
450
423
  data.recapitulation.assimiledTax = data.tax.total;
451
424
  data.recapitulation.toPay =
452
425
  data.recapitulation.vatNetDue + data.recapitulation.assimiledTax + data.recapitulation.consumsion;
453
- data.refund.creditRefundable = shouldFillRefund ? data.net.credit : 0;
454
426
  data.refund.surplus = shouldFillRefund ? data.net.surplus : 0;
455
427
  data.refund.maximum = shouldFillRefund ? data.refund.creditRefundable + data.refund.surplus : 0;
456
428
  data.refund.reportable =
@@ -458,8 +430,8 @@ function getCerfa3517Century26Payload(accountingEntries, payload) {
458
430
  data.total = (0, utils_1.setZeroIfIsNegative)(data.vat.total.tax - (data.vat.saleOfImmobilization.tax + data.vat.ownDelivery.tax + data.deductible.total1));
459
431
  return data;
460
432
  }
461
- function getCerfa3517Century26RegistrationField(data) {
462
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
433
+ function getCerfa3517CenturyRegistrationField(data) {
434
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
463
435
  const comment = (0, utils_1.textFormatting)(data.declaration.comment);
464
436
  return [
465
437
  {
@@ -546,7 +518,7 @@ function getCerfa3517Century26RegistrationField(data) {
546
518
  key: 'BD',
547
519
  isMultiple: false,
548
520
  tag: 'Valeur',
549
- description: 'Taxe annuelle sur les émissions de polluants atmosphériques des véhicules de tourisme',
521
+ description: 'Taxe sur les émissions de polluants atmosphériques due au titre de 2022 (CGI, art. 1010) 911630 70C',
550
522
  value: data.tax.oldVehicle,
551
523
  },
552
524
  {
@@ -609,6 +581,13 @@ function getCerfa3517Century26RegistrationField(data) {
609
581
  description: "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",
610
582
  value: data.tax.specialDue,
611
583
  },
584
+ {
585
+ key: 'CH',
586
+ isMultiple: false,
587
+ tag: 'Valeur',
588
+ description: 'TICFE - Taxe due 912244 ',
589
+ value: data.tic.ticfe.tax && data.tic.ticfe.tax > 0 ? data.tic.ticfe.tax : null,
590
+ },
612
591
  {
613
592
  key: 'CJ',
614
593
  isMultiple: false,
@@ -931,6 +910,13 @@ function getCerfa3517Century26RegistrationField(data) {
931
910
  description: 'TICCE - crédit imputé sur la TVA 912237 ',
932
911
  value: data.tic.ticc.imputed && data.tic.ticc.imputed > 0 ? data.tic.ticc.imputed : null,
933
912
  },
913
+ {
914
+ key: 'HH',
915
+ isMultiple: false,
916
+ tag: 'Valeur',
917
+ description: 'TICGN - Taxe due 912245 ',
918
+ value: data.tic.ticgn.tax && data.tic.ticgn.tax > 0 ? data.tic.ticgn.tax : null,
919
+ },
934
920
  {
935
921
  key: 'JA',
936
922
  isMultiple: false,
@@ -943,7 +929,7 @@ function getCerfa3517Century26RegistrationField(data) {
943
929
  isMultiple: false,
944
930
  tag: 'Valeur',
945
931
  description: "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",
946
- value: data.deductible.rate !== 100 ? data.deductible.rate : data.isNil ? 100 : null,
932
+ value: data.deductible.rate !== 100 ? data.deductible.rate : null,
947
933
  },
948
934
  {
949
935
  key: 'JE',
@@ -959,6 +945,13 @@ function getCerfa3517Century26RegistrationField(data) {
959
945
  description: 'TOTAL - crédit imputé sur la TVA 912252 ',
960
946
  value: data.tic.total.imputed && data.tic.total.imputed > 0 ? data.tic.total.imputed : null,
961
947
  },
948
+ {
949
+ key: 'JH',
950
+ isMultiple: false,
951
+ tag: 'Valeur',
952
+ description: 'TICCE - Taxe due 912246 ',
953
+ value: data.tic.ticc.tax && data.tic.ticc.tax > 0 ? data.tic.ticc.tax : null,
954
+ },
962
955
  {
963
956
  key: 'KA',
964
957
  isMultiple: false,
@@ -1109,25 +1102,25 @@ function getCerfa3517Century26RegistrationField(data) {
1109
1102
  value: data.tic.ticfe.refund && data.tic.ticfe.refund > 0 ? data.tic.ticfe.refund : null,
1110
1103
  },
1111
1104
  {
1112
- key: 'QA',
1105
+ key: 'NU',
1113
1106
  isMultiple: false,
1114
1107
  tag: 'Valeur',
1115
- description: "Taxe sur la cession de droits d'exploitation audiovisuels des manifestations sportives au taux de 5 % (CIBS, art. L455-28)",
1116
- value: data.tax.onRetransmission.tax,
1108
+ description: 'TICFE - crédit constaté 912248 ',
1109
+ value: data.tic.ticfe.credit && data.tic.ticfe.credit > 0 ? data.tic.ticfe.credit : null,
1117
1110
  },
1118
1111
  {
1119
- key: 'ZR',
1112
+ key: 'QA',
1120
1113
  isMultiple: false,
1121
1114
  tag: 'Valeur',
1122
- description: "Base imposable sur la taxe sur la cession de droits d'exploitation audiovisuels des manifestations sportives au taux de 5 % (CIBS, art. L455-28)",
1123
- value: data.tax.onRetransmission.base,
1115
+ description: 'Taxe sur les retransmissions sportives 100023 36',
1116
+ value: data.tax.onRetransmission,
1124
1117
  },
1125
1118
  {
1126
1119
  key: 'QH',
1127
1120
  isMultiple: false,
1128
1121
  tag: 'Valeur',
1129
1122
  description: 'Taxe sur les actes des huissiers de justice 100036 44',
1130
- value: data.tax.bailiff.tax,
1123
+ value: data.tax.bailiff,
1131
1124
  },
1132
1125
  {
1133
1126
  key: 'QS',
@@ -1171,6 +1164,20 @@ function getCerfa3517Century26RegistrationField(data) {
1171
1164
  description: 'Crédit imputé sur le ou les prochains acomptes 100224 52',
1172
1165
  value: data.recapitulation.ticRefunded,
1173
1166
  },
1167
+ {
1168
+ key: 'RF',
1169
+ isMultiple: false,
1170
+ tag: 'Valeur',
1171
+ description: 'Taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre onéreux au taux de 5,15 % 902441 42',
1172
+ value: (_e = data.tax.payingVideo) === null || _e === void 0 ? void 0 : _e.reduced,
1173
+ },
1174
+ {
1175
+ key: 'RG',
1176
+ isMultiple: false,
1177
+ tag: 'Valeur',
1178
+ description: 'Taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre onéreux au taux de 15 % 902437 43',
1179
+ value: (_f = data.tax.payingVideo) === null || _f === void 0 ? void 0 : _f.normal,
1180
+ },
1174
1181
  {
1175
1182
  key: 'RN',
1176
1183
  isMultiple: false,
@@ -1207,18 +1214,25 @@ function getCerfa3517Century26RegistrationField(data) {
1207
1214
  value: data.isNil ? 'X' : null,
1208
1215
  },
1209
1216
  {
1210
- key: 'BK',
1217
+ key: 'SH',
1218
+ isMultiple: false,
1211
1219
  tag: 'Valeur',
1220
+ description: "Total des droits de la taxe sur l'exploration d'hydrocarbures (CGI, art 1590) 909352 85",
1221
+ value: data.tax.fuelExploration,
1222
+ },
1223
+ {
1224
+ key: 'SQ',
1212
1225
  isMultiple: false,
1213
- description: 'Autres',
1214
- value: comment && comment.length > 0 ? 'X' : null,
1226
+ tag: 'Valeur',
1227
+ description: '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',
1228
+ value: (_h = (_g = data.tax.freeVideo) === null || _g === void 0 ? void 0 : _g.reduce) !== null && _h !== void 0 ? _h : 0,
1215
1229
  },
1216
1230
  {
1217
- key: 'SH',
1231
+ key: 'SS',
1218
1232
  isMultiple: false,
1219
1233
  tag: 'Valeur',
1220
- description: "Total des droits de la taxe sur l'exploration d'hydrocarbures (CGI, art 1590) 909352 85",
1221
- value: data.tax.fuelExploration,
1234
+ description: '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',
1235
+ value: (_k = (_j = data.tax.freeVideo) === null || _j === void 0 ? void 0 : _j.normal) !== null && _k !== void 0 ? _k : 0,
1222
1236
  },
1223
1237
  {
1224
1238
  key: 'SV',
@@ -1269,6 +1283,13 @@ function getCerfa3517Century26RegistrationField(data) {
1269
1283
  description: 'TICGN - Reliquat de crédit à rembourser 912240 ',
1270
1284
  value: data.tic.ticgn.refund && data.tic.ticgn.refund > 0 ? data.tic.ticgn.refund : null,
1271
1285
  },
1286
+ {
1287
+ key: 'TH',
1288
+ isMultiple: false,
1289
+ tag: 'Valeur',
1290
+ description: 'TICGN - crédit constaté 912249 ',
1291
+ value: data.tic.ticgn.credit && data.tic.ticgn.credit > 0 ? data.tic.ticgn.credit : null,
1292
+ },
1272
1293
  {
1273
1294
  key: 'UB',
1274
1295
  isMultiple: false,
@@ -1297,6 +1318,13 @@ function getCerfa3517Century26RegistrationField(data) {
1297
1318
  description: 'TICCE - Reliquat de crédit à rembourser 912241 ',
1298
1319
  value: data.tic.ticc.refund && data.tic.ticc.refund > 0 ? data.tic.ticc.refund : null,
1299
1320
  },
1321
+ {
1322
+ key: 'UH',
1323
+ isMultiple: false,
1324
+ tag: 'Valeur',
1325
+ description: 'TICCE - crédit constaté 912250 ',
1326
+ value: data.tic.ticc.credit && data.tic.ticc.credit > 0 ? data.tic.ticc.credit : null,
1327
+ },
1300
1328
  {
1301
1329
  key: 'VA',
1302
1330
  isMultiple: false,
@@ -1507,6 +1535,13 @@ function getCerfa3517Century26RegistrationField(data) {
1507
1535
  description: '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',
1508
1536
  value: data.tax.platform,
1509
1537
  },
1538
+ {
1539
+ key: 'XF',
1540
+ isMultiple: false,
1541
+ tag: 'Valeur',
1542
+ description: 'Taxe sur le transport aérien de passagers - Majoration en Corse (CIBS, art. L422-13 et L422-29) - Taxe 912231 45A',
1543
+ value: data.tax.onBoardingCorse,
1544
+ },
1510
1545
  {
1511
1546
  key: 'XG',
1512
1547
  isMultiple: false,
@@ -1528,102 +1563,11 @@ function getCerfa3517Century26RegistrationField(data) {
1528
1563
  description: 'Taxe sur certaines dépenses de publicité (CGI, art. 302 bis MA) 907826 47',
1529
1564
  value: data.tax.publicity,
1530
1565
  },
1531
- {
1532
- key: 'TL',
1533
- isMultiple: false,
1534
- tag: 'Valeur',
1535
- description: 'Taxe sur les vidéogrammes (CIBS, art. L452-28) au taux de 1,8025 % - Base imposable',
1536
- value: (_e = data.tax.payingVideo) === null || _e === void 0 ? void 0 : _e.reduced.base,
1537
- },
1538
- {
1539
- key: 'NX',
1540
- isMultiple: false,
1541
- tag: 'Valeur',
1542
- description: 'Taxe sur les vidéogrammes (CIBS, art. L452-28) au taux de 1,8025 % - Taxe due',
1543
- value: (_f = data.tax.payingVideo) === null || _f === void 0 ? void 0 : _f.reduced.tax,
1544
- },
1545
- {
1546
- key: 'UL',
1547
- isMultiple: false,
1548
- tag: 'Valeur',
1549
- description: 'Taxe sur les vidéogrammes (CIBS, art. L452-28) au taux de 15 % - Base imposable',
1550
- value: (_g = data.tax.payingVideo) === null || _g === void 0 ? void 0 : _g.normal.base,
1551
- },
1552
- {
1553
- key: 'LL',
1554
- isMultiple: false,
1555
- tag: 'Valeur',
1556
- description: 'Taxe sur les vidéogrammes (CIBS, art. L452-28) au taux de 15 % - Taxe due',
1557
- value: (_h = data.tax.payingVideo) === null || _h === void 0 ? void 0 : _h.normal.tax,
1558
- },
1559
- {
1560
- key: 'RF',
1561
- tag: 'Valeur',
1562
- value: (_k = (_j = data.tax.videoOnAsk) === null || _j === void 0 ? void 0 : _j.reduced) === null || _k === void 0 ? void 0 : _k.tax,
1563
- description: 'Taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre onéreux au taux de 5,15 %',
1564
- isMultiple: false,
1565
- },
1566
- {
1567
- key: 'RG',
1568
- isMultiple: false,
1569
- tag: 'Valeur',
1570
- value: (_m = (_l = data.tax.videoOnAsk) === null || _l === void 0 ? void 0 : _l.normal) === null || _m === void 0 ? void 0 : _m.tax,
1571
- description: 'Taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre onéreux au taux de 15 %',
1572
- },
1573
- {
1574
- key: 'SQ',
1575
- isMultiple: false,
1576
- tag: 'Valeur',
1577
- value: (_p = (_o = data.tax.onAdsFromVideo) === null || _o === void 0 ? void 0 : _o.reduced) === null || _p === void 0 ? void 0 : _p.tax,
1578
- description: '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 %',
1579
- },
1580
- {
1581
- key: 'SR',
1582
- isMultiple: false,
1583
- tag: 'Valeur',
1584
- value: (_r = (_q = data.tax.onAdsFromVideo) === null || _q === void 0 ? void 0 : _q.reduced) === null || _r === void 0 ? void 0 : _r.base,
1585
- description: 'Base imposable sur la 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 %',
1586
- },
1587
- {
1588
- key: 'SS',
1589
- isMultiple: false,
1590
- tag: 'Valeur',
1591
- value: (_t = (_s = data.tax.onAdsFromVideo) === null || _s === void 0 ? void 0 : _s.normal) === null || _t === void 0 ? void 0 : _t.tax,
1592
- description: '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 %',
1593
- },
1594
- {
1595
- key: 'ST',
1596
- isMultiple: false,
1597
- tag: 'Valeur',
1598
- value: (_v = (_u = data.tax.onAdsFromVideo) === null || _u === void 0 ? void 0 : _u.normal) === null || _v === void 0 ? void 0 : _v.base,
1599
- description: 'Base imposable sur la 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 %',
1600
- },
1601
- {
1602
- key: 'ZG',
1603
- isMultiple: false,
1604
- tag: 'Valeur',
1605
- value: (_x = (_w = data.tax.videoOnAsk) === null || _w === void 0 ? void 0 : _w.reduced) === null || _x === void 0 ? void 0 : _x.base,
1606
- description: 'Base imposable sur la taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre onéreux au taux de 5,15 %',
1607
- },
1608
- {
1609
- key: 'ZH',
1610
- isMultiple: false,
1611
- tag: 'Valeur',
1612
- value: (_z = (_y = data.tax.videoOnAsk) === null || _y === void 0 ? void 0 : _y.normal) === null || _z === void 0 ? void 0 : _z.base,
1613
- description: 'Base imposable sur la taxe sur la diffusion en vidéo physique et en ligne de contenus audiovisuels à titre onéreux au taux de 15 %',
1614
- },
1615
- {
1616
- key: 'ZJ',
1617
- isMultiple: false,
1618
- tag: 'Valeur',
1619
- value: data.tax.bailiff.count,
1620
- description: 'Base imposable sur la taxe sur les actes des huissiers de justice (CGI, art 302 bis Y)',
1621
- },
1622
1566
  ],
1623
1567
  },
1624
1568
  ];
1625
1569
  }
1626
- function getCerfa3517DDRCentury26RegistrationField(data) {
1570
+ function getCerfa3517DDRCentury23egistrationField(data) {
1627
1571
  if (data.refund.asked > 0) {
1628
1572
  return [
1629
1573
  {
@@ -1674,6 +1618,11 @@ function getCerfa3517DDRCentury26RegistrationField(data) {
1674
1618
  description: 'NAD Nom et prénom du demandeur 100178 ',
1675
1619
  value: (0, utils_1.textFormatting)(data.refund.name, 35),
1676
1620
  },
1621
+ // {
1622
+ // tag: 'DesignationSuite1',
1623
+ // description: 'NAD Qualité du demandeur 100179 ',
1624
+ // value: null,
1625
+ // },
1677
1626
  {
1678
1627
  tag: 'AdresseVille',
1679
1628
  description: 'NAD Lieu de dépôt de la demande 100184 ',
@@ -1776,7 +1725,7 @@ function getCerfa3517DDRCentury26RegistrationField(data) {
1776
1725
  }
1777
1726
  return [];
1778
1727
  }
1779
- exports.cerfa3517Century26Fields = [
1728
+ exports.cerfa3517Century23Fields = [
1780
1729
  {
1781
1730
  sectionName: 'Général',
1782
1731
  childrens: [
@@ -1884,8 +1833,8 @@ exports.cerfa3517Century26Fields = [
1884
1833
  sectionName: 'Décompte des taxes assimilées',
1885
1834
  childrens: [
1886
1835
  {
1887
- label: '36 - Taxe sur la cession de droits d’exploitation audiovisuelle des manifestations sportives au taux de 5 % (CIBS, art. L455-28) (Base Hors-Taxe)',
1888
- key: 'tax.onRetransmission.base',
1836
+ label: '36 - Taxe sur les retransmissions sportives au taux de 5 % (CGI, art. 302 bis ZE)',
1837
+ key: 'tax.onRetransmission',
1889
1838
  type: 'number',
1890
1839
  },
1891
1840
  {
@@ -1894,43 +1843,28 @@ exports.cerfa3517Century26Fields = [
1894
1843
  type: 'number',
1895
1844
  },
1896
1845
  {
1897
- label: '38A - Taxe sur les vidéogrammes (CIBS, art. L452-28) au taux de 1,8025 % (Base Hors-Taxe)',
1898
- key: 'tax.payingVideo.reduced.base',
1899
- type: 'number',
1900
- },
1901
- {
1902
- label: '38B - Taxe sur les vidéogrammes (CIBS, art. L452-28) au taux de 15 % (Base Hors-Taxe)',
1903
- key: 'tax.payingVideo.normal.base',
1904
- type: 'number',
1905
- },
1906
- {
1907
- label: '42 - Taxe sur les services de contenus audiovisuels à la demande (CIBS, art. L453-25) au taux de 5.15% (Base Hors-Taxe)',
1908
- key: 'tax.videoOnAsk.reduced.base',
1846
+ label: '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%',
1847
+ key: 'tax.payingVideo.reduced',
1909
1848
  type: 'number',
1910
1849
  },
1911
1850
  {
1912
- label: '43 - Taxe sur les services de contenus audiovisuels à la demande (CIBS, art. L453-25) au taux de 15% (Base Hors-Taxe)',
1913
- key: 'tax.videoOnAsk.normal.base',
1851
+ label: '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%',
1852
+ key: 'tax.payingVideo.normal',
1914
1853
  type: 'number',
1915
1854
  },
1916
1855
  {
1917
- label: '43A - Taxe sur la la publicité diffusée au moyen de contenus audiovisuels à la demande (CIBS, art. L454-16) au taux de 5.15% (Base Hors-Taxe)',
1918
- key: 'tax.onAdsFromVideo.reduced',
1856
+ label: '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%',
1857
+ key: 'tax.freeVideo.reduced',
1919
1858
  type: 'number',
1920
1859
  },
1921
1860
  {
1922
- label: '43B - Taxe sur la la publicité diffusée au moyen de contenus audiovisuels à la demande (CIBS, art. L454-16) au taux de 15% (Base Hors-Taxe)',
1923
- key: 'tax.onAdsFromVideo.normal',
1924
- type: 'number',
1925
- },
1926
- {
1927
- label: "44 - Taxe sur les actes des huissiers de justice (CGI, art. 302 bis Y) - Nombre d'actes",
1928
- key: 'tax.bailiff.count',
1861
+ label: '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%',
1862
+ key: 'tax.freeVideo.normal',
1929
1863
  type: 'number',
1930
1864
  },
1931
1865
  {
1932
1866
  label: '44 - Taxe sur les actes des huissiers de justice (CGI, art. 302 bis Y)',
1933
- key: 'tax.bailiff.tax',
1867
+ key: 'tax.bailiff',
1934
1868
  type: 'number',
1935
1869
  },
1936
1870
  {
@@ -1943,6 +1877,11 @@ exports.cerfa3517Century26Fields = [
1943
1877
  key: 'tax.ofEmployer',
1944
1878
  type: 'number',
1945
1879
  },
1880
+ {
1881
+ label: '45A - Taxe sur le transport aérien de passagers – Majoration en Corse (CIBS, art. L422-13 et L422-29)',
1882
+ key: 'tax.onBoardingCorse',
1883
+ type: 'number',
1884
+ },
1946
1885
  {
1947
1886
  label: '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)',
1948
1887
  key: 'tax.onBoarding',
@@ -1954,7 +1893,7 @@ exports.cerfa3517Century26Fields = [
1954
1893
  type: 'number',
1955
1894
  },
1956
1895
  {
1957
- label: '47 - Taxe sur la publicité diffusée au moyen de documents imprimés (CIBS, art. L454-29)',
1896
+ label: '47 - Taxe sur certaines dépenses de publicité au taux de 1 % (CGI, art 302 bis MA)',
1958
1897
  key: 'tax.publicity',
1959
1898
  type: 'number',
1960
1899
  },
@@ -2050,7 +1989,7 @@ exports.cerfa3517Century26Fields = [
2050
1989
  type: 'number',
2051
1990
  },
2052
1991
  {
2053
- label: '70C - Taxe annuelle sur les émissions de polluants atmosphériques des véhicules de tourisme',
1992
+ label: '70C - Taxe annuelle sur l’ancienneté des véhicules de tourisme',
2054
1993
  key: 'tax.oldVehicle',
2055
1994
  type: 'number',
2056
1995
  },
@@ -2150,7 +2089,7 @@ exports.cerfa3517Century26Fields = [
2150
2089
  type: 'number',
2151
2090
  },
2152
2091
  {
2153
- label: '94 - Taxe sur la mise en relation par voie électronique en vue de fournir certaines prestations de transport (CIBS, art. L454-35) – Taxe due',
2092
+ label: '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)',
2154
2093
  key: 'tax.platform',
2155
2094
  type: 'number',
2156
2095
  },
@@ -2164,7 +2103,14 @@ exports.cerfa3517Century26Fields = [
2164
2103
  },
2165
2104
  {
2166
2105
  sectionName: 'Demande de remboursement',
2167
- childrens: [{ label: 'Remboursement demandé', key: 'refund.asked', type: 'number' }],
2106
+ childrens: [
2107
+ { label: 'Remboursement demandé', key: 'refund.asked', type: 'number' },
2108
+ {
2109
+ label: 'Crédit remboursable dégagé à la clôture de l’année ou de l’exercice',
2110
+ key: 'refund.creditRefundable',
2111
+ type: 'number',
2112
+ },
2113
+ ],
2168
2114
  },
2169
2115
  ];
2170
- //# sourceMappingURL=century26.js.map
2116
+ //# sourceMappingURL=century23.js.map