@silexpert/core 1.1.35 → 1.1.37
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/es/api/resources/AccountingFiles.d.ts +2 -1
- package/es/api/resources/AccountingFiles.d.ts.map +1 -1
- package/es/api/resources/AccountingFiles.js +3 -0
- package/es/api/resources/AccountingFiles.js.map +1 -1
- package/es/api/resources/Rule.d.ts +1 -0
- package/es/api/resources/Rule.d.ts.map +1 -1
- package/es/api/resources/Rule.js +3 -0
- package/es/api/resources/Rule.js.map +1 -1
- package/es/types/Enum/BrandLegalstart.js +20 -20
- package/es/types/Enum/BrandLegalstart.js.map +1 -1
- package/es/types/Enum/ConnectorType.d.ts +0 -1
- package/es/types/Enum/ConnectorType.d.ts.map +1 -1
- package/es/types/Enum/ConnectorType.js +1 -1
- package/es/types/Enum/ConnectorType.js.map +1 -1
- package/es/types/Enum/Unit.d.ts +2 -1
- package/es/types/Enum/Unit.d.ts.map +1 -1
- package/es/types/Enum/Unit.js +11 -0
- package/es/types/Enum/Unit.js.map +1 -1
- package/es/types/Interface/api/accountingFiles/Read.d.ts +6 -0
- package/es/types/Interface/api/accountingFiles/Read.d.ts.map +1 -0
- package/es/types/Interface/api/accountingFiles/Read.js +2 -0
- package/es/types/Interface/api/accountingFiles/Read.js.map +1 -0
- package/es/types/Interface/api/archive/ImportSocietyArchive.d.ts +1 -1
- package/es/types/Interface/api/archive/ImportSocietyArchive.d.ts.map +1 -1
- package/es/types/Interface/api/archive/ImportSocietyArchive.js +1 -1
- package/es/types/Interface/api/archive/ImportSocietyArchive.js.map +1 -1
- package/es/types/Interface/api/exercice/CreateExercice.d.ts +1 -0
- package/es/types/Interface/api/exercice/CreateExercice.d.ts.map +1 -1
- package/es/types/Interface/api/exercice/CreateExercice.js +7 -0
- package/es/types/Interface/api/exercice/CreateExercice.js.map +1 -1
- package/es/types/Interface/api/exercice/UpdateExercice.d.ts +1 -0
- package/es/types/Interface/api/exercice/UpdateExercice.d.ts.map +1 -1
- package/es/types/Interface/api/exercice/UpdateExercice.js +7 -0
- package/es/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
- package/es/types/Interface/models/IAccountingEntry.d.ts +0 -2
- package/es/types/Interface/models/IAccountingEntry.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingEntry.js.map +1 -1
- package/es/types/Interface/models/IApiError.d.ts +1 -0
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +1 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +0 -2
- package/es/types/Interface/models/ISociety.d.ts.map +1 -1
- package/es/types/Interface/models/ISociety.js.map +1 -1
- package/es/types/Interface/models/ISupervision.d.ts +0 -4
- package/es/types/Interface/models/ISupervision.d.ts.map +1 -1
- package/es/types/Interface/models/ISupervision.js.map +1 -1
- package/es/types/index.d.ts +1 -20
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +1 -20
- package/es/types/index.js.map +1 -1
- package/es/utils/vat/3310/century23.d.ts.map +1 -1
- package/es/utils/vat/3310/century23.js +1 -1
- package/es/utils/vat/3310/century23.js.map +1 -1
- package/es/utils/vat/3514/century22.d.ts.map +1 -1
- package/es/utils/vat/3514/century22.js +4 -3
- package/es/utils/vat/3514/century22.js.map +1 -1
- package/es/utils/vat/3517/century23.d.ts.map +1 -1
- package/es/utils/vat/3517/century23.js +3 -3
- package/es/utils/vat/3517/century23.js.map +1 -1
- package/js/api/resources/AccountingFiles.js +3 -0
- package/js/api/resources/AccountingFiles.js.map +1 -1
- package/js/api/resources/Rule.js +3 -0
- package/js/api/resources/Rule.js.map +1 -1
- package/js/types/Enum/BrandLegalstart.js +20 -20
- package/js/types/Enum/BrandLegalstart.js.map +1 -1
- package/js/types/Enum/ConnectorType.js +1 -1
- package/js/types/Enum/ConnectorType.js.map +1 -1
- package/js/types/Enum/Unit.js +10 -0
- package/js/types/Enum/Unit.js.map +1 -1
- package/js/types/Interface/{models/IFaq.js → api/accountingFiles/Read.js} +1 -1
- package/js/types/Interface/api/accountingFiles/Read.js.map +1 -0
- package/js/types/Interface/api/archive/ImportSocietyArchive.js +1 -1
- package/js/types/Interface/api/archive/ImportSocietyArchive.js.map +1 -1
- package/js/types/Interface/api/exercice/CreateExercice.js +1 -0
- package/js/types/Interface/api/exercice/CreateExercice.js.map +1 -1
- package/js/types/Interface/api/exercice/UpdateExercice.js +1 -0
- package/js/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
- package/js/types/Interface/models/IAccountingEntry.js.map +1 -1
- package/js/types/Interface/models/IApiError.js +1 -0
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/Interface/models/ISociety.js.map +1 -1
- package/js/types/Interface/models/ISupervision.js.map +1 -1
- package/js/types/index.js +34 -224
- package/js/types/index.js.map +1 -1
- package/js/utils/vat/3310/century23.js.map +1 -1
- package/js/utils/vat/3514/century22.js +4 -3
- package/js/utils/vat/3514/century22.js.map +1 -1
- package/js/utils/vat/3517/century23.js +1 -1
- package/js/utils/vat/3517/century23.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/AccountingFiles.ts +5 -1
- package/ts/api/resources/Rule.ts +4 -0
- package/ts/types/Enum/BrandLegalstart.ts +20 -20
- package/ts/types/Enum/ConnectorType.ts +1 -1
- package/ts/types/Enum/Unit.ts +11 -0
- package/ts/types/Interface/api/accountingFiles/Read.ts +6 -0
- package/ts/types/Interface/api/archive/ImportSocietyArchive.ts +1 -1
- package/ts/types/Interface/api/exercice/CreateExercice.ts +6 -0
- package/ts/types/Interface/api/exercice/UpdateExercice.ts +6 -0
- package/ts/types/Interface/models/IAccountingEntry.ts +0 -2
- package/ts/types/Interface/models/IApiError.ts +1 -0
- package/ts/types/Interface/models/ISociety.ts +0 -2
- package/ts/types/Interface/models/ISupervision.ts +0 -4
- package/ts/types/index.ts +1 -20
- package/ts/utils/vat/3310/century23.ts +4 -2
- package/ts/utils/vat/3514/century22.ts +4 -3
- package/ts/utils/vat/3517/century23.ts +5 -3
- package/es/types/Interface/models/IAccountingTransaction_new.d.ts +0 -18
- package/es/types/Interface/models/IAccountingTransaction_new.d.ts.map +0 -1
- package/es/types/Interface/models/IAccountingTransaction_new.js +0 -2
- package/es/types/Interface/models/IAccountingTransaction_new.js.map +0 -1
- package/es/types/Interface/models/IAutoLoginToken.d.ts +0 -10
- package/es/types/Interface/models/IAutoLoginToken.d.ts.map +0 -1
- package/es/types/Interface/models/IAutoLoginToken.js +0 -2
- package/es/types/Interface/models/IAutoLoginToken.js.map +0 -1
- package/es/types/Interface/models/IBankTransaction.d.ts +0 -34
- package/es/types/Interface/models/IBankTransaction.d.ts.map +0 -1
- package/es/types/Interface/models/IBankTransaction.js +0 -2
- package/es/types/Interface/models/IBankTransaction.js.map +0 -1
- package/es/types/Interface/models/ICallDirectly.d.ts +0 -26
- package/es/types/Interface/models/ICallDirectly.d.ts.map +0 -1
- package/es/types/Interface/models/ICallDirectly.js +0 -2
- package/es/types/Interface/models/ICallDirectly.js.map +0 -1
- package/es/types/Interface/models/IFaq.d.ts +0 -15
- package/es/types/Interface/models/IFaq.d.ts.map +0 -1
- package/es/types/Interface/models/IFaq.js +0 -2
- package/es/types/Interface/models/IFaq.js.map +0 -1
- package/es/types/Interface/models/IFaqCategory.d.ts +0 -5
- package/es/types/Interface/models/IFaqCategory.d.ts.map +0 -1
- package/es/types/Interface/models/IFaqCategory.js +0 -2
- package/es/types/Interface/models/IFaqCategory.js.map +0 -1
- package/es/types/Interface/models/IFollowedQualityMail.d.ts +0 -13
- package/es/types/Interface/models/IFollowedQualityMail.d.ts.map +0 -1
- package/es/types/Interface/models/IFollowedQualityMail.js +0 -2
- package/es/types/Interface/models/IFollowedQualityMail.js.map +0 -1
- package/es/types/Interface/models/IFollowedQualityMailType.d.ts +0 -7
- package/es/types/Interface/models/IFollowedQualityMailType.d.ts.map +0 -1
- package/es/types/Interface/models/IFollowedQualityMailType.js +0 -2
- package/es/types/Interface/models/IFollowedQualityMailType.js.map +0 -1
- package/es/types/Interface/models/IIdentification.d.ts +0 -18
- package/es/types/Interface/models/IIdentification.d.ts.map +0 -1
- package/es/types/Interface/models/IIdentification.js +0 -2
- package/es/types/Interface/models/IIdentification.js.map +0 -1
- package/es/types/Interface/models/IJob.d.ts +0 -12
- package/es/types/Interface/models/IJob.d.ts.map +0 -1
- package/es/types/Interface/models/IJob.js +0 -2
- package/es/types/Interface/models/IJob.js.map +0 -1
- package/es/types/Interface/models/IJobCategory.d.ts +0 -9
- package/es/types/Interface/models/IJobCategory.d.ts.map +0 -1
- package/es/types/Interface/models/IJobCategory.js +0 -2
- package/es/types/Interface/models/IJobCategory.js.map +0 -1
- package/es/types/Interface/models/IPenalty.d.ts +0 -27
- package/es/types/Interface/models/IPenalty.d.ts.map +0 -1
- package/es/types/Interface/models/IPenalty.js +0 -2
- package/es/types/Interface/models/IPenalty.js.map +0 -1
- package/es/types/Interface/models/IPenaltyType.d.ts +0 -7
- package/es/types/Interface/models/IPenaltyType.d.ts.map +0 -1
- package/es/types/Interface/models/IPenaltyType.js +0 -2
- package/es/types/Interface/models/IPenaltyType.js.map +0 -1
- package/es/types/Interface/models/ISuggestion.d.ts +0 -14
- package/es/types/Interface/models/ISuggestion.d.ts.map +0 -1
- package/es/types/Interface/models/ISuggestion.js +0 -2
- package/es/types/Interface/models/ISuggestion.js.map +0 -1
- package/es/types/Interface/models/ISupervisionJob.d.ts +0 -8
- package/es/types/Interface/models/ISupervisionJob.d.ts.map +0 -1
- package/es/types/Interface/models/ISupervisionJob.js +0 -2
- package/es/types/Interface/models/ISupervisionJob.js.map +0 -1
- package/es/types/Interface/models/ITmpValidationToken.d.ts +0 -11
- package/es/types/Interface/models/ITmpValidationToken.d.ts.map +0 -1
- package/es/types/Interface/models/ITmpValidationToken.js +0 -2
- package/es/types/Interface/models/ITmpValidationToken.js.map +0 -1
- package/es/types/Interface/models/IUserSocietyTicketSupport.d.ts +0 -9
- package/es/types/Interface/models/IUserSocietyTicketSupport.d.ts.map +0 -1
- package/es/types/Interface/models/IUserSocietyTicketSupport.js +0 -2
- package/es/types/Interface/models/IUserSocietyTicketSupport.js.map +0 -1
- package/es/types/Interface/models/IVatMargin.d.ts +0 -7
- package/es/types/Interface/models/IVatMargin.d.ts.map +0 -1
- package/es/types/Interface/models/IVatMargin.js +0 -2
- package/es/types/Interface/models/IVatMargin.js.map +0 -1
- package/es/types/Interface/models/IWebMailSpam.d.ts +0 -8
- package/es/types/Interface/models/IWebMailSpam.d.ts.map +0 -1
- package/es/types/Interface/models/IWebMailSpam.js +0 -2
- package/es/types/Interface/models/IWebMailSpam.js.map +0 -1
- package/es/types/Interface/models/IWebMailSpamType.d.ts +0 -7
- package/es/types/Interface/models/IWebMailSpamType.d.ts.map +0 -1
- package/es/types/Interface/models/IWebMailSpamType.js +0 -2
- package/es/types/Interface/models/IWebMailSpamType.js.map +0 -1
- package/js/types/Interface/models/IAccountingTransaction_new.js +0 -6
- package/js/types/Interface/models/IAccountingTransaction_new.js.map +0 -1
- package/js/types/Interface/models/IAutoLoginToken.js +0 -6
- package/js/types/Interface/models/IAutoLoginToken.js.map +0 -1
- package/js/types/Interface/models/IBankTransaction.js +0 -6
- package/js/types/Interface/models/IBankTransaction.js.map +0 -1
- package/js/types/Interface/models/ICallDirectly.js +0 -6
- package/js/types/Interface/models/ICallDirectly.js.map +0 -1
- package/js/types/Interface/models/IFaq.js.map +0 -1
- package/js/types/Interface/models/IFaqCategory.js +0 -6
- package/js/types/Interface/models/IFaqCategory.js.map +0 -1
- package/js/types/Interface/models/IFollowedQualityMail.js +0 -6
- package/js/types/Interface/models/IFollowedQualityMail.js.map +0 -1
- package/js/types/Interface/models/IFollowedQualityMailType.js +0 -6
- package/js/types/Interface/models/IFollowedQualityMailType.js.map +0 -1
- package/js/types/Interface/models/IIdentification.js +0 -6
- package/js/types/Interface/models/IIdentification.js.map +0 -1
- package/js/types/Interface/models/IJob.js +0 -6
- package/js/types/Interface/models/IJob.js.map +0 -1
- package/js/types/Interface/models/IJobCategory.js +0 -6
- package/js/types/Interface/models/IJobCategory.js.map +0 -1
- package/js/types/Interface/models/IPenalty.js +0 -6
- package/js/types/Interface/models/IPenalty.js.map +0 -1
- package/js/types/Interface/models/IPenaltyType.js +0 -6
- package/js/types/Interface/models/IPenaltyType.js.map +0 -1
- package/js/types/Interface/models/ISuggestion.js +0 -6
- package/js/types/Interface/models/ISuggestion.js.map +0 -1
- package/js/types/Interface/models/ISupervisionJob.js +0 -6
- package/js/types/Interface/models/ISupervisionJob.js.map +0 -1
- package/js/types/Interface/models/ITmpValidationToken.js +0 -6
- package/js/types/Interface/models/ITmpValidationToken.js.map +0 -1
- package/js/types/Interface/models/IUserSocietyTicketSupport.js +0 -6
- package/js/types/Interface/models/IUserSocietyTicketSupport.js.map +0 -1
- package/js/types/Interface/models/IVatMargin.js +0 -6
- package/js/types/Interface/models/IVatMargin.js.map +0 -1
- package/js/types/Interface/models/IWebMailSpam.js +0 -6
- package/js/types/Interface/models/IWebMailSpam.js.map +0 -1
- package/js/types/Interface/models/IWebMailSpamType.js +0 -6
- package/js/types/Interface/models/IWebMailSpamType.js.map +0 -1
- package/ts/types/Interface/models/IAccountingTransaction_new.ts +0 -20
- package/ts/types/Interface/models/IAutoLoginToken.ts +0 -10
- package/ts/types/Interface/models/IBankTransaction.ts +0 -37
- package/ts/types/Interface/models/ICallDirectly.ts +0 -29
- package/ts/types/Interface/models/IFaq.ts +0 -18
- package/ts/types/Interface/models/IFaqCategory.ts +0 -5
- package/ts/types/Interface/models/IFollowedQualityMail.ts +0 -16
- package/ts/types/Interface/models/IFollowedQualityMailType.ts +0 -7
- package/ts/types/Interface/models/IIdentification.ts +0 -21
- package/ts/types/Interface/models/IJob.ts +0 -15
- package/ts/types/Interface/models/IJobCategory.ts +0 -12
- package/ts/types/Interface/models/IPenalty.ts +0 -30
- package/ts/types/Interface/models/IPenaltyType.ts +0 -7
- package/ts/types/Interface/models/ISuggestion.ts +0 -17
- package/ts/types/Interface/models/ISupervisionJob.ts +0 -8
- package/ts/types/Interface/models/ITmpValidationToken.ts +0 -14
- package/ts/types/Interface/models/IUserSocietyTicketSupport.ts +0 -9
- package/ts/types/Interface/models/IVatMargin.ts +0 -7
- package/ts/types/Interface/models/IWebMailSpam.ts +0 -8
- package/ts/types/Interface/models/IWebMailSpamType.ts +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"century22.js","sourceRoot":"","sources":["../../../../ts/utils/vat/3514/century22.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"century22.js","sourceRoot":"","sources":["../../../../ts/utils/vat/3514/century22.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAG/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,UAAU,4BAA4B,CAAC,OAA8B;;IACzE,MAAM,iBAAiB,GAAG,SAAS,CAAC,MAAA,OAAO,CAAC,OAAO,0CAAE,OAAO,CAAC,IAAI,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAElG,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAE1D,MAAM,gBAAgB,GAAG,KAAK,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAA,MAAA,OAAO,CAAC,YAAY,0CAAE,KAAK,mCAAI,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,YAAY,KAAK,CAA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,EAAE;YACT;gBACE,KAAK,EAAE,aAAa;gBACpB,GAAG,EAAE,SAAS;gBACd,IAAI,EAAE,MAAM;aACb;SACF;KACF,EAAE;QACD,WAAW,EAAE,gBAAgB;QAC7B,SAAS,EAAE;YACT;gBACE,KAAK,EAAE,8CAA8C;gBACrD,GAAG,EAAE,cAAc;gBACnB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,CAAC;aACX;YACD;gBACE,KAAK,EAAE,iDAAiD;gBACxD,GAAG,EAAE,gBAAgB;gBACrB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,CAAC;aACX;YACD;gBACE,KAAK,EAAE,uDAAuD;gBAC9D,GAAG,EAAE,oBAAoB;gBACzB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,CAAC;aACX;YACD;gBACE,KAAK,EAAE,wDAAwD;gBAC/D,GAAG,EAAE,qBAAqB;gBAC1B,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,CAAC;aACX;SACF;KACF,CAAC,CAAC","sourcesContent":["import { isDefined } from 'class-validator';\nimport * as dayjs from 'dayjs';\nimport { round } from 'lodash';\nimport { Cerfa3514_2022, PayloadCerfa3514_2022 } from '../../../types/Interface/api/cerfa/3514';\nimport { CerfaPayloadForm } from '../../../types/Interface/api/cerfa/ReadCerfa';\nimport { setZeroIfIsNegative } from '../utils';\n\nexport function getCerfa3514Century22Payload(payload: PayloadCerfa3514_2022): Cerfa3514_2022 {\n const shouldHaveVatCode = isDefined(payload.setting?.tvaCode) && isDefined(payload.society.siret);\n\n const currentMonth = dayjs(payload.startDate).month() + 1;\n\n const previousCA12Rate = round(currentMonth === 7 ? (payload.previousCA12?.total ?? 0) * 0.4 : currentMonth === 1 ? (payload.previousCA12?.total ?? 0) * 0.55 : 0);\n const previousCA12Credit = round((payload.previousCA12?.recapitulation?.balance ?? 0) + (payload.previousCA12?.recapitulation?.imputedCredit ?? 0));\n\n const data: Cerfa3514_2022 = {\n declaration: {\n maxDate: ![1, 7].includes(currentMonth) ? 24 : payload.society.vatUploadDay ?? null,\n service: {\n address: {\n full: isDefined(payload.sie?.address?.address1) ? `${payload.sie?.address.address1}\\n${payload.sie?.address.address2}\\n${payload.sie?.address.address3}\\n${payload.sie?.address.address4}\\n${payload.sie?.address.address5}` : null,\n },\n },\n recipient: {\n address: {\n full: `${payload.society.address}\\n${payload.society.zipCode} ${payload.society.city}`,\n },\n name: payload.society.name,\n },\n numbers: {\n SIE: payload.sie?.sages ?? null,\n folder: null,\n key: null,\n CDI: null,\n service: null,\n system: null,\n },\n intracommunityVat: {\n first: shouldHaveVatCode ? (payload.setting?.tvaCode?.slice(0, 2) ?? null) : null,\n second: shouldHaveVatCode ? (payload.setting?.tvaCode?.slice(2, 4) ?? null) : null,\n third: shouldHaveVatCode ? (payload.society.siret?.slice(0, 9) ?? null) : null,\n },\n siret: {\n second: isDefined(payload.society.siret) ? (payload.society.siret?.slice(5) ?? null) : null,\n },\n comment: payload.comment ?? null,\n },\n payment: {\n date: dayjs().format('YYYY-MM-DD'),\n phone: null,\n isPayment: true,\n byImputation: false,\n },\n amountWanted: typeof payload.amountWanted === 'number' ? payload.amountWanted : previousCA12Rate ?? 0,\n amountOfCredit: typeof payload.amountOfCredit === 'number' ? payload.amountOfCredit : previousCA12Credit ?? 0,\n vatAmountToPay: 0, // Calculé plus bas\n shouldCancelAdvance: false,\n vatAmountCollected: payload.vatAmountCollected ?? 0,\n vatAmountDeductible: payload.vatAmountDeductible ?? 0,\n vatAmountQuarter: 0, // Calculé plus bas\n vatRefundedOnInvests: 0, // Calculé plus bas\n };\n\n data.vatAmountToPay = setZeroIfIsNegative((data.amountWanted ?? 0) - (data.amountOfCredit ?? 0));\n data.vatAmountQuarter = setZeroIfIsNegative((data.vatAmountDeductible ?? 0) - (data.vatAmountCollected ?? 0));\n data.vatRefundedOnInvests = data.vatAmountQuarter > 760 ? data.vatAmountQuarter : 0;\n\n return data;\n}\n\nexport const cerfa3514Century22Fields: CerfaPayloadForm[] = [{\n sectionName: 'Général',\n childrens: [\n {\n label: 'Commentaire',\n key: 'comment',\n type: 'text',\n },\n ],\n}, {\n sectionName: 'Acompte de TVA',\n childrens: [\n {\n label: '01 - Montant de l\\'acompte attendu ou modulé',\n key: 'amountWanted',\n type: 'number',\n columns: 6,\n },\n {\n label: '02 - Montant du crédit ou de l\\'excédent de TVA',\n key: 'amountOfCredit',\n type: 'number',\n columns: 6,\n },\n {\n label: '05 - Montant de la TVA collectée au titre du semestre',\n key: 'vatAmountCollected',\n type: 'number',\n columns: 6,\n },\n {\n label: '06 - Montant de la TVA déductible au titre du semestre',\n key: 'vatAmountDeductible',\n type: 'number',\n columns: 6,\n },\n ],\n}];"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"century23.d.ts","sourceRoot":"","sources":["../../../../ts/utils/vat/3517/century23.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;
|
|
1
|
+
{"version":3,"file":"century23.d.ts","sourceRoot":"","sources":["../../../../ts/utils/vat/3517/century23.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AAKpF,OAAO,EAAkB,gBAAgB,EAAiB,MAAM,gBAAgB,CAAC;AAEjF,wBAAgB,4BAA4B,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,EAAE,OAAO,EAAE,qBAAqB,GAAG,cAAc,CA8UlI;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgxCxE;AAED,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,EAwHtD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import * as dayjs from 'dayjs';
|
|
|
2
2
|
import { isDefined } from 'class-validator';
|
|
3
3
|
import { round as _round, uniqBy } from 'lodash';
|
|
4
4
|
import { Vat } from '../../../types/Enum/Vat';
|
|
5
|
-
import { getAmountByAccountNumber, getTaxAmountByAccountNumber, setZeroIfIsNegative, textFormatting } from '../utils';
|
|
5
|
+
import { getAmountByAccountNumber, getTaxAmountByAccountNumber, setZeroIfIsNegative, textFormatting, } from '../utils';
|
|
6
6
|
export function getCerfa3517Century23Payload(accountingEntries, payload) {
|
|
7
7
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90, _91, _92, _93, _94, _95, _96, _97, _98, _99, _100, _101, _102, _103, _104, _105, _106, _107, _108, _109, _110, _111, _112, _113, _114, _115, _116, _117, _118, _119, _120, _121, _122, _123, _124, _125, _126, _127, _128, _129, _130, _131, _132, _133, _134, _135, _136, _137, _138, _139, _140, _141, _142, _143, _144, _145, _146, _147, _148, _149, _150, _151, _152, _153, _154, _155, _156, _157, _158, _159, _160, _161, _162, _163, _164, _165, _166, _167, _168, _169, _170, _171, _172, _173, _174, _175, _176, _177, _178, _179, _180, _181, _182, _183, _184, _185, _186, _187, _188;
|
|
8
8
|
const shouldHaveVatCode = isDefined((_a = payload.setting) === null || _a === void 0 ? void 0 : _a.tvaCode) && isDefined(payload.society.siret);
|
|
@@ -25,7 +25,7 @@ export function getCerfa3517Century23Payload(accountingEntries, payload) {
|
|
|
25
25
|
const prestation2Base = setZeroIfIsNegative(getAmountByAccountNumber(prestation2Entries, presta2Accounts, 0, true));
|
|
26
26
|
const prestation2AmountOfVat = setZeroIfIsNegative(getTaxAmountByAccountNumber(prestation2Entries, presta2Accounts));
|
|
27
27
|
const saleOfImmobilization = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => !withoutTaxVat.includes(ae.idVat) && frenchVat.includes(ae.idVat)), ['775'], 0, true));
|
|
28
|
-
const onInvoiceDeductible = setZeroIfIsNegative(getTaxAmountByAccountNumber(vatEntries.filter(ae => !importationVat.includes(ae.idVat)), ['6']));
|
|
28
|
+
const onInvoiceDeductible = setZeroIfIsNegative(getTaxAmountByAccountNumber(vatEntries.filter((ae) => !importationVat.includes(ae.idVat)), ['6']));
|
|
29
29
|
const onImmobilizationDeductible = setZeroIfIsNegative(getTaxAmountByAccountNumber(vatEntries, ['2']));
|
|
30
30
|
const julyAdvance = (_e = (_d = payload === null || payload === void 0 ? void 0 : payload.exerciceAdvanceRegistrations) === null || _d === void 0 ? void 0 : _d.find((a) => [5, 6].includes(dayjs(a.endDate).month()))) !== null && _e !== void 0 ? _e : null;
|
|
31
31
|
const julyAdvancePayload = (_g = (_f = julyAdvance === null || julyAdvance === void 0 ? void 0 : julyAdvance.payload) === null || _f === void 0 ? void 0 : _f.cerfa3514) !== null && _g !== void 0 ? _g : null;
|
|
@@ -296,7 +296,7 @@ export function getCerfa3517Century23Payload(accountingEntries, payload) {
|
|
|
296
296
|
},
|
|
297
297
|
};
|
|
298
298
|
data.vat.total.tax = data.vat.normalRate20.tax + data.vat.normalRate20OnPetrol.tax + data.vat.reduceRate5Dot5.tax + data.vat.reduceRate10.tax + data.vat.reduceRate8Dot5.tax + data.vat.reduceRate2Dot1.tax + data.vat.particularRate.tax + data.vat.reducedRateOnPetrol.tax + data.vat.oldRate.tax + data.vat.energyBought.tax + data.vat.prestation.tax + data.vat.prestation2.tax + data.vat.saleOfImmobilization.tax + data.vat.ownDelivery.tax + data.vat.other.tax;
|
|
299
|
-
data.other.total = data.other.refund + data.other.previousDeducted + data.other.sum;
|
|
299
|
+
data.other.total = data.vat.total.tax + data.other.refund + data.other.previousDeducted + data.other.sum;
|
|
300
300
|
data.deductible.total1 = data.deductible.onInvoice + data.deductible.onFlatRate;
|
|
301
301
|
data.deductible.total = data.deductible.total1 + data.deductible.onImmobilization + data.deductible.previousCredit + data.deductible.forget + data.deductible.sumToImpute;
|
|
302
302
|
data.net.due = data.other.total - data.deductible.total > 0 ? data.other.total - data.deductible.total : 0;
|