@silexpert/core 1.1.42 → 1.1.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/es/types/Interface/api/aspone/ReadInterchange.d.ts +1 -1
  2. package/es/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -1
  3. package/es/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
  4. package/es/types/Interface/api/cerfa/ReadCerfa.d.ts +4 -0
  5. package/es/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
  6. package/es/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  7. package/es/utils/vat/3310/century23.d.ts.map +1 -1
  8. package/es/utils/vat/3310/century23.js +112 -87
  9. package/es/utils/vat/3310/century23.js.map +1 -1
  10. package/es/utils/vat/3517/century23.d.ts +2 -35
  11. package/es/utils/vat/3517/century23.d.ts.map +1 -1
  12. package/es/utils/vat/3517/century23.js +167 -165
  13. package/es/utils/vat/3517/century23.js.map +1 -1
  14. package/es/utils/vat/registration.js +2 -2
  15. package/es/utils/vat/registration.js.map +1 -1
  16. package/js/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
  17. package/js/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  18. package/js/utils/vat/3310/century23.js +114 -77
  19. package/js/utils/vat/3310/century23.js.map +1 -1
  20. package/js/utils/vat/3517/century23.js +144 -140
  21. package/js/utils/vat/3517/century23.js.map +1 -1
  22. package/js/utils/vat/registration.js +2 -2
  23. package/js/utils/vat/registration.js.map +1 -1
  24. package/package.json +1 -1
  25. package/ts/types/Interface/api/aspone/ReadInterchange.ts +1 -1
  26. package/ts/types/Interface/api/cerfa/ReadCerfa.ts +2 -1
  27. package/ts/utils/vat/3310/century23.ts +128 -87
  28. package/ts/utils/vat/3517/century23.ts +170 -162
  29. package/ts/utils/vat/registration.ts +2 -2
@@ -51,7 +51,7 @@ export declare class Redactor {
51
51
  adresse: RedactorAddress;
52
52
  referenceDossier: string;
53
53
  }
54
- type Tag = 'Valeur' | 'AdresseVille' | 'AdresseVoie' | 'AdresseCodePays' | 'AdresseComplement' | 'AdresseCodePostal' | 'AdresseHameau' | 'Telephone' | 'Designation' | 'DesignationSuite1' | 'DesignationSuite2' | 'Identifiant' | 'TexteLibre1' | 'TexteLibre2' | 'TexteLibre3' | 'TexteLibre4' | 'TexteLibre5' | 'DesignationSuite3' | 'AdresseNumero' | 'Iban' | 'Bic' | 'TitulaireDesignation';
54
+ type Tag = 'Valeur' | 'AdresseVille' | 'AdresseVoie' | 'AdresseCodePays' | 'AdresseComplement' | 'AdresseCodePostal' | 'AdresseHameau' | 'Telephone' | 'Designation' | 'DesignationSuite1' | 'DesignationSuite2' | 'Identifiant' | 'TexteLibre1' | 'TexteLibre2' | 'TexteLibre3' | 'TexteLibre4' | 'TexteLibre5' | 'DesignationSuite3' | 'AdresseNumero' | 'Iban' | 'Bic' | 'TitulaireDesignation' | 'TitulaireDesignationSuite';
55
55
  type Tags = Array<{
56
56
  description: string;
57
57
  tag: Tag;
@@ -1 +1 @@
1
- {"version":3,"file":"ReadInterchange.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/aspone/ReadInterchange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACxB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,MAAM,GAAG,I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eAAe,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,KAAK,GAAG,GAAG,QAAQ,GAAG,cAAc,GAAG,aAAa,GAAG,iBAAiB,GAAG,mBAAmB,GAAG,mBAAmB,GAAG,eAAe,GAAG,WAAW,GAAG,aAAa,GAAG,mBAAmB,GAAG,mBAAmB,GAAG,aAAa,GAAG,aAAa,GAAG,aAAa,GAAG,aAAa,GAAG,aAAa,GAAG,aAAa,GAAG,mBAAmB,GAAG,eAAe,GAAG,MAAM,GAAG,KAAK,GAAG,sBAAsB,GAAG,2BAA2B,CAAC;AACja,KAAK,IAAI,GAAG,KAAK,CAAC;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,GAAG,CAAC;IAAC,KAAK,EAAE,GAAG,CAAA;CAAE,CAAC,CAAC;AAEjE,MAAM,WAAW,kBAAkB;IACjC,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,GAAG,CAAC;IACd,KAAK,EAAE,gBAAgB,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,CAAA;CACb"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadInterchange.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/aspone/ReadInterchange.ts"],"names":[],"mappings":"AAsBA,MAAM,OAAO,eAAe;CAU3B;AAED,MAAM,OAAO,eAAe;CAM3B;AAED,MAAM,OAAO,eAAe;CAQ3B;AAED,MAAM,OAAO,QAAQ;CAMpB","sourcesContent":["import { AsponeFormFields } from '../cerfa/ReadCerfa';\n\nexport type PaymentState = {\n isError: boolean | null;\n details: string[]; // Obsolete\n label: string | null;\n date: string | null;\n};\n\nexport type Interchange = {\n name: string | null;\n label: string | null;\n isError: boolean;\n isFinal: boolean;\n date: string | null;\n detailledLabel?: string | null\n};\n\nexport type InterchangeState = Array<Interchange>;\n\nexport type InterchangeHistory = Interchange & { stateDetailsHistory: InterchangeState };\n\nexport class ReadDeclaration {\n idDeclaration: string;\n type: string;\n declarationType: {\n code: string | null;\n label: string | null\n };\n payment: PaymentState;\n dld: any;\n states: InterchangeHistory[];\n}\n\nexport class ReadInterchange {\n idDeposit: string;\n date: string;\n idInterchange: string;\n history: InterchangeHistory[];\n declarations: ReadDeclaration[];\n}\n\nexport class RedactorAddress {\n adresseNumero: string;\n adresseType: string | null;\n adresseVoie: string;\n adresseComplement: string;\n adresseCodePostal: string;\n adresseVille: string;\n adresseCodePays: string;\n}\n\nexport class Redactor {\n siret: string;\n designation: string;\n designationSuite1: string;\n adresse: RedactorAddress;\n referenceDossier: string;\n}\n\ntype Tag = 'Valeur' | 'AdresseVille' | 'AdresseVoie' | 'AdresseCodePays' | 'AdresseComplement' | 'AdresseCodePostal' | 'AdresseHameau' | 'Telephone' | 'Designation' | 'DesignationSuite1' | 'DesignationSuite2' | 'Identifiant' | 'TexteLibre1' | 'TexteLibre2' | 'TexteLibre3' | 'TexteLibre4' | 'TexteLibre5' | 'DesignationSuite3' | 'AdresseNumero' | 'Iban' | 'Bic' | 'TitulaireDesignation';\ntype Tags = Array<{ description: string; tag: Tag; value: any }>;\n\nexport interface FieldForGeneration {\n tag?: Tag;\n tags?: Tags,\n description?: string;\n key: string;\n value?: any;\n isMultiple: boolean;\n}\n\nexport interface PayloadForRegistration {\n isTest: boolean;\n redactor: Redactor;\n indebted: any;\n forms: AsponeFormFields;\n xml?: string\n}"]}
1
+ {"version":3,"file":"ReadInterchange.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/aspone/ReadInterchange.ts"],"names":[],"mappings":"AAsBA,MAAM,OAAO,eAAe;CAU3B;AAED,MAAM,OAAO,eAAe;CAM3B;AAED,MAAM,OAAO,eAAe;CAQ3B;AAED,MAAM,OAAO,QAAQ;CAMpB","sourcesContent":["import { AsponeFormFields } from '../cerfa/ReadCerfa';\n\nexport type PaymentState = {\n isError: boolean | null;\n details: string[]; // Obsolete\n label: string | null;\n date: string | null;\n};\n\nexport type Interchange = {\n name: string | null;\n label: string | null;\n isError: boolean;\n isFinal: boolean;\n date: string | null;\n detailledLabel?: string | null\n};\n\nexport type InterchangeState = Array<Interchange>;\n\nexport type InterchangeHistory = Interchange & { stateDetailsHistory: InterchangeState };\n\nexport class ReadDeclaration {\n idDeclaration: string;\n type: string;\n declarationType: {\n code: string | null;\n label: string | null\n };\n payment: PaymentState;\n dld: any;\n states: InterchangeHistory[];\n}\n\nexport class ReadInterchange {\n idDeposit: string;\n date: string;\n idInterchange: string;\n history: InterchangeHistory[];\n declarations: ReadDeclaration[];\n}\n\nexport class RedactorAddress {\n adresseNumero: string;\n adresseType: string | null;\n adresseVoie: string;\n adresseComplement: string;\n adresseCodePostal: string;\n adresseVille: string;\n adresseCodePays: string;\n}\n\nexport class Redactor {\n siret: string;\n designation: string;\n designationSuite1: string;\n adresse: RedactorAddress;\n referenceDossier: string;\n}\n\ntype Tag = 'Valeur' | 'AdresseVille' | 'AdresseVoie' | 'AdresseCodePays' | 'AdresseComplement' | 'AdresseCodePostal' | 'AdresseHameau' | 'Telephone' | 'Designation' | 'DesignationSuite1' | 'DesignationSuite2' | 'Identifiant' | 'TexteLibre1' | 'TexteLibre2' | 'TexteLibre3' | 'TexteLibre4' | 'TexteLibre5' | 'DesignationSuite3' | 'AdresseNumero' | 'Iban' | 'Bic' | 'TitulaireDesignation' | 'TitulaireDesignationSuite';\ntype Tags = Array<{ description: string; tag: Tag; value: any }>;\n\nexport interface FieldForGeneration {\n tag?: Tag;\n tags?: Tags,\n description?: string;\n key: string;\n value?: any;\n isMultiple: boolean;\n}\n\nexport interface PayloadForRegistration {\n isTest: boolean;\n redactor: Redactor;\n indebted: any;\n forms: AsponeFormFields;\n xml?: string\n}"]}
@@ -93,4 +93,8 @@ export type AsponeFormFields = Array<{
93
93
  name: string;
94
94
  fields: FieldForGeneration[];
95
95
  }>;
96
+ export type AsponeFormField = {
97
+ name: string;
98
+ fields: FieldForGeneration[];
99
+ };
96
100
  //# 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,cAAc,EACd,kBAAkB,EAAE,qBAAqB,EAAE,eAAe,EAC3D,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AAE/F,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,qBAAa,cAAc;IAAG,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;CAAE;AAErF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,gBAAgB,GAAG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IAAI,CAAC;IACpB,OAAO,EAAE,YAAY,CAAC;CACvB;AACD,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,OAAO,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,YAAY,CAAA;IACrB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AACD,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;KACpB,CAAA;IACD,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,MAAM,YAAY,GAAG;KACxB,GAAG,IAAI,MAAM,OAAO,eAAe,GAClC,MAAM,OAAO,QAAQ,GAAG,GAAG;CAC9B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,kBAAkB,EAAE,CAAA;CAAE,CAAC,CAAC;AACrF,MAAM,MAAM,eAAe,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,kBAAkB,EAAE,CAAA;CAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadCerfa.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":"AAmBA,MAAM,OAAO,cAAc;CAA0D","sourcesContent":["import { CerfaType } from '../../../Enum/CerfaType';\nimport {\n Cerfa3519_2017,\n FieldForGeneration, 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';\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[] }>;"]}
1
+ {"version":3,"file":"ReadCerfa.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":"AAmBA,MAAM,OAAO,cAAc;CAA0D","sourcesContent":["import { CerfaType } from '../../../Enum/CerfaType';\nimport {\n Cerfa3519_2017,\n FieldForGeneration, 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';\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[] }>;\nexport type AsponeFormField = { name: string; fields: FieldForGeneration[] };"]}
@@ -1 +1 @@
1
- {"version":3,"file":"century23.d.ts","sourceRoot":"","sources":["../../../../ts/utils/vat/3310/century23.ts"],"names":[],"mappings":"AAGA,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;AAE/F,wBAAgB,4BAA4B,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,EAAE,OAAO,EAAE,qBAAqB,EAAE,cAAc,GAAE,iBAAsB,GAAG,cAAc,CAgV1K;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,cAAc,GAAG,gBAAgB,CAg5B9F;AAED,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,EAiLrD,CAAC"}
1
+ {"version":3,"file":"century23.d.ts","sourceRoot":"","sources":["../../../../ts/utils/vat/3310/century23.ts"],"names":[],"mappings":"AAGA,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,CAoV1K;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,cAAc,GAAG,gBAAgB,CAo7B9F;AAED,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,EAiLrD,CAAC"}
@@ -42,12 +42,13 @@ export function getCerfa3310Century23Payload(accountingEntries, payload, updated
42
42
  const taxedOther = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => withTaxVat.includes(ae.idVat)), ['775'], 0, true));
43
43
  const intracommunityServiceAccounts = ['604', '611', '612', '613', '614', '615', '616', '617', '618', '619', '62'];
44
44
  const intracommunityServiceEntries = vatEntries.filter((ae) => withTaxVat.includes(ae.idVat) && intracomVat.includes(ae.idVat));
45
- const taxedPurchaseOfIntracommunityService = setZeroIfIsNegative(getAmountByAccountNumber(intracommunityServiceEntries, intracommunityServiceAccounts, 0, true));
45
+ // Case A3
46
+ const taxedPurchaseOfIntracommunityService = 0; /* setZeroIfIsNegative(getAmountByAccountNumber(intracommunityServiceEntries, intracommunityServiceAccounts, 0, true)); */
46
47
  const taxedImportEntries = vatEntries.filter((ae) => importationVat.includes(ae.idVat) && withTaxVat.includes(ae.idVat));
47
48
  const taxedImportAccounts = ['6'];
48
49
  const taxedImport = setZeroIfIsNegative(getAmountByAccountNumber(taxedImportEntries, taxedImportAccounts, 0, true));
49
50
  const intracommunityAccounts2 = ['601', '602', '603', '605', '606', '607'];
50
- const taxedIntracommunityAcquisitions = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => intracomVat.includes(ae.idVat) && withTaxVat.includes(ae.idVat)), intracommunityAccounts2, 0, true));
51
+ const taxedIntracommunityAcquisitions = getAmountByAccountNumber(vatEntries.filter((ae) => intracomVat.includes(ae.idVat) && withTaxVat.includes(ae.idVat)), [...intracommunityAccounts2, ...intracommunityServiceAccounts], 0, true);
51
52
  // Opérations non taxées
52
53
  const untaxedExportationNotInEurope = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => importationVat.includes(ae.idVat) && withoutTaxVat.includes(ae.idVat)), servicesAccounts, 0, true));
53
54
  const untaxedOther = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => frenchVat.includes(ae.idVat) && withoutTaxVat.includes(ae.idVat)), ['7'], 0, true));
@@ -82,7 +83,7 @@ export function getCerfa3310Century23Payload(accountingEntries, payload, updated
82
83
  const importReducedRate2Dot1Tax = _round(importReducedRate2Dot1 * 0.021);
83
84
  const importReducedRate1Dot05 = setZeroIfIsNegative(getAmountByAccountNumber(taxedImportEntries.filter((e) => vats.filter((v) => v.value === 1.05).map((v) => v.id).includes(e.idVat)), taxedImportAccounts, 0, true));
84
85
  const importReducedRate1Dot05Tax = _round(importReducedRate1Dot05 * 0.0105);
85
- const intracommunityTax = setZeroIfIsNegative(getTaxAmountByAccountNumber(intracommunityServiceEntries, [...intracommunityServiceAccounts, ...intracommunityAccounts2]));
86
+ const intracommunityTax = setZeroIfIsNegative(getTaxAmountByAccountNumber(intracommunityServiceEntries, [...intracommunityServiceAccounts, ...intracommunityAccounts2], 0));
86
87
  // TVA Déductible
87
88
  const immobilizationTax = setZeroIfIsNegative(getTaxAmountByAccountNumber(vatEntries, ['2']));
88
89
  const otherGoodsAndServices = setZeroIfIsNegative(getTaxAmountByAccountNumber(vatEntries.filter((e) => vats.filter((v) => !v.isVatImportation).map((v) => v.id).includes(e.idVat)), ['6']));
@@ -329,6 +330,106 @@ export function getCerfa3310Century23Payload(accountingEntries, payload, updated
329
330
  export function getCerfa3310Century23RegistrationFields(data) {
330
331
  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;
331
332
  const comment = textFormatting(data.declaration.comment);
333
+ const importFields = [];
334
+ if (data.vat.oilProducts.normalRate20.base > 0) {
335
+ importFields.push({
336
+ key: 'GS',
337
+ tag: 'Valeur',
338
+ isMultiple: false,
339
+ description: 'MOA Opérations imposables au taux normal 20 % sur les produits pétroliers : base HT',
340
+ value: data.vat.oilProducts.normalRate20.base,
341
+ });
342
+ }
343
+ if (data.taxedOperations.import > 0) {
344
+ importFields.push({
345
+ key: 'DK',
346
+ tag: 'Valeur',
347
+ isMultiple: false,
348
+ description: 'MOA Opérations taxées HT - Importations (autres que les produits pétroliers',
349
+ value: data.taxedOperations.import,
350
+ });
351
+ }
352
+ if (data.vat.oilProducts.normalRate20.tax > 0) {
353
+ importFields.push({
354
+ key: 'GT',
355
+ tag: 'Valeur',
356
+ isMultiple: false,
357
+ description: 'MOA Opérations imposables au taux normal 20 % sur les produits pétroliers : taxe due',
358
+ value: data.vat.oilProducts.normalRate20.tax,
359
+ });
360
+ }
361
+ if (data.vat.oilProducts.reduceRate13.base > 0) {
362
+ importFields.push({
363
+ key: 'GU',
364
+ tag: 'Valeur',
365
+ isMultiple: false,
366
+ description: 'MOA Opérations imposables au taux réduit 13 % sur les produits pétroliers : base HT',
367
+ value: data.vat.oilProducts.reduceRate13.base,
368
+ });
369
+ }
370
+ if (data.vat.oilProducts.reduceRate13.tax > 0) {
371
+ importFields.push({
372
+ key: 'GV',
373
+ tag: 'Valeur',
374
+ isMultiple: false,
375
+ description: 'MOA Opérations imposables au taux réduit 13 % sur les produits pétroliers : taxe due',
376
+ value: data.vat.oilProducts.reduceRate13.tax,
377
+ });
378
+ }
379
+ if (data.vat.importations.normalRate20.base > 0) {
380
+ importFields.push({
381
+ key: 'LB',
382
+ tag: 'Valeur',
383
+ isMultiple: false,
384
+ description: 'MOA Importations - Taux normal 20 % Base HT',
385
+ value: data.vat.importations.normalRate20.base,
386
+ });
387
+ }
388
+ if (data.vat.importations.reduceRate10.base > 0) {
389
+ importFields.push({
390
+ key: 'LD',
391
+ tag: 'Valeur',
392
+ isMultiple: false,
393
+ description: 'MOA Importations - Taux réduit 10 % Base HT',
394
+ value: data.vat.importations.reduceRate10.base,
395
+ });
396
+ }
397
+ if (data.vat.importations.reduceRate8Dot5.base > 0) {
398
+ importFields.push({
399
+ key: 'LF',
400
+ tag: 'Valeur',
401
+ isMultiple: false,
402
+ description: 'MOA Importations - Taux réduit 8,5 % Base HT',
403
+ value: data.vat.importations.reduceRate8Dot5.base,
404
+ });
405
+ }
406
+ if (data.vat.importations.reduceRate5Dot5.base > 0) {
407
+ importFields.push({
408
+ key: 'LH',
409
+ tag: 'Valeur',
410
+ isMultiple: false,
411
+ description: 'MOA Importations - Taux réduit 5,5 % Base HT',
412
+ value: data.vat.importations.reduceRate5Dot5.base,
413
+ });
414
+ }
415
+ if (data.vat.importations.reduceRate2Dot1.base > 0) {
416
+ importFields.push({
417
+ key: 'LK',
418
+ tag: 'Valeur',
419
+ isMultiple: false,
420
+ description: 'MOA Importations - Taux réduit 2,1 % Base HT',
421
+ value: data.vat.importations.reduceRate2Dot1.base,
422
+ });
423
+ }
424
+ if (data.vat.importations.reduceRate1Dot05.base > 0) {
425
+ importFields.push({
426
+ key: 'LM',
427
+ tag: 'Valeur',
428
+ isMultiple: false,
429
+ description: 'MOA Importations - Taux réduit 1,05 % Base HT',
430
+ value: data.vat.importations.reduceRate1Dot05.base,
431
+ });
432
+ }
332
433
  return [{
333
434
  name: '3310CA3',
334
435
  fields: [
@@ -549,13 +650,6 @@ export function getCerfa3310Century23RegistrationFields(data) {
549
650
  description: 'MOA Opérations non taxées - Mises à la consommation de produits pétroliers 910759',
550
651
  value: data.untaxedOperations.oilProductsConsumption,
551
652
  },
552
- {
553
- key: 'DK',
554
- tag: 'Valeur',
555
- isMultiple: false,
556
- description: 'MOA Opérations taxées HT - Importations (autres que les produits pétroliers',
557
- value: data.taxedOperations.import,
558
- },
559
653
  {
560
654
  key: 'FB',
561
655
  tag: 'Valeur',
@@ -703,34 +797,7 @@ export function getCerfa3310Century23RegistrationFields(data) {
703
797
  description: 'MOA Opérations imposables au taux réduit de 10% en France métropolitaine : Taxe due',
704
798
  value: data.vat.carrieredOutInFrance.reduceRate10.tax,
705
799
  },
706
- {
707
- key: 'GS',
708
- tag: 'Valeur',
709
- isMultiple: false,
710
- description: 'MOA Opérations imposables au taux normal 20 % sur les produits pétroliers : base HT',
711
- value: data.vat.oilProducts.normalRate20.base,
712
- },
713
- {
714
- key: 'GT',
715
- tag: 'Valeur',
716
- isMultiple: false,
717
- description: 'MOA Opérations imposables au taux normal 20 % sur les produits pétroliers : taxe due',
718
- value: data.vat.oilProducts.normalRate20.tax,
719
- },
720
- {
721
- key: 'GU',
722
- tag: 'Valeur',
723
- isMultiple: false,
724
- description: 'MOA Opérations imposables au taux réduit 13 % sur les produits pétroliers : base HT',
725
- value: data.vat.oilProducts.reduceRate13.base,
726
- },
727
- {
728
- key: 'GV',
729
- tag: 'Valeur',
730
- isMultiple: false,
731
- description: 'MOA Opérations imposables au taux réduit 13 % sur les produits pétroliers : taxe due',
732
- value: data.vat.oilProducts.reduceRate13.tax,
733
- },
800
+ ...importFields,
734
801
  {
735
802
  key: 'HA',
736
803
  tag: 'Valeur',
@@ -934,13 +1001,6 @@ export function getCerfa3310Century23RegistrationFields(data) {
934
1001
  description: 'MOA Opérations non taxées - Importations de produits pétroliers placées sous régime fiscal suspensif 911595',
935
1002
  value: data.untaxedOperations.importPetrolInSuspensiveSystem,
936
1003
  },
937
- {
938
- key: 'LB',
939
- tag: 'Valeur',
940
- isMultiple: false,
941
- description: 'MOA Importations - Taux normal 20 % Base HT',
942
- value: data.vat.importations.normalRate20.base,
943
- },
944
1004
  {
945
1005
  key: 'LC',
946
1006
  tag: 'Valeur',
@@ -948,13 +1008,6 @@ export function getCerfa3310Century23RegistrationFields(data) {
948
1008
  description: 'MOA Importations - Taux normal 20 % Taxe due',
949
1009
  value: data.vat.importations.normalRate20.tax,
950
1010
  },
951
- {
952
- key: 'LD',
953
- tag: 'Valeur',
954
- isMultiple: false,
955
- description: 'MOA Importations - Taux réduit 10 % Base HT',
956
- value: data.vat.importations.reduceRate10.base,
957
- },
958
1011
  {
959
1012
  key: 'LE',
960
1013
  tag: 'Valeur',
@@ -962,13 +1015,6 @@ export function getCerfa3310Century23RegistrationFields(data) {
962
1015
  description: 'MOA Importations - Taux réduit 10 % Taxe due',
963
1016
  value: data.vat.importations.reduceRate10.tax,
964
1017
  },
965
- {
966
- key: 'LF',
967
- tag: 'Valeur',
968
- isMultiple: false,
969
- description: 'MOA Importations - Taux réduit 8,5 % Base HT',
970
- value: data.vat.importations.reduceRate8Dot5.base,
971
- },
972
1018
  {
973
1019
  key: 'LG',
974
1020
  tag: 'Valeur',
@@ -976,13 +1022,6 @@ export function getCerfa3310Century23RegistrationFields(data) {
976
1022
  description: 'MOA Importations - Taux réduit 8,5 % Taxe due',
977
1023
  value: data.vat.importations.reduceRate8Dot5.tax,
978
1024
  },
979
- {
980
- key: 'LH',
981
- tag: 'Valeur',
982
- isMultiple: false,
983
- description: 'MOA Importations - Taux réduit 5,5 % Base HT',
984
- value: data.vat.importations.reduceRate5Dot5.base,
985
- },
986
1025
  {
987
1026
  key: 'LJ',
988
1027
  tag: 'Valeur',
@@ -990,13 +1029,6 @@ export function getCerfa3310Century23RegistrationFields(data) {
990
1029
  description: 'MOA Importations - Taux réduit 5,5 % Taxe due',
991
1030
  value: data.vat.importations.reduceRate5Dot5.tax,
992
1031
  },
993
- {
994
- key: 'LK',
995
- tag: 'Valeur',
996
- isMultiple: false,
997
- description: 'MOA Importations - Taux réduit 2,1 % Base HT',
998
- value: data.vat.importations.reduceRate2Dot1.base,
999
- },
1000
1032
  {
1001
1033
  key: 'LL',
1002
1034
  tag: 'Valeur',
@@ -1004,13 +1036,6 @@ export function getCerfa3310Century23RegistrationFields(data) {
1004
1036
  description: 'MOA Importations - Taux réduit 2,1 % Taxe due',
1005
1037
  value: data.vat.importations.reduceRate2Dot1.tax,
1006
1038
  },
1007
- {
1008
- key: 'LM',
1009
- tag: 'Valeur',
1010
- isMultiple: false,
1011
- description: 'MOA Importations - Taux réduit 1,05 % Base HT',
1012
- value: data.vat.importations.reduceRate1Dot05.base,
1013
- },
1014
1039
  {
1015
1040
  key: 'LN',
1016
1041
  tag: 'Valeur',
@@ -1032,13 +1057,13 @@ export function getCerfa3310Century23RegistrationFields(data) {
1032
1057
  description: 'MOA TVA antérieurement déduite à reverser, dont TVA sur les produits importés hors produits',
1033
1058
  value: data.vat.previouslyDeductedToBeReturned.otherThanOilProducts,
1034
1059
  },
1035
- {
1036
- key: 'LR',
1037
- tag: 'Valeur',
1038
- isMultiple: false,
1039
- description: 'MOA Opérations internes réalisées entre membres d\'un assujetti unique 912152',
1040
- value: data.untaxedOperations.internalUniq,
1041
- },
1060
+ // {
1061
+ // key: 'LR',
1062
+ // tag: 'Valeur',
1063
+ // isMultiple: false,
1064
+ // description: 'MOA Opérations internes réalisées entre membres d\'un assujetti unique 912152',
1065
+ // value: data.untaxedOperations.internalUniq,
1066
+ // },
1042
1067
  {
1043
1068
  key: 'LS',
1044
1069
  tag: 'Valeur',