@silexpert/core 0.4.128 → 0.4.130

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 (262) hide show
  1. package/es/api/resources/Revision.d.ts +6 -0
  2. package/es/api/resources/Revision.d.ts.map +1 -0
  3. package/es/api/resources/Revision.js +7 -0
  4. package/es/api/resources/Revision.js.map +1 -0
  5. package/es/api/resources/Transaction.d.ts +2 -1
  6. package/es/api/resources/Transaction.d.ts.map +1 -1
  7. package/es/api/resources/Transaction.js +3 -0
  8. package/es/api/resources/Transaction.js.map +1 -1
  9. package/es/api/resources/Vehicle.d.ts +6 -6
  10. package/es/api/resources/Vehicle.d.ts.map +1 -1
  11. package/es/api/resources/Vehicle.js +18 -10
  12. package/es/api/resources/Vehicle.js.map +1 -1
  13. package/es/api/resources/WorkingSchedule.d.ts +6 -0
  14. package/es/api/resources/WorkingSchedule.d.ts.map +1 -0
  15. package/es/api/resources/WorkingSchedule.js +12 -0
  16. package/es/api/resources/WorkingSchedule.js.map +1 -0
  17. package/es/api/resources.d.ts +6 -0
  18. package/es/api/resources.d.ts.map +1 -1
  19. package/es/api/resources.js +6 -0
  20. package/es/api/resources.js.map +1 -1
  21. package/es/types/Enum/AnswerTypeValue.d.ts +15 -2
  22. package/es/types/Enum/AnswerTypeValue.d.ts.map +1 -1
  23. package/es/types/Enum/AnswerTypeValue.js +13 -0
  24. package/es/types/Enum/AnswerTypeValue.js.map +1 -1
  25. package/es/types/Enum/Aspone.d.ts +2 -1
  26. package/es/types/Enum/Aspone.d.ts.map +1 -1
  27. package/es/types/Enum/Aspone.js +1 -0
  28. package/es/types/Enum/Aspone.js.map +1 -1
  29. package/es/types/Enum/BalanceSheetQuestion.d.ts +98 -2
  30. package/es/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
  31. package/es/types/Enum/BalanceSheetQuestion.js +96 -0
  32. package/es/types/Enum/BalanceSheetQuestion.js.map +1 -1
  33. package/es/types/Enum/BalanceSheetQuestionWording.d.ts +3 -1
  34. package/es/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
  35. package/es/types/Enum/BalanceSheetQuestionWording.js +2 -0
  36. package/es/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  37. package/es/types/Enum/CerfaType.d.ts +2 -1
  38. package/es/types/Enum/CerfaType.d.ts.map +1 -1
  39. package/es/types/Enum/CerfaType.js +1 -0
  40. package/es/types/Enum/CerfaType.js.map +1 -1
  41. package/es/types/Enum/Currency.d.ts +4 -0
  42. package/es/types/Enum/Currency.d.ts.map +1 -0
  43. package/es/types/Enum/Currency.js +5 -0
  44. package/es/types/Enum/Currency.js.map +1 -0
  45. package/es/types/Enum/Ged.d.ts +1 -0
  46. package/es/types/Enum/Ged.d.ts.map +1 -1
  47. package/es/types/Enum/Ged.js +1 -1
  48. package/es/types/Enum/Ged.js.map +1 -1
  49. package/es/types/Enum/GlobalRegime.d.ts.map +1 -1
  50. package/es/types/Enum/GlobalRegime.js +38 -30
  51. package/es/types/Enum/GlobalRegime.js.map +1 -1
  52. package/es/types/Enum/JeDeclare.d.ts +24 -0
  53. package/es/types/Enum/JeDeclare.d.ts.map +1 -0
  54. package/es/types/Enum/JeDeclare.js +28 -0
  55. package/es/types/Enum/JeDeclare.js.map +1 -0
  56. package/es/types/Enum/PartnerTransactionType.d.ts +3 -1
  57. package/es/types/Enum/PartnerTransactionType.d.ts.map +1 -1
  58. package/es/types/Enum/PartnerTransactionType.js +2 -0
  59. package/es/types/Enum/PartnerTransactionType.js.map +1 -1
  60. package/es/types/Enum/Vehicle.d.ts +110 -0
  61. package/es/types/Enum/Vehicle.d.ts.map +1 -1
  62. package/es/types/Enum/Vehicle.js +193 -0
  63. package/es/types/Enum/Vehicle.js.map +1 -1
  64. package/es/types/Interface/api/accountingTransaction/DeleteInvoices.d.ts +11 -0
  65. package/es/types/Interface/api/accountingTransaction/DeleteInvoices.d.ts.map +1 -0
  66. package/es/types/Interface/api/accountingTransaction/DeleteInvoices.js +46 -0
  67. package/es/types/Interface/api/accountingTransaction/DeleteInvoices.js.map +1 -0
  68. package/es/types/Interface/api/aspone/ReadInterchange.d.ts +1 -1
  69. package/es/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -1
  70. package/es/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
  71. package/es/types/Interface/api/aspone/Util.d.ts +2 -0
  72. package/es/types/Interface/api/aspone/Util.d.ts.map +1 -1
  73. package/es/types/Interface/api/aspone/Util.js.map +1 -1
  74. package/es/types/Interface/api/cerfa/2033.d.ts +5 -4
  75. package/es/types/Interface/api/cerfa/2033.d.ts.map +1 -1
  76. package/es/types/Interface/api/cerfa/2033.js.map +1 -1
  77. package/es/types/Interface/api/cerfa/2035.d.ts +45 -43
  78. package/es/types/Interface/api/cerfa/2035.d.ts.map +1 -1
  79. package/es/types/Interface/api/cerfa/2035.js +1 -5
  80. package/es/types/Interface/api/cerfa/2035.js.map +1 -1
  81. package/es/types/Interface/api/cerfa/2065.d.ts +3 -4
  82. package/es/types/Interface/api/cerfa/2065.d.ts.map +1 -1
  83. package/es/types/Interface/api/cerfa/2065.js.map +1 -1
  84. package/es/types/Interface/api/cerfa/2572.d.ts +149 -0
  85. package/es/types/Interface/api/cerfa/2572.d.ts.map +1 -0
  86. package/es/types/Interface/api/cerfa/2572.js +5 -0
  87. package/es/types/Interface/api/cerfa/2572.js.map +1 -0
  88. package/es/types/Interface/api/cerfa/CreateCerfa.d.ts +5 -3
  89. package/es/types/Interface/api/cerfa/CreateCerfa.d.ts.map +1 -1
  90. package/es/types/Interface/api/cerfa/CreateCerfa.js +2 -0
  91. package/es/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
  92. package/es/types/Interface/api/cerfa/ReadCerfa.d.ts +13 -1
  93. package/es/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
  94. package/es/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  95. package/es/types/Interface/api/cerfa/Utils.d.ts +56 -0
  96. package/es/types/Interface/api/cerfa/Utils.d.ts.map +1 -0
  97. package/es/types/Interface/api/cerfa/Utils.js +2 -0
  98. package/es/types/Interface/api/cerfa/Utils.js.map +1 -0
  99. package/es/types/Interface/api/immobilization/ReadFormattedImmobilization.d.ts +10 -0
  100. package/es/types/Interface/api/immobilization/ReadFormattedImmobilization.d.ts.map +1 -1
  101. package/es/types/Interface/api/immobilization/ReadFormattedImmobilization.js.map +1 -1
  102. package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.d.ts +7 -0
  103. package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.d.ts.map +1 -0
  104. package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.js +37 -0
  105. package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.js.map +1 -0
  106. package/es/types/Interface/api/jeDeclare/Util.d.ts +68 -0
  107. package/es/types/Interface/api/jeDeclare/Util.d.ts.map +1 -0
  108. package/es/types/Interface/api/jeDeclare/Util.js +2 -0
  109. package/es/types/Interface/api/jeDeclare/Util.js.map +1 -0
  110. package/es/types/Interface/api/jeDeclare/UtilCFONB.d.ts +23 -0
  111. package/es/types/Interface/api/jeDeclare/UtilCFONB.d.ts.map +1 -0
  112. package/es/types/Interface/api/jeDeclare/UtilCFONB.js +378 -0
  113. package/es/types/Interface/api/jeDeclare/UtilCFONB.js.map +1 -0
  114. package/es/types/Interface/api/log/CreateLog.d.ts +1 -0
  115. package/es/types/Interface/api/log/CreateLog.d.ts.map +1 -1
  116. package/es/types/Interface/api/log/CreateLog.js.map +1 -1
  117. package/es/types/Interface/api/registration/CreateRegistration.d.ts +3 -3
  118. package/es/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  119. package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  120. package/es/types/Interface/api/revision/QueryRevision.d.ts +6 -0
  121. package/es/types/Interface/api/revision/QueryRevision.d.ts.map +1 -0
  122. package/es/types/Interface/api/revision/QueryRevision.js +29 -0
  123. package/es/types/Interface/api/revision/QueryRevision.js.map +1 -0
  124. package/es/types/Interface/api/revision/ReadRevision.d.ts +14 -0
  125. package/es/types/Interface/api/revision/ReadRevision.d.ts.map +1 -0
  126. package/es/types/Interface/api/revision/ReadRevision.js +2 -0
  127. package/es/types/Interface/api/revision/ReadRevision.js.map +1 -0
  128. package/es/types/Interface/api/revision/Revision.d.ts +5 -0
  129. package/es/types/Interface/api/revision/Revision.d.ts.map +1 -0
  130. package/es/types/Interface/api/revision/Revision.js +2 -0
  131. package/es/types/Interface/api/revision/Revision.js.map +1 -0
  132. package/es/types/Interface/api/revision/RevisionObject.d.ts +10 -0
  133. package/es/types/Interface/api/revision/RevisionObject.d.ts.map +1 -0
  134. package/es/types/Interface/api/revision/RevisionObject.js +2 -0
  135. package/es/types/Interface/api/revision/RevisionObject.js.map +1 -0
  136. package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +1 -0
  137. package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
  138. package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.js +4 -0
  139. package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  140. package/es/types/Interface/models/IApiError.d.ts +3 -1
  141. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  142. package/es/types/Interface/models/IApiError.js +4 -0
  143. package/es/types/Interface/models/IApiError.js.map +1 -1
  144. package/es/types/Interface/models/IUser.d.ts +1 -0
  145. package/es/types/Interface/models/IUser.d.ts.map +1 -1
  146. package/es/types/Interface/models/IUser.js.map +1 -1
  147. package/es/types/Interface/models/IWorkingSchedule.d.ts +3 -1
  148. package/es/types/Interface/models/IWorkingSchedule.d.ts.map +1 -1
  149. package/es/types/Interface/models/IWorkingSchedule.js.map +1 -1
  150. package/es/types/index.d.ts +10 -0
  151. package/es/types/index.d.ts.map +1 -1
  152. package/es/types/index.js +10 -0
  153. package/es/types/index.js.map +1 -1
  154. package/js/api/resources/Revision.js +20 -0
  155. package/js/api/resources/Revision.js.map +1 -0
  156. package/js/api/resources/Transaction.js +6 -0
  157. package/js/api/resources/Transaction.js.map +1 -1
  158. package/js/api/resources/Vehicle.js +23 -10
  159. package/js/api/resources/Vehicle.js.map +1 -1
  160. package/js/api/resources/WorkingSchedule.js +23 -0
  161. package/js/api/resources/WorkingSchedule.js.map +1 -0
  162. package/js/api/resources.js +10 -1
  163. package/js/api/resources.js.map +1 -1
  164. package/js/types/Enum/AnswerTypeValue.js +14 -0
  165. package/js/types/Enum/AnswerTypeValue.js.map +1 -1
  166. package/js/types/Enum/Aspone.js +1 -0
  167. package/js/types/Enum/Aspone.js.map +1 -1
  168. package/js/types/Enum/BalanceSheetQuestion.js +98 -0
  169. package/js/types/Enum/BalanceSheetQuestion.js.map +1 -1
  170. package/js/types/Enum/BalanceSheetQuestionWording.js +2 -0
  171. package/js/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  172. package/js/types/Enum/CerfaType.js +1 -0
  173. package/js/types/Enum/CerfaType.js.map +1 -1
  174. package/js/types/Enum/Currency.js +11 -0
  175. package/js/types/Enum/Currency.js.map +1 -0
  176. package/js/types/Enum/Ged.js +2 -2
  177. package/js/types/Enum/Ged.js.map +1 -1
  178. package/js/types/Enum/GlobalRegime.js +38 -27
  179. package/js/types/Enum/GlobalRegime.js.map +1 -1
  180. package/js/types/Enum/JeDeclare.js +40 -0
  181. package/js/types/Enum/JeDeclare.js.map +1 -0
  182. package/js/types/Enum/PartnerTransactionType.js +2 -0
  183. package/js/types/Enum/PartnerTransactionType.js.map +1 -1
  184. package/js/types/Enum/Vehicle.js +375 -0
  185. package/js/types/Enum/Vehicle.js.map +1 -1
  186. package/js/types/Interface/api/accountingTransaction/DeleteInvoices.js +41 -0
  187. package/js/types/Interface/api/accountingTransaction/DeleteInvoices.js.map +1 -0
  188. package/js/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
  189. package/js/types/Interface/api/aspone/Util.js.map +1 -1
  190. package/js/types/Interface/api/cerfa/2033.js.map +1 -1
  191. package/js/types/Interface/api/cerfa/2035.js +1 -3
  192. package/js/types/Interface/api/cerfa/2035.js.map +1 -1
  193. package/js/types/Interface/api/cerfa/2065.js.map +1 -1
  194. package/js/types/Interface/api/cerfa/2572.js +14 -0
  195. package/js/types/Interface/api/cerfa/2572.js.map +1 -0
  196. package/js/types/Interface/api/cerfa/CreateCerfa.js +24 -0
  197. package/js/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
  198. package/js/types/Interface/api/cerfa/Utils.js +6 -0
  199. package/js/types/Interface/api/cerfa/Utils.js.map +1 -0
  200. package/js/types/Interface/api/jeDeclare/CreateDocumentsParams.js +37 -0
  201. package/js/types/Interface/api/jeDeclare/CreateDocumentsParams.js.map +1 -0
  202. package/js/types/Interface/api/jeDeclare/Util.js +6 -0
  203. package/js/types/Interface/api/jeDeclare/Util.js.map +1 -0
  204. package/js/types/Interface/api/jeDeclare/UtilCFONB.js +394 -0
  205. package/js/types/Interface/api/jeDeclare/UtilCFONB.js.map +1 -0
  206. package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  207. package/js/types/Interface/api/revision/QueryRevision.js +33 -0
  208. package/js/types/Interface/api/revision/QueryRevision.js.map +1 -0
  209. package/js/types/Interface/api/revision/ReadRevision.js +6 -0
  210. package/js/types/Interface/api/revision/ReadRevision.js.map +1 -0
  211. package/js/types/Interface/api/revision/Revision.js +6 -0
  212. package/js/types/Interface/api/revision/Revision.js.map +1 -0
  213. package/js/types/Interface/api/revision/RevisionObject.js +6 -0
  214. package/js/types/Interface/api/revision/RevisionObject.js.map +1 -0
  215. package/js/types/Interface/api/woocommerce/InvoicesWoocommerce.js +2 -0
  216. package/js/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  217. package/js/types/Interface/models/IApiError.js +5 -1
  218. package/js/types/Interface/models/IApiError.js.map +1 -1
  219. package/js/types/index.js +120 -0
  220. package/js/types/index.js.map +1 -1
  221. package/package.json +1 -1
  222. package/ts/api/resources/Revision.ts +8 -0
  223. package/ts/api/resources/Transaction.ts +5 -1
  224. package/ts/api/resources/Vehicle.ts +21 -12
  225. package/ts/api/resources/WorkingSchedule.ts +12 -0
  226. package/ts/api/resources.ts +6 -0
  227. package/ts/types/Enum/AnswerTypeValue.ts +14 -0
  228. package/ts/types/Enum/Aspone.ts +1 -0
  229. package/ts/types/Enum/BalanceSheetQuestion.ts +98 -0
  230. package/ts/types/Enum/BalanceSheetQuestionWording.ts +3 -0
  231. package/ts/types/Enum/CerfaType.ts +1 -0
  232. package/ts/types/Enum/Currency.ts +3 -0
  233. package/ts/types/Enum/Ged.ts +1 -1
  234. package/ts/types/Enum/GlobalRegime.ts +38 -30
  235. package/ts/types/Enum/JeDeclare.ts +26 -0
  236. package/ts/types/Enum/PartnerTransactionType.ts +2 -0
  237. package/ts/types/Enum/Vehicle.ts +203 -1
  238. package/ts/types/Interface/api/accountingTransaction/DeleteInvoices.ts +37 -0
  239. package/ts/types/Interface/api/aspone/ReadInterchange.ts +1 -1
  240. package/ts/types/Interface/api/aspone/Util.ts +3 -0
  241. package/ts/types/Interface/api/cerfa/2033.ts +6 -4
  242. package/ts/types/Interface/api/cerfa/2035.ts +43 -45
  243. package/ts/types/Interface/api/cerfa/2065.ts +3 -4
  244. package/ts/types/Interface/api/cerfa/2572.ts +150 -0
  245. package/ts/types/Interface/api/cerfa/CreateCerfa.ts +5 -3
  246. package/ts/types/Interface/api/cerfa/ReadCerfa.ts +14 -1
  247. package/ts/types/Interface/api/cerfa/Utils.ts +61 -0
  248. package/ts/types/Interface/api/immobilization/ReadFormattedImmobilization.ts +12 -1
  249. package/ts/types/Interface/api/jeDeclare/CreateDocumentsParams.ts +23 -0
  250. package/ts/types/Interface/api/jeDeclare/Util.ts +69 -0
  251. package/ts/types/Interface/api/jeDeclare/UtilCFONB.ts +387 -0
  252. package/ts/types/Interface/api/log/CreateLog.ts +1 -0
  253. package/ts/types/Interface/api/registration/CreateRegistration.ts +3 -3
  254. package/ts/types/Interface/api/revision/QueryRevision.ts +16 -0
  255. package/ts/types/Interface/api/revision/ReadRevision.ts +14 -0
  256. package/ts/types/Interface/api/revision/Revision.ts +5 -0
  257. package/ts/types/Interface/api/revision/RevisionObject.ts +10 -0
  258. package/ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts +2 -0
  259. package/ts/types/Interface/models/IApiError.ts +6 -0
  260. package/ts/types/Interface/models/IUser.ts +1 -0
  261. package/ts/types/Interface/models/IWorkingSchedule.ts +3 -1
  262. package/ts/types/index.ts +10 -1
@@ -2,7 +2,7 @@ import { IsBoolean, IsOptional } from 'class-validator';
2
2
  import {
3
3
  Subsidiarie, DeterminedResult, AccountingKept, AccreditedOrganization, Vehicle, MoralShareholder, PhysicShareholder,
4
4
  } from './CreateCerfa';
5
- import { ApiProperty, ApiPropertyOptional } from '../../../..';
5
+ import { ApiProperty, ApiPropertyOptional, CerfaAddress } from '../../../..';
6
6
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
7
7
 
8
8
  /**
@@ -88,6 +88,29 @@ export interface Cerfa2035ProfessionalExpenses {
88
88
  total: number;
89
89
  }
90
90
 
91
+ export interface ResultsDistributionList {
92
+ basicInfos: string;
93
+ managerPartner: boolean;
94
+ slicePercentage: number;
95
+ resultShare: number;
96
+ individualProCharges: number;
97
+ netAmount: number;
98
+ longTermAddedValue: number
99
+ birthdate?: string;
100
+ birthplace?: string;
101
+ birthCountry?: string;
102
+ birthCountryCode: string | null;
103
+ birthDepartment?: string;
104
+ siren?: string;
105
+ fiscalNumber?: string;
106
+ name: string;
107
+ address: string;
108
+ isPhysic: boolean
109
+ city?: string;
110
+ country?: string;
111
+ countryCode?: string;
112
+ }
113
+
91
114
  export interface Cerfa2035Determination {
92
115
  surplus: number;
93
116
  shortTermCapitalGains: number;
@@ -114,6 +137,7 @@ export interface Cerfa2035Determination {
114
137
  amount: number;
115
138
  sectorApprovedDoctors: number;
116
139
  };
140
+ covid: number;
117
141
  total: number;
118
142
  }
119
143
  civilSocietyDeficit: number;
@@ -164,8 +188,8 @@ export interface Cerfa2035MonoEstablishment {
164
188
  benchmarkTurnover: number;
165
189
  groupTurnover: number;
166
190
  workforce: number;
167
- period: { startDate: Date, endDate: Date };
168
- cessationDate: Date;
191
+ period: { startDate: string, endDate: string };
192
+ cessationDate: string;
169
193
  }
170
194
 
171
195
  export interface Cerfa2035ShareCapital {
@@ -180,6 +204,9 @@ export interface Cerfa2035ShareCapital {
180
204
 
181
205
  export interface Cerfa2035 {
182
206
  isNil: boolean;
207
+ isPageENil: boolean;
208
+ isPageFNil: boolean;
209
+ isPageGNil: boolean;
183
210
  society: Cerfa2035Society;
184
211
  immobilizations: number;
185
212
  professionalRecipes: Cerfa2035ProfessionalRecipes;
@@ -188,7 +215,7 @@ export interface Cerfa2035 {
188
215
  valueAddedTax: Cerfa2035ValueAddedTax;
189
216
  territorialContribution: number;
190
217
  kilometricAllowances: Cerfa2035KilometricAllowance;
191
- period: { startDate: Date, endDate: Date, months: string };
218
+ period: { startDate: string, endDate: string, months: string };
192
219
  shareCapital: Cerfa2035ShareCapital;
193
220
  subsidiaries: { total: number, list: Subsidiarie[] };
194
221
  annex?: {
@@ -207,29 +234,24 @@ export interface Cerfa2035WithSuites {
207
234
  phone: string;
208
235
  name: string;
209
236
  change: {
210
- st: string;
211
- nd: string;
237
+ st: CerfaAddress;
212
238
  },
213
239
  declarantAddress: string;
240
+ declarantAddressDetails: CerfaAddress;
214
241
  activityType: string;
215
242
  activityStartDate: string;
216
243
  privateSocietyAddress: string;
217
244
  civilSocietyAddress: string;
218
245
  informationsStartingPeriod: string;
219
246
  informationsEndingPeriod: string;
220
- address: {
221
- st: string;
222
- nd: string;
223
- city: string;
224
- country: string;
225
- countryCode: string | null;
226
- },
247
+ address: CerfaAddress,
227
248
  secondaryPracticeAddress: string;
249
+ secondaryPracticeAddressList: CerfaAddress[]
228
250
  },
229
251
  taxation: {
230
252
  profitResult: number;
231
253
  deficitResult: number;
232
- exemptCharges: number;
254
+ exemptCharges: string;
233
255
  depreciationCharges: number;
234
256
  addedValueProducts: number;
235
257
  portfolioCapitalIncome: number;
@@ -253,8 +275,8 @@ export interface Cerfa2035WithSuites {
253
275
  productsAddedValue: { duodecies: number; }
254
276
  chargesDeprecatedValue: { duodecies: number; };
255
277
  accountantInfos: number;
256
- committeeInfos: number;
257
- certifiedAssociation: number;
278
+ committeeInfos: string;
279
+ certifiedAssociation: string;
258
280
  serviceProvider: number;
259
281
  ecf: boolean;
260
282
  declarantSignature: string;
@@ -265,7 +287,7 @@ export interface Cerfa2035WithSuites {
265
287
  yes: boolean;
266
288
  no: boolean;
267
289
  }
268
- certifiedAccountingProfessionnal: string;
290
+ certifiedAccountingProfessionnal: boolean;
269
291
  aaOrOmga: boolean;
270
292
  aaOmgaAgreementNumber: string;
271
293
  longTermExemptAddedValue151: number;
@@ -329,7 +351,6 @@ export interface Cerfa2035WithSuites {
329
351
  handoverPrice: number;
330
352
  shortTermValue: number;
331
353
  longTermValue: number;
332
- longTermSpread: number;
333
354
  }>,
334
355
  shortTermExemptArt151: number;
335
356
  shortTermExemptArt151A: number;
@@ -338,7 +359,8 @@ export interface Cerfa2035WithSuites {
338
359
  longTermExemptArt151A: number;
339
360
  longTermExemptArt238: number;
340
361
  longTermExemptArt151B: number;
341
- shortTermValue: { toReport: number }
362
+ shortTermValue: { toReport: number };
363
+ longTermValue: { toReport: number };
342
364
  longTermSpread: number;
343
365
  shortTermSpread: number;
344
366
  },
@@ -358,28 +380,7 @@ export interface Cerfa2035WithSuites {
358
380
  longTermAddedValue: {
359
381
  annexTotal: number
360
382
  }
361
- list: Array<{
362
- basicInfos: string;
363
- managerPartner: boolean;
364
- slicePercentage: number;
365
- resultShare: number;
366
- individualProCharges: number;
367
- netAmount: number;
368
- longTermAddedValue: number
369
- birthdate?: string;
370
- birthplace?: string;
371
- birthCountry?: string;
372
- birthCountryCode: string | null;
373
- birthDepartment?: string;
374
- siren?: string;
375
- fiscalNumber?: string;
376
- name: string;
377
- address: string;
378
- isPhysic: boolean
379
- city?: string;
380
- country?: string;
381
- countryCode?: string;
382
- }>
383
+ list: Array<ResultsDistributionList>
383
384
  }
384
385
  name: string;
385
386
  siret: string;
@@ -405,10 +406,7 @@ export class ParamsGenerate2035FullDocument {
405
406
  isTest?: boolean;
406
407
 
407
408
  @ApiProperty()
408
- cerfa2035?: ParamsGenerate2035;
409
-
410
- @ApiProperty()
411
- cerfa2035WithSuites?: ParamsGenerate2035WithSuites;
409
+ cerfa2035?: ParamsGenerate2035 & ParamsGenerate2035WithSuites;
412
410
  }
413
411
 
414
412
  export type ParamsGenerate2035WithSuites = Record<string, unknown>;
@@ -38,8 +38,8 @@ export interface Cerfa2065 {
38
38
  isNil?: boolean;
39
39
  society: Cerfa2065Society;
40
40
  period: {
41
- startDate: Date,
42
- endDate: Date,
41
+ startDate: string,
42
+ endDate: string,
43
43
  months: string;
44
44
  };
45
45
  isSimplifiedRegime: boolean;
@@ -53,8 +53,7 @@ export interface Cerfa2065 {
53
53
  siret: string | null;
54
54
  activity: string;
55
55
  hasActivityChanged: boolean;
56
- benefit31: number;
57
- benefit28: number;
56
+ benefitNormalRate: number;
58
57
  deficit: number;
59
58
  benefit15: number;
60
59
  resultNet: number;
@@ -0,0 +1,150 @@
1
+ type BaseAndAmount = {
2
+ base: number;
3
+ amount: number;
4
+ };
5
+
6
+ type Tax = {
7
+ normalRate: BaseAndAmount;
8
+ normalRate2: BaseAndAmount;
9
+ reduceRate: BaseAndAmount;
10
+ addedValue: { amount: number; }
11
+ other: { amount: number; }
12
+ total: number;
13
+ };
14
+
15
+ type Exercice = {
16
+ startDate: string;
17
+ endDate: string;
18
+ };
19
+
20
+ type Society = {
21
+ name: string;
22
+ address: string;
23
+ };
24
+
25
+ type PreFinancingWithAmount = {
26
+ preFinancing: number;
27
+ amount: number;
28
+ };
29
+
30
+ type Debts = {
31
+ onCompanyTax: number;
32
+ notOnCompanyTax: number;
33
+ VEL: number;
34
+ PRE: number;
35
+ new: number;
36
+ companyTaxAfterImputation: number;
37
+ reducedTax: {
38
+ inEurope: number;
39
+ amount: number;
40
+ }
41
+ balanceInPreviousExercises: number;
42
+ jobCredit: PreFinancingWithAmount;
43
+ jobCreditForLongExercises: PreFinancingWithAmount;
44
+ jobCreditForPreviousExercises: number;
45
+ corse: number;
46
+ CORInPreviousExercise: number;
47
+ deficit: number;
48
+ RADInPreviousExercise: number;
49
+ CIRcredit: number;
50
+ CIRsolde: number;
51
+ reportedInLine2B11: number;
52
+ subTotal: number;
53
+ inDepositLimit: number;
54
+ balanceDebtInPreviousExercises: number;
55
+ FOR: number;
56
+ RAC: number;
57
+ FAM: number;
58
+ CIN: number;
59
+ BIO: number;
60
+ PHO: number;
61
+ AUD: number;
62
+ ART: number;
63
+ CJV: number;
64
+ CPE: number;
65
+ CCI: number;
66
+ PTR: number;
67
+ CIO: PreFinancingWithAmount;
68
+ COL: PreFinancingWithAmount;
69
+ CSV: number;
70
+ CAC: number;
71
+ REB: number;
72
+ BLC: number;
73
+ RTD: number;
74
+ CPG: number;
75
+ HVE: number;
76
+ newUnlistedReceivables: number;
77
+ inLine2C22: number;
78
+ subTotal2: number;
79
+ afterImputation: number;
80
+ payment: number;
81
+ taxAmount: number;
82
+ CSB: { base: number };
83
+ };
84
+
85
+ type SocialContribution = {
86
+ CSB: BaseAndAmount;
87
+ strangers: number;
88
+ onCompanyTax: number;
89
+ payment: number;
90
+ };
91
+
92
+ type YearlyContribution = {
93
+ onRent: number;
94
+ amount: number;
95
+ payment: number;
96
+ };
97
+
98
+ type AmountToPayWithOverage = {
99
+ amountToPay: number;
100
+ overage: number;
101
+ };
102
+
103
+ type Summary = {
104
+ companyTax: AmountToPayWithOverage
105
+ socialContribution: AmountToPayWithOverage;
106
+ yearlyContribution: AmountToPayWithOverage;
107
+ total: AmountToPayWithOverage
108
+ amountToPay: number;
109
+ overage: number;
110
+ imputedOverage: number;
111
+ contribution: number;
112
+ limitDate: string;
113
+ amountToInpute: number;
114
+ overageRefundAsked: number;
115
+ };
116
+
117
+ type Payment = {
118
+ date: number;
119
+ phone: number;
120
+ isTransfer: boolean;
121
+ isCheck: boolean;
122
+ isElectronicPayment: boolean;
123
+ contribution: number;
124
+ limitDate: number;
125
+ amountToInpute: number;
126
+ };
127
+
128
+ type Administration = {
129
+ amount: number;
130
+ date: string;
131
+ operationNumber: number;
132
+ receptionDate: string;
133
+ };
134
+
135
+ export class Cerfa2572 {
136
+ siren: string;
137
+ exercice: Exercice;
138
+ society: Society;
139
+ tax: Tax;
140
+ debts: Debts;
141
+ socialContribution: SocialContribution;
142
+ yearlyContribution: YearlyContribution;
143
+ summary: Summary;
144
+ payment: Payment;
145
+ administration?: Administration;
146
+ }
147
+
148
+ export type Prepare2572Params = { idSociety: number; idExercice: number; values: Cerfa2572 };
149
+
150
+ export class ParamsGenerate2572 {}
@@ -5,6 +5,8 @@ export * from './2033';
5
5
  export * from './2035';
6
6
  export * from './2050';
7
7
  export * from './2065';
8
+ export * from './2572';
9
+ export * from './Utils';
8
10
 
9
11
  export interface DeterminedResult {
10
12
  incomeExpenditure: boolean; // d'après les règles « recettes-dépenses »
@@ -16,7 +18,7 @@ export type CerfaCivility = 'M' | 'Mme' | 'Mlle';
16
18
 
17
19
  export interface AccreditedOrganization {
18
20
  isMember: boolean;
19
- memberSince: Date;
21
+ memberSince: string;
20
22
  numberOfEmployees: string;
21
23
  netWagesReceived: number; // Salaires nets perçus
22
24
  }
@@ -40,7 +42,7 @@ export interface MoralShareholder {
40
42
  percentShares: number;
41
43
  shares: number;
42
44
  address: {
43
- number: number | undefined;
45
+ number: string | undefined;
44
46
  street: string;
45
47
  zipCode: string;
46
48
  city: string;
@@ -79,7 +81,7 @@ export interface Subsidiarie {
79
81
  siren?: string;
80
82
  percentShares: number;
81
83
  address: {
82
- number: number;
84
+ number: string;
83
85
  street: string;
84
86
  zipCode: string;
85
87
  city: string;
@@ -1,5 +1,6 @@
1
1
  import { CerfaType } from '../../../Enum/CerfaType';
2
2
  import { QuestionWording } from '../../..';
3
+ import { Question } from '../../../Enum/BalanceSheetQuestion';
3
4
 
4
5
  export interface ReadCerfaToComplete {
5
6
  declaration: CerfaType;
@@ -10,6 +11,18 @@ export interface ReadCerfaDocument {
10
11
  payload: any;
11
12
  }
12
13
 
14
+ export interface CerfaAddress {
15
+ number: string;
16
+ street: string;
17
+ zipCode: string;
18
+ city: string;
19
+ country: {
20
+ name: string | null,
21
+ code: string | null
22
+ }
23
+ full: string;
24
+ }
25
+
13
26
  export type CerfaAnswers = {
14
- [key in keyof typeof QuestionWording | 'OTHER_TAX_DEDUCTION_AMOUNT_1' | 'OTHER_TAX_DEDUCTION_AMOUNT_2'| 'OTHER_TAX_DEDUCTION_AMOUNT_3' | 'OTHER_TAX_DEDUCTION_AMOUNT_4'| 'OTHER_TAX_DEDUCTION_AMOUNT_5' | 'OTHER_ADDITION_AMOUNT_1' | 'OTHER_ADDITION_AMOUNT_2' | 'OTHER_ADDITION_AMOUNT_3' | 'OTHER_ADDITION_AMOUNT_4' | 'OTHER_ADDITION_AMOUNT_5' | '39_DECIES' | '39_DECIES_A' | '39_DECIES_B' | '39_DECIES_C' | '39_DECIES_D' | '39_DECIES_E' | '39_DECIES_F' | '39_DECIES_G']: number
27
+ [key in keyof typeof QuestionWording | keyof typeof Question | 'OTHER_TAX_DEDUCTION_AMOUNT_1' | 'OTHER_TAX_DEDUCTION_AMOUNT_2'| 'OTHER_TAX_DEDUCTION_AMOUNT_3' | 'OTHER_TAX_DEDUCTION_AMOUNT_4'| 'OTHER_TAX_DEDUCTION_AMOUNT_5' | 'OTHER_ADDITION_AMOUNT_1' | 'OTHER_ADDITION_AMOUNT_2' | 'OTHER_ADDITION_AMOUNT_3' | 'OTHER_ADDITION_AMOUNT_4' | 'OTHER_ADDITION_AMOUNT_5' | '39_DECIES' | '39_DECIES_A' | '39_DECIES_B' | '39_DECIES_C' | '39_DECIES_D' | '39_DECIES_E' | '39_DECIES_F' | '39_DECIES_G']: any
15
28
  };
@@ -0,0 +1,61 @@
1
+ export interface PartnersLegalEntity {
2
+ address: CerfaAddressFromQuestion;
3
+ holdingPercent: number;
4
+ name: string;
5
+ shareNumber: number;
6
+ siren: string;
7
+ legalForm: string;
8
+ }
9
+
10
+ export interface PartnersNaturalPerson {
11
+ address: CerfaAddressFromQuestion;
12
+ birthDate: string;
13
+ birthDepartment: string;
14
+ birthPlace: string;
15
+ firstname: string;
16
+ holdingPercent: number;
17
+ idBirthCountry: number;
18
+ idCivility: number;
19
+ individualProfessionalExpenses: number;
20
+ isOwner: boolean;
21
+ lastname: string;
22
+ marriedName: string;
23
+ shareNumber: number;
24
+ taxNumber: string;
25
+ }
26
+
27
+ export interface CerfaPartners {
28
+ legalEntities: PartnersLegalEntity[];
29
+ naturalPersons: PartnersNaturalPerson[];
30
+ }
31
+
32
+ export interface CerfaAddressFromQuestion {
33
+ city: string;
34
+ idCountry: number;
35
+ number: string;
36
+ street: string;
37
+ zipCode: string;
38
+ }
39
+
40
+ export interface NameAndAddress {
41
+ city: string;
42
+ idCountry: number;
43
+ name: string;
44
+ number: string;
45
+ street: string;
46
+ zipCode: string;
47
+ }
48
+
49
+ export interface Affiliate {
50
+ address: CerfaAddressFromQuestion;
51
+ holdingPercent: number;
52
+ legalForm: string;
53
+ name: string;
54
+ siren: string;
55
+ }
56
+
57
+ export interface OtherActivity {
58
+ legalForm: string;
59
+ name: string;
60
+ salary: number;
61
+ }
@@ -1,5 +1,6 @@
1
1
  import { IImmobilization } from '../../..';
2
2
  import { IAccount } from '../../models/IAccount';
3
+ import { IAccountingEntry } from '../../models/IAccountingEntry';
3
4
 
4
5
  export interface ReadHydratedImmobilization extends IImmobilization {
5
6
  account: Partial<IAccount>
@@ -31,4 +32,14 @@ export interface ReadFormattedImmobilizationsByAccount {
31
32
  totalCurrentEndowment: number,
32
33
  totalEndAmortization: number,
33
34
  totalVnc: number
34
- }
35
+ }
36
+
37
+ export type ReadImmobilizationWithDetails = FormattedImmobilization & {
38
+ vatAmount: number;
39
+ cessionEntries: IAccountingEntry[];
40
+ shortTermValue: number;
41
+ longTermValue: number;
42
+ residualValue: number;
43
+ saleDate: string | null;
44
+ salePrice: number | null;
45
+ };
@@ -0,0 +1,23 @@
1
+ import { IsBoolean, IsOptional, IsString } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../..';
3
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
+
5
+ export class CreateDocumentsParams {
6
+ @ApiProperty()
7
+ @IsString()
8
+ itemStatus: string;
9
+
10
+ @ApiProperty()
11
+ @IsString()
12
+ procedureType: string;
13
+
14
+ @ApiProperty()
15
+ @IsString()
16
+ listType: string;
17
+
18
+ @ApiPropertyOptional()
19
+ @IsBoolean()
20
+ @ToBoolean()
21
+ @IsOptional()
22
+ forceTestMode?: boolean;
23
+ }
@@ -0,0 +1,69 @@
1
+ type WSDLJeDeClare = {
2
+ url: string;
3
+ };
4
+
5
+ export type AccessKeysJeDeclare = {
6
+ login: string;
7
+ password: string;
8
+ editor: string;
9
+ software: string;
10
+ wsdl: WSDLJeDeClare;
11
+ };
12
+
13
+ export type GetDocumentParams = {
14
+ itemStatus: string;
15
+ procedureType: string;
16
+ listType: string;
17
+ forceTestMode?: boolean;
18
+ };
19
+
20
+ export type ListDocumentAvailability = DocumentAvailability[];
21
+
22
+ export type DocumentAvailability = {
23
+ 'ns2:numero': string[];
24
+ 'ns2:statut': string[];
25
+ 'ns2:typeDePiece': string[];
26
+ };
27
+
28
+ export type BankStatementCFONBStructure = {
29
+ previous: { [key: string]: string | null } | null;
30
+ transactions: LineStructure[];
31
+ last: { [key: string]: string | null } | null;
32
+ };
33
+
34
+ export type LineStructureUnknowProperty = { [key: string]: string | null } | null;
35
+ export type LineStructure = LineStructureUnknowProperty & {
36
+ detail: { [key: string]: string | null } | null;
37
+ };
38
+
39
+ export type AmountType = 'credit' | 'debit' | 'neutral' | 'unknown';
40
+
41
+ type UsableBankStatementTransaction = {
42
+ dateValue?: string;
43
+ id?: number;
44
+ label: string | null;
45
+ debit: number;
46
+ credit: number;
47
+ idCurrency: number | null;
48
+ complementaryLabel: string | null;
49
+ };
50
+
51
+ type BankStatementData = {
52
+ balance: number;
53
+ dateBalance?: string;
54
+ };
55
+
56
+ export type UsableBankStatement = {
57
+ iban: string | null;
58
+ previous: BankStatementData;
59
+ next: BankStatementData;
60
+ name: string | null;
61
+ transactions: UsableBankStatementTransaction[];
62
+ };
63
+
64
+ export type GetDocumentsParams = {
65
+ itemStatus: string;
66
+ procedureType: string;
67
+ listType: string;
68
+ forceTestMode?: boolean;
69
+ };