@silexpert/core 0.4.108 → 0.4.110
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/CHANGELOG.md +68 -0
- package/es/api/resources/AccountingFiles.d.ts +6 -0
- package/es/api/resources/AccountingFiles.d.ts.map +1 -0
- package/es/api/resources/AccountingFiles.js +14 -0
- package/es/api/resources/AccountingFiles.js.map +1 -0
- package/es/api/resources/InternalInvoicing.d.ts +6 -0
- package/es/api/resources/InternalInvoicing.d.ts.map +1 -0
- package/es/api/resources/InternalInvoicing.js +7 -0
- package/es/api/resources/InternalInvoicing.js.map +1 -0
- package/es/api/resources/Journal.d.ts +7 -0
- package/es/api/resources/Journal.d.ts.map +1 -0
- package/es/api/resources/Journal.js +10 -0
- package/es/api/resources/Journal.js.map +1 -0
- package/es/api/resources/MealExpense.d.ts +33 -0
- package/es/api/resources/MealExpense.d.ts.map +1 -0
- package/es/api/resources/MealExpense.js +37 -0
- package/es/api/resources/MealExpense.js.map +1 -0
- package/es/api/resources/Product.d.ts +3 -0
- package/es/api/resources/Product.d.ts.map +1 -1
- package/es/api/resources/Product.js +10 -0
- package/es/api/resources/Product.js.map +1 -1
- package/es/api/resources/Registration.d.ts +6 -0
- package/es/api/resources/Registration.d.ts.map +1 -0
- package/es/api/resources/Registration.js +7 -0
- package/es/api/resources/Registration.js.map +1 -0
- package/es/api/resources.d.ts +8 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +8 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/AccountingFileType.d.ts +2 -1
- package/es/types/Enum/AccountingFileType.d.ts.map +1 -1
- package/es/types/Enum/AccountingFileType.js +1 -0
- package/es/types/Enum/AccountingFileType.js.map +1 -1
- package/es/types/Enum/CerfaType.d.ts +14 -14
- package/es/types/Enum/CerfaType.d.ts.map +1 -1
- package/es/types/Enum/CerfaType.js +15 -14
- package/es/types/Enum/CerfaType.js.map +1 -1
- package/es/types/Enum/Ged.d.ts +1 -0
- package/es/types/Enum/Ged.d.ts.map +1 -1
- package/es/types/Enum/Ged.js +1 -1
- package/es/types/Enum/Ged.js.map +1 -1
- package/es/types/Enum/GlobalRegime.js +61 -61
- package/es/types/Enum/GlobalRegime.js.map +1 -1
- package/es/types/Enum/MealExpenseTresholds.d.ts +8 -0
- package/es/types/Enum/MealExpenseTresholds.d.ts.map +1 -0
- package/es/types/Enum/MealExpenseTresholds.js +11 -0
- package/es/types/Enum/MealExpenseTresholds.js.map +1 -0
- package/es/types/Enum/MimeType.d.ts +24 -0
- package/es/types/Enum/MimeType.d.ts.map +1 -0
- package/es/types/Enum/MimeType.js +24 -0
- package/es/types/Enum/MimeType.js.map +1 -0
- package/es/types/Enum/PaymentMethod.d.ts +63 -0
- package/es/types/Enum/PaymentMethod.d.ts.map +1 -0
- package/es/types/Enum/PaymentMethod.js +63 -0
- package/es/types/Enum/PaymentMethod.js.map +1 -0
- package/es/types/Enum/ProductType.d.ts +6 -4
- package/es/types/Enum/ProductType.d.ts.map +1 -1
- package/es/types/Enum/ProductType.js +14 -6
- package/es/types/Enum/ProductType.js.map +1 -1
- package/es/types/Enum/Vat.d.ts +9 -0
- package/es/types/Enum/Vat.d.ts.map +1 -1
- package/es/types/Enum/Vat.js +9 -0
- package/es/types/Enum/Vat.js.map +1 -1
- package/es/types/Interface/api/accountingFiles/Ocr.d.ts +14 -0
- package/es/types/Interface/api/accountingFiles/Ocr.d.ts.map +1 -0
- package/es/types/Interface/api/accountingFiles/Ocr.js +2 -0
- package/es/types/Interface/api/accountingFiles/Ocr.js.map +1 -0
- package/es/types/Interface/api/accountingFiles/OcrPayload.d.ts +15 -0
- package/es/types/Interface/api/accountingFiles/OcrPayload.d.ts.map +1 -0
- package/es/types/Interface/api/accountingFiles/OcrPayload.js +2 -0
- package/es/types/Interface/api/accountingFiles/OcrPayload.js.map +1 -0
- package/es/types/Interface/api/accountingFiles/OcrValue.d.ts +14 -0
- package/es/types/Interface/api/accountingFiles/OcrValue.d.ts.map +1 -0
- package/es/types/Interface/api/accountingFiles/OcrValue.js +2 -0
- package/es/types/Interface/api/accountingFiles/OcrValue.js.map +1 -0
- package/es/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +7 -0
- package/es/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -0
- package/es/types/Interface/api/accountingFiles/queryAccountingFiles.js +32 -0
- package/es/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -0
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.d.ts +7 -0
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.d.ts.map +1 -0
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.js +3 -0
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.js.map +1 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts +1 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +7 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts +1 -0
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +7 -0
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/api/exercice/CreateExercice.d.ts +16 -0
- package/es/types/Interface/api/exercice/CreateExercice.d.ts.map +1 -0
- package/es/types/Interface/api/exercice/CreateExercice.js +101 -0
- package/es/types/Interface/api/exercice/CreateExercice.js.map +1 -0
- package/es/types/Interface/api/exercice/QueryExercice.d.ts +7 -0
- package/es/types/Interface/api/exercice/QueryExercice.d.ts.map +1 -0
- package/es/types/Interface/api/exercice/QueryExercice.js +39 -0
- package/es/types/Interface/api/exercice/QueryExercice.js.map +1 -0
- package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing.d.ts +5 -0
- package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing.d.ts.map +1 -0
- package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js +21 -0
- package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js.map +1 -0
- package/es/types/Interface/api/journal/Journals.d.ts +44 -0
- package/es/types/Interface/api/journal/Journals.d.ts.map +1 -0
- package/es/types/Interface/api/journal/Journals.js +13 -0
- package/es/types/Interface/api/journal/Journals.js.map +1 -0
- package/es/types/Interface/api/journal/QueryJournal.d.ts +6 -0
- package/es/types/Interface/api/journal/QueryJournal.d.ts.map +1 -0
- package/es/types/Interface/api/journal/QueryJournal.js +28 -0
- package/es/types/Interface/api/journal/QueryJournal.js.map +1 -0
- package/es/types/Interface/api/mealExpense/CreateMealExpense.d.ts +4 -0
- package/es/types/Interface/api/mealExpense/CreateMealExpense.d.ts.map +1 -0
- package/es/types/Interface/api/mealExpense/CreateMealExpense.js +25 -0
- package/es/types/Interface/api/mealExpense/CreateMealExpense.js.map +1 -0
- package/es/types/Interface/api/mealExpense/ReadMealExpense.d.ts +8 -0
- package/es/types/Interface/api/mealExpense/ReadMealExpense.d.ts.map +1 -0
- package/es/types/Interface/api/mealExpense/ReadMealExpense.js +3 -0
- package/es/types/Interface/api/mealExpense/ReadMealExpense.js.map +1 -0
- package/es/types/Interface/api/product/CreateProduct.d.ts.map +1 -1
- package/es/types/Interface/api/product/CreateProduct.js +3 -2
- package/es/types/Interface/api/product/CreateProduct.js.map +1 -1
- package/es/types/Interface/api/product/QueryProduct.d.ts.map +1 -1
- package/es/types/Interface/api/product/QueryProduct.js +4 -2
- package/es/types/Interface/api/product/QueryProduct.js.map +1 -1
- package/es/types/Interface/api/registration/CreateRegistration.d.ts +6 -0
- package/es/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -0
- package/es/types/Interface/api/registration/CreateRegistration.js +25 -0
- package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -0
- package/es/types/Interface/api/registration/ReadRegistration.d.ts +3 -0
- package/es/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -0
- package/es/types/Interface/api/registration/ReadRegistration.js +2 -0
- package/es/types/Interface/api/registration/ReadRegistration.js.map +1 -0
- package/es/types/Interface/models/IApiError.d.ts +2 -1
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +2 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IBalanceSheetModule.d.ts +1 -0
- package/es/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/models/IBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/models/IExercice.d.ts +8 -8
- package/es/types/Interface/models/IExercice.d.ts.map +1 -1
- package/es/types/Interface/models/IExercice.js.map +1 -1
- package/es/types/Interface/models/IGedFile.d.ts +10 -10
- package/es/types/Interface/models/IGedFile.d.ts.map +1 -1
- package/es/types/Interface/models/IGedFile.js.map +1 -1
- package/es/types/Interface/models/IPayment.d.ts +19 -15
- package/es/types/Interface/models/IPayment.d.ts.map +1 -1
- package/es/types/Interface/models/IPayment.js.map +1 -1
- package/es/types/Interface/models/IRegistration.d.ts +21 -0
- package/es/types/Interface/models/IRegistration.d.ts.map +1 -0
- package/es/types/Interface/models/IRegistration.js +2 -0
- package/es/types/Interface/models/IRegistration.js.map +1 -0
- package/es/types/Interface/models/ISociety.d.ts +1 -0
- package/es/types/Interface/models/ISociety.d.ts.map +1 -1
- package/es/types/Interface/models/ISociety.js.map +1 -1
- package/es/types/index.d.ts +17 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +17 -0
- package/es/types/index.js.map +1 -1
- package/es/utils/validators/formattedDateString.validator.d.ts +3 -0
- package/es/utils/validators/formattedDateString.validator.d.ts.map +1 -0
- package/es/utils/validators/formattedDateString.validator.js +19 -0
- package/es/utils/validators/formattedDateString.validator.js.map +1 -0
- package/js/api/resources/AccountingFiles.js +29 -0
- package/js/api/resources/AccountingFiles.js.map +1 -0
- package/js/api/resources/InternalInvoicing.js +18 -0
- package/js/api/resources/InternalInvoicing.js.map +1 -0
- package/js/api/resources/Journal.js +21 -0
- package/js/api/resources/Journal.js.map +1 -0
- package/js/api/resources/MealExpense.js +52 -0
- package/js/api/resources/MealExpense.js.map +1 -0
- package/js/api/resources/Product.js +12 -0
- package/js/api/resources/Product.js.map +1 -1
- package/js/api/resources/Registration.js +18 -0
- package/js/api/resources/Registration.js.map +1 -0
- package/js/api/resources.js +13 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/AccountingFileType.js +1 -0
- package/js/types/Enum/AccountingFileType.js.map +1 -1
- package/js/types/Enum/CerfaType.js +16 -14
- package/js/types/Enum/CerfaType.js.map +1 -1
- package/js/types/Enum/Ged.js +2 -2
- package/js/types/Enum/Ged.js.map +1 -1
- package/js/types/Enum/GlobalRegime.js +61 -61
- package/js/types/Enum/GlobalRegime.js.map +1 -1
- package/js/types/Enum/MealExpenseTresholds.js +16 -0
- package/js/types/Enum/MealExpenseTresholds.js.map +1 -0
- package/js/types/Enum/MimeType.js +29 -0
- package/js/types/Enum/MimeType.js.map +1 -0
- package/js/types/Enum/PaymentMethod.js +68 -0
- package/js/types/Enum/PaymentMethod.js.map +1 -0
- package/js/types/Enum/ProductType.js +14 -7
- package/js/types/Enum/ProductType.js.map +1 -1
- package/js/types/Enum/Vat.js +18 -9
- package/js/types/Enum/Vat.js.map +1 -1
- package/js/types/Interface/api/accountingFiles/Ocr.js +6 -0
- package/js/types/Interface/api/accountingFiles/Ocr.js.map +1 -0
- package/js/types/Interface/api/accountingFiles/OcrPayload.js +6 -0
- package/js/types/Interface/api/accountingFiles/OcrPayload.js.map +1 -0
- package/js/types/Interface/api/accountingFiles/OcrValue.js +6 -0
- package/js/types/Interface/api/accountingFiles/OcrValue.js.map +1 -0
- package/js/types/Interface/api/accountingFiles/queryAccountingFiles.js +35 -0
- package/js/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -0
- package/js/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.js +10 -0
- package/js/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.js.map +1 -0
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +2 -0
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +2 -0
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/exercice/CreateExercice.js +55 -0
- package/js/types/Interface/api/exercice/CreateExercice.js.map +1 -0
- package/js/types/Interface/api/exercice/QueryExercice.js +37 -0
- package/js/types/Interface/api/exercice/QueryExercice.js.map +1 -0
- package/js/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js +29 -0
- package/js/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js.map +1 -0
- package/js/types/Interface/api/journal/Journals.js +30 -0
- package/js/types/Interface/api/journal/Journals.js.map +1 -0
- package/js/types/Interface/api/journal/QueryJournal.js +33 -0
- package/js/types/Interface/api/journal/QueryJournal.js.map +1 -0
- package/js/types/Interface/api/mealExpense/CreateMealExpense.js +33 -0
- package/js/types/Interface/api/mealExpense/CreateMealExpense.js.map +1 -0
- package/js/types/Interface/api/mealExpense/ReadMealExpense.js +10 -0
- package/js/types/Interface/api/mealExpense/ReadMealExpense.js.map +1 -0
- package/js/types/Interface/api/product/CreateProduct.js +1 -1
- package/js/types/Interface/api/product/CreateProduct.js.map +1 -1
- package/js/types/Interface/api/product/QueryProduct.js +3 -1
- package/js/types/Interface/api/product/QueryProduct.js.map +1 -1
- package/js/types/Interface/api/registration/CreateRegistration.js +35 -0
- package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -0
- package/js/types/Interface/api/registration/ReadRegistration.js +6 -0
- package/js/types/Interface/api/registration/ReadRegistration.js.map +1 -0
- package/js/types/Interface/models/IApiError.js +3 -1
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/Interface/models/IRegistration.js +6 -0
- package/js/types/Interface/models/IRegistration.js.map +1 -0
- package/js/types/index.js +204 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/validators/formattedDateString.validator.js +29 -0
- package/js/utils/validators/formattedDateString.validator.js.map +1 -0
- package/package.json +1 -1
- package/ts/api/resources/AccountingFiles.ts +18 -0
- package/ts/api/resources/InternalInvoicing.ts +10 -0
- package/ts/api/resources/Journal.ts +11 -0
- package/ts/api/resources/MealExpense.ts +41 -0
- package/ts/api/resources/Product.ts +12 -0
- package/ts/api/resources/Registration.ts +8 -0
- package/ts/api/resources.ts +8 -0
- package/ts/types/Enum/AccountingFileType.ts +1 -0
- package/ts/types/Enum/CerfaType.ts +14 -14
- package/ts/types/Enum/Ged.ts +1 -1
- package/ts/types/Enum/GlobalRegime.ts +61 -61
- package/ts/types/Enum/MealExpenseTresholds.ts +17 -0
- package/ts/types/Enum/MimeType.ts +23 -0
- package/ts/types/Enum/PaymentMethod.ts +62 -0
- package/ts/types/Enum/ProductType.ts +21 -5
- package/ts/types/Enum/Vat.ts +9 -0
- package/ts/types/Interface/api/accountingFiles/Ocr.ts +13 -0
- package/ts/types/Interface/api/accountingFiles/OcrPayload.ts +15 -0
- package/ts/types/Interface/api/accountingFiles/OcrValue.ts +13 -0
- package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +18 -0
- package/ts/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.ts +6 -0
- package/ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts +6 -0
- package/ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts +6 -0
- package/ts/types/Interface/api/exercice/CreateExercice.ts +80 -0
- package/ts/types/Interface/api/exercice/QueryExercice.ts +25 -0
- package/ts/types/Interface/api/internalInvoicing/CreateInternalInvoicing.ts +9 -0
- package/ts/types/Interface/api/journal/Journals.ts +48 -0
- package/ts/types/Interface/api/journal/QueryJournal.ts +15 -0
- package/ts/types/Interface/api/mealExpense/CreateMealExpense.ts +16 -0
- package/ts/types/Interface/api/mealExpense/ReadMealExpense.ts +8 -0
- package/ts/types/Interface/api/product/CreateProduct.ts +2 -2
- package/ts/types/Interface/api/product/QueryProduct.ts +6 -2
- package/ts/types/Interface/api/registration/CreateRegistration.ts +13 -0
- package/ts/types/Interface/api/registration/ReadRegistration.ts +3 -0
- package/ts/types/Interface/models/IApiError.ts +2 -0
- package/ts/types/Interface/models/IBalanceSheetModule.ts +1 -0
- package/ts/types/Interface/models/IExercice.ts +8 -8
- package/ts/types/Interface/models/IGedFile.ts +10 -10
- package/ts/types/Interface/models/IPayment.ts +19 -15
- package/ts/types/Interface/models/IRegistration.ts +23 -0
- package/ts/types/Interface/models/ISociety.ts +1 -0
- package/ts/types/index.ts +18 -1
- package/ts/utils/validators/formattedDateString.validator.ts +24 -0
|
@@ -45,7 +45,7 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
45
45
|
idTaxSystem: TaxSystem.IR,
|
|
46
46
|
profitsType: ProfitsType.BIC,
|
|
47
47
|
idFiscalRegime: FiscalRegime.NA,
|
|
48
|
-
declaration: CerfaType
|
|
48
|
+
declaration: CerfaType.CERFA_2031,
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
name: 'Presta de services (BIC - IR - 2031)',
|
|
@@ -53,7 +53,7 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
53
53
|
idTaxSystem: TaxSystem.IR,
|
|
54
54
|
profitsType: ProfitsType.BIC,
|
|
55
55
|
idFiscalRegime: FiscalRegime.NA,
|
|
56
|
-
declaration: CerfaType
|
|
56
|
+
declaration: CerfaType.CERFA_2031,
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
name: 'Profession libérale (BNC - IR - 2035)',
|
|
@@ -61,7 +61,7 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
61
61
|
idTaxSystem: TaxSystem.IR,
|
|
62
62
|
profitsType: ProfitsType.BNC,
|
|
63
63
|
idFiscalRegime: FiscalRegime.NA,
|
|
64
|
-
declaration: CerfaType
|
|
64
|
+
declaration: CerfaType.CERFA_2035,
|
|
65
65
|
},
|
|
66
66
|
],
|
|
67
67
|
},
|
|
@@ -76,7 +76,7 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
76
76
|
idTaxSystem: TaxSystem.IR,
|
|
77
77
|
profitsType: ProfitsType.BIC,
|
|
78
78
|
idFiscalRegime: FiscalRegime.NA,
|
|
79
|
-
declaration: CerfaType
|
|
79
|
+
declaration: CerfaType.CERFA_2031,
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
name: 'Profession libérale (BNC - IR - 2035)',
|
|
@@ -84,7 +84,7 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
84
84
|
idTaxSystem: TaxSystem.IR,
|
|
85
85
|
profitsType: ProfitsType.BNC,
|
|
86
86
|
idFiscalRegime: FiscalRegime.NA,
|
|
87
|
-
declaration: CerfaType
|
|
87
|
+
declaration: CerfaType.CERFA_2035,
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
name: 'Artisan - commerçant (BIC - IS - Réel simplifié - 2065 & 2033)',
|
|
@@ -92,8 +92,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
92
92
|
idTaxSystem: TaxSystem.IS,
|
|
93
93
|
profitsType: ProfitsType.BIC,
|
|
94
94
|
idFiscalRegime: FiscalRegime.RS,
|
|
95
|
-
declaration: CerfaType
|
|
96
|
-
annexe: CerfaType
|
|
95
|
+
declaration: CerfaType.CERFA_2065,
|
|
96
|
+
annexe: CerfaType.CERFA_2033,
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
99
|
name: 'Artisan - commerçant (BIC - IS - Réel normal - 2065 & 2050)',
|
|
@@ -101,8 +101,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
101
101
|
idTaxSystem: TaxSystem.IS,
|
|
102
102
|
profitsType: ProfitsType.BIC,
|
|
103
103
|
idFiscalRegime: FiscalRegime.RN,
|
|
104
|
-
declaration: CerfaType
|
|
105
|
-
annexe: CerfaType
|
|
104
|
+
declaration: CerfaType.CERFA_2065,
|
|
105
|
+
annexe: CerfaType.CERFA_2050,
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
name: 'Profession libérale (BNC - IS - Réel simplifié - 2065 & 2033)',
|
|
@@ -110,8 +110,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
110
110
|
idTaxSystem: TaxSystem.IS,
|
|
111
111
|
profitsType: ProfitsType.BNC,
|
|
112
112
|
idFiscalRegime: FiscalRegime.RS,
|
|
113
|
-
declaration: CerfaType
|
|
114
|
-
annexe: CerfaType
|
|
113
|
+
declaration: CerfaType.CERFA_2065,
|
|
114
|
+
annexe: CerfaType.CERFA_2033,
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
117
|
name: 'Profession libérale (BNC - IS - 2065 & 2050)',
|
|
@@ -119,8 +119,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
119
119
|
idTaxSystem: TaxSystem.IS,
|
|
120
120
|
profitsType: ProfitsType.BNC,
|
|
121
121
|
idFiscalRegime: FiscalRegime.NA,
|
|
122
|
-
declaration: CerfaType
|
|
123
|
-
annexe: CerfaType
|
|
122
|
+
declaration: CerfaType.CERFA_2065,
|
|
123
|
+
annexe: CerfaType.CERFA_2050,
|
|
124
124
|
},
|
|
125
125
|
],
|
|
126
126
|
},
|
|
@@ -135,7 +135,7 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
135
135
|
idTaxSystem: TaxSystem.NA,
|
|
136
136
|
profitsType: ProfitsType.BIC,
|
|
137
137
|
idFiscalRegime: FiscalRegime.NA,
|
|
138
|
-
declaration: CerfaType
|
|
138
|
+
declaration: CerfaType.CERFA_2042_C_Pro,
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
name: 'Presta de services commerciales ou artisanales (Micro-BIC - 2042-C-Pro)',
|
|
@@ -143,7 +143,7 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
143
143
|
idTaxSystem: TaxSystem.NA,
|
|
144
144
|
profitsType: ProfitsType.BIC,
|
|
145
145
|
idFiscalRegime: FiscalRegime.NA,
|
|
146
|
-
declaration: CerfaType
|
|
146
|
+
declaration: CerfaType.CERFA_2042_C_Pro,
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
name: 'Profession libérale (Micro-BNC - 2042-C-Pro)',
|
|
@@ -151,7 +151,7 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
151
151
|
idTaxSystem: TaxSystem.NA,
|
|
152
152
|
profitsType: ProfitsType.BNC,
|
|
153
153
|
idFiscalRegime: FiscalRegime.NA,
|
|
154
|
-
declaration: CerfaType
|
|
154
|
+
declaration: CerfaType.CERFA_2042_C_Pro,
|
|
155
155
|
},
|
|
156
156
|
],
|
|
157
157
|
},
|
|
@@ -165,7 +165,7 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
165
165
|
idActivity: Activity.AUTRES,
|
|
166
166
|
idTaxSystem: TaxSystem.IS,
|
|
167
167
|
idFiscalRegime: FiscalRegime.NA,
|
|
168
|
-
declaration: CerfaType
|
|
168
|
+
declaration: CerfaType.CERFA_2070,
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
171
|
name: 'Fiscalisée (BIC - IS - Réel simplifié - 2065 & 2033)',
|
|
@@ -173,8 +173,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
173
173
|
idTaxSystem: TaxSystem.IS,
|
|
174
174
|
profitsType: ProfitsType.BIC,
|
|
175
175
|
idFiscalRegime: FiscalRegime.RS,
|
|
176
|
-
declaration: CerfaType
|
|
177
|
-
annexe: CerfaType
|
|
176
|
+
declaration: CerfaType.CERFA_2065,
|
|
177
|
+
annexe: CerfaType.CERFA_2033,
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
name: 'Fiscalisée (BIC - IS - Réel normal - 2065 & 2050)',
|
|
@@ -182,8 +182,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
182
182
|
idTaxSystem: TaxSystem.IS,
|
|
183
183
|
profitsType: ProfitsType.BIC,
|
|
184
184
|
idFiscalRegime: FiscalRegime.RN,
|
|
185
|
-
declaration: CerfaType
|
|
186
|
-
annexe: CerfaType
|
|
185
|
+
declaration: CerfaType.CERFA_2065,
|
|
186
|
+
annexe: CerfaType.CERFA_2050,
|
|
187
187
|
},
|
|
188
188
|
],
|
|
189
189
|
},
|
|
@@ -198,7 +198,7 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
198
198
|
idTaxSystem: TaxSystem.IR,
|
|
199
199
|
profitsType: ProfitsType.BIC,
|
|
200
200
|
idFiscalRegime: FiscalRegime.NA,
|
|
201
|
-
declaration: CerfaType
|
|
201
|
+
declaration: CerfaType.CERFA_2031,
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
204
|
name: 'Artisan - commerçant (BIC - IS - Réel simplifié - 2065 && 2033)',
|
|
@@ -206,8 +206,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
206
206
|
idTaxSystem: TaxSystem.IS,
|
|
207
207
|
profitsType: ProfitsType.BIC,
|
|
208
208
|
idFiscalRegime: FiscalRegime.RS,
|
|
209
|
-
declaration: CerfaType
|
|
210
|
-
annexe: CerfaType
|
|
209
|
+
declaration: CerfaType.CERFA_2065,
|
|
210
|
+
annexe: CerfaType.CERFA_2033,
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
213
|
name: 'Artisan - commerçant (BIC - IS - Réel normal - 2065 & 2050)',
|
|
@@ -215,8 +215,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
215
215
|
idTaxSystem: TaxSystem.IS,
|
|
216
216
|
profitsType: ProfitsType.BIC,
|
|
217
217
|
idFiscalRegime: FiscalRegime.RN,
|
|
218
|
-
declaration: CerfaType
|
|
219
|
-
annexe: CerfaType
|
|
218
|
+
declaration: CerfaType.CERFA_2065,
|
|
219
|
+
annexe: CerfaType.CERFA_2050,
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
222
|
name: 'Presta de services (BIC - IR - 2031)',
|
|
@@ -224,7 +224,7 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
224
224
|
idTaxSystem: TaxSystem.IR,
|
|
225
225
|
profitsType: ProfitsType.BIC,
|
|
226
226
|
idFiscalRegime: FiscalRegime.NA,
|
|
227
|
-
declaration: CerfaType
|
|
227
|
+
declaration: CerfaType.CERFA_2031,
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
name: 'Presta de services (BIC - IS - Réel simplifié - 2065 & 2033)',
|
|
@@ -232,8 +232,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
232
232
|
idTaxSystem: TaxSystem.IS,
|
|
233
233
|
profitsType: ProfitsType.BIC,
|
|
234
234
|
idFiscalRegime: FiscalRegime.RS,
|
|
235
|
-
declaration: CerfaType
|
|
236
|
-
annexe: CerfaType
|
|
235
|
+
declaration: CerfaType.CERFA_2065,
|
|
236
|
+
annexe: CerfaType.CERFA_2033,
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
239
|
name: 'Presta de services (BIC - IS - Réel normal - 2065 & 2050)',
|
|
@@ -241,8 +241,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
241
241
|
idTaxSystem: TaxSystem.IS,
|
|
242
242
|
profitsType: ProfitsType.BIC,
|
|
243
243
|
idFiscalRegime: FiscalRegime.RN,
|
|
244
|
-
declaration: CerfaType
|
|
245
|
-
annexe: CerfaType
|
|
244
|
+
declaration: CerfaType.CERFA_2065,
|
|
245
|
+
annexe: CerfaType.CERFA_2050,
|
|
246
246
|
},
|
|
247
247
|
],
|
|
248
248
|
},
|
|
@@ -257,7 +257,7 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
257
257
|
idTaxSystem: TaxSystem.IR,
|
|
258
258
|
profitsType: ProfitsType.BIC,
|
|
259
259
|
idFiscalRegime: FiscalRegime.NA,
|
|
260
|
-
declaration: CerfaType
|
|
260
|
+
declaration: CerfaType.CERFA_2031,
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
263
|
name: 'Artisan - commerçant (BIC - IS - Réel simplifié - 2065 & 2033)',
|
|
@@ -265,8 +265,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
265
265
|
idTaxSystem: TaxSystem.IS,
|
|
266
266
|
profitsType: ProfitsType.BIC,
|
|
267
267
|
idFiscalRegime: FiscalRegime.RS,
|
|
268
|
-
declaration: CerfaType
|
|
269
|
-
annexe: CerfaType
|
|
268
|
+
declaration: CerfaType.CERFA_2065,
|
|
269
|
+
annexe: CerfaType.CERFA_2033,
|
|
270
270
|
},
|
|
271
271
|
{
|
|
272
272
|
name: 'Artisan - commerçant (BIC - IS - Réel normal - 2065 & 2050)',
|
|
@@ -274,8 +274,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
274
274
|
idTaxSystem: TaxSystem.IS,
|
|
275
275
|
profitsType: ProfitsType.BIC,
|
|
276
276
|
idFiscalRegime: FiscalRegime.RN,
|
|
277
|
-
declaration: CerfaType
|
|
278
|
-
annexe: CerfaType
|
|
277
|
+
declaration: CerfaType.CERFA_2065,
|
|
278
|
+
annexe: CerfaType.CERFA_2050,
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
281
|
name: 'Presta de services (BIC - IR - 2031)',
|
|
@@ -283,7 +283,7 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
283
283
|
idTaxSystem: TaxSystem.IR,
|
|
284
284
|
profitsType: ProfitsType.BIC,
|
|
285
285
|
idFiscalRegime: FiscalRegime.NA,
|
|
286
|
-
declaration: CerfaType
|
|
286
|
+
declaration: CerfaType.CERFA_2031,
|
|
287
287
|
},
|
|
288
288
|
{
|
|
289
289
|
name: 'Presta de services (BIC - IS - Réel simplifié - 2065 & 2033)',
|
|
@@ -291,8 +291,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
291
291
|
idTaxSystem: TaxSystem.IS,
|
|
292
292
|
profitsType: ProfitsType.BIC,
|
|
293
293
|
idFiscalRegime: FiscalRegime.RS,
|
|
294
|
-
declaration: CerfaType
|
|
295
|
-
annexe: CerfaType
|
|
294
|
+
declaration: CerfaType.CERFA_2065,
|
|
295
|
+
annexe: CerfaType.CERFA_2033,
|
|
296
296
|
},
|
|
297
297
|
{
|
|
298
298
|
name: 'Presta de services (BIC - IS - Réel normal - 2065 & 2050)',
|
|
@@ -300,8 +300,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
300
300
|
idTaxSystem: TaxSystem.IS,
|
|
301
301
|
profitsType: ProfitsType.BIC,
|
|
302
302
|
idFiscalRegime: FiscalRegime.RN,
|
|
303
|
-
declaration: CerfaType
|
|
304
|
-
annexe: CerfaType
|
|
303
|
+
declaration: CerfaType.CERFA_2065,
|
|
304
|
+
annexe: CerfaType.CERFA_2050,
|
|
305
305
|
},
|
|
306
306
|
],
|
|
307
307
|
},
|
|
@@ -316,8 +316,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
316
316
|
idTaxSystem: TaxSystem.IS,
|
|
317
317
|
profitsType: ProfitsType.BIC,
|
|
318
318
|
idFiscalRegime: FiscalRegime.RS,
|
|
319
|
-
declaration: CerfaType
|
|
320
|
-
annexe: CerfaType
|
|
319
|
+
declaration: CerfaType.CERFA_2065,
|
|
320
|
+
annexe: CerfaType.CERFA_2033,
|
|
321
321
|
},
|
|
322
322
|
{
|
|
323
323
|
name: 'Artisan - commerçant (BIC - IS - Réel normal - 2065 & 2050)',
|
|
@@ -325,8 +325,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
325
325
|
idTaxSystem: TaxSystem.IS,
|
|
326
326
|
profitsType: ProfitsType.BIC,
|
|
327
327
|
idFiscalRegime: FiscalRegime.RN,
|
|
328
|
-
declaration: CerfaType
|
|
329
|
-
annexe: CerfaType
|
|
328
|
+
declaration: CerfaType.CERFA_2065,
|
|
329
|
+
annexe: CerfaType.CERFA_2050,
|
|
330
330
|
},
|
|
331
331
|
{
|
|
332
332
|
name: 'Presta de services (BIC - IS - Réel simplifié - 2065 & 2033)',
|
|
@@ -334,8 +334,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
334
334
|
idTaxSystem: TaxSystem.IS,
|
|
335
335
|
profitsType: ProfitsType.BIC,
|
|
336
336
|
idFiscalRegime: FiscalRegime.RS,
|
|
337
|
-
declaration: CerfaType
|
|
338
|
-
annexe: CerfaType
|
|
337
|
+
declaration: CerfaType.CERFA_2065,
|
|
338
|
+
annexe: CerfaType.CERFA_2033,
|
|
339
339
|
|
|
340
340
|
},
|
|
341
341
|
{
|
|
@@ -344,8 +344,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
344
344
|
idTaxSystem: TaxSystem.IS,
|
|
345
345
|
profitsType: ProfitsType.BIC,
|
|
346
346
|
idFiscalRegime: FiscalRegime.RN,
|
|
347
|
-
declaration: CerfaType
|
|
348
|
-
annexe: CerfaType
|
|
347
|
+
declaration: CerfaType.CERFA_2065,
|
|
348
|
+
annexe: CerfaType.CERFA_2050,
|
|
349
349
|
},
|
|
350
350
|
],
|
|
351
351
|
},
|
|
@@ -360,7 +360,7 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
360
360
|
idTaxSystem: TaxSystem.IR,
|
|
361
361
|
profitsType: ProfitsType.BNC,
|
|
362
362
|
idFiscalRegime: FiscalRegime.NA,
|
|
363
|
-
declaration: CerfaType
|
|
363
|
+
declaration: CerfaType.CERFA_2044,
|
|
364
364
|
},
|
|
365
365
|
{
|
|
366
366
|
name: 'Presta de services (BNC - IS - 2072)',
|
|
@@ -368,7 +368,7 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
368
368
|
idTaxSystem: TaxSystem.IS,
|
|
369
369
|
profitsType: ProfitsType.BNC,
|
|
370
370
|
idFiscalRegime: FiscalRegime.NA,
|
|
371
|
-
declaration: CerfaType
|
|
371
|
+
declaration: CerfaType.CERFA_2072,
|
|
372
372
|
},
|
|
373
373
|
],
|
|
374
374
|
},
|
|
@@ -383,7 +383,7 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
383
383
|
idTaxSystem: TaxSystem.IR,
|
|
384
384
|
profitsType: ProfitsType.BNC,
|
|
385
385
|
idFiscalRegime: FiscalRegime.NA,
|
|
386
|
-
declaration: CerfaType
|
|
386
|
+
declaration: CerfaType.CERFA_2035,
|
|
387
387
|
},
|
|
388
388
|
{
|
|
389
389
|
name: 'Presta de services (BIC - IS - Réel simplifié - 2065 & 2033)',
|
|
@@ -391,8 +391,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
391
391
|
idTaxSystem: TaxSystem.IS,
|
|
392
392
|
profitsType: ProfitsType.BIC,
|
|
393
393
|
idFiscalRegime: FiscalRegime.RS,
|
|
394
|
-
declaration: CerfaType
|
|
395
|
-
annexe: CerfaType
|
|
394
|
+
declaration: CerfaType.CERFA_2065,
|
|
395
|
+
annexe: CerfaType.CERFA_2033,
|
|
396
396
|
},
|
|
397
397
|
{
|
|
398
398
|
name: 'Presta de services (BIC - IS - Réel normal - 2065 & 2050)',
|
|
@@ -400,8 +400,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
400
400
|
idTaxSystem: TaxSystem.IS,
|
|
401
401
|
profitsType: ProfitsType.BIC,
|
|
402
402
|
idFiscalRegime: FiscalRegime.RN,
|
|
403
|
-
declaration: CerfaType
|
|
404
|
-
annexe: CerfaType
|
|
403
|
+
declaration: CerfaType.CERFA_2065,
|
|
404
|
+
annexe: CerfaType.CERFA_2050,
|
|
405
405
|
},
|
|
406
406
|
],
|
|
407
407
|
},
|
|
@@ -416,7 +416,7 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
416
416
|
idTaxSystem: TaxSystem.IR,
|
|
417
417
|
profitsType: ProfitsType.BNC,
|
|
418
418
|
idFiscalRegime: FiscalRegime.NA,
|
|
419
|
-
declaration: CerfaType
|
|
419
|
+
declaration: CerfaType.CERFA_2035,
|
|
420
420
|
},
|
|
421
421
|
{
|
|
422
422
|
name: 'Profession libérale (BIC - IS - Réel simplifié - 2065 & 2033)',
|
|
@@ -424,8 +424,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
424
424
|
idTaxSystem: TaxSystem.IS,
|
|
425
425
|
profitsType: ProfitsType.BIC,
|
|
426
426
|
idFiscalRegime: FiscalRegime.RS,
|
|
427
|
-
declaration: CerfaType
|
|
428
|
-
annexe: CerfaType
|
|
427
|
+
declaration: CerfaType.CERFA_2065,
|
|
428
|
+
annexe: CerfaType.CERFA_2033,
|
|
429
429
|
},
|
|
430
430
|
{
|
|
431
431
|
name: 'Profession libérale (BIC - IS - Réel normal - 2065 & 2050)',
|
|
@@ -433,8 +433,8 @@ export const GlobalRegime: GlobalRegimeType = {
|
|
|
433
433
|
idTaxSystem: TaxSystem.IS,
|
|
434
434
|
profitsType: ProfitsType.BIC,
|
|
435
435
|
idFiscalRegime: FiscalRegime.RN,
|
|
436
|
-
declaration: CerfaType
|
|
437
|
-
annexe: CerfaType
|
|
436
|
+
declaration: CerfaType.CERFA_2065,
|
|
437
|
+
annexe: CerfaType.CERFA_2050,
|
|
438
438
|
},
|
|
439
439
|
],
|
|
440
440
|
},
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface IMealExpenseThresholds {
|
|
2
|
+
[key: string]: {
|
|
3
|
+
min: number;
|
|
4
|
+
max: number;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const MealExpenseThresholds: IMealExpenseThresholds = {
|
|
9
|
+
2020: {
|
|
10
|
+
min: 4.90,
|
|
11
|
+
max: 19,
|
|
12
|
+
},
|
|
13
|
+
2021: {
|
|
14
|
+
min: 4.95,
|
|
15
|
+
max: 19.10,
|
|
16
|
+
},
|
|
17
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export const MimeType = {
|
|
2
|
+
PDF: 'application/pdf',
|
|
3
|
+
MSWORD: 'application/msword',
|
|
4
|
+
VNDXML: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
5
|
+
VNDOPENDOCUMENT: 'application/vnd.oasis.opendocument.text',
|
|
6
|
+
VNDSPREADSHEET: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
7
|
+
VNDEXCEL: 'application/vnd.ms-excel',
|
|
8
|
+
VNDOPENDOCUMENTSPREAD: 'application/vnd.oasis.opendocument.spreadsheet',
|
|
9
|
+
VNDOPENDOCUMENTPRESTATION: 'application/vnd.oasis.opendocument.presentation',
|
|
10
|
+
PNG: 'image/png',
|
|
11
|
+
JPEG: 'image/jpeg',
|
|
12
|
+
XPNG: 'image/x-png',
|
|
13
|
+
ZIP: 'application/zip',
|
|
14
|
+
X7Z: 'application/x-7z-compressed',
|
|
15
|
+
RAR: 'application/x-rar-compressed',
|
|
16
|
+
CSV: 'text/csv',
|
|
17
|
+
PLAIN: 'text/plain',
|
|
18
|
+
VCARD: 'text/x-vcard',
|
|
19
|
+
TIFF: 'image/tiff',
|
|
20
|
+
JPG: 'image/jpg',
|
|
21
|
+
XML: 'image/svg+xml',
|
|
22
|
+
TEXTXML: 'text/xml',
|
|
23
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export const PaymentMethod = {
|
|
2
|
+
DIRECT_DEBIT: {
|
|
3
|
+
id: 1,
|
|
4
|
+
name: 'Prélèvement',
|
|
5
|
+
isSpecial: 0,
|
|
6
|
+
isOverdue: 0,
|
|
7
|
+
},
|
|
8
|
+
BANK_TRANSFER: {
|
|
9
|
+
id: 2,
|
|
10
|
+
name: 'Virement',
|
|
11
|
+
isSpecial: 0,
|
|
12
|
+
isOverdue: 0,
|
|
13
|
+
},
|
|
14
|
+
BANK_CARD: {
|
|
15
|
+
id: 3,
|
|
16
|
+
name: 'CB',
|
|
17
|
+
isSpecial: 0,
|
|
18
|
+
isOverdue: 0,
|
|
19
|
+
},
|
|
20
|
+
BANK_CHECK: {
|
|
21
|
+
id: 4,
|
|
22
|
+
name: 'Chèque',
|
|
23
|
+
isSpecial: 0,
|
|
24
|
+
isOverdue: 0,
|
|
25
|
+
},
|
|
26
|
+
DIRECT_DEBIT_REJECTION_1: {
|
|
27
|
+
id: 5,
|
|
28
|
+
name: 'Rejet de prélèvement 1',
|
|
29
|
+
isSpecial: 1,
|
|
30
|
+
isOverdue: 1,
|
|
31
|
+
},
|
|
32
|
+
DIRECT_DEBIT_REJECTION_2: {
|
|
33
|
+
id: 6,
|
|
34
|
+
name: 'Rejet de prélèvement 2',
|
|
35
|
+
isSpecial: 1,
|
|
36
|
+
isOverdue: 1,
|
|
37
|
+
},
|
|
38
|
+
VARIOUS_UNPAID: {
|
|
39
|
+
id: 7,
|
|
40
|
+
name: 'Impayés divers',
|
|
41
|
+
isSpecial: 1,
|
|
42
|
+
isOverdue: 1,
|
|
43
|
+
},
|
|
44
|
+
STRIPE_ECB: {
|
|
45
|
+
id: 8,
|
|
46
|
+
name: 'Stripe (ECB)',
|
|
47
|
+
isSpecial: 0,
|
|
48
|
+
isOverdue: 0,
|
|
49
|
+
},
|
|
50
|
+
STRIPE_WI: {
|
|
51
|
+
id: 9,
|
|
52
|
+
name: 'Stripe (WI)',
|
|
53
|
+
isSpecial: 0,
|
|
54
|
+
isOverdue: 0,
|
|
55
|
+
},
|
|
56
|
+
CASH: {
|
|
57
|
+
id: 10,
|
|
58
|
+
name: 'Espèces',
|
|
59
|
+
isSpecial: 0,
|
|
60
|
+
isOverdue: 0,
|
|
61
|
+
},
|
|
62
|
+
};
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
export interface IProductType {
|
|
2
|
+
[key: string]: {
|
|
3
|
+
id: number,
|
|
4
|
+
name: string,
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const ProductType: IProductType = {
|
|
9
|
+
PRODUCT: {
|
|
10
|
+
id: 1,
|
|
11
|
+
name: 'Produit',
|
|
12
|
+
},
|
|
13
|
+
SERVICE: {
|
|
14
|
+
id: 2,
|
|
15
|
+
name: 'Service',
|
|
16
|
+
},
|
|
17
|
+
GOODS: {
|
|
18
|
+
id: 3,
|
|
19
|
+
name: 'Marchandise',
|
|
20
|
+
},
|
|
21
|
+
};
|
package/ts/types/Enum/Vat.ts
CHANGED
|
@@ -9,6 +9,7 @@ export const Vat = {
|
|
|
9
9
|
collected: 212,
|
|
10
10
|
deductible: 221,
|
|
11
11
|
immobilization: 19,
|
|
12
|
+
roundPercentage: [0],
|
|
12
13
|
},
|
|
13
14
|
TX_5_5: {
|
|
14
15
|
id: 2,
|
|
@@ -20,6 +21,7 @@ export const Vat = {
|
|
|
20
21
|
collected: 209,
|
|
21
22
|
deductible: 4,
|
|
22
23
|
immobilization: 10,
|
|
24
|
+
roundPercentage: [5, 6],
|
|
23
25
|
},
|
|
24
26
|
TX_10: {
|
|
25
27
|
id: 3,
|
|
@@ -31,6 +33,7 @@ export const Vat = {
|
|
|
31
33
|
collected: 210,
|
|
32
34
|
deductible: 5,
|
|
33
35
|
immobilization: 11,
|
|
36
|
+
roundPercentage: [10, 11],
|
|
34
37
|
},
|
|
35
38
|
TX_20: {
|
|
36
39
|
id: 4,
|
|
@@ -42,6 +45,7 @@ export const Vat = {
|
|
|
42
45
|
collected: 211,
|
|
43
46
|
deductible: 6,
|
|
44
47
|
immobilization: 12,
|
|
48
|
+
roundPercentage: [19, 20, 21],
|
|
45
49
|
},
|
|
46
50
|
TX_2_1: {
|
|
47
51
|
id: 6,
|
|
@@ -53,6 +57,7 @@ export const Vat = {
|
|
|
53
57
|
collected: 222,
|
|
54
58
|
deductible: 7,
|
|
55
59
|
immobilization: 13,
|
|
60
|
+
roundPercentage: [2, 3],
|
|
56
61
|
},
|
|
57
62
|
TX_8_5: {
|
|
58
63
|
id: 7,
|
|
@@ -64,6 +69,7 @@ export const Vat = {
|
|
|
64
69
|
collected: 345,
|
|
65
70
|
deductible: 8,
|
|
66
71
|
immobilization: 15,
|
|
72
|
+
roundPercentage: [8, 9],
|
|
67
73
|
},
|
|
68
74
|
MARGE: {
|
|
69
75
|
id: 8,
|
|
@@ -75,6 +81,7 @@ export const Vat = {
|
|
|
75
81
|
collected: 211,
|
|
76
82
|
deductible: 9,
|
|
77
83
|
immobilization: null,
|
|
84
|
+
roundPercentage: [],
|
|
78
85
|
},
|
|
79
86
|
INTRACOM: {
|
|
80
87
|
id: 9,
|
|
@@ -86,6 +93,7 @@ export const Vat = {
|
|
|
86
93
|
collected: 207,
|
|
87
94
|
deductible: 208,
|
|
88
95
|
immobilization: 208,
|
|
96
|
+
roundPercentage: [],
|
|
89
97
|
},
|
|
90
98
|
MANUAL: {
|
|
91
99
|
id: 11,
|
|
@@ -97,5 +105,6 @@ export const Vat = {
|
|
|
97
105
|
collected: 0,
|
|
98
106
|
deductible: 0,
|
|
99
107
|
immobilization: null,
|
|
108
|
+
roundPercentage: [],
|
|
100
109
|
},
|
|
101
110
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface IOcr {
|
|
2
|
+
Invoice_Number: number | any;
|
|
3
|
+
Invoice_Date: Date | any;
|
|
4
|
+
date: Date | any;
|
|
5
|
+
TTC: number | any;
|
|
6
|
+
ttc: number | any;
|
|
7
|
+
TVA: number | any;
|
|
8
|
+
tva: number | any;
|
|
9
|
+
HT: number | any;
|
|
10
|
+
ht: number | any;
|
|
11
|
+
Vendor: string | any;
|
|
12
|
+
vendor_name: string | any;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface IOcrPayload extends Partial<IOcrPayloadOptionnal> {
|
|
2
|
+
invoiceNumber: string;
|
|
3
|
+
dateValue: Date;
|
|
4
|
+
totalAmount: number;
|
|
5
|
+
vatAmount: number;
|
|
6
|
+
subAmount: number;
|
|
7
|
+
merchantName: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface IOcrPayloadOptionnal {
|
|
11
|
+
idEngagementAccountingFile: number | null;
|
|
12
|
+
idAccountingTransaction: number;
|
|
13
|
+
idSociety: number;
|
|
14
|
+
idFile: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface IOcrValue {
|
|
2
|
+
invoiceNumber: number | null;
|
|
3
|
+
invoiceDate: Date | null;
|
|
4
|
+
receiptsDate: Date | null;
|
|
5
|
+
invoicesTotalAmount: number | null;
|
|
6
|
+
receiptsTotalAmount: number | null;
|
|
7
|
+
invoicesVatAmount: number | null;
|
|
8
|
+
receiptsVatAmount: number | null;
|
|
9
|
+
invoicesSubAmount: number | null;
|
|
10
|
+
receiptsSubAmount: number | null;
|
|
11
|
+
invoicesMerchantName: string | null;
|
|
12
|
+
receiptsMerchantName: string | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ApiProperty } from '../../../../utils';
|
|
2
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
3
|
+
|
|
4
|
+
export class QueryAccountingFiles {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
idAccountingType: number;
|
|
7
|
+
|
|
8
|
+
@ApiProperty()
|
|
9
|
+
@ToBoolean()
|
|
10
|
+
split: boolean;
|
|
11
|
+
|
|
12
|
+
@ApiProperty()
|
|
13
|
+
@ToBoolean()
|
|
14
|
+
isPayPerso: boolean;
|
|
15
|
+
|
|
16
|
+
@ApiProperty()
|
|
17
|
+
files: File[];
|
|
18
|
+
}
|
|
@@ -45,6 +45,12 @@ export class CreateBalanceSheetModuleForm {
|
|
|
45
45
|
@IsOptional()
|
|
46
46
|
hasLaundryFees?: boolean | null;
|
|
47
47
|
|
|
48
|
+
@ApiPropertyOptional()
|
|
49
|
+
@IsBoolean()
|
|
50
|
+
@ToBoolean()
|
|
51
|
+
@IsOptional()
|
|
52
|
+
hasMealExpenses?: boolean | null;
|
|
53
|
+
|
|
48
54
|
@ApiProperty()
|
|
49
55
|
idExercice: number;
|
|
50
56
|
}
|
|
@@ -45,6 +45,12 @@ export class UpdateBalanceSheetModuleForm {
|
|
|
45
45
|
@IsOptional()
|
|
46
46
|
hasLaundryFees?: boolean | null;
|
|
47
47
|
|
|
48
|
+
@ApiPropertyOptional()
|
|
49
|
+
@IsBoolean()
|
|
50
|
+
@ToBoolean()
|
|
51
|
+
@IsOptional()
|
|
52
|
+
hasMealExpenses?: boolean | null;
|
|
53
|
+
|
|
48
54
|
@ApiPropertyOptional()
|
|
49
55
|
idExercice?: number;
|
|
50
56
|
}
|