@silexpert/core 1.2.3 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/types/Enum/AutomaticRegistration.d.ts +3 -1
- package/dist/cjs/types/Enum/AutomaticRegistration.d.ts.map +1 -1
- package/dist/cjs/types/Enum/AutomaticRegistration.js +2 -0
- package/dist/cjs/types/Enum/AutomaticRegistration.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestion.d.ts +5 -0
- package/dist/cjs/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestion.js +5 -0
- package/dist/cjs/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts +5 -0
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js +5 -0
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
- package/dist/cjs/types/Enum/FuelType.d.ts +2 -2
- package/dist/cjs/types/Enum/FuelType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/FuelType.js +14 -15
- package/dist/cjs/types/Enum/FuelType.js.map +1 -1
- package/dist/cjs/types/Enum/PaymentRecovery.d.ts +4 -2
- package/dist/cjs/types/Enum/PaymentRecovery.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PaymentRecovery.js +3 -1
- package/dist/cjs/types/Enum/PaymentRecovery.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts +188 -3
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2033.d.ts +110 -0
- package/dist/cjs/types/Interface/api/cerfa/2033.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2033.js +13 -1
- package/dist/cjs/types/Interface/api/cerfa/2033.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2035.d.ts +266 -2
- package/dist/cjs/types/Interface/api/cerfa/2035.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2035.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts +133 -3
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2571.d.ts +56 -0
- package/dist/cjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2571.js +4 -1
- package/dist/cjs/types/Interface/api/cerfa/2571.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2572.d.ts +79 -0
- package/dist/cjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2572.js +4 -1
- package/dist/cjs/types/Interface/api/cerfa/2572.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3310.d.ts +283 -0
- package/dist/cjs/types/Interface/api/cerfa/3310.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3310.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +11 -10
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/cjs/utils/balanceSheetModule.d.ts +2 -2
- package/dist/cjs/utils/balanceSheetModule.d.ts.map +1 -1
- package/dist/cjs/utils/balanceSheetModule.js +1 -1
- package/dist/cjs/utils/balanceSheetModule.js.map +1 -1
- package/dist/cjs/utils/vat/3310/century24.d.ts +8 -0
- package/dist/cjs/utils/vat/3310/century24.d.ts.map +1 -0
- package/dist/cjs/utils/vat/3310/century24.js +1499 -0
- package/dist/cjs/utils/vat/3310/century24.js.map +1 -0
- package/dist/cjs/utils/vat/centuries.d.ts.map +1 -1
- package/dist/cjs/utils/vat/centuries.js +21 -1
- package/dist/cjs/utils/vat/centuries.js.map +1 -1
- package/dist/mjs/types/Enum/AutomaticRegistration.d.ts +3 -1
- package/dist/mjs/types/Enum/AutomaticRegistration.d.ts.map +1 -1
- package/dist/mjs/types/Enum/AutomaticRegistration.js +2 -0
- package/dist/mjs/types/Enum/AutomaticRegistration.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestion.d.ts +5 -0
- package/dist/mjs/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestion.js +5 -0
- package/dist/mjs/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts +5 -0
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js +5 -0
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
- package/dist/mjs/types/Enum/FuelType.d.ts +2 -2
- package/dist/mjs/types/Enum/FuelType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/FuelType.js +14 -15
- package/dist/mjs/types/Enum/FuelType.js.map +1 -1
- package/dist/mjs/types/Enum/PaymentRecovery.d.ts +4 -2
- package/dist/mjs/types/Enum/PaymentRecovery.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PaymentRecovery.js +3 -1
- package/dist/mjs/types/Enum/PaymentRecovery.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts +188 -3
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2033.d.ts +110 -0
- package/dist/mjs/types/Interface/api/cerfa/2033.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2033.js +41 -0
- package/dist/mjs/types/Interface/api/cerfa/2033.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2035.d.ts +266 -2
- package/dist/mjs/types/Interface/api/cerfa/2035.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2035.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts +133 -3
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2571.d.ts +56 -0
- package/dist/mjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2571.js +10 -0
- package/dist/mjs/types/Interface/api/cerfa/2571.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2572.d.ts +79 -0
- package/dist/mjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2572.js +14 -0
- package/dist/mjs/types/Interface/api/cerfa/2572.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3310.d.ts +283 -0
- package/dist/mjs/types/Interface/api/cerfa/3310.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3310.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +11 -10
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/mjs/utils/balanceSheetModule.d.ts +2 -2
- package/dist/mjs/utils/balanceSheetModule.d.ts.map +1 -1
- package/dist/mjs/utils/balanceSheetModule.js +1 -1
- package/dist/mjs/utils/balanceSheetModule.js.map +1 -1
- package/dist/mjs/utils/vat/3310/century24.d.ts +8 -0
- package/dist/mjs/utils/vat/3310/century24.d.ts.map +1 -0
- package/dist/mjs/utils/vat/3310/century24.js +1492 -0
- package/dist/mjs/utils/vat/3310/century24.js.map +1 -0
- package/dist/mjs/utils/vat/centuries.d.ts.map +1 -1
- package/dist/mjs/utils/vat/centuries.js +21 -1
- package/dist/mjs/utils/vat/centuries.js.map +1 -1
- package/package.json +2 -1
- package/ts/types/Enum/AutomaticRegistration.ts +2 -0
- package/ts/types/Enum/BalanceSheetQuestion.ts +5 -0
- package/ts/types/Enum/BalanceSheetQuestionWording.ts +7 -0
- package/ts/types/Enum/FuelType.ts +16 -17
- package/ts/types/Enum/PaymentRecovery.ts +3 -1
- package/ts/types/Interface/api/cerfa/2031.ts +186 -2
- package/ts/types/Interface/api/cerfa/2033.ts +115 -1
- package/ts/types/Interface/api/cerfa/2035.ts +257 -1
- package/ts/types/Interface/api/cerfa/2065.ts +109 -2
- package/ts/types/Interface/api/cerfa/2571.ts +57 -0
- package/ts/types/Interface/api/cerfa/2572.ts +81 -0
- package/ts/types/Interface/api/cerfa/3310.ts +283 -0
- package/ts/types/Interface/api/cerfa/ReadCerfa.ts +18 -12
- package/ts/utils/balanceSheetModule.ts +1 -4
- package/ts/utils/vat/3310/century24.ts +1537 -0
- package/ts/utils/vat/centuries.ts +22 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"3310.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/3310.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from '../../models/ISociety';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { ServiceOfTax } from '../tax/ReadTax';\n\ntype BaseAndTax = {\n base: number;\n tax: number;\n};\n\ntype Tic = {\n credit?: number;\n refund?: number;\n imputed?: number;\n tax?: number;\n};\n\nexport interface Cerfa3310_2023 {\n declaration: {\n recipient: {\n name?: string | null;\n address: {\n full: string;\n }\n numbers: {\n SIE: string | null;\n folder: string | null;\n key: string | null;\n period: string | null;\n CM: string | null;\n OPT: string | null;\n service: string | null;\n system: string | null;\n }\n }\n period: {\n start: {\n day: string;\n month: string;\n year: string;\n },\n end: {\n day: string;\n month: string;\n year: string;\n }\n },\n service: {\n address: {\n full: string | null;\n }\n },\n siret: {\n first: string | null;\n second: string | null;\n },\n intracommunityVat: {\n first: string | null;\n second: string | null;\n third: string | null;\n },\n comment: string | null;\n payment: {\n date: string | null;\n phone: string | null;\n isPayment: boolean;\n byImputation: boolean;\n }\n },\n isNil: boolean;\n untaxedOperations: {\n exportationNotInEurope: number;\n other: number;\n distanceSelling: number;\n import: number;\n withdrawSuspensiveRegime: number;\n importInSuspensiveSystem: number;\n intracommunityAcquisitions: number;\n intracommunityDelivery: number;\n energyDelivery: number;\n oilProductsConsumption: number;\n importPetrolInSuspensiveSystem: number;\n purchaseInFranchise: number;\n saleOfServicesNotInFrance: number;\n regularizations: number;\n internalUniq: number;\n },\n taxedOperations: {\n services: number;\n other: number;\n purchaseOfIntracommunityServiceProvision: number;\n import: number;\n withdrawSuspensiveRegime: number;\n releaseFromConsumption: number;\n intracommunityAcquisitions: number;\n energyDelivery: number;\n purchaseOfServicesNotInFrance: number;\n regularizations: number;\n },\n vat: {\n carrieredOutInFrance: {\n normalRate20: BaseAndTax,\n reduceRate5Dot5: BaseAndTax,\n reduceRate10: BaseAndTax,\n },\n overseasDepartment: {\n reduceRate8Dot5: BaseAndTax,\n reduceRate2Dot1: BaseAndTax\n },\n oilProducts: {\n normalRate20: BaseAndTax,\n reduceRate13: BaseAndTax\n },\n importations: {\n normalRate20: BaseAndTax,\n reduceRate10: BaseAndTax,\n reduceRate8Dot5: BaseAndTax,\n reduceRate5Dot5: BaseAndTax,\n reduceRate2Dot1: BaseAndTax,\n reduceRate1Dot05: BaseAndTax,\n },\n previouslyDeductedToBeReturned: {\n onOilProducts: number;\n otherThanOilProducts: number;\n total: number;\n },\n sumToAdd: number;\n grossDue: number;\n onIntracommunityAcquisition: number;\n toMonaco: number;\n deductible: {\n other: {\n oil: number;\n thanOilProducts: number;\n collected: number;\n total: number;\n }\n immobilizations: number;\n otherGoodsAndServices: number;\n report: number;\n toImpute: number;\n total: number;\n onImportOtherThanOilProducts: number;\n coefficient: number;\n onOilProducts: number;\n },\n otherRate: {\n oldRate: BaseAndTax,\n at1Dot75: BaseAndTax,\n at1Dot05: BaseAndTax,\n at10: BaseAndTax,\n atCorse2Dot1: BaseAndTax,\n atCorse0Dot9: BaseAndTax,\n at2Dot1: BaseAndTax,\n author: BaseAndTax,\n }\n },\n credit: {\n amount: number;\n refundAsked: number;\n transferedToSocietyHeadOfGroup: number;\n assimiledTaxes: number;\n toReport: number;\n ticRefund: number;\n ticTransfered: number;\n },\n toPay: {\n netDue: number;\n acquittedBySocietyHeadOfGroup: number;\n total: number;\n },\n isDGE: boolean;\n isUniq: boolean;\n tic?: {\n ticfe?: Tic,\n ticgn?: Tic,\n ticc?: Tic,\n total?: Tic,\n },\n}\n\nexport type PayloadCerfa3310_2023 = {\n isHolidayDeposit: boolean;\n startDate: string;\n endDate: string;\n society: ISociety;\n setting: ISocietyGescom | null;\n isNil: boolean;\n previousVatDeclaration: Cerfa3310_2023 | null;\n sie: ServiceOfTax | null;\n comment?: string;\n taxedOperations?: {\n withdrawSuspensiveRegime?: number;\n releaseFromConsumption?: number;\n energyDelivery?: number;\n purchaseOfServicesNotInFrance?: number;\n regularizations?: number;\n };\n untaxedOperations?: {\n distanceSelling?: number;\n withdrawSuspensiveRegime?: number;\n importInSuspensiveSystem?: number;\n intracommunityAcquisitions: number;\n intracommunityDelivery: number;\n energyDelivery?: number;\n oilProductsConsumption?: number;\n importPetrolInSuspensiveSystem?: number;\n purchaseInFranchise?: number;\n saleOfServicesNotInFrance?: number;\n regularizations?: number;\n internalUniq?: number;\n },\n // MODULE DE CONTROLE DE TVA\n vatControl?: {\n france?: {\n base20?: number;\n base10?: number;\n base8Dot5?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n other?: {\n base20?: number;\n base10?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n importations?: {\n base20?: number;\n base10?: number;\n base8Dot5?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n intracomunity?: {\n base20?: number;\n };\n regularisations?: {\n base20?: number;\n base10?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n case5B?: number;\n };\n untaxed?: {\n exportation?: number;\n importation?: number;\n intracomunity?: number;\n regularisation?: number;\n other?: number;\n };\n deducted?: {\n immobilization?: number;\n abs?: number;\n other?: number;\n reported?: number;\n case2C?: number;\n };\n refundAsked?: number;\n };\n // FIN MODULE CONTROLE TVA\n vat?: {\n oilProducts?: {\n normalRate20?: { base?: number }\n reduceRate13?: { base?: number }\n },\n previouslyDeductedToBeReturned?: {\n onOilProducts?: number;\n otherThanOilProducts?: number;\n total?: number;\n },\n toMonaco?: number;\n deductible?: {\n other?: {\n oil?: number;\n },\n toImpute?: number;\n onOilProducts?: number;\n coefficient?: number;\n toReport?: number;\n },\n otherRate?: {\n oldRate?: {\n tax?: number;\n base?: number;\n },\n },\n sumToAdd?: number;\n },\n credit?: {\n transferedToSocietyHeadOfGroup?: number;\n assimiledTaxes?: number;\n refundAsked?: number;\n },\n toPay?: {\n acquittedBySocietyHeadOfGroup?: number;\n },\n};"]}
|
|
1
|
+
{"version":3,"file":"3310.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/3310.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from '../../models/ISociety';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { ServiceOfTax } from '../tax/ReadTax';\n\ntype BaseAndTax = {\n base: number;\n tax: number;\n};\n\ntype Tic = {\n credit?: number;\n refund?: number;\n imputed?: number;\n tax?: number;\n};\n\nexport interface Cerfa3310_2023 {\n declaration: {\n recipient: {\n name?: string | null;\n address: {\n full: string;\n }\n numbers: {\n SIE: string | null;\n folder: string | null;\n key: string | null;\n period: string | null;\n CM: string | null;\n OPT: string | null;\n service: string | null;\n system: string | null;\n }\n }\n period: {\n start: {\n day: string;\n month: string;\n year: string;\n },\n end: {\n day: string;\n month: string;\n year: string;\n }\n },\n service: {\n address: {\n full: string | null;\n }\n },\n siret: {\n first: string | null;\n second: string | null;\n },\n intracommunityVat: {\n first: string | null;\n second: string | null;\n third: string | null;\n },\n comment: string | null;\n payment: {\n date: string | null;\n phone: string | null;\n isPayment: boolean;\n byImputation: boolean;\n }\n },\n isNil: boolean;\n untaxedOperations: {\n exportationNotInEurope: number;\n other: number;\n distanceSelling: number;\n import: number;\n withdrawSuspensiveRegime: number;\n importInSuspensiveSystem: number;\n intracommunityAcquisitions: number;\n intracommunityDelivery: number;\n energyDelivery: number;\n oilProductsConsumption: number;\n importPetrolInSuspensiveSystem: number;\n purchaseInFranchise: number;\n saleOfServicesNotInFrance: number;\n regularizations: number;\n internalUniq: number;\n },\n taxedOperations: {\n services: number;\n other: number;\n purchaseOfIntracommunityServiceProvision: number;\n import: number;\n withdrawSuspensiveRegime: number;\n releaseFromConsumption: number;\n intracommunityAcquisitions: number;\n energyDelivery: number;\n purchaseOfServicesNotInFrance: number;\n regularizations: number;\n },\n vat: {\n carrieredOutInFrance: {\n normalRate20: BaseAndTax,\n reduceRate5Dot5: BaseAndTax,\n reduceRate10: BaseAndTax,\n },\n overseasDepartment: {\n reduceRate8Dot5: BaseAndTax,\n reduceRate2Dot1: BaseAndTax\n },\n oilProducts: {\n normalRate20: BaseAndTax,\n reduceRate13: BaseAndTax\n },\n importations: {\n normalRate20: BaseAndTax,\n reduceRate10: BaseAndTax,\n reduceRate8Dot5: BaseAndTax,\n reduceRate5Dot5: BaseAndTax,\n reduceRate2Dot1: BaseAndTax,\n reduceRate1Dot05: BaseAndTax,\n },\n previouslyDeductedToBeReturned: {\n onOilProducts: number;\n otherThanOilProducts: number;\n total: number;\n },\n sumToAdd: number;\n grossDue: number;\n onIntracommunityAcquisition: number;\n toMonaco: number;\n deductible: {\n other: {\n oil: number;\n thanOilProducts: number;\n collected: number;\n total: number;\n }\n immobilizations: number;\n otherGoodsAndServices: number;\n report: number;\n toImpute: number;\n total: number;\n onImportOtherThanOilProducts: number;\n coefficient: number;\n onOilProducts: number;\n },\n otherRate: {\n oldRate: BaseAndTax,\n at1Dot75: BaseAndTax,\n at1Dot05: BaseAndTax,\n at10: BaseAndTax,\n atCorse2Dot1: BaseAndTax,\n atCorse0Dot9: BaseAndTax,\n at2Dot1: BaseAndTax,\n author: BaseAndTax,\n }\n },\n credit: {\n amount: number;\n refundAsked: number;\n transferedToSocietyHeadOfGroup: number;\n assimiledTaxes: number;\n toReport: number;\n ticRefund: number;\n ticTransfered: number;\n },\n toPay: {\n netDue: number;\n acquittedBySocietyHeadOfGroup: number;\n total: number;\n },\n isDGE: boolean;\n isUniq: boolean;\n tic?: {\n ticfe?: Tic,\n ticgn?: Tic,\n ticc?: Tic,\n total?: Tic,\n },\n}\n\nexport interface Cerfa3310_2024 {\n declaration: {\n recipient: {\n name?: string | null;\n address: {\n full: string;\n }\n numbers: {\n SIE: string | null;\n folder: string | null;\n key: string | null;\n period: string | null;\n CM: string | null;\n OPT: string | null;\n service: string | null;\n system: string | null;\n }\n }\n period: {\n start: {\n day: string;\n month: string;\n year: string;\n },\n end: {\n day: string;\n month: string;\n year: string;\n }\n },\n service: {\n address: {\n full: string | null;\n }\n },\n siret: {\n first: string | null;\n second: string | null;\n },\n intracommunityVat: {\n first: string | null;\n second: string | null;\n third: string | null;\n },\n comment: string | null;\n payment: {\n date: string | null;\n phone: string | null;\n isPayment: boolean;\n byImputation: boolean;\n }\n },\n isNil: boolean;\n untaxedOperations: {\n exportationNotInEurope: number;\n other: number;\n distanceSelling: number;\n import: number;\n withdrawSuspensiveRegime: number;\n importInSuspensiveSystem: number;\n intracommunityAcquisitions: number;\n intracommunityDelivery: number;\n energyDelivery: number;\n oilProductsConsumption: number;\n importPetrolInSuspensiveSystem: number;\n purchaseInFranchise: number;\n saleOfServicesNotInFrance: number;\n regularizations: number;\n internalUniq: number;\n },\n taxedOperations: {\n services: number;\n other: number;\n purchaseOfIntracommunityServiceProvision: number;\n import: number;\n withdrawSuspensiveRegime: number;\n releaseFromConsumption: number;\n intracommunityAcquisitions: number;\n energyDelivery: number;\n purchaseOfServicesNotInFrance: number;\n regularizations: number;\n },\n vat: {\n carrieredOutInFrance: {\n normalRate20: BaseAndTax,\n reduceRate5Dot5: BaseAndTax,\n reduceRate10: BaseAndTax,\n },\n overseasDepartment: {\n reduceRate8Dot5: BaseAndTax,\n reduceRate2Dot1: BaseAndTax\n },\n oilProducts: {\n normalRate20: BaseAndTax,\n reduceRate13: BaseAndTax\n },\n importations: {\n normalRate20: BaseAndTax,\n reduceRate10: BaseAndTax,\n reduceRate8Dot5: BaseAndTax,\n reduceRate5Dot5: BaseAndTax,\n reduceRate2Dot1: BaseAndTax,\n reduceRate1Dot05: BaseAndTax,\n },\n previouslyDeductedToBeReturned: {\n onOilProducts: number;\n otherThanOilProducts: number;\n total: number;\n },\n sumToAdd: number;\n grossDue: number;\n onIntracommunityAcquisition: number;\n toMonaco: number;\n deductible: {\n other: {\n oil: number;\n thanOilProducts: number;\n collected: number;\n total: number;\n }\n immobilizations: number;\n otherGoodsAndServices: number;\n report: number;\n toImpute: number;\n total: number;\n onImportOtherThanOilProducts: number;\n coefficient: number;\n onOilProducts: number;\n },\n otherRate: {\n oldRate: BaseAndTax,\n at1Dot75: BaseAndTax,\n at1Dot05: BaseAndTax,\n at10: BaseAndTax,\n atCorse13: BaseAndTax;\n atCorse2Dot1: BaseAndTax,\n atCorse0Dot9: BaseAndTax,\n at2Dot1: BaseAndTax,\n author: BaseAndTax,\n }\n },\n credit: {\n amount: number;\n refundAsked: number;\n transferedToSocietyHeadOfGroup: number;\n assimiledTaxes: number;\n toReport: number;\n ticRefund: number;\n ticTransfered: number;\n },\n toPay: {\n netDue: number;\n acquittedBySocietyHeadOfGroup: number;\n total: number;\n },\n isDGE: boolean;\n isUniq: boolean;\n tic?: {\n ticfe?: Tic,\n ticgn?: Tic,\n ticc?: Tic,\n total?: Tic,\n },\n}\n\nexport type PayloadCerfa3310_2023 = {\n isHolidayDeposit: boolean;\n startDate: string;\n endDate: string;\n society: ISociety;\n setting: ISocietyGescom | null;\n isNil: boolean;\n previousVatDeclaration: Cerfa3310_2023 | null;\n sie: ServiceOfTax | null;\n comment?: string;\n taxedOperations?: {\n withdrawSuspensiveRegime?: number;\n releaseFromConsumption?: number;\n energyDelivery?: number;\n purchaseOfServicesNotInFrance?: number;\n regularizations?: number;\n };\n untaxedOperations?: {\n distanceSelling?: number;\n withdrawSuspensiveRegime?: number;\n importInSuspensiveSystem?: number;\n intracommunityAcquisitions: number;\n intracommunityDelivery: number;\n energyDelivery?: number;\n oilProductsConsumption?: number;\n importPetrolInSuspensiveSystem?: number;\n purchaseInFranchise?: number;\n saleOfServicesNotInFrance?: number;\n regularizations?: number;\n internalUniq?: number;\n },\n // MODULE DE CONTROLE DE TVA\n vatControl?: {\n france?: {\n base20?: number;\n base10?: number;\n base8Dot5?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n other?: {\n base20?: number;\n base10?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n importations?: {\n base20?: number;\n base10?: number;\n base8Dot5?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n intracomunity?: {\n base20?: number;\n };\n regularisations?: {\n base20?: number;\n base10?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n case5B?: number;\n };\n untaxed?: {\n exportation?: number;\n importation?: number;\n intracomunity?: number;\n regularisation?: number;\n other?: number;\n };\n deducted?: {\n immobilization?: number;\n abs?: number;\n other?: number;\n reported?: number;\n case2C?: number;\n };\n refundAsked?: number;\n };\n // FIN MODULE CONTROLE TVA\n vat?: {\n oilProducts?: {\n normalRate20?: { base?: number }\n reduceRate13?: { base?: number }\n },\n previouslyDeductedToBeReturned?: {\n onOilProducts?: number;\n otherThanOilProducts?: number;\n total?: number;\n },\n toMonaco?: number;\n deductible?: {\n other?: {\n oil?: number;\n },\n toImpute?: number;\n onOilProducts?: number;\n coefficient?: number;\n toReport?: number;\n },\n otherRate?: {\n oldRate?: {\n tax?: number;\n base?: number;\n },\n },\n sumToAdd?: number;\n },\n credit?: {\n transferedToSocietyHeadOfGroup?: number;\n assimiledTaxes?: number;\n refundAsked?: number;\n },\n toPay?: {\n acquittedBySocietyHeadOfGroup?: number;\n },\n};\n\nexport type PayloadCerfa3310_2024 = {\n isHolidayDeposit: boolean;\n startDate: string;\n endDate: string;\n society: ISociety;\n setting: ISocietyGescom | null;\n isNil: boolean;\n previousVatDeclaration: Cerfa3310_2023 | null;\n sie: ServiceOfTax | null;\n comment?: string;\n taxedOperations?: {\n withdrawSuspensiveRegime?: number;\n releaseFromConsumption?: number;\n energyDelivery?: number;\n purchaseOfServicesNotInFrance?: number;\n regularizations?: number;\n };\n untaxedOperations?: {\n distanceSelling?: number;\n withdrawSuspensiveRegime?: number;\n importInSuspensiveSystem?: number;\n intracommunityAcquisitions: number;\n intracommunityDelivery: number;\n energyDelivery?: number;\n oilProductsConsumption?: number;\n importPetrolInSuspensiveSystem?: number;\n purchaseInFranchise?: number;\n saleOfServicesNotInFrance?: number;\n regularizations?: number;\n internalUniq?: number;\n },\n // MODULE DE CONTROLE DE TVA\n vatControl?: {\n france?: {\n base20?: number;\n base10?: number;\n base8Dot5?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n other?: {\n base20?: number;\n base10?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n importations?: {\n base20?: number;\n base10?: number;\n base8Dot5?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n intracomunity?: {\n base20?: number;\n };\n regularisations?: {\n base20?: number;\n base10?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n case5B?: number;\n };\n untaxed?: {\n exportation?: number;\n importation?: number;\n intracomunity?: number;\n regularisation?: number;\n other?: number;\n };\n deducted?: {\n immobilization?: number;\n abs?: number;\n other?: number;\n reported?: number;\n case2C?: number;\n };\n refundAsked?: number;\n };\n // FIN MODULE CONTROLE TVA\n vat?: {\n oilProducts?: {\n normalRate20?: { base?: number }\n reduceRate13?: { base?: number }\n },\n previouslyDeductedToBeReturned?: {\n onOilProducts?: number;\n otherThanOilProducts?: number;\n total?: number;\n },\n toMonaco?: number;\n deductible?: {\n other?: {\n oil?: number;\n },\n toImpute?: number;\n onOilProducts?: number;\n coefficient?: number;\n toReport?: number;\n },\n otherRate?: {\n oldRate?: {\n tax?: number;\n base?: number;\n },\n },\n sumToAdd?: number;\n },\n credit?: {\n transferedToSocietyHeadOfGroup?: number;\n assimiledTaxes?: number;\n refundAsked?: number;\n },\n toPay?: {\n acquittedBySocietyHeadOfGroup?: number;\n },\n};"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CerfaType } from '../../../Enum/CerfaType';
|
|
2
|
-
import {
|
|
2
|
+
import { AnyCerfa2033Century, Cerfa2031, Cerfa2031_2024, Cerfa2065, Cerfa2065_2024, Cerfa2571_2023, Cerfa2571_2024, Cerfa2572_2022, Cerfa2572_2023, Cerfa2572_2024, Cerfa3519_2017, FieldForGeneration, FullCerfa2035, FullCerfa2035_2024, PayloadCerfa3519_2017, QuestionWording } from '../../..';
|
|
3
3
|
import { Question } from '../../../Enum/BalanceSheetQuestion';
|
|
4
4
|
import { TerminationType } from '../../../Enum/AnswerTypeValue';
|
|
5
5
|
import { Cerfa3310_2023 } from './3310';
|
|
@@ -37,7 +37,7 @@ export type VatDocument = {
|
|
|
37
37
|
payload: (...args: any[]) => any;
|
|
38
38
|
asponePayload: (...args: any[]) => any;
|
|
39
39
|
fields: Array<CerfaPayloadForm>;
|
|
40
|
-
fileName: '3310-2023' | '3514-2022' | '3517-2023';
|
|
40
|
+
fileName: '3310-2023' | '3514-2022' | '3517-2023' | '3310-2024';
|
|
41
41
|
annex?: AnnexVatDocument;
|
|
42
42
|
};
|
|
43
43
|
export interface ReadCerfaToComplete {
|
|
@@ -98,6 +98,14 @@ export type AsponeFormField = {
|
|
|
98
98
|
name: string;
|
|
99
99
|
fields: FieldForGeneration[];
|
|
100
100
|
};
|
|
101
|
+
export interface RegistrationPayload {
|
|
102
|
+
cerfa2572?: Cerfa2572_2022 | Cerfa2572_2023 | Cerfa2572_2024;
|
|
103
|
+
cerfa2571?: Cerfa2571_2023 | Cerfa2571_2024;
|
|
104
|
+
cerfa2031?: Cerfa2031 | Cerfa2031_2024;
|
|
105
|
+
cerfa2033?: AnyCerfa2033Century;
|
|
106
|
+
cerfa2065?: Cerfa2065 | Cerfa2065_2024;
|
|
107
|
+
cerfa2035?: FullCerfa2035 | FullCerfa2035_2024;
|
|
108
|
+
}
|
|
101
109
|
export interface ReadFormGeneration {
|
|
102
110
|
file: {
|
|
103
111
|
name: string;
|
|
@@ -111,13 +119,6 @@ export interface ReadFormGeneration {
|
|
|
111
119
|
Key?: string;
|
|
112
120
|
mimeType?: string;
|
|
113
121
|
};
|
|
114
|
-
payload:
|
|
115
|
-
cerfa2572?: Cerfa2572_2022 | Cerfa3310_2023;
|
|
116
|
-
cerfa2571?: Cerfa2571_2023;
|
|
117
|
-
cerfa2031?: Cerfa2031;
|
|
118
|
-
cerfa2033?: Cerfa2033;
|
|
119
|
-
cerfa2065?: Cerfa2065;
|
|
120
|
-
cerfa2035?: Cerfa2035;
|
|
121
|
-
};
|
|
122
|
+
payload: RegistrationPayload;
|
|
122
123
|
}
|
|
123
124
|
//# sourceMappingURL=ReadCerfa.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadCerfa.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"ReadCerfa.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EACL,mBAAmB,EACnB,SAAS,EACT,cAAc,EACd,SAAS,EACT,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,kBA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,CAAC;CAChD;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,OAAO,EAAE,mBAAmB,CAAA;CAC7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadCerfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ReadCerfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":";;;AA6BA,MAAa,cAAc;CAA0D;AAArF,wCAAqF","sourcesContent":["import { CerfaType } from '../../../Enum/CerfaType';\nimport {\n AnyCerfa2033Century,\n Cerfa2031,\n Cerfa2031_2024,\n Cerfa2065,\n Cerfa2065_2024,\n Cerfa2571_2023,\n Cerfa2571_2024,\n Cerfa2572_2022,\n Cerfa2572_2023,\n Cerfa2572_2024,\n Cerfa3519_2017,\n FieldForGeneration, FullCerfa2035, FullCerfa2035_2024, PayloadCerfa3519_2017, QuestionWording,\n} from '../../..';\nimport { Question } from '../../../Enum/BalanceSheetQuestion';\nimport { TerminationType } from '../../../Enum/AnswerTypeValue';\nimport { Cerfa3310_2023 } from './3310';\nimport { getCerfa3519Century17Payload } from '../../../../utils/vat/3519/century17';\nimport { getCerfa3519Century23RegistrationFields } from '../../../../utils/vat/3519/century23';\n\nexport type CerfaPayloadFormField = {\n label: string;\n key: string;\n type: 'text' | 'string' | 'number' | 'boolean' | 'date';\n visibleIf?: string;\n columns?: number;\n};\n\nexport class CerfaFormValue { key: string; value: string | number | boolean | null; }\n\nexport type CerfaPayloadForm = {\n sectionName: string;\n childrens: CerfaPayloadForm | CerfaPayloadFormField[]\n};\n\nexport type AnnexVatDocument = {\n shouldInclude: (data: Cerfa3310_2023) => boolean;\n name: string;\n century: string;\n payload: (amount: number, payload: PayloadCerfa3519_2017) => ReturnType<typeof getCerfa3519Century17Payload>,\n asponePayload: (data: Cerfa3519_2017) => ReturnType<typeof getCerfa3519Century23RegistrationFields>\n fields: CerfaPayloadForm[];\n fileName: '3519-2017';\n};\n\nexport type VatDocument = {\n idCerfaType: CerfaType,\n name: string;\n century: string, // Millésime du formulaire ASPONE\n centuries: number[],\n payload: (...args: any[]) => any,\n asponePayload: (...args: any[]) => any,\n fields: Array<CerfaPayloadForm>,\n fileName: '3310-2023' | '3514-2022' | '3517-2023' | '3310-2024';\n annex?: AnnexVatDocument;\n};\n\nexport interface ReadCerfaToComplete {\n declaration: CerfaType;\n annex: CerfaType | null\n}\nexport interface ReadCerfaDocument {\n file: any;\n payload: any;\n}\nexport interface Accountant {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface CouncilDetails {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface EcfDetails {\n has: boolean;\n name: string | null;\n address: CerfaAddress;\n}\nexport interface ViewerDetails {\n has: boolean;\n name: string;\n address: CerfaAddress\n number: string | null;\n}\nexport interface CerfaAddress {\n number: string;\n street: string;\n zipCode: string;\n city: string;\n country: {\n name: string | null,\n code: string | null\n }\n full: string;\n}\n\nexport type CerfaAnswers = {\n [key in keyof typeof QuestionWording\n | keyof typeof Question]: any\n};\n\nexport type Termination = {\n type: TerminationType,\n date: string | null\n};\n\nexport type AsponeFormFields = Array<{ name: string; fields: FieldForGeneration[], index?: number }>;\nexport type AsponeFormField = { name: string; fields: FieldForGeneration[] };\n\nexport interface RegistrationPayload { \n cerfa2572?: Cerfa2572_2022 | Cerfa2572_2023 | Cerfa2572_2024;\n cerfa2571?: Cerfa2571_2023 | Cerfa2571_2024;\n cerfa2031?: Cerfa2031 | Cerfa2031_2024;\n cerfa2033?: AnyCerfa2033Century;\n cerfa2065?: Cerfa2065 | Cerfa2065_2024;\n cerfa2035?: FullCerfa2035 | FullCerfa2035_2024;\n}\n\nexport interface ReadFormGeneration {\n file: {\n name: string,\n idFile: number,\n size: number,\n token: string,\n id?: number,\n Location: string,\n ETag: string,\n Bucket: string,\n Key?: string\n mimeType?: string,\n };\n payload: RegistrationPayload\n}"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { BalanceSheetModule
|
|
2
|
-
export declare function getModulesByCompanyType(idLegalForm: number
|
|
1
|
+
import { BalanceSheetModule } from '..';
|
|
2
|
+
export declare function getModulesByCompanyType(idLegalForm: number): Array<BalanceSheetModule>;
|
|
3
3
|
//# sourceMappingURL=balanceSheetModule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"balanceSheetModule.d.ts","sourceRoot":"","sources":["../../../ts/utils/balanceSheetModule.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,
|
|
1
|
+
{"version":3,"file":"balanceSheetModule.d.ts","sourceRoot":"","sources":["../../../ts/utils/balanceSheetModule.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EACnB,MAAM,IAAI,CAAC;AAEZ,wBAAgB,uBAAuB,CACrC,WAAW,EAAE,MAAM,GAClB,KAAK,CAAC,kBAAkB,CAAC,CAU3B"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getModulesByCompanyType = getModulesByCompanyType;
|
|
4
4
|
const __1 = require("..");
|
|
5
|
-
function getModulesByCompanyType(idLegalForm
|
|
5
|
+
function getModulesByCompanyType(idLegalForm) {
|
|
6
6
|
const modules = [...__1.DEFAULT_MODULES];
|
|
7
7
|
Object.entries(__1.BalanceSheetModuleByCompanyType).forEach(([key, value]) => {
|
|
8
8
|
if (!(value === null || value === void 0 ? void 0 : value.excluded.legalFormIds.includes(idLegalForm))) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"balanceSheetModule.js","sourceRoot":"","sources":["../../../ts/utils/balanceSheetModule.ts"],"names":[],"mappings":";;AAIA,
|
|
1
|
+
{"version":3,"file":"balanceSheetModule.js","sourceRoot":"","sources":["../../../ts/utils/balanceSheetModule.ts"],"names":[],"mappings":";;AAIA,0DAYC;AAhBD,0BAEY;AAEZ,SAAgB,uBAAuB,CACrC,WAAmB;IAEnB,MAAM,OAAO,GAAG,CAAC,GAAG,mBAAe,CAAC,CAAC;IAErC,MAAM,CAAC,OAAO,CAAC,mCAA+B,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QACvE,IAAI,CAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,QAAQ,CAAC,YAAY,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAA,EAAE,CAAC;YACxD,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC;AACjB,CAAC","sourcesContent":["import {\n BalanceSheetModule, BalanceSheetModuleByCompanyType, DEFAULT_MODULES,\n} from '..';\n\nexport function getModulesByCompanyType(\n idLegalForm: number,\n): Array<BalanceSheetModule> {\n const modules = [...DEFAULT_MODULES];\n\n Object.entries(BalanceSheetModuleByCompanyType).forEach(([key, value]) => {\n if (!value?.excluded.legalFormIds.includes(idLegalForm)) {\n modules.push(Number(key));\n }\n });\n\n return modules;\n}"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IAccountingEntry } from '../../../types/Interface/models/IAccountingEntry';
|
|
2
|
+
import { Cerfa3310_2024, PayloadCerfa3310_2024 } from '../../../types/Interface/api/cerfa/3310';
|
|
3
|
+
import { AsponeFormFields, CerfaPayloadForm } from '../../../types/Interface/api/cerfa/ReadCerfa';
|
|
4
|
+
import { UpdatedAnnotation } from '../../../types/Interface/api/registration/ReadRegistration';
|
|
5
|
+
export declare function getCerfa3310Century24Payload(accountingEntries: IAccountingEntry[], payload: PayloadCerfa3310_2024, updatedEntries?: UpdatedAnnotation): Cerfa3310_2024;
|
|
6
|
+
export declare function getCerfa3310Century24RegistrationFields(data: Cerfa3310_2024): AsponeFormFields;
|
|
7
|
+
export declare const cerfa3310Century24Fields: CerfaPayloadForm[];
|
|
8
|
+
//# sourceMappingURL=century24.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"century24.d.ts","sourceRoot":"","sources":["../../../../../ts/utils/vat/3310/century24.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAKhG,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAClG,OAAO,EAAE,iBAAiB,EAAE,MAAM,4DAA4D,CAAC;AAG/F,wBAAgB,4BAA4B,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,EAAE,OAAO,EAAE,qBAAqB,EAAE,cAAc,GAAE,iBAAsB,GAAG,cAAc,CAqX1K;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,cAAc,GAAG,gBAAgB,CA+7B9F;AAED,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,EAyLrD,CAAC"}
|