@factpulse/sdk 2.0.12 → 3.0.1
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/.github/SETUP_GITHUB_ACTIONS.md +70 -8
- package/.github/workflows/publish-npm.yml +5 -7
- package/.openapi-generator/FILES +206 -174
- package/CHANGELOG.md +3 -3
- package/README.md +181 -132
- package/api/afnorpdppaapi.ts +159 -10
- package/api/afnorpdppadirectory-service-api.ts +78 -78
- package/api/afnorpdppaflow-service-api.ts +30 -30
- package/api/chorus-pro-api.ts +358 -388
- package/api/health-api.ts +176 -0
- package/api/invoice-processing-api.ts +1083 -0
- package/api/pdfxmlverification-api.ts +536 -0
- package/api/user-api.ts +119 -0
- package/api.ts +6 -5
- package/base.ts +2 -2
- package/common.ts +2 -2
- package/configuration.ts +2 -2
- package/dist/api/afnorpdppaapi.d.ts +75 -10
- package/dist/api/afnorpdppaapi.js +152 -11
- package/dist/api/afnorpdppadirectory-service-api.d.ts +78 -78
- package/dist/api/afnorpdppadirectory-service-api.js +82 -79
- package/dist/api/afnorpdppaflow-service-api.d.ts +30 -30
- package/dist/api/afnorpdppaflow-service-api.js +34 -31
- package/dist/api/chorus-pro-api.d.ts +345 -280
- package/dist/api/chorus-pro-api.js +351 -356
- package/dist/api/health-api.d.ts +90 -0
- package/dist/api/health-api.js +184 -0
- package/dist/api/invoice-processing-api.d.ts +480 -0
- package/dist/api/invoice-processing-api.js +1010 -0
- package/dist/api/pdfxmlverification-api.d.ts +237 -0
- package/dist/api/pdfxmlverification-api.js +514 -0
- package/dist/api/user-api.d.ts +62 -0
- package/dist/api/user-api.js +128 -0
- package/dist/api.d.ts +6 -5
- package/dist/api.js +6 -5
- package/dist/base.d.ts +2 -2
- package/dist/base.js +6 -3
- package/dist/common.d.ts +2 -2
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2 -2
- package/dist/esm/api/afnorpdppaapi.d.ts +75 -10
- package/dist/esm/api/afnorpdppaapi.js +149 -11
- package/dist/esm/api/afnorpdppadirectory-service-api.d.ts +78 -78
- package/dist/esm/api/afnorpdppadirectory-service-api.js +78 -78
- package/dist/esm/api/afnorpdppaflow-service-api.d.ts +30 -30
- package/dist/esm/api/afnorpdppaflow-service-api.js +30 -30
- package/dist/esm/api/chorus-pro-api.d.ts +345 -280
- package/dist/esm/api/chorus-pro-api.js +347 -355
- package/dist/esm/api/health-api.d.ts +90 -0
- package/dist/esm/api/health-api.js +174 -0
- package/dist/esm/api/invoice-processing-api.d.ts +480 -0
- package/dist/esm/api/invoice-processing-api.js +1000 -0
- package/dist/esm/api/pdfxmlverification-api.d.ts +237 -0
- package/dist/esm/api/pdfxmlverification-api.js +504 -0
- package/dist/esm/api/user-api.d.ts +62 -0
- package/dist/esm/api/user-api.js +118 -0
- package/dist/esm/api.d.ts +6 -5
- package/dist/esm/api.js +6 -5
- package/dist/esm/base.d.ts +2 -2
- package/dist/esm/base.js +2 -2
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +2 -2
- package/dist/esm/configuration.d.ts +2 -2
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/esm/models/acknowledgment-status.d.ts +20 -0
- package/dist/esm/models/acknowledgment-status.js +21 -0
- package/dist/esm/models/afnorcredentials.d.ts +19 -0
- package/dist/esm/models/afnorcredentials.js +14 -0
- package/dist/esm/models/afnordestination.d.ts +34 -0
- package/dist/esm/models/afnordestination.js +21 -0
- package/dist/esm/models/afnorhealth-check-response.d.ts +28 -0
- package/dist/esm/models/afnorhealth-check-response.js +14 -0
- package/dist/esm/models/afnorresult.d.ts +30 -0
- package/dist/esm/models/afnorresult.js +14 -0
- package/dist/esm/models/allowance-reason-code.d.ts +24 -0
- package/dist/esm/models/allowance-reason-code.js +25 -0
- package/dist/esm/models/amount-due.d.ts +16 -0
- package/dist/esm/models/amount-due.js +14 -0
- package/dist/esm/models/apierror.d.ts +26 -0
- package/dist/esm/models/apierror.js +14 -0
- package/dist/esm/models/apiprofile.d.ts +21 -0
- package/dist/esm/models/apiprofile.js +22 -0
- package/dist/esm/models/bounding-box-schema.d.ts +44 -0
- package/dist/esm/models/bounding-box-schema.js +14 -0
- package/dist/esm/models/celery-status.d.ts +22 -0
- package/dist/esm/models/celery-status.js +23 -0
- package/dist/esm/models/certificate-info-response.d.ts +23 -23
- package/dist/esm/models/certificate-info-response.js +2 -2
- package/dist/esm/models/chorus-pro-destination.d.ts +23 -0
- package/dist/esm/models/chorus-pro-destination.js +16 -0
- package/dist/esm/models/chorus-pro-result.d.ts +22 -0
- package/dist/esm/models/chorus-pro-result.js +14 -0
- package/dist/esm/models/destination.d.ts +7 -7
- package/dist/esm/models/destination.js +2 -2
- package/dist/esm/models/document-type.d.ts +37 -0
- package/dist/esm/models/document-type.js +38 -0
- package/dist/esm/models/electronic-address.d.ts +19 -0
- package/dist/esm/models/electronic-address.js +14 -0
- package/dist/esm/models/enriched-invoice-info.d.ts +24 -0
- package/dist/esm/models/enriched-invoice-info.js +14 -0
- package/dist/esm/models/error-level.d.ts +16 -0
- package/dist/esm/models/error-level.js +17 -0
- package/dist/esm/models/error-source.d.ts +22 -0
- package/dist/esm/models/error-source.js +23 -0
- package/dist/esm/models/factur-xpdfinfo.d.ts +28 -0
- package/dist/esm/models/factur-xpdfinfo.js +14 -0
- package/dist/esm/models/facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.d.ts +36 -0
- package/dist/esm/models/facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.js +14 -0
- package/dist/esm/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.d.ts +24 -0
- package/dist/esm/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.js +14 -0
- package/dist/esm/models/facture-factur-x.d.ts +30 -28
- package/dist/esm/models/facture-factur-x.js +2 -2
- package/dist/esm/models/field-status.d.ts +22 -0
- package/dist/esm/models/field-status.js +23 -0
- package/dist/esm/models/flow-direction.d.ts +19 -0
- package/dist/esm/models/flow-direction.js +20 -0
- package/dist/esm/models/flow-profile.d.ts +20 -0
- package/dist/esm/models/flow-profile.js +21 -0
- package/dist/esm/models/flow-summary.d.ts +24 -0
- package/dist/esm/models/flow-summary.js +14 -0
- package/dist/esm/models/flow-syntax.d.ts +22 -0
- package/dist/esm/models/flow-syntax.js +23 -0
- package/dist/esm/models/flow-type.d.ts +22 -0
- package/dist/esm/models/flow-type.js +23 -0
- package/dist/esm/models/generate-certificate-request.d.ts +21 -21
- package/dist/esm/models/generate-certificate-request.js +2 -2
- package/dist/esm/models/generate-certificate-response.d.ts +12 -12
- package/dist/esm/models/generate-certificate-response.js +2 -2
- package/dist/esm/models/get-chorus-pro-id-request.d.ts +26 -0
- package/dist/esm/models/get-chorus-pro-id-request.js +14 -0
- package/dist/esm/models/get-chorus-pro-id-response.d.ts +29 -0
- package/dist/esm/models/get-chorus-pro-id-response.js +14 -0
- package/dist/esm/models/get-invoice-request.d.ts +22 -0
- package/dist/esm/models/get-invoice-request.js +14 -0
- package/dist/esm/models/get-invoice-response.d.ts +26 -0
- package/dist/esm/models/get-invoice-response.js +14 -0
- package/dist/esm/models/get-structure-request.d.ts +26 -0
- package/dist/esm/models/get-structure-request.js +14 -0
- package/dist/esm/models/get-structure-response.d.ts +26 -0
- package/dist/esm/models/get-structure-response.js +14 -0
- package/dist/esm/models/global-allowance-amount.d.ts +16 -0
- package/dist/esm/models/global-allowance-amount.js +14 -0
- package/dist/esm/models/httpvalidation-error.d.ts +2 -2
- package/dist/esm/models/httpvalidation-error.js +2 -2
- package/dist/esm/models/incoming-invoice.d.ts +68 -0
- package/dist/esm/models/incoming-invoice.js +14 -0
- package/dist/esm/models/incoming-supplier.d.ts +29 -0
- package/dist/esm/models/incoming-supplier.js +14 -0
- package/dist/esm/models/index.d.ts +99 -84
- package/dist/esm/models/index.js +99 -84
- package/dist/esm/models/invoice-format.d.ts +20 -0
- package/dist/esm/models/invoice-format.js +21 -0
- package/dist/esm/models/invoice-line-allowance-amount.d.ts +16 -0
- package/dist/esm/models/invoice-line-allowance-amount.js +14 -0
- package/dist/esm/models/invoice-line.d.ts +39 -0
- package/dist/esm/models/invoice-line.js +14 -0
- package/dist/esm/models/invoice-note.d.ts +18 -0
- package/dist/esm/models/invoice-note.js +14 -0
- package/dist/esm/models/invoice-references.d.ts +27 -0
- package/dist/esm/models/invoice-references.js +14 -0
- package/dist/esm/models/invoice-status.d.ts +25 -0
- package/dist/esm/models/invoice-status.js +14 -0
- package/dist/esm/models/invoice-totals-prepayment.d.ts +16 -0
- package/dist/esm/models/invoice-totals-prepayment.js +14 -0
- package/dist/esm/models/invoice-totals.d.ts +29 -0
- package/dist/esm/models/invoice-totals.js +14 -0
- package/dist/esm/models/invoice-type-code.d.ts +97 -0
- package/dist/esm/models/invoice-type-code.js +98 -0
- package/dist/esm/models/invoicing-framework-code.d.ts +25 -0
- package/dist/esm/models/invoicing-framework-code.js +26 -0
- package/dist/esm/models/invoicing-framework.d.ts +22 -0
- package/dist/esm/models/invoicing-framework.js +14 -0
- package/dist/esm/models/line-net-amount.d.ts +16 -0
- package/dist/esm/models/line-net-amount.js +14 -0
- package/dist/esm/models/mandatory-note-schema.d.ts +34 -0
- package/dist/esm/models/mandatory-note-schema.js +14 -0
- package/dist/esm/models/manual-rate.d.ts +16 -0
- package/dist/esm/models/manual-rate.js +14 -0
- package/dist/esm/models/manual-vat-rate.d.ts +16 -0
- package/dist/esm/models/manual-vat-rate.js +14 -0
- package/dist/esm/models/operation-nature.d.ts +31 -0
- package/dist/esm/models/operation-nature.js +32 -0
- package/dist/esm/models/output-format.d.ts +19 -0
- package/dist/esm/models/output-format.js +20 -0
- package/dist/esm/models/page-dimensions-schema.d.ts +24 -0
- package/dist/esm/models/page-dimensions-schema.js +14 -0
- package/dist/esm/models/payee.d.ts +26 -0
- package/dist/esm/models/payee.js +14 -0
- package/dist/esm/models/payment-means.d.ts +29 -0
- package/dist/esm/models/payment-means.js +30 -0
- package/dist/esm/models/pdfvalidation-result-api.d.ts +93 -0
- package/dist/esm/models/pdfvalidation-result-api.js +14 -0
- package/dist/esm/models/pdpcredentials.d.ts +33 -0
- package/dist/esm/models/pdpcredentials.js +14 -0
- package/dist/esm/models/postal-address.d.ts +21 -0
- package/dist/esm/models/postal-address.js +14 -0
- package/dist/esm/models/processing-options.d.ts +33 -0
- package/dist/esm/models/processing-options.js +14 -0
- package/dist/esm/models/quantity.d.ts +16 -0
- package/dist/esm/models/quantity.js +14 -0
- package/dist/esm/models/recipient.d.ts +24 -0
- package/dist/esm/models/recipient.js +14 -0
- package/dist/esm/models/scheme-id.d.ts +5 -5
- package/dist/esm/models/scheme-id.js +5 -5
- package/dist/esm/models/search-flow-request.d.ts +34 -0
- package/dist/esm/models/search-flow-request.js +14 -0
- package/dist/esm/models/search-flow-response.d.ts +33 -0
- package/dist/esm/models/search-flow-response.js +14 -0
- package/dist/esm/models/search-services-response.d.ts +24 -0
- package/dist/esm/models/search-services-response.js +14 -0
- package/dist/esm/models/search-structure-request.d.ts +25 -0
- package/dist/esm/models/search-structure-request.js +14 -0
- package/dist/esm/models/search-structure-response.d.ts +30 -0
- package/dist/esm/models/search-structure-response.js +14 -0
- package/dist/esm/models/signature-info-api.d.ts +25 -0
- package/dist/esm/models/signature-info-api.js +14 -0
- package/dist/esm/models/signature-info.d.ts +5 -5
- package/dist/esm/models/signature-info.js +2 -2
- package/dist/esm/models/signature-parameters.d.ts +34 -0
- package/dist/esm/models/signature-parameters.js +14 -0
- package/dist/esm/models/simplified-invoice-data.d.ts +46 -0
- package/dist/esm/models/simplified-invoice-data.js +14 -0
- package/dist/esm/models/structure-info.d.ts +13 -13
- package/dist/esm/models/structure-info.js +2 -2
- package/dist/esm/models/structure-parameters.d.ts +28 -0
- package/dist/esm/models/structure-parameters.js +14 -0
- package/dist/esm/models/structure-service.d.ts +32 -0
- package/dist/esm/models/structure-service.js +14 -0
- package/dist/esm/models/submission-mode.d.ts +23 -0
- package/dist/esm/models/submission-mode.js +24 -0
- package/dist/esm/models/submit-complete-invoice-request.d.ts +34 -0
- package/dist/esm/models/submit-complete-invoice-request.js +14 -0
- package/dist/esm/models/submit-complete-invoice-response.d.ts +53 -0
- package/dist/esm/models/submit-complete-invoice-response.js +17 -0
- package/dist/esm/models/submit-flow-request.d.ts +31 -0
- package/dist/esm/models/submit-flow-request.js +14 -0
- package/dist/esm/models/submit-flow-response.d.ts +38 -0
- package/dist/esm/models/submit-flow-response.js +14 -0
- package/dist/esm/models/submit-invoice-request.d.ts +44 -0
- package/dist/esm/models/submit-invoice-request.js +14 -0
- package/dist/esm/models/submit-invoice-response.d.ts +26 -0
- package/dist/esm/models/submit-invoice-response.js +14 -0
- package/dist/esm/models/supplementary-attachment.d.ts +21 -0
- package/dist/esm/models/supplementary-attachment.js +14 -0
- package/dist/esm/models/supplier.d.ts +28 -0
- package/dist/esm/models/supplier.js +14 -0
- package/dist/esm/models/task-response.d.ts +20 -0
- package/dist/esm/models/task-response.js +14 -0
- package/dist/esm/models/task-status.d.ts +28 -0
- package/dist/esm/models/task-status.js +14 -0
- package/dist/esm/models/taxable-amount.d.ts +16 -0
- package/dist/esm/models/taxable-amount.js +14 -0
- package/dist/esm/models/total-gross-amount.d.ts +16 -0
- package/dist/esm/models/total-gross-amount.js +14 -0
- package/dist/esm/models/total-net-amount.d.ts +16 -0
- package/dist/esm/models/total-net-amount.js +14 -0
- package/dist/esm/models/total-vatamount.d.ts +16 -0
- package/dist/esm/models/total-vatamount.js +14 -0
- package/dist/esm/models/unit-net-price.d.ts +16 -0
- package/dist/esm/models/unit-net-price.js +14 -0
- package/dist/esm/models/unit-of-measure.d.ts +29 -0
- package/dist/esm/models/unit-of-measure.js +30 -0
- package/dist/esm/models/validation-error-detail.d.ts +32 -0
- package/dist/esm/models/validation-error-detail.js +14 -0
- package/dist/esm/models/validation-error-loc-inner.d.ts +2 -2
- package/dist/esm/models/validation-error-loc-inner.js +2 -2
- package/dist/esm/models/validation-error-response.d.ts +20 -0
- package/dist/esm/models/validation-error-response.js +14 -0
- package/dist/esm/models/validation-error.d.ts +2 -2
- package/dist/esm/models/validation-error.js +2 -2
- package/dist/esm/models/validation-success-response.d.ts +20 -0
- package/dist/esm/models/validation-success-response.js +14 -0
- package/dist/esm/models/vat-amount.d.ts +16 -0
- package/dist/esm/models/vat-amount.js +14 -0
- package/dist/esm/models/vataccounting-code.d.ts +25 -0
- package/dist/esm/models/vataccounting-code.js +26 -0
- package/dist/esm/models/vatamount.d.ts +16 -0
- package/dist/esm/models/vatamount.js +14 -0
- package/dist/esm/models/vatcategory.d.ts +26 -0
- package/dist/esm/models/vatcategory.js +27 -0
- package/dist/esm/models/vatline.d.ts +27 -0
- package/dist/esm/models/vatline.js +14 -0
- package/dist/esm/models/verification-success-response.d.ts +56 -0
- package/dist/esm/models/verification-success-response.js +14 -0
- package/dist/esm/models/verified-field-schema.d.ts +42 -0
- package/dist/esm/models/verified-field-schema.js +14 -0
- package/dist/esm/src/helpers/client.d.ts +265 -0
- package/dist/esm/src/helpers/client.js +817 -0
- package/dist/esm/src/helpers/exceptions.d.ts +23 -0
- package/dist/esm/src/helpers/exceptions.js +27 -0
- package/dist/esm/src/helpers/index.d.ts +3 -0
- package/dist/esm/src/helpers/index.js +6 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/models/acknowledgment-status.d.ts +20 -0
- package/dist/models/acknowledgment-status.js +24 -0
- package/dist/models/afnorcredentials.d.ts +19 -0
- package/dist/models/afnorcredentials.js +15 -0
- package/dist/models/afnordestination.d.ts +34 -0
- package/dist/models/afnordestination.js +24 -0
- package/dist/models/afnorhealth-check-response.d.ts +28 -0
- package/dist/models/afnorhealth-check-response.js +15 -0
- package/dist/models/afnorresult.d.ts +30 -0
- package/dist/models/afnorresult.js +15 -0
- package/dist/models/allowance-reason-code.d.ts +24 -0
- package/dist/models/allowance-reason-code.js +28 -0
- package/dist/models/amount-due.d.ts +16 -0
- package/dist/models/amount-due.js +15 -0
- package/dist/models/apierror.d.ts +26 -0
- package/dist/models/apierror.js +15 -0
- package/dist/models/apiprofile.d.ts +21 -0
- package/dist/models/apiprofile.js +25 -0
- package/dist/models/bounding-box-schema.d.ts +44 -0
- package/dist/models/bounding-box-schema.js +15 -0
- package/dist/models/celery-status.d.ts +22 -0
- package/dist/models/celery-status.js +26 -0
- package/dist/models/certificate-info-response.d.ts +23 -23
- package/dist/models/certificate-info-response.js +2 -2
- package/dist/models/chorus-pro-destination.d.ts +23 -0
- package/dist/models/chorus-pro-destination.js +19 -0
- package/dist/models/chorus-pro-result.d.ts +22 -0
- package/dist/models/chorus-pro-result.js +15 -0
- package/dist/models/destination.d.ts +7 -7
- package/dist/models/destination.js +2 -2
- package/dist/models/document-type.d.ts +37 -0
- package/dist/models/document-type.js +41 -0
- package/dist/models/electronic-address.d.ts +19 -0
- package/dist/models/electronic-address.js +15 -0
- package/dist/models/enriched-invoice-info.d.ts +24 -0
- package/dist/models/enriched-invoice-info.js +15 -0
- package/dist/models/error-level.d.ts +16 -0
- package/dist/models/error-level.js +20 -0
- package/dist/models/error-source.d.ts +22 -0
- package/dist/models/error-source.js +26 -0
- package/dist/models/factur-xpdfinfo.d.ts +28 -0
- package/dist/models/factur-xpdfinfo.js +15 -0
- package/dist/models/facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.d.ts +36 -0
- package/dist/models/facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.js +15 -0
- package/dist/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.d.ts +24 -0
- package/dist/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.js +15 -0
- package/dist/models/facture-factur-x.d.ts +30 -28
- package/dist/models/facture-factur-x.js +2 -2
- package/dist/models/field-status.d.ts +22 -0
- package/dist/models/field-status.js +26 -0
- package/dist/models/flow-direction.d.ts +19 -0
- package/dist/models/flow-direction.js +23 -0
- package/dist/models/flow-profile.d.ts +20 -0
- package/dist/models/flow-profile.js +24 -0
- package/dist/models/flow-summary.d.ts +24 -0
- package/dist/models/flow-summary.js +15 -0
- package/dist/models/flow-syntax.d.ts +22 -0
- package/dist/models/flow-syntax.js +26 -0
- package/dist/models/flow-type.d.ts +22 -0
- package/dist/models/flow-type.js +26 -0
- package/dist/models/generate-certificate-request.d.ts +21 -21
- package/dist/models/generate-certificate-request.js +2 -2
- package/dist/models/generate-certificate-response.d.ts +12 -12
- package/dist/models/generate-certificate-response.js +2 -2
- package/dist/models/get-chorus-pro-id-request.d.ts +26 -0
- package/dist/models/get-chorus-pro-id-request.js +15 -0
- package/dist/models/get-chorus-pro-id-response.d.ts +29 -0
- package/dist/models/get-chorus-pro-id-response.js +15 -0
- package/dist/models/get-invoice-request.d.ts +22 -0
- package/dist/models/get-invoice-request.js +15 -0
- package/dist/models/get-invoice-response.d.ts +26 -0
- package/dist/models/get-invoice-response.js +15 -0
- package/dist/models/get-structure-request.d.ts +26 -0
- package/dist/models/get-structure-request.js +15 -0
- package/dist/models/get-structure-response.d.ts +26 -0
- package/dist/models/get-structure-response.js +15 -0
- package/dist/models/global-allowance-amount.d.ts +16 -0
- package/dist/models/global-allowance-amount.js +15 -0
- package/dist/models/httpvalidation-error.d.ts +2 -2
- package/dist/models/httpvalidation-error.js +2 -2
- package/dist/models/incoming-invoice.d.ts +68 -0
- package/dist/models/incoming-invoice.js +15 -0
- package/dist/models/incoming-supplier.d.ts +29 -0
- package/dist/models/incoming-supplier.js +15 -0
- package/dist/models/index.d.ts +99 -84
- package/dist/models/index.js +99 -84
- package/dist/models/invoice-format.d.ts +20 -0
- package/dist/models/invoice-format.js +24 -0
- package/dist/models/invoice-line-allowance-amount.d.ts +16 -0
- package/dist/models/invoice-line-allowance-amount.js +15 -0
- package/dist/models/invoice-line.d.ts +39 -0
- package/dist/models/invoice-line.js +15 -0
- package/dist/models/invoice-note.d.ts +18 -0
- package/dist/models/invoice-note.js +15 -0
- package/dist/models/invoice-references.d.ts +27 -0
- package/dist/models/invoice-references.js +15 -0
- package/dist/models/invoice-status.d.ts +25 -0
- package/dist/models/invoice-status.js +15 -0
- package/dist/models/invoice-totals-prepayment.d.ts +16 -0
- package/dist/models/invoice-totals-prepayment.js +15 -0
- package/dist/models/invoice-totals.d.ts +29 -0
- package/dist/models/invoice-totals.js +15 -0
- package/dist/models/invoice-type-code.d.ts +97 -0
- package/dist/models/invoice-type-code.js +101 -0
- package/dist/models/invoicing-framework-code.d.ts +25 -0
- package/dist/models/invoicing-framework-code.js +29 -0
- package/dist/models/invoicing-framework.d.ts +22 -0
- package/dist/models/invoicing-framework.js +15 -0
- package/dist/models/line-net-amount.d.ts +16 -0
- package/dist/models/line-net-amount.js +15 -0
- package/dist/models/mandatory-note-schema.d.ts +34 -0
- package/dist/models/mandatory-note-schema.js +15 -0
- package/dist/models/manual-rate.d.ts +16 -0
- package/dist/models/manual-rate.js +15 -0
- package/dist/models/manual-vat-rate.d.ts +16 -0
- package/dist/models/manual-vat-rate.js +15 -0
- package/dist/models/operation-nature.d.ts +31 -0
- package/dist/models/operation-nature.js +35 -0
- package/dist/models/output-format.d.ts +19 -0
- package/dist/models/output-format.js +23 -0
- package/dist/models/page-dimensions-schema.d.ts +24 -0
- package/dist/models/page-dimensions-schema.js +15 -0
- package/dist/models/payee.d.ts +26 -0
- package/dist/models/payee.js +15 -0
- package/dist/models/payment-means.d.ts +29 -0
- package/dist/models/payment-means.js +33 -0
- package/dist/models/pdfvalidation-result-api.d.ts +93 -0
- package/dist/models/pdfvalidation-result-api.js +15 -0
- package/dist/models/pdpcredentials.d.ts +33 -0
- package/dist/models/pdpcredentials.js +15 -0
- package/dist/models/postal-address.d.ts +21 -0
- package/dist/models/postal-address.js +15 -0
- package/dist/models/processing-options.d.ts +33 -0
- package/dist/models/processing-options.js +15 -0
- package/dist/models/quantity.d.ts +16 -0
- package/dist/models/quantity.js +15 -0
- package/dist/models/recipient.d.ts +24 -0
- package/dist/models/recipient.js +15 -0
- package/dist/models/scheme-id.d.ts +5 -5
- package/dist/models/scheme-id.js +5 -5
- package/dist/models/search-flow-request.d.ts +34 -0
- package/dist/models/search-flow-request.js +15 -0
- package/dist/models/search-flow-response.d.ts +33 -0
- package/dist/models/search-flow-response.js +15 -0
- package/dist/models/search-services-response.d.ts +24 -0
- package/dist/models/search-services-response.js +15 -0
- package/dist/models/search-structure-request.d.ts +25 -0
- package/dist/models/search-structure-request.js +15 -0
- package/dist/models/search-structure-response.d.ts +30 -0
- package/dist/models/search-structure-response.js +15 -0
- package/dist/models/signature-info-api.d.ts +25 -0
- package/dist/models/signature-info-api.js +15 -0
- package/dist/models/signature-info.d.ts +5 -5
- package/dist/models/signature-info.js +2 -2
- package/dist/models/signature-parameters.d.ts +34 -0
- package/dist/models/signature-parameters.js +15 -0
- package/dist/models/simplified-invoice-data.d.ts +46 -0
- package/dist/models/simplified-invoice-data.js +15 -0
- package/dist/models/structure-info.d.ts +13 -13
- package/dist/models/structure-info.js +2 -2
- package/dist/models/structure-parameters.d.ts +28 -0
- package/dist/models/structure-parameters.js +15 -0
- package/dist/models/structure-service.d.ts +32 -0
- package/dist/models/structure-service.js +15 -0
- package/dist/models/submission-mode.d.ts +23 -0
- package/dist/models/submission-mode.js +27 -0
- package/dist/models/submit-complete-invoice-request.d.ts +34 -0
- package/dist/models/submit-complete-invoice-request.js +15 -0
- package/dist/models/submit-complete-invoice-response.d.ts +53 -0
- package/dist/models/submit-complete-invoice-response.js +20 -0
- package/dist/models/submit-flow-request.d.ts +31 -0
- package/dist/models/submit-flow-request.js +15 -0
- package/dist/models/submit-flow-response.d.ts +38 -0
- package/dist/models/submit-flow-response.js +15 -0
- package/dist/models/submit-invoice-request.d.ts +44 -0
- package/dist/models/submit-invoice-request.js +15 -0
- package/dist/models/submit-invoice-response.d.ts +26 -0
- package/dist/models/submit-invoice-response.js +15 -0
- package/dist/models/supplementary-attachment.d.ts +21 -0
- package/dist/models/supplementary-attachment.js +15 -0
- package/dist/models/supplier.d.ts +28 -0
- package/dist/models/supplier.js +15 -0
- package/dist/models/task-response.d.ts +20 -0
- package/dist/models/task-response.js +15 -0
- package/dist/models/task-status.d.ts +28 -0
- package/dist/models/task-status.js +15 -0
- package/dist/models/taxable-amount.d.ts +16 -0
- package/dist/models/taxable-amount.js +15 -0
- package/dist/models/total-gross-amount.d.ts +16 -0
- package/dist/models/total-gross-amount.js +15 -0
- package/dist/models/total-net-amount.d.ts +16 -0
- package/dist/models/total-net-amount.js +15 -0
- package/dist/models/total-vatamount.d.ts +16 -0
- package/dist/models/total-vatamount.js +15 -0
- package/dist/models/unit-net-price.d.ts +16 -0
- package/dist/models/unit-net-price.js +15 -0
- package/dist/models/unit-of-measure.d.ts +29 -0
- package/dist/models/unit-of-measure.js +33 -0
- package/dist/models/validation-error-detail.d.ts +32 -0
- package/dist/models/validation-error-detail.js +15 -0
- package/dist/models/validation-error-loc-inner.d.ts +2 -2
- package/dist/models/validation-error-loc-inner.js +2 -2
- package/dist/models/validation-error-response.d.ts +20 -0
- package/dist/models/validation-error-response.js +15 -0
- package/dist/models/validation-error.d.ts +2 -2
- package/dist/models/validation-error.js +2 -2
- package/dist/models/validation-success-response.d.ts +20 -0
- package/dist/models/validation-success-response.js +15 -0
- package/dist/models/vat-amount.d.ts +16 -0
- package/dist/models/vat-amount.js +15 -0
- package/dist/models/vataccounting-code.d.ts +25 -0
- package/dist/models/vataccounting-code.js +29 -0
- package/dist/models/vatamount.d.ts +16 -0
- package/dist/models/vatamount.js +15 -0
- package/dist/models/vatcategory.d.ts +26 -0
- package/dist/models/vatcategory.js +30 -0
- package/dist/models/vatline.d.ts +27 -0
- package/dist/models/vatline.js +15 -0
- package/dist/models/verification-success-response.d.ts +56 -0
- package/dist/models/verification-success-response.js +15 -0
- package/dist/models/verified-field-schema.d.ts +42 -0
- package/dist/models/verified-field-schema.js +15 -0
- package/dist/src/helpers/client.d.ts +265 -0
- package/dist/src/helpers/client.js +866 -0
- package/dist/src/helpers/exceptions.d.ts +23 -0
- package/dist/src/helpers/exceptions.js +35 -0
- package/dist/src/helpers/index.d.ts +3 -0
- package/dist/src/helpers/index.js +24 -0
- package/docs/AFNORCredentials.md +25 -0
- package/docs/AFNORDestination.md +27 -0
- package/docs/AFNORHealthCheckResponse.md +25 -0
- package/docs/AFNORPDPPAApi.md +112 -4
- package/docs/AFNORPDPPADirectoryServiceApi.md +70 -70
- package/docs/AFNORPDPPAFlowServiceApi.md +23 -23
- package/docs/AFNORResult.md +29 -0
- package/docs/APIError.md +25 -0
- package/docs/APIProfile.md +15 -0
- package/docs/AcknowledgmentStatus.md +13 -0
- package/docs/AllowanceReasonCode.md +21 -0
- package/docs/AmountDue.md +19 -0
- package/docs/BoundingBoxSchema.md +33 -0
- package/docs/CeleryStatus.md +17 -0
- package/docs/CertificateInfoResponse.md +21 -21
- package/docs/ChorusProApi.md +116 -131
- package/docs/ChorusProDestination.md +23 -0
- package/docs/ChorusProResult.md +25 -0
- package/docs/Destination.md +6 -6
- package/docs/DocumentType.md +17 -0
- package/docs/ElectronicAddress.md +23 -0
- package/docs/EnrichedInvoiceInfo.md +35 -0
- package/docs/ErrorLevel.md +10 -0
- package/docs/ErrorSource.md +22 -0
- package/docs/FacturXPDFInfo.md +25 -0
- package/docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md +29 -0
- package/docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md +29 -0
- package/docs/FactureFacturX.md +31 -29
- package/docs/FieldStatus.md +17 -0
- package/docs/FlowDirection.md +11 -0
- package/docs/FlowProfile.md +13 -0
- package/docs/FlowSummary.md +35 -0
- package/docs/FlowSyntax.md +17 -0
- package/docs/FlowType.md +17 -0
- package/docs/GenerateCertificateRequest.md +20 -20
- package/docs/GenerateCertificateResponse.md +11 -11
- package/docs/GetChorusProIdRequest.md +25 -0
- package/docs/GetChorusProIdResponse.md +27 -0
- package/docs/GetInvoiceRequest.md +23 -0
- package/docs/GetInvoiceResponse.md +37 -0
- package/docs/GetStructureRequest.md +25 -0
- package/docs/GetStructureResponse.md +37 -0
- package/docs/GlobalAllowanceAmount.md +19 -0
- package/docs/HealthApi.md +97 -0
- package/docs/IncomingInvoice.md +57 -0
- package/docs/IncomingSupplier.md +35 -0
- package/docs/InvoiceFormat.md +13 -0
- package/docs/InvoiceLine.md +49 -0
- package/docs/InvoiceLineAllowanceAmount.md +19 -0
- package/docs/InvoiceNote.md +23 -0
- package/docs/InvoiceProcessingApi.md +670 -0
- package/docs/InvoiceReferences.md +35 -0
- package/docs/InvoiceStatus.md +25 -0
- package/docs/InvoiceTotals.md +33 -0
- package/docs/InvoiceTotalsPrepayment.md +19 -0
- package/docs/InvoiceTypeCode.md +71 -0
- package/docs/InvoicingFramework.md +27 -0
- package/docs/InvoicingFrameworkCode.md +23 -0
- package/docs/LineNetAmount.md +19 -0
- package/docs/MandatoryNoteSchema.md +33 -0
- package/docs/ManualRate.md +19 -0
- package/docs/ManualVatRate.md +19 -0
- package/docs/OperationNature.md +35 -0
- package/docs/OutputFormat.md +11 -0
- package/docs/PDFValidationResultAPI.md +65 -0
- package/docs/PDFXMLVerificationApi.md +335 -0
- package/docs/PDPCredentials.md +29 -0
- package/docs/PageDimensionsSchema.md +23 -0
- package/docs/Payee.md +31 -0
- package/docs/PaymentMeans.md +31 -0
- package/docs/PostalAddress.md +29 -0
- package/docs/ProcessingOptions.md +27 -0
- package/docs/Quantity.md +19 -0
- package/docs/Recipient.md +31 -0
- package/docs/SchemeID.md +1 -1
- package/docs/SearchFlowRequest.md +37 -0
- package/docs/SearchFlowResponse.md +27 -0
- package/docs/SearchServicesResponse.md +27 -0
- package/docs/SearchStructureRequest.md +29 -0
- package/docs/SearchStructureResponse.md +27 -0
- package/docs/SignatureInfo.md +3 -3
- package/docs/SignatureInfoAPI.md +31 -0
- package/docs/SignatureParameters.md +37 -0
- package/docs/SimplifiedInvoiceData.md +37 -0
- package/docs/StructureInfo.md +11 -11
- package/docs/StructureParameters.md +25 -0
- package/docs/StructureService.md +27 -0
- package/docs/SubmissionMode.md +19 -0
- package/docs/SubmitCompleteInvoiceRequest.md +29 -0
- package/docs/SubmitCompleteInvoiceResponse.md +37 -0
- package/docs/SubmitFlowRequest.md +31 -0
- package/docs/SubmitFlowResponse.md +33 -0
- package/docs/SubmitInvoiceRequest.md +49 -0
- package/docs/SubmitInvoiceResponse.md +27 -0
- package/docs/SupplementaryAttachment.md +29 -0
- package/docs/Supplier.md +39 -0
- package/docs/TaskResponse.md +21 -0
- package/docs/TaskStatus.md +25 -0
- package/docs/TaxableAmount.md +19 -0
- package/docs/TotalGrossAmount.md +19 -0
- package/docs/TotalNetAmount.md +19 -0
- package/docs/TotalVATAmount.md +19 -0
- package/docs/UnitNetPrice.md +19 -0
- package/docs/UnitOfMeasure.md +31 -0
- package/docs/UserApi.md +52 -0
- package/docs/VATAccountingCode.md +23 -0
- package/docs/VATAmount.md +19 -0
- package/docs/VATCategory.md +25 -0
- package/docs/VATLine.md +33 -0
- package/docs/ValidationErrorDetail.md +29 -0
- package/docs/ValidationErrorResponse.md +21 -0
- package/docs/ValidationSuccessResponse.md +21 -0
- package/docs/VatAmount.md +19 -0
- package/docs/VerificationSuccessResponse.md +39 -0
- package/docs/VerifiedFieldSchema.md +37 -0
- package/index.ts +2 -2
- package/models/acknowledgment-status.ts +30 -0
- package/models/afnorcredentials.ts +25 -0
- package/models/afnordestination.ts +46 -0
- package/models/afnorhealth-check-response.ts +34 -0
- package/models/afnorresult.ts +36 -0
- package/models/allowance-reason-code.ts +34 -0
- package/models/amount-due.ts +22 -0
- package/models/apierror.ts +34 -0
- package/models/apiprofile.ts +31 -0
- package/models/bounding-box-schema.ts +50 -0
- package/models/celery-status.ts +32 -0
- package/models/certificate-info-response.ts +23 -23
- package/models/chorus-pro-destination.ts +34 -0
- package/models/chorus-pro-result.ts +28 -0
- package/models/destination.ts +7 -7
- package/models/document-type.ts +47 -0
- package/models/electronic-address.ts +29 -0
- package/models/enriched-invoice-info.ts +30 -0
- package/models/error-level.ts +26 -0
- package/models/error-source.ts +32 -0
- package/models/factur-xpdfinfo.ts +34 -0
- package/models/facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.ts +42 -0
- package/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.ts +30 -0
- package/models/facture-factur-x.ts +32 -28
- package/models/field-status.ts +32 -0
- package/models/flow-direction.ts +29 -0
- package/models/flow-profile.ts +30 -0
- package/models/flow-summary.ts +30 -0
- package/models/flow-syntax.ts +32 -0
- package/models/flow-type.ts +32 -0
- package/models/generate-certificate-request.ts +21 -21
- package/models/generate-certificate-response.ts +12 -12
- package/models/get-chorus-pro-id-request.ts +34 -0
- package/models/get-chorus-pro-id-response.ts +35 -0
- package/models/get-invoice-request.ts +30 -0
- package/models/get-invoice-response.ts +34 -0
- package/models/get-structure-request.ts +34 -0
- package/models/get-structure-response.ts +34 -0
- package/models/global-allowance-amount.ts +22 -0
- package/models/httpvalidation-error.ts +2 -2
- package/models/incoming-invoice.ts +82 -0
- package/models/incoming-supplier.ts +39 -0
- package/models/index.ts +99 -84
- package/models/invoice-format.ts +30 -0
- package/models/invoice-line-allowance-amount.ts +22 -0
- package/models/invoice-line.ts +63 -0
- package/models/invoice-note.ts +24 -0
- package/models/invoice-references.ts +41 -0
- package/models/invoice-status.ts +31 -0
- package/models/invoice-totals-prepayment.ts +22 -0
- package/models/invoice-totals.ts +47 -0
- package/models/invoice-type-code.ts +107 -0
- package/models/invoicing-framework-code.ts +35 -0
- package/models/invoicing-framework.ts +34 -0
- package/models/line-net-amount.ts +22 -0
- package/models/mandatory-note-schema.ts +46 -0
- package/models/manual-rate.ts +22 -0
- package/models/manual-vat-rate.ts +22 -0
- package/models/operation-nature.ts +41 -0
- package/models/output-format.ts +29 -0
- package/models/page-dimensions-schema.ts +30 -0
- package/models/payee.ts +34 -0
- package/models/payment-means.ts +39 -0
- package/models/pdfvalidation-result-api.ts +99 -0
- package/models/pdpcredentials.ts +39 -0
- package/models/postal-address.ts +27 -0
- package/models/processing-options.ts +43 -0
- package/models/quantity.ts +22 -0
- package/models/recipient.ts +34 -0
- package/models/scheme-id.ts +5 -5
- package/models/search-flow-request.ts +48 -0
- package/models/search-flow-response.ts +41 -0
- package/models/search-services-response.ts +32 -0
- package/models/search-structure-request.ts +33 -0
- package/models/search-structure-response.ts +38 -0
- package/models/signature-info-api.ts +31 -0
- package/models/signature-info.ts +5 -5
- package/models/signature-parameters.ts +40 -0
- package/models/simplified-invoice-data.ts +46 -0
- package/models/structure-info.ts +13 -13
- package/models/structure-parameters.ts +34 -0
- package/models/structure-service.ts +38 -0
- package/models/submission-mode.ts +33 -0
- package/models/submit-complete-invoice-request.ts +48 -0
- package/models/submit-complete-invoice-response.ts +72 -0
- package/models/submit-flow-request.ts +45 -0
- package/models/submit-flow-response.ts +44 -0
- package/models/submit-invoice-request.ts +58 -0
- package/models/submit-invoice-response.ts +32 -0
- package/models/supplementary-attachment.ts +27 -0
- package/models/supplier.ts +38 -0
- package/models/task-response.ts +26 -0
- package/models/task-status.ts +36 -0
- package/models/taxable-amount.ts +22 -0
- package/models/total-gross-amount.ts +22 -0
- package/models/total-net-amount.ts +22 -0
- package/models/total-vatamount.ts +22 -0
- package/models/unit-net-price.ts +22 -0
- package/models/unit-of-measure.ts +39 -0
- package/models/validation-error-detail.ts +44 -0
- package/models/validation-error-loc-inner.ts +2 -2
- package/models/validation-error-response.ts +26 -0
- package/models/validation-error.ts +2 -2
- package/models/validation-success-response.ts +26 -0
- package/models/vat-amount.ts +22 -0
- package/models/vataccounting-code.ts +35 -0
- package/models/vatamount.ts +22 -0
- package/models/vatcategory.ts +36 -0
- package/models/vatline.ts +43 -0
- package/models/verification-success-response.ts +68 -0
- package/models/verified-field-schema.ts +54 -0
- package/package.json +2 -2
- package/src/helpers/client.ts +882 -0
- package/src/helpers/exceptions.ts +32 -0
- package/src/helpers/index.ts +6 -0
- package/tsconfig.esm.json +1 -0
- package/tsconfig.json +1 -0
- package/api/sant-api.ts +0 -176
- package/api/traitement-facture-api.ts +0 -1083
- package/api/utilisateur-api.ts +0 -119
- package/dist/api/sant-api.d.ts +0 -90
- package/dist/api/sant-api.js +0 -181
- package/dist/api/traitement-facture-api.d.ts +0 -480
- package/dist/api/traitement-facture-api.js +0 -1007
- package/dist/api/utilisateur-api.d.ts +0 -62
- package/dist/api/utilisateur-api.js +0 -125
- package/dist/esm/api/sant-api.d.ts +0 -90
- package/dist/esm/api/sant-api.js +0 -174
- package/dist/esm/api/traitement-facture-api.d.ts +0 -480
- package/dist/esm/api/traitement-facture-api.js +0 -1000
- package/dist/esm/api/utilisateur-api.d.ts +0 -62
- package/dist/esm/api/utilisateur-api.js +0 -118
- package/dist/esm/models/adresse-electronique.d.ts +0 -19
- package/dist/esm/models/adresse-electronique.js +0 -14
- package/dist/esm/models/adresse-postale.d.ts +0 -21
- package/dist/esm/models/adresse-postale.js +0 -14
- package/dist/esm/models/body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.d.ts +0 -20
- package/dist/esm/models/body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.js +0 -14
- package/dist/esm/models/body-completer-facture-api-v1-chorus-pro-factures-completer-post.d.ts +0 -20
- package/dist/esm/models/body-completer-facture-api-v1-chorus-pro-factures-completer-post.js +0 -14
- package/dist/esm/models/body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.d.ts +0 -17
- package/dist/esm/models/body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.js +0 -14
- package/dist/esm/models/body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.d.ts +0 -20
- package/dist/esm/models/body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.js +0 -14
- package/dist/esm/models/body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.d.ts +0 -20
- package/dist/esm/models/body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.js +0 -14
- package/dist/esm/models/body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.d.ts +0 -20
- package/dist/esm/models/body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.js +0 -14
- package/dist/esm/models/body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.d.ts +0 -20
- package/dist/esm/models/body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.js +0 -14
- package/dist/esm/models/body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.d.ts +0 -20
- package/dist/esm/models/body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.js +0 -14
- package/dist/esm/models/body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.d.ts +0 -20
- package/dist/esm/models/body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.js +0 -14
- package/dist/esm/models/body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.d.ts +0 -20
- package/dist/esm/models/body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.js +0 -14
- package/dist/esm/models/body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.d.ts +0 -20
- package/dist/esm/models/body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.js +0 -14
- package/dist/esm/models/cadre-de-facturation.d.ts +0 -20
- package/dist/esm/models/cadre-de-facturation.js +0 -14
- package/dist/esm/models/categorie-tva.d.ts +0 -53
- package/dist/esm/models/categorie-tva.js +0 -54
- package/dist/esm/models/chorus-pro-credentials.d.ts +0 -36
- package/dist/esm/models/chorus-pro-credentials.js +0 -14
- package/dist/esm/models/code-cadre-facturation.d.ts +0 -18
- package/dist/esm/models/code-cadre-facturation.js +0 -19
- package/dist/esm/models/code-raison-reduction.d.ts +0 -45
- package/dist/esm/models/code-raison-reduction.js +0 -46
- package/dist/esm/models/consulter-facture-request.d.ts +0 -22
- package/dist/esm/models/consulter-facture-request.js +0 -14
- package/dist/esm/models/consulter-facture-response.d.ts +0 -26
- package/dist/esm/models/consulter-facture-response.js +0 -14
- package/dist/esm/models/consulter-structure-request.d.ts +0 -26
- package/dist/esm/models/consulter-structure-request.js +0 -14
- package/dist/esm/models/consulter-structure-response.d.ts +0 -26
- package/dist/esm/models/consulter-structure-response.js +0 -14
- package/dist/esm/models/credentials-afnor.d.ts +0 -19
- package/dist/esm/models/credentials-afnor.js +0 -14
- package/dist/esm/models/credentials-chorus-pro.d.ts +0 -24
- package/dist/esm/models/credentials-chorus-pro.js +0 -14
- package/dist/esm/models/destinataire.d.ts +0 -24
- package/dist/esm/models/destinataire.js +0 -14
- package/dist/esm/models/destination-afnor.d.ts +0 -34
- package/dist/esm/models/destination-afnor.js +0 -21
- package/dist/esm/models/destination-chorus-pro.d.ts +0 -23
- package/dist/esm/models/destination-chorus-pro.js +0 -16
- package/dist/esm/models/donnees-facture-simplifiees.d.ts +0 -46
- package/dist/esm/models/donnees-facture-simplifiees.js +0 -14
- package/dist/esm/models/facture-enrichie-info.d.ts +0 -24
- package/dist/esm/models/facture-enrichie-info.js +0 -14
- package/dist/esm/models/format-sortie.d.ts +0 -16
- package/dist/esm/models/format-sortie.js +0 -17
- package/dist/esm/models/fournisseur.d.ts +0 -28
- package/dist/esm/models/fournisseur.js +0 -14
- package/dist/esm/models/information-signature-api.d.ts +0 -25
- package/dist/esm/models/information-signature-api.js +0 -14
- package/dist/esm/models/ligne-de-poste-montant-remise-ht.d.ts +0 -16
- package/dist/esm/models/ligne-de-poste-montant-remise-ht.js +0 -14
- package/dist/esm/models/ligne-de-poste-taux-tva-manuel.d.ts +0 -16
- package/dist/esm/models/ligne-de-poste-taux-tva-manuel.js +0 -14
- package/dist/esm/models/ligne-de-poste.d.ts +0 -39
- package/dist/esm/models/ligne-de-poste.js +0 -14
- package/dist/esm/models/ligne-de-tva.d.ts +0 -25
- package/dist/esm/models/ligne-de-tva.js +0 -14
- package/dist/esm/models/mode-depot.d.ts +0 -20
- package/dist/esm/models/mode-depot.js +0 -21
- package/dist/esm/models/mode-paiement.d.ts +0 -23
- package/dist/esm/models/mode-paiement.js +0 -24
- package/dist/esm/models/montant-apayer.d.ts +0 -16
- package/dist/esm/models/montant-apayer.js +0 -14
- package/dist/esm/models/montant-base-ht.d.ts +0 -16
- package/dist/esm/models/montant-base-ht.js +0 -14
- package/dist/esm/models/montant-ht-total.d.ts +0 -16
- package/dist/esm/models/montant-ht-total.js +0 -14
- package/dist/esm/models/montant-remise-globale-ttc.d.ts +0 -16
- package/dist/esm/models/montant-remise-globale-ttc.js +0 -14
- package/dist/esm/models/montant-total-acompte.d.ts +0 -16
- package/dist/esm/models/montant-total-acompte.js +0 -14
- package/dist/esm/models/montant-total-ligne-ht.d.ts +0 -16
- package/dist/esm/models/montant-total-ligne-ht.js +0 -14
- package/dist/esm/models/montant-total.d.ts +0 -29
- package/dist/esm/models/montant-total.js +0 -14
- package/dist/esm/models/montant-ttc-total.d.ts +0 -16
- package/dist/esm/models/montant-ttc-total.js +0 -14
- package/dist/esm/models/montant-tva-ligne.d.ts +0 -16
- package/dist/esm/models/montant-tva-ligne.js +0 -14
- package/dist/esm/models/montant-tva-total.d.ts +0 -16
- package/dist/esm/models/montant-tva-total.js +0 -14
- package/dist/esm/models/montant-tva.d.ts +0 -16
- package/dist/esm/models/montant-tva.js +0 -14
- package/dist/esm/models/montant-unitaire-ht.d.ts +0 -16
- package/dist/esm/models/montant-unitaire-ht.js +0 -14
- package/dist/esm/models/note.d.ts +0 -18
- package/dist/esm/models/note.js +0 -14
- package/dist/esm/models/obtenir-id-chorus-pro-request.d.ts +0 -26
- package/dist/esm/models/obtenir-id-chorus-pro-request.js +0 -14
- package/dist/esm/models/obtenir-id-chorus-pro-response.d.ts +0 -29
- package/dist/esm/models/obtenir-id-chorus-pro-response.js +0 -14
- package/dist/esm/models/options-processing.d.ts +0 -33
- package/dist/esm/models/options-processing.js +0 -14
- package/dist/esm/models/parametres-signature.d.ts +0 -34
- package/dist/esm/models/parametres-signature.js +0 -14
- package/dist/esm/models/parametres-structure.d.ts +0 -28
- package/dist/esm/models/parametres-structure.js +0 -14
- package/dist/esm/models/pdffactur-xinfo.d.ts +0 -28
- package/dist/esm/models/pdffactur-xinfo.js +0 -14
- package/dist/esm/models/piece-jointe-complementaire.d.ts +0 -21
- package/dist/esm/models/piece-jointe-complementaire.js +0 -14
- package/dist/esm/models/profil-api.d.ts +0 -18
- package/dist/esm/models/profil-api.js +0 -19
- package/dist/esm/models/quantite.d.ts +0 -16
- package/dist/esm/models/quantite.js +0 -14
- package/dist/esm/models/quota-info.d.ts +0 -21
- package/dist/esm/models/quota-info.js +0 -14
- package/dist/esm/models/rechercher-services-response.d.ts +0 -24
- package/dist/esm/models/rechercher-services-response.js +0 -14
- package/dist/esm/models/rechercher-structure-request.d.ts +0 -25
- package/dist/esm/models/rechercher-structure-request.js +0 -14
- package/dist/esm/models/rechercher-structure-response.d.ts +0 -30
- package/dist/esm/models/rechercher-structure-response.js +0 -14
- package/dist/esm/models/references.d.ts +0 -27
- package/dist/esm/models/references.js +0 -14
- package/dist/esm/models/reponse-tache.d.ts +0 -17
- package/dist/esm/models/reponse-tache.js +0 -14
- package/dist/esm/models/reponse-validation-erreur.d.ts +0 -17
- package/dist/esm/models/reponse-validation-erreur.js +0 -14
- package/dist/esm/models/reponse-validation-succes.d.ts +0 -17
- package/dist/esm/models/reponse-validation-succes.js +0 -14
- package/dist/esm/models/resultat-afnor.d.ts +0 -30
- package/dist/esm/models/resultat-afnor.js +0 -14
- package/dist/esm/models/resultat-chorus-pro.d.ts +0 -22
- package/dist/esm/models/resultat-chorus-pro.js +0 -14
- package/dist/esm/models/resultat-validation-pdfapi.d.ts +0 -93
- package/dist/esm/models/resultat-validation-pdfapi.js +0 -14
- package/dist/esm/models/service-structure.d.ts +0 -32
- package/dist/esm/models/service-structure.js +0 -14
- package/dist/esm/models/soumettre-facture-complete-request.d.ts +0 -34
- package/dist/esm/models/soumettre-facture-complete-request.js +0 -14
- package/dist/esm/models/soumettre-facture-complete-response.d.ts +0 -53
- package/dist/esm/models/soumettre-facture-complete-response.js +0 -17
- package/dist/esm/models/soumettre-facture-request.d.ts +0 -44
- package/dist/esm/models/soumettre-facture-request.js +0 -14
- package/dist/esm/models/soumettre-facture-response.d.ts +0 -26
- package/dist/esm/models/soumettre-facture-response.js +0 -14
- package/dist/esm/models/statut-celery.d.ts +0 -22
- package/dist/esm/models/statut-celery.js +0 -23
- package/dist/esm/models/statut-facture.d.ts +0 -25
- package/dist/esm/models/statut-facture.js +0 -14
- package/dist/esm/models/statut-tache.d.ts +0 -25
- package/dist/esm/models/statut-tache.js +0 -14
- package/dist/esm/models/tauxmanuel.d.ts +0 -16
- package/dist/esm/models/tauxmanuel.js +0 -14
- package/dist/esm/models/type-facture.d.ts +0 -19
- package/dist/esm/models/type-facture.js +0 -20
- package/dist/esm/models/type-tva.d.ts +0 -21
- package/dist/esm/models/type-tva.js +0 -22
- package/dist/esm/models/unite.d.ts +0 -23
- package/dist/esm/models/unite.js +0 -24
- package/dist/esm/models/utilisateur.d.ts +0 -29
- package/dist/esm/models/utilisateur.js +0 -14
- package/dist/models/adresse-electronique.d.ts +0 -19
- package/dist/models/adresse-electronique.js +0 -15
- package/dist/models/adresse-postale.d.ts +0 -21
- package/dist/models/adresse-postale.js +0 -15
- package/dist/models/body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.d.ts +0 -20
- package/dist/models/body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.js +0 -15
- package/dist/models/body-completer-facture-api-v1-chorus-pro-factures-completer-post.d.ts +0 -20
- package/dist/models/body-completer-facture-api-v1-chorus-pro-factures-completer-post.js +0 -15
- package/dist/models/body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.d.ts +0 -17
- package/dist/models/body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.js +0 -15
- package/dist/models/body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.d.ts +0 -20
- package/dist/models/body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.js +0 -15
- package/dist/models/body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.d.ts +0 -20
- package/dist/models/body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.js +0 -15
- package/dist/models/body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.d.ts +0 -20
- package/dist/models/body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.js +0 -15
- package/dist/models/body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.d.ts +0 -20
- package/dist/models/body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.js +0 -15
- package/dist/models/body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.d.ts +0 -20
- package/dist/models/body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.js +0 -15
- package/dist/models/body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.d.ts +0 -20
- package/dist/models/body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.js +0 -15
- package/dist/models/body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.d.ts +0 -20
- package/dist/models/body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.js +0 -15
- package/dist/models/body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.d.ts +0 -20
- package/dist/models/body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.js +0 -15
- package/dist/models/cadre-de-facturation.d.ts +0 -20
- package/dist/models/cadre-de-facturation.js +0 -15
- package/dist/models/categorie-tva.d.ts +0 -53
- package/dist/models/categorie-tva.js +0 -57
- package/dist/models/chorus-pro-credentials.d.ts +0 -36
- package/dist/models/chorus-pro-credentials.js +0 -15
- package/dist/models/code-cadre-facturation.d.ts +0 -18
- package/dist/models/code-cadre-facturation.js +0 -22
- package/dist/models/code-raison-reduction.d.ts +0 -45
- package/dist/models/code-raison-reduction.js +0 -49
- package/dist/models/consulter-facture-request.d.ts +0 -22
- package/dist/models/consulter-facture-request.js +0 -15
- package/dist/models/consulter-facture-response.d.ts +0 -26
- package/dist/models/consulter-facture-response.js +0 -15
- package/dist/models/consulter-structure-request.d.ts +0 -26
- package/dist/models/consulter-structure-request.js +0 -15
- package/dist/models/consulter-structure-response.d.ts +0 -26
- package/dist/models/consulter-structure-response.js +0 -15
- package/dist/models/credentials-afnor.d.ts +0 -19
- package/dist/models/credentials-afnor.js +0 -15
- package/dist/models/credentials-chorus-pro.d.ts +0 -24
- package/dist/models/credentials-chorus-pro.js +0 -15
- package/dist/models/destinataire.d.ts +0 -24
- package/dist/models/destinataire.js +0 -15
- package/dist/models/destination-afnor.d.ts +0 -34
- package/dist/models/destination-afnor.js +0 -24
- package/dist/models/destination-chorus-pro.d.ts +0 -23
- package/dist/models/destination-chorus-pro.js +0 -19
- package/dist/models/donnees-facture-simplifiees.d.ts +0 -46
- package/dist/models/donnees-facture-simplifiees.js +0 -15
- package/dist/models/facture-enrichie-info.d.ts +0 -24
- package/dist/models/facture-enrichie-info.js +0 -15
- package/dist/models/format-sortie.d.ts +0 -16
- package/dist/models/format-sortie.js +0 -20
- package/dist/models/fournisseur.d.ts +0 -28
- package/dist/models/fournisseur.js +0 -15
- package/dist/models/information-signature-api.d.ts +0 -25
- package/dist/models/information-signature-api.js +0 -15
- package/dist/models/ligne-de-poste-montant-remise-ht.d.ts +0 -16
- package/dist/models/ligne-de-poste-montant-remise-ht.js +0 -15
- package/dist/models/ligne-de-poste-taux-tva-manuel.d.ts +0 -16
- package/dist/models/ligne-de-poste-taux-tva-manuel.js +0 -15
- package/dist/models/ligne-de-poste.d.ts +0 -39
- package/dist/models/ligne-de-poste.js +0 -15
- package/dist/models/ligne-de-tva.d.ts +0 -25
- package/dist/models/ligne-de-tva.js +0 -15
- package/dist/models/mode-depot.d.ts +0 -20
- package/dist/models/mode-depot.js +0 -24
- package/dist/models/mode-paiement.d.ts +0 -23
- package/dist/models/mode-paiement.js +0 -27
- package/dist/models/montant-apayer.d.ts +0 -16
- package/dist/models/montant-apayer.js +0 -15
- package/dist/models/montant-base-ht.d.ts +0 -16
- package/dist/models/montant-base-ht.js +0 -15
- package/dist/models/montant-ht-total.d.ts +0 -16
- package/dist/models/montant-ht-total.js +0 -15
- package/dist/models/montant-remise-globale-ttc.d.ts +0 -16
- package/dist/models/montant-remise-globale-ttc.js +0 -15
- package/dist/models/montant-total-acompte.d.ts +0 -16
- package/dist/models/montant-total-acompte.js +0 -15
- package/dist/models/montant-total-ligne-ht.d.ts +0 -16
- package/dist/models/montant-total-ligne-ht.js +0 -15
- package/dist/models/montant-total.d.ts +0 -29
- package/dist/models/montant-total.js +0 -15
- package/dist/models/montant-ttc-total.d.ts +0 -16
- package/dist/models/montant-ttc-total.js +0 -15
- package/dist/models/montant-tva-ligne.d.ts +0 -16
- package/dist/models/montant-tva-ligne.js +0 -15
- package/dist/models/montant-tva-total.d.ts +0 -16
- package/dist/models/montant-tva-total.js +0 -15
- package/dist/models/montant-tva.d.ts +0 -16
- package/dist/models/montant-tva.js +0 -15
- package/dist/models/montant-unitaire-ht.d.ts +0 -16
- package/dist/models/montant-unitaire-ht.js +0 -15
- package/dist/models/note.d.ts +0 -18
- package/dist/models/note.js +0 -15
- package/dist/models/obtenir-id-chorus-pro-request.d.ts +0 -26
- package/dist/models/obtenir-id-chorus-pro-request.js +0 -15
- package/dist/models/obtenir-id-chorus-pro-response.d.ts +0 -29
- package/dist/models/obtenir-id-chorus-pro-response.js +0 -15
- package/dist/models/options-processing.d.ts +0 -33
- package/dist/models/options-processing.js +0 -15
- package/dist/models/parametres-signature.d.ts +0 -34
- package/dist/models/parametres-signature.js +0 -15
- package/dist/models/parametres-structure.d.ts +0 -28
- package/dist/models/parametres-structure.js +0 -15
- package/dist/models/pdffactur-xinfo.d.ts +0 -28
- package/dist/models/pdffactur-xinfo.js +0 -15
- package/dist/models/piece-jointe-complementaire.d.ts +0 -21
- package/dist/models/piece-jointe-complementaire.js +0 -15
- package/dist/models/profil-api.d.ts +0 -18
- package/dist/models/profil-api.js +0 -22
- package/dist/models/quantite.d.ts +0 -16
- package/dist/models/quantite.js +0 -15
- package/dist/models/quota-info.d.ts +0 -21
- package/dist/models/quota-info.js +0 -15
- package/dist/models/rechercher-services-response.d.ts +0 -24
- package/dist/models/rechercher-services-response.js +0 -15
- package/dist/models/rechercher-structure-request.d.ts +0 -25
- package/dist/models/rechercher-structure-request.js +0 -15
- package/dist/models/rechercher-structure-response.d.ts +0 -30
- package/dist/models/rechercher-structure-response.js +0 -15
- package/dist/models/references.d.ts +0 -27
- package/dist/models/references.js +0 -15
- package/dist/models/reponse-tache.d.ts +0 -17
- package/dist/models/reponse-tache.js +0 -15
- package/dist/models/reponse-validation-erreur.d.ts +0 -17
- package/dist/models/reponse-validation-erreur.js +0 -15
- package/dist/models/reponse-validation-succes.d.ts +0 -17
- package/dist/models/reponse-validation-succes.js +0 -15
- package/dist/models/resultat-afnor.d.ts +0 -30
- package/dist/models/resultat-afnor.js +0 -15
- package/dist/models/resultat-chorus-pro.d.ts +0 -22
- package/dist/models/resultat-chorus-pro.js +0 -15
- package/dist/models/resultat-validation-pdfapi.d.ts +0 -93
- package/dist/models/resultat-validation-pdfapi.js +0 -15
- package/dist/models/service-structure.d.ts +0 -32
- package/dist/models/service-structure.js +0 -15
- package/dist/models/soumettre-facture-complete-request.d.ts +0 -34
- package/dist/models/soumettre-facture-complete-request.js +0 -15
- package/dist/models/soumettre-facture-complete-response.d.ts +0 -53
- package/dist/models/soumettre-facture-complete-response.js +0 -20
- package/dist/models/soumettre-facture-request.d.ts +0 -44
- package/dist/models/soumettre-facture-request.js +0 -15
- package/dist/models/soumettre-facture-response.d.ts +0 -26
- package/dist/models/soumettre-facture-response.js +0 -15
- package/dist/models/statut-celery.d.ts +0 -22
- package/dist/models/statut-celery.js +0 -26
- package/dist/models/statut-facture.d.ts +0 -25
- package/dist/models/statut-facture.js +0 -15
- package/dist/models/statut-tache.d.ts +0 -25
- package/dist/models/statut-tache.js +0 -15
- package/dist/models/tauxmanuel.d.ts +0 -16
- package/dist/models/tauxmanuel.js +0 -15
- package/dist/models/type-facture.d.ts +0 -19
- package/dist/models/type-facture.js +0 -23
- package/dist/models/type-tva.d.ts +0 -21
- package/dist/models/type-tva.js +0 -25
- package/dist/models/unite.d.ts +0 -23
- package/dist/models/unite.js +0 -27
- package/dist/models/utilisateur.d.ts +0 -29
- package/dist/models/utilisateur.js +0 -15
- package/docs/AdresseElectronique.md +0 -23
- package/docs/AdressePostale.md +0 -29
- package/docs/BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost.md +0 -24
- package/docs/BodyCompleterFactureApiV1ChorusProFacturesCompleterPost.md +0 -24
- package/docs/BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet.md +0 -22
- package/docs/BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost.md +0 -24
- package/docs/BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost.md +0 -24
- package/docs/BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost.md +0 -24
- package/docs/BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost.md +0 -24
- package/docs/BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost.md +0 -24
- package/docs/BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost.md +0 -24
- package/docs/BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost.md +0 -24
- package/docs/BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost.md +0 -24
- package/docs/CadreDeFacturation.md +0 -25
- package/docs/CategorieTVA.md +0 -25
- package/docs/ChorusProCredentials.md +0 -29
- package/docs/CodeCadreFacturation.md +0 -14
- package/docs/CodeRaisonReduction.md +0 -21
- package/docs/ConsulterFactureRequest.md +0 -23
- package/docs/ConsulterFactureResponse.md +0 -37
- package/docs/ConsulterStructureRequest.md +0 -25
- package/docs/ConsulterStructureResponse.md +0 -37
- package/docs/CredentialsAFNOR.md +0 -25
- package/docs/CredentialsChorusPro.md +0 -29
- package/docs/Destinataire.md +0 -31
- package/docs/DestinationAFNOR.md +0 -27
- package/docs/DestinationChorusPro.md +0 -23
- package/docs/DonneesFactureSimplifiees.md +0 -37
- package/docs/FactureEnrichieInfo.md +0 -35
- package/docs/FormatSortie.md +0 -10
- package/docs/Fournisseur.md +0 -39
- package/docs/InformationSignatureAPI.md +0 -31
- package/docs/LigneDePoste.md +0 -49
- package/docs/LigneDePosteMontantRemiseHt.md +0 -19
- package/docs/LigneDePosteTauxTvaManuel.md +0 -19
- package/docs/LigneDeTVA.md +0 -29
- package/docs/ModeDepot.md +0 -13
- package/docs/ModePaiement.md +0 -19
- package/docs/MontantAPayer.md +0 -19
- package/docs/MontantBaseHt.md +0 -19
- package/docs/MontantHtTotal.md +0 -19
- package/docs/MontantRemiseGlobaleTtc.md +0 -19
- package/docs/MontantTotal.md +0 -33
- package/docs/MontantTotalAcompte.md +0 -19
- package/docs/MontantTotalLigneHt.md +0 -19
- package/docs/MontantTtcTotal.md +0 -19
- package/docs/MontantTva.md +0 -19
- package/docs/MontantTvaLigne.md +0 -19
- package/docs/MontantTvaTotal.md +0 -19
- package/docs/MontantUnitaireHt.md +0 -19
- package/docs/Note.md +0 -23
- package/docs/ObtenirIdChorusProRequest.md +0 -25
- package/docs/ObtenirIdChorusProResponse.md +0 -27
- package/docs/OptionsProcessing.md +0 -27
- package/docs/PDFFacturXInfo.md +0 -25
- package/docs/ParametresSignature.md +0 -37
- package/docs/ParametresStructure.md +0 -25
- package/docs/PieceJointeComplementaire.md +0 -29
- package/docs/ProfilAPI.md +0 -14
- package/docs/Quantite.md +0 -19
- package/docs/QuotaInfo.md +0 -29
- package/docs/RechercherServicesResponse.md +0 -27
- package/docs/RechercherStructureRequest.md +0 -29
- package/docs/RechercherStructureResponse.md +0 -27
- package/docs/References.md +0 -35
- package/docs/ReponseTache.md +0 -21
- package/docs/ReponseValidationErreur.md +0 -20
- package/docs/ReponseValidationSucces.md +0 -20
- package/docs/ResultatAFNOR.md +0 -29
- package/docs/ResultatChorusPro.md +0 -25
- package/docs/ResultatValidationPDFAPI.md +0 -65
- package/docs/SantApi.md +0 -97
- package/docs/ServiceStructure.md +0 -27
- package/docs/SoumettreFactureCompleteRequest.md +0 -29
- package/docs/SoumettreFactureCompleteResponse.md +0 -37
- package/docs/SoumettreFactureRequest.md +0 -49
- package/docs/SoumettreFactureResponse.md +0 -27
- package/docs/StatutCelery.md +0 -17
- package/docs/StatutFacture.md +0 -25
- package/docs/StatutTache.md +0 -25
- package/docs/Tauxmanuel.md +0 -19
- package/docs/TraitementFactureApi.md +0 -670
- package/docs/TypeFacture.md +0 -11
- package/docs/TypeTVA.md +0 -15
- package/docs/Unite.md +0 -19
- package/docs/Utilisateur.md +0 -43
- package/docs/UtilisateurApi.md +0 -52
- package/models/adresse-electronique.ts +0 -29
- package/models/adresse-postale.ts +0 -27
- package/models/body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.ts +0 -28
- package/models/body-completer-facture-api-v1-chorus-pro-factures-completer-post.ts +0 -28
- package/models/body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.ts +0 -27
- package/models/body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.ts +0 -28
- package/models/body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.ts +0 -28
- package/models/body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.ts +0 -28
- package/models/body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.ts +0 -28
- package/models/body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.ts +0 -28
- package/models/body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.ts +0 -28
- package/models/body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.ts +0 -28
- package/models/body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.ts +0 -28
- package/models/cadre-de-facturation.ts +0 -30
- package/models/categorie-tva.ts +0 -63
- package/models/chorus-pro-credentials.ts +0 -42
- package/models/code-cadre-facturation.ts +0 -28
- package/models/code-raison-reduction.ts +0 -55
- package/models/consulter-facture-request.ts +0 -30
- package/models/consulter-facture-response.ts +0 -34
- package/models/consulter-structure-request.ts +0 -34
- package/models/consulter-structure-response.ts +0 -34
- package/models/credentials-afnor.ts +0 -25
- package/models/credentials-chorus-pro.ts +0 -30
- package/models/destinataire.ts +0 -34
- package/models/destination-afnor.ts +0 -46
- package/models/destination-chorus-pro.ts +0 -34
- package/models/donnees-facture-simplifiees.ts +0 -46
- package/models/facture-enrichie-info.ts +0 -30
- package/models/format-sortie.ts +0 -26
- package/models/fournisseur.ts +0 -38
- package/models/information-signature-api.ts +0 -31
- package/models/ligne-de-poste-montant-remise-ht.ts +0 -22
- package/models/ligne-de-poste-taux-tva-manuel.ts +0 -22
- package/models/ligne-de-poste.ts +0 -63
- package/models/ligne-de-tva.ts +0 -41
- package/models/mode-depot.ts +0 -30
- package/models/mode-paiement.ts +0 -33
- package/models/montant-apayer.ts +0 -22
- package/models/montant-base-ht.ts +0 -22
- package/models/montant-ht-total.ts +0 -22
- package/models/montant-remise-globale-ttc.ts +0 -22
- package/models/montant-total-acompte.ts +0 -22
- package/models/montant-total-ligne-ht.ts +0 -22
- package/models/montant-total.ts +0 -47
- package/models/montant-ttc-total.ts +0 -22
- package/models/montant-tva-ligne.ts +0 -22
- package/models/montant-tva-total.ts +0 -22
- package/models/montant-tva.ts +0 -22
- package/models/montant-unitaire-ht.ts +0 -22
- package/models/note.ts +0 -24
- package/models/obtenir-id-chorus-pro-request.ts +0 -34
- package/models/obtenir-id-chorus-pro-response.ts +0 -35
- package/models/options-processing.ts +0 -43
- package/models/parametres-signature.ts +0 -40
- package/models/parametres-structure.ts +0 -34
- package/models/pdffactur-xinfo.ts +0 -34
- package/models/piece-jointe-complementaire.ts +0 -27
- package/models/profil-api.ts +0 -28
- package/models/quantite.ts +0 -22
- package/models/quota-info.ts +0 -27
- package/models/rechercher-services-response.ts +0 -32
- package/models/rechercher-structure-request.ts +0 -33
- package/models/rechercher-structure-response.ts +0 -38
- package/models/references.ts +0 -41
- package/models/reponse-tache.ts +0 -23
- package/models/reponse-validation-erreur.ts +0 -23
- package/models/reponse-validation-succes.ts +0 -23
- package/models/resultat-afnor.ts +0 -36
- package/models/resultat-chorus-pro.ts +0 -28
- package/models/resultat-validation-pdfapi.ts +0 -99
- package/models/service-structure.ts +0 -38
- package/models/soumettre-facture-complete-request.ts +0 -48
- package/models/soumettre-facture-complete-response.ts +0 -72
- package/models/soumettre-facture-request.ts +0 -58
- package/models/soumettre-facture-response.ts +0 -32
- package/models/statut-celery.ts +0 -32
- package/models/statut-facture.ts +0 -31
- package/models/statut-tache.ts +0 -33
- package/models/tauxmanuel.ts +0 -22
- package/models/type-facture.ts +0 -29
- package/models/type-tva.ts +0 -31
- package/models/unite.ts +0 -33
- package/models/utilisateur.ts +0 -37
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* FactPulse REST API
|
|
6
|
+
* REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X Invoice Generation - **Formats**: XML only or PDF/A-3 with embedded XML - **Profiles**: MINIMUM, BASIC, EN16931, EXTENDED - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### ✅ Validation and Compliance - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata, electronic signatures - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) - **Asynchronous Processing**: Celery support for heavy validations (VeraPDF) ### 📡 AFNOR PDP/PA Integration (XP Z12-013) - **Flow Submission**: Send invoices to Partner Dematerialization Platforms - **Flow Search**: View submitted invoices - **Download**: Retrieve PDF/A-3 with XML - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user (stored credentials or zero-storage) ### ✍️ PDF Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification - **Certificate Generation**: Self-signed X.509 certificates for testing ### 🔄 Asynchronous Processing - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **No timeout**: Ideal for large files or heavy validations ## 🔒 Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### 🔑 Method 1: `/api/token/` API (Recommended) **URL:** `https://www.factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://www.factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\" }\' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Access token (validity: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Refresh token (validity: 7 days) } ``` **Advantages:** - ✅ Full automation (CI/CD, scripts) - ✅ Programmatic token management - ✅ Refresh token support for automatic access renewal - ✅ Easy integration in any language/tool #### 🖥️ Method 2: Dashboard Generation (Alternative) **URL:** https://www.factpulse.fr/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the \"Generate Test Token\" or \"Generate Production Token\" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - ✅ Quick for API testing - ✅ No password required - ✅ Simple visual interface **Disadvantages:** - ❌ Requires manual action - ❌ No refresh token - ❌ Less suited for automation ### 📚 Full Documentation For more information on authentication and API usage: https://www.factpulse.fr/documentation-api/
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
@@ -21,9 +21,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
24
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
28
|
exports.ChorusProApi = exports.ChorusProApiFactory = exports.ChorusProApiFp = exports.ChorusProApiAxiosParamCreator = void 0;
|
|
26
|
-
const axios_1 = require("axios");
|
|
29
|
+
const axios_1 = __importDefault(require("axios"));
|
|
27
30
|
// Some imports not used depending on template conditions
|
|
28
31
|
// @ts-ignore
|
|
29
32
|
const common_1 = require("../common");
|
|
@@ -35,15 +38,15 @@ const base_1 = require("../base");
|
|
|
35
38
|
const ChorusProApiAxiosParamCreator = function (configuration) {
|
|
36
39
|
return {
|
|
37
40
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @summary
|
|
40
|
-
* @param {
|
|
41
|
+
* Add an attachment to the current user account. **Max size**: 10 MB per file **Example payload**: ```json { \"pieceJointeFichier\": \"JVBERi0xLjQKJeLjz9MKNSAwIG9iago8P...\", \"pieceJointeNom\": \"purchase_order.pdf\", \"pieceJointeTypeMime\": \"application/pdf\", \"pieceJointeExtension\": \"PDF\" } ``` **Returns**: The attachment ID (`pieceJointeIdFichier`) to use in `/factures/completer`. **Accepted extensions**: PDF, JPG, PNG, ZIP, XML, etc.
|
|
42
|
+
* @summary Add an attachment
|
|
43
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
41
44
|
* @param {*} [options] Override http request option.
|
|
42
45
|
* @throws {RequiredError}
|
|
43
46
|
*/
|
|
44
|
-
ajouterFichierApiV1ChorusProTransversesAjouterFichierPost: (
|
|
45
|
-
// verify required parameter '
|
|
46
|
-
(0, common_1.assertParamExists)('ajouterFichierApiV1ChorusProTransversesAjouterFichierPost', '
|
|
47
|
+
ajouterFichierApiV1ChorusProTransversesAjouterFichierPost: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
48
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
49
|
+
(0, common_1.assertParamExists)('ajouterFichierApiV1ChorusProTransversesAjouterFichierPost', 'requestBody', requestBody);
|
|
47
50
|
const localVarPath = `/api/v1/chorus-pro/transverses/ajouter-fichier`;
|
|
48
51
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
49
52
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -62,22 +65,22 @@ const ChorusProApiAxiosParamCreator = function (configuration) {
|
|
|
62
65
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
66
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
67
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
68
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
66
69
|
return {
|
|
67
70
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
68
71
|
options: localVarRequestOptions,
|
|
69
72
|
};
|
|
70
73
|
}),
|
|
71
74
|
/**
|
|
72
|
-
*
|
|
73
|
-
* @summary
|
|
74
|
-
* @param {
|
|
75
|
+
* Complete a SUSPENDUE status invoice by adding attachments or a comment. **Required status**: SUSPENDUE **Possible actions**: - Add attachments (supporting documents, purchase orders, etc.) - Modify comment **Example payload**: ```json { \"identifiantFactureCPP\": 12345, \"commentaire\": \"Here are the requested documents\", \"listePiecesJointes\": [ { \"pieceJointeIdFichier\": 98765, \"pieceJointeNom\": \"purchase_order.pdf\" } ] } ``` **Note**: Attachments must first be uploaded via `/transverses/ajouter-fichier`. **After completion**: The invoice returns to MISE_A_DISPOSITION status.
|
|
76
|
+
* @summary Complete a suspended invoice (Supplier)
|
|
77
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
75
78
|
* @param {*} [options] Override http request option.
|
|
76
79
|
* @throws {RequiredError}
|
|
77
80
|
*/
|
|
78
|
-
completerFactureApiV1ChorusProFacturesCompleterPost: (
|
|
79
|
-
// verify required parameter '
|
|
80
|
-
(0, common_1.assertParamExists)('completerFactureApiV1ChorusProFacturesCompleterPost', '
|
|
81
|
+
completerFactureApiV1ChorusProFacturesCompleterPost: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
82
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
83
|
+
(0, common_1.assertParamExists)('completerFactureApiV1ChorusProFacturesCompleterPost', 'requestBody', requestBody);
|
|
81
84
|
const localVarPath = `/api/v1/chorus-pro/factures/completer`;
|
|
82
85
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83
86
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -96,22 +99,22 @@ const ChorusProApiAxiosParamCreator = function (configuration) {
|
|
|
96
99
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
97
100
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
98
101
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
99
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
102
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
100
103
|
return {
|
|
101
104
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
102
105
|
options: localVarRequestOptions,
|
|
103
106
|
};
|
|
104
107
|
}),
|
|
105
108
|
/**
|
|
106
|
-
*
|
|
107
|
-
* @summary
|
|
108
|
-
* @param {
|
|
109
|
+
* Retrieves the information and current status of an invoice submitted to Chorus Pro. **Returns**: - Invoice number and date - Total gross amount - **Current status**: SOUMISE, VALIDEE, REJETEE, SUSPENDUE, MANDATEE, MISE_EN_PAIEMENT, etc. - Recipient structure **Use cases**: - Track the processing progress of an invoice - Check if an invoice has been validated or rejected - Get the payment date **Polling**: Call this endpoint regularly to track status changes.
|
|
110
|
+
* @summary Consult invoice status
|
|
111
|
+
* @param {GetInvoiceRequest} getInvoiceRequest
|
|
109
112
|
* @param {*} [options] Override http request option.
|
|
110
113
|
* @throws {RequiredError}
|
|
111
114
|
*/
|
|
112
|
-
consulterFactureApiV1ChorusProFacturesConsulterPost: (
|
|
113
|
-
// verify required parameter '
|
|
114
|
-
(0, common_1.assertParamExists)('consulterFactureApiV1ChorusProFacturesConsulterPost', '
|
|
115
|
+
consulterFactureApiV1ChorusProFacturesConsulterPost: (getInvoiceRequest_1, ...args_1) => __awaiter(this, [getInvoiceRequest_1, ...args_1], void 0, function* (getInvoiceRequest, options = {}) {
|
|
116
|
+
// verify required parameter 'getInvoiceRequest' is not null or undefined
|
|
117
|
+
(0, common_1.assertParamExists)('consulterFactureApiV1ChorusProFacturesConsulterPost', 'getInvoiceRequest', getInvoiceRequest);
|
|
115
118
|
const localVarPath = `/api/v1/chorus-pro/factures/consulter`;
|
|
116
119
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
117
120
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -130,22 +133,22 @@ const ChorusProApiAxiosParamCreator = function (configuration) {
|
|
|
130
133
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
131
134
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
132
135
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
133
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
136
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getInvoiceRequest, localVarRequestOptions, configuration);
|
|
134
137
|
return {
|
|
135
138
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
136
139
|
options: localVarRequestOptions,
|
|
137
140
|
};
|
|
138
141
|
}),
|
|
139
142
|
/**
|
|
140
|
-
*
|
|
141
|
-
* @summary
|
|
142
|
-
* @param {
|
|
143
|
+
* Retrieves detailed information about a Chorus Pro structure. **Returns**: - Company name - Intra-EU VAT number - Contact email - **Required parameters**: Indicates if service code and/or engagement number are required to submit an invoice **Typical step**: Called after `search-structures` to know which fields are mandatory before submitting an invoice.
|
|
144
|
+
* @summary Consult structure details
|
|
145
|
+
* @param {GetStructureRequest} getStructureRequest
|
|
143
146
|
* @param {*} [options] Override http request option.
|
|
144
147
|
* @throws {RequiredError}
|
|
145
148
|
*/
|
|
146
|
-
consulterStructureApiV1ChorusProStructuresConsulterPost: (
|
|
147
|
-
// verify required parameter '
|
|
148
|
-
(0, common_1.assertParamExists)('consulterStructureApiV1ChorusProStructuresConsulterPost', '
|
|
149
|
+
consulterStructureApiV1ChorusProStructuresConsulterPost: (getStructureRequest_1, ...args_1) => __awaiter(this, [getStructureRequest_1, ...args_1], void 0, function* (getStructureRequest, options = {}) {
|
|
150
|
+
// verify required parameter 'getStructureRequest' is not null or undefined
|
|
151
|
+
(0, common_1.assertParamExists)('consulterStructureApiV1ChorusProStructuresConsulterPost', 'getStructureRequest', getStructureRequest);
|
|
149
152
|
const localVarPath = `/api/v1/chorus-pro/structures/consulter`;
|
|
150
153
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
151
154
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -164,25 +167,22 @@ const ChorusProApiAxiosParamCreator = function (configuration) {
|
|
|
164
167
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
165
168
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
166
169
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
167
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
170
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getStructureRequest, localVarRequestOptions, configuration);
|
|
168
171
|
return {
|
|
169
172
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
170
173
|
options: localVarRequestOptions,
|
|
171
174
|
};
|
|
172
175
|
}),
|
|
173
176
|
/**
|
|
174
|
-
*
|
|
175
|
-
* @summary
|
|
177
|
+
* Retrieves the list of active services for a public structure. **Use cases**: - List available services for an administration - Verify that a service code exists before submitting an invoice **Returns**: - List of services with their code, label, and status (active/inactive)
|
|
178
|
+
* @summary List structure services
|
|
176
179
|
* @param {number} idStructureCpp
|
|
177
|
-
* @param {BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet} bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet
|
|
178
180
|
* @param {*} [options] Override http request option.
|
|
179
181
|
* @throws {RequiredError}
|
|
180
182
|
*/
|
|
181
|
-
listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet: (idStructureCpp_1,
|
|
183
|
+
listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet: (idStructureCpp_1, ...args_1) => __awaiter(this, [idStructureCpp_1, ...args_1], void 0, function* (idStructureCpp, options = {}) {
|
|
182
184
|
// verify required parameter 'idStructureCpp' is not null or undefined
|
|
183
185
|
(0, common_1.assertParamExists)('listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet', 'idStructureCpp', idStructureCpp);
|
|
184
|
-
// verify required parameter 'bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet' is not null or undefined
|
|
185
|
-
(0, common_1.assertParamExists)('listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet', 'bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet', bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet);
|
|
186
186
|
const localVarPath = `/api/v1/chorus-pro/structures/{id_structure_cpp}/services`
|
|
187
187
|
.replace(`{${"id_structure_cpp"}}`, encodeURIComponent(String(idStructureCpp)));
|
|
188
188
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -197,27 +197,25 @@ const ChorusProApiAxiosParamCreator = function (configuration) {
|
|
|
197
197
|
// authentication HTTPBearer required
|
|
198
198
|
// http bearer authentication required
|
|
199
199
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
200
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
201
200
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
202
201
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
203
202
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
204
203
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
205
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet, localVarRequestOptions, configuration);
|
|
206
204
|
return {
|
|
207
205
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
208
206
|
options: localVarRequestOptions,
|
|
209
207
|
};
|
|
210
208
|
}),
|
|
211
209
|
/**
|
|
212
|
-
* **
|
|
213
|
-
* @summary
|
|
214
|
-
* @param {
|
|
210
|
+
* **Convenient utility** to get a structure\'s Chorus Pro ID from its SIRET. This wrapper function combines: 1. Searching for the structure by SIRET 2. Extracting the `id_structure_cpp` if a single structure is found **Returns**: - `id_structure_cpp`: Chorus Pro ID (0 if not found or multiple results) - `designation_structure`: Structure name (if found) - `message`: Explanatory message **Use cases**: - Shortcut to directly get the Chorus Pro ID before submitting an invoice - Simplified alternative to `search-structures` + manual ID extraction **Note**: If multiple structures match the SIRET (rare), returns 0 and an error message.
|
|
211
|
+
* @summary Utility: Get Chorus Pro ID from SIRET
|
|
212
|
+
* @param {GetChorusProIdRequest} getChorusProIdRequest
|
|
215
213
|
* @param {*} [options] Override http request option.
|
|
216
214
|
* @throws {RequiredError}
|
|
217
215
|
*/
|
|
218
|
-
obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost: (
|
|
219
|
-
// verify required parameter '
|
|
220
|
-
(0, common_1.assertParamExists)('obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost', '
|
|
216
|
+
obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost: (getChorusProIdRequest_1, ...args_1) => __awaiter(this, [getChorusProIdRequest_1, ...args_1], void 0, function* (getChorusProIdRequest, options = {}) {
|
|
217
|
+
// verify required parameter 'getChorusProIdRequest' is not null or undefined
|
|
218
|
+
(0, common_1.assertParamExists)('obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost', 'getChorusProIdRequest', getChorusProIdRequest);
|
|
221
219
|
const localVarPath = `/api/v1/chorus-pro/structures/obtenir-id-depuis-siret`;
|
|
222
220
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
223
221
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -236,22 +234,22 @@ const ChorusProApiAxiosParamCreator = function (configuration) {
|
|
|
236
234
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
237
235
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
238
236
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
239
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
237
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getChorusProIdRequest, localVarRequestOptions, configuration);
|
|
240
238
|
return {
|
|
241
239
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
242
240
|
options: localVarRequestOptions,
|
|
243
241
|
};
|
|
244
242
|
}),
|
|
245
243
|
/**
|
|
246
|
-
*
|
|
247
|
-
* @summary
|
|
248
|
-
* @param {
|
|
244
|
+
* Search invoices received by the connected recipient. **Filters**: - Downloaded / not downloaded - Reception dates - Status (MISE_A_DISPOSITION, SUSPENDUE, etc.) - Supplier **Useful indicator**: `factureTelechargeeParDestinataire` indicates whether the invoice has already been downloaded.
|
|
245
|
+
* @summary Search received invoices (Recipient)
|
|
246
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
249
247
|
* @param {*} [options] Override http request option.
|
|
250
248
|
* @throws {RequiredError}
|
|
251
249
|
*/
|
|
252
|
-
rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost: (
|
|
253
|
-
// verify required parameter '
|
|
254
|
-
(0, common_1.assertParamExists)('rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost', '
|
|
250
|
+
rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
251
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
252
|
+
(0, common_1.assertParamExists)('rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost', 'requestBody', requestBody);
|
|
255
253
|
const localVarPath = `/api/v1/chorus-pro/factures/rechercher-destinataire`;
|
|
256
254
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
257
255
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -270,22 +268,22 @@ const ChorusProApiAxiosParamCreator = function (configuration) {
|
|
|
270
268
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
271
269
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
272
270
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
273
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
271
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
274
272
|
return {
|
|
275
273
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
276
274
|
options: localVarRequestOptions,
|
|
277
275
|
};
|
|
278
276
|
}),
|
|
279
277
|
/**
|
|
280
|
-
*
|
|
281
|
-
* @summary
|
|
282
|
-
* @param {
|
|
278
|
+
* Search invoices issued by the connected supplier. **Available filters**: - Invoice number - Dates (start/end) - Status - Recipient structure - Amount **Use cases**: - Track issued invoices - Verify statuses - Export for accounting
|
|
279
|
+
* @summary Search issued invoices (Supplier)
|
|
280
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
283
281
|
* @param {*} [options] Override http request option.
|
|
284
282
|
* @throws {RequiredError}
|
|
285
283
|
*/
|
|
286
|
-
rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost: (
|
|
287
|
-
// verify required parameter '
|
|
288
|
-
(0, common_1.assertParamExists)('rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost', '
|
|
284
|
+
rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
285
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
286
|
+
(0, common_1.assertParamExists)('rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost', 'requestBody', requestBody);
|
|
289
287
|
const localVarPath = `/api/v1/chorus-pro/factures/rechercher-fournisseur`;
|
|
290
288
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
291
289
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -304,22 +302,22 @@ const ChorusProApiAxiosParamCreator = function (configuration) {
|
|
|
304
302
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
305
303
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
306
304
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
307
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
305
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
308
306
|
return {
|
|
309
307
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
310
308
|
options: localVarRequestOptions,
|
|
311
309
|
};
|
|
312
310
|
}),
|
|
313
311
|
/**
|
|
314
|
-
*
|
|
315
|
-
* @summary
|
|
316
|
-
* @param {
|
|
312
|
+
* Search for structures (companies, administrations) registered on Chorus Pro. **Use cases**: - Find the Chorus Pro ID of a structure from its SIRET - Check if a structure is registered on Chorus Pro - List structures matching criteria **Available filters**: - Identifier (SIRET, SIREN, etc.) - Company name - Identifier type - Private structures only **Typical step**: Called before `submit-invoice` to get the recipient\'s `id_structure_cpp`.
|
|
313
|
+
* @summary Search Chorus Pro structures
|
|
314
|
+
* @param {SearchStructureRequest} searchStructureRequest
|
|
317
315
|
* @param {*} [options] Override http request option.
|
|
318
316
|
* @throws {RequiredError}
|
|
319
317
|
*/
|
|
320
|
-
rechercherStructuresApiV1ChorusProStructuresRechercherPost: (
|
|
321
|
-
// verify required parameter '
|
|
322
|
-
(0, common_1.assertParamExists)('rechercherStructuresApiV1ChorusProStructuresRechercherPost', '
|
|
318
|
+
rechercherStructuresApiV1ChorusProStructuresRechercherPost: (searchStructureRequest_1, ...args_1) => __awaiter(this, [searchStructureRequest_1, ...args_1], void 0, function* (searchStructureRequest, options = {}) {
|
|
319
|
+
// verify required parameter 'searchStructureRequest' is not null or undefined
|
|
320
|
+
(0, common_1.assertParamExists)('rechercherStructuresApiV1ChorusProStructuresRechercherPost', 'searchStructureRequest', searchStructureRequest);
|
|
323
321
|
const localVarPath = `/api/v1/chorus-pro/structures/rechercher`;
|
|
324
322
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
325
323
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -338,22 +336,22 @@ const ChorusProApiAxiosParamCreator = function (configuration) {
|
|
|
338
336
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
339
337
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
340
338
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
341
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
339
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(searchStructureRequest, localVarRequestOptions, configuration);
|
|
342
340
|
return {
|
|
343
341
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
344
342
|
options: localVarRequestOptions,
|
|
345
343
|
};
|
|
346
344
|
}),
|
|
347
345
|
/**
|
|
348
|
-
* Recycle
|
|
349
|
-
* @summary
|
|
350
|
-
* @param {
|
|
346
|
+
* Recycle an invoice with A_RECYCLER status by modifying routing data. **Required status**: A_RECYCLER **Modifiable fields**: - Recipient (`idStructureCPP`) - Service code - Engagement number **Use cases**: - Wrong recipient - Change of billing service - Update engagement number **Example payload**: ```json { \"identifiantFactureCPP\": 12345, \"idStructureCPP\": 67890, \"codeService\": \"SERVICE_01\", \"numeroEngagement\": \"ENG2024001\" } ``` **Note**: The invoice keeps its number and amounts, only routing fields change.
|
|
347
|
+
* @summary Recycle an invoice (Supplier)
|
|
348
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
351
349
|
* @param {*} [options] Override http request option.
|
|
352
350
|
* @throws {RequiredError}
|
|
353
351
|
*/
|
|
354
|
-
recyclerFactureApiV1ChorusProFacturesRecyclerPost: (
|
|
355
|
-
// verify required parameter '
|
|
356
|
-
(0, common_1.assertParamExists)('recyclerFactureApiV1ChorusProFacturesRecyclerPost', '
|
|
352
|
+
recyclerFactureApiV1ChorusProFacturesRecyclerPost: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
353
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
354
|
+
(0, common_1.assertParamExists)('recyclerFactureApiV1ChorusProFacturesRecyclerPost', 'requestBody', requestBody);
|
|
357
355
|
const localVarPath = `/api/v1/chorus-pro/factures/recycler`;
|
|
358
356
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
359
357
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -372,22 +370,22 @@ const ChorusProApiAxiosParamCreator = function (configuration) {
|
|
|
372
370
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
373
371
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
374
372
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
375
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
373
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
376
374
|
return {
|
|
377
375
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
378
376
|
options: localVarRequestOptions,
|
|
379
377
|
};
|
|
380
378
|
}),
|
|
381
379
|
/**
|
|
382
|
-
*
|
|
383
|
-
* @summary
|
|
384
|
-
* @param {
|
|
380
|
+
* Submits an electronic invoice to a public structure via Chorus Pro. **Complete workflow**: 1. **Upload the Factur-X PDF** via `/transverses/ajouter-fichier` → retrieve `pieceJointeId` 2. **Get the structure ID** via `/structures/rechercher` or `/structures/obtenir-id-depuis-siret` 3. **Check mandatory parameters** via `/structures/consulter` 4. **Submit the invoice** with the `piece_jointe_principale_id` obtained in step 1 **Prerequisites**: 1. Have the recipient\'s `id_structure_cpp` (via `/structures/rechercher`) 2. Know the mandatory parameters (via `/structures/consulter`): - Service code if `code_service_doit_etre_renseigne=true` - Engagement number if `numero_ej_doit_etre_renseigne=true` 3. Have uploaded the Factur-X PDF (via `/transverses/ajouter-fichier`) **Expected format**: - `piece_jointe_principale_id`: ID returned by `/transverses/ajouter-fichier` - Amounts: Strings with 2 decimals (e.g., \"1250.50\") - Dates: ISO 8601 format (YYYY-MM-DD) **Returns**: - `identifiant_facture_cpp`: Chorus Pro ID of the created invoice - `numero_flux_depot`: Deposit tracking number **Possible statuses after submission**: - SOUMISE: Pending validation - VALIDEE: Validated by recipient - REJETEE: Rejected (data error or business refusal) - SUSPENDUE: Pending additional information **Note**: Use `/factures/consulter` to track status changes.
|
|
381
|
+
* @summary Submit an invoice to Chorus Pro
|
|
382
|
+
* @param {SubmitInvoiceRequest} submitInvoiceRequest
|
|
385
383
|
* @param {*} [options] Override http request option.
|
|
386
384
|
* @throws {RequiredError}
|
|
387
385
|
*/
|
|
388
|
-
soumettreFactureApiV1ChorusProFacturesSoumettrePost: (
|
|
389
|
-
// verify required parameter '
|
|
390
|
-
(0, common_1.assertParamExists)('soumettreFactureApiV1ChorusProFacturesSoumettrePost', '
|
|
386
|
+
soumettreFactureApiV1ChorusProFacturesSoumettrePost: (submitInvoiceRequest_1, ...args_1) => __awaiter(this, [submitInvoiceRequest_1, ...args_1], void 0, function* (submitInvoiceRequest, options = {}) {
|
|
387
|
+
// verify required parameter 'submitInvoiceRequest' is not null or undefined
|
|
388
|
+
(0, common_1.assertParamExists)('soumettreFactureApiV1ChorusProFacturesSoumettrePost', 'submitInvoiceRequest', submitInvoiceRequest);
|
|
391
389
|
const localVarPath = `/api/v1/chorus-pro/factures/soumettre`;
|
|
392
390
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
393
391
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -406,22 +404,22 @@ const ChorusProApiAxiosParamCreator = function (configuration) {
|
|
|
406
404
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
407
405
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
408
406
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
409
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
407
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(submitInvoiceRequest, localVarRequestOptions, configuration);
|
|
410
408
|
return {
|
|
411
409
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
412
410
|
options: localVarRequestOptions,
|
|
413
411
|
};
|
|
414
412
|
}),
|
|
415
413
|
/**
|
|
416
|
-
*
|
|
417
|
-
* @summary
|
|
418
|
-
* @param {
|
|
414
|
+
* Download one or more invoices (max 10 recommended) with their attachments. **Available formats**: - PDF: PDF file only - XML: XML file only - ZIP: Archive containing PDF + XML + attachments **Maximum size**: 120 MB per download **Example payload**: ```json { \"listeIdentifiantsFactureCPP\": [12345, 12346], \"inclurePiecesJointes\": true, \"formatFichier\": \"ZIP\" } ``` **Returns**: The file is base64-encoded in the `fichierBase64` field. **Note**: The `factureTelechargeeParDestinataire` flag is automatically updated.
|
|
415
|
+
* @summary Download a group of invoices
|
|
416
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
419
417
|
* @param {*} [options] Override http request option.
|
|
420
418
|
* @throws {RequiredError}
|
|
421
419
|
*/
|
|
422
|
-
telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost: (
|
|
423
|
-
// verify required parameter '
|
|
424
|
-
(0, common_1.assertParamExists)('telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost', '
|
|
420
|
+
telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
421
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
422
|
+
(0, common_1.assertParamExists)('telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost', 'requestBody', requestBody);
|
|
425
423
|
const localVarPath = `/api/v1/chorus-pro/factures/telecharger-groupe`;
|
|
426
424
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
427
425
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -440,22 +438,22 @@ const ChorusProApiAxiosParamCreator = function (configuration) {
|
|
|
440
438
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
441
439
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
442
440
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
443
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
441
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
444
442
|
return {
|
|
445
443
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
446
444
|
options: localVarRequestOptions,
|
|
447
445
|
};
|
|
448
446
|
}),
|
|
449
447
|
/**
|
|
450
|
-
* Change
|
|
451
|
-
* @summary
|
|
452
|
-
* @param {
|
|
448
|
+
* Change the status of a received invoice. **Possible statuses**: - MISE_A_DISPOSITION: Invoice accepted - SUSPENDUE: Pending additional information (reason required) - REJETEE: Invoice refused (reason required) - MANDATEE: Invoice mandated - MISE_EN_PAIEMENT: Invoice being paid - COMPTABILISEE: Invoice accounted - MISE_A_DISPOSITION_COMPTABLE: Made available to accounting - A_RECYCLER: To be recycled - COMPLETEE: Completed - SERVICE-FAIT: Service rendered - PRISE_EN_COMPTE_DESTINATAIRE: Acknowledged - TRANSMISE_MOA: Transmitted to MOA **Example payload**: ```json { \"identifiantFactureCPP\": 12345, \"nouveauStatut\": \"REJETEE\", \"motifRejet\": \"Duplicate invoice\", \"commentaire\": \"Invoice already received under reference ABC123\" } ``` **Rules**: - A reason is **required** for SUSPENDUE and REJETEE - Only certain statuses are allowed depending on the invoice\'s current status
|
|
449
|
+
* @summary Process a received invoice (Recipient)
|
|
450
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
453
451
|
* @param {*} [options] Override http request option.
|
|
454
452
|
* @throws {RequiredError}
|
|
455
453
|
*/
|
|
456
|
-
traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost: (
|
|
457
|
-
// verify required parameter '
|
|
458
|
-
(0, common_1.assertParamExists)('traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost', '
|
|
454
|
+
traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
455
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
456
|
+
(0, common_1.assertParamExists)('traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost', 'requestBody', requestBody);
|
|
459
457
|
const localVarPath = `/api/v1/chorus-pro/factures/traiter-facture-recue`;
|
|
460
458
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
461
459
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -474,22 +472,22 @@ const ChorusProApiAxiosParamCreator = function (configuration) {
|
|
|
474
472
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
475
473
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
476
474
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
477
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
475
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
478
476
|
return {
|
|
479
477
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
480
478
|
options: localVarRequestOptions,
|
|
481
479
|
};
|
|
482
480
|
}),
|
|
483
481
|
/**
|
|
484
|
-
*
|
|
485
|
-
* @summary
|
|
486
|
-
* @param {
|
|
482
|
+
*
|
|
483
|
+
* @summary Consult an invoice (Validator)
|
|
484
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
487
485
|
* @param {*} [options] Override http request option.
|
|
488
486
|
* @throws {RequiredError}
|
|
489
487
|
*/
|
|
490
|
-
valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost: (
|
|
491
|
-
// verify required parameter '
|
|
492
|
-
(0, common_1.assertParamExists)('valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost', '
|
|
488
|
+
valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
489
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
490
|
+
(0, common_1.assertParamExists)('valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost', 'requestBody', requestBody);
|
|
493
491
|
const localVarPath = `/api/v1/chorus-pro/factures/valideur/consulter`;
|
|
494
492
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
495
493
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -508,22 +506,22 @@ const ChorusProApiAxiosParamCreator = function (configuration) {
|
|
|
508
506
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
509
507
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
510
508
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
511
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
509
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
512
510
|
return {
|
|
513
511
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
514
512
|
options: localVarRequestOptions,
|
|
515
513
|
};
|
|
516
514
|
}),
|
|
517
515
|
/**
|
|
518
|
-
*
|
|
519
|
-
* @summary
|
|
520
|
-
* @param {
|
|
516
|
+
* Search invoices pending validation by the connected validator. **Role**: Validator in the internal validation workflow. **Filters**: Dates, structure, service, etc.
|
|
517
|
+
* @summary Search invoices to validate (Validator)
|
|
518
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
521
519
|
* @param {*} [options] Override http request option.
|
|
522
520
|
* @throws {RequiredError}
|
|
523
521
|
*/
|
|
524
|
-
valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost: (
|
|
525
|
-
// verify required parameter '
|
|
526
|
-
(0, common_1.assertParamExists)('valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost', '
|
|
522
|
+
valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
523
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
524
|
+
(0, common_1.assertParamExists)('valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost', 'requestBody', requestBody);
|
|
527
525
|
const localVarPath = `/api/v1/chorus-pro/factures/valideur/rechercher`;
|
|
528
526
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
529
527
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -542,22 +540,22 @@ const ChorusProApiAxiosParamCreator = function (configuration) {
|
|
|
542
540
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
543
541
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
544
542
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
545
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
543
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
546
544
|
return {
|
|
547
545
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
548
546
|
options: localVarRequestOptions,
|
|
549
547
|
};
|
|
550
548
|
}),
|
|
551
549
|
/**
|
|
552
|
-
*
|
|
553
|
-
* @summary
|
|
554
|
-
* @param {
|
|
550
|
+
* Validate or reject an invoice pending validation. **Actions**: - Validate: The invoice moves to the next status in the workflow - Reject: The invoice is rejected (reason required)
|
|
551
|
+
* @summary Validate or reject an invoice (Validator)
|
|
552
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
555
553
|
* @param {*} [options] Override http request option.
|
|
556
554
|
* @throws {RequiredError}
|
|
557
555
|
*/
|
|
558
|
-
valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost: (
|
|
559
|
-
// verify required parameter '
|
|
560
|
-
(0, common_1.assertParamExists)('valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost', '
|
|
556
|
+
valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
557
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
558
|
+
(0, common_1.assertParamExists)('valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost', 'requestBody', requestBody);
|
|
561
559
|
const localVarPath = `/api/v1/chorus-pro/factures/valideur/traiter`;
|
|
562
560
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
563
561
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -576,7 +574,7 @@ const ChorusProApiAxiosParamCreator = function (configuration) {
|
|
|
576
574
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
577
575
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
578
576
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
579
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
577
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
580
578
|
return {
|
|
581
579
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
582
580
|
options: localVarRequestOptions,
|
|
@@ -592,257 +590,256 @@ const ChorusProApiFp = function (configuration) {
|
|
|
592
590
|
const localVarAxiosParamCreator = (0, exports.ChorusProApiAxiosParamCreator)(configuration);
|
|
593
591
|
return {
|
|
594
592
|
/**
|
|
595
|
-
*
|
|
596
|
-
* @summary
|
|
597
|
-
* @param {
|
|
593
|
+
* Add an attachment to the current user account. **Max size**: 10 MB per file **Example payload**: ```json { \"pieceJointeFichier\": \"JVBERi0xLjQKJeLjz9MKNSAwIG9iago8P...\", \"pieceJointeNom\": \"purchase_order.pdf\", \"pieceJointeTypeMime\": \"application/pdf\", \"pieceJointeExtension\": \"PDF\" } ``` **Returns**: The attachment ID (`pieceJointeIdFichier`) to use in `/factures/completer`. **Accepted extensions**: PDF, JPG, PNG, ZIP, XML, etc.
|
|
594
|
+
* @summary Add an attachment
|
|
595
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
598
596
|
* @param {*} [options] Override http request option.
|
|
599
597
|
* @throws {RequiredError}
|
|
600
598
|
*/
|
|
601
|
-
ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(
|
|
599
|
+
ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(requestBody, options) {
|
|
602
600
|
return __awaiter(this, void 0, void 0, function* () {
|
|
603
601
|
var _a, _b, _c;
|
|
604
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(
|
|
602
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(requestBody, options);
|
|
605
603
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
606
604
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChorusProApi.ajouterFichierApiV1ChorusProTransversesAjouterFichierPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
607
605
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
608
606
|
});
|
|
609
607
|
},
|
|
610
608
|
/**
|
|
611
|
-
*
|
|
612
|
-
* @summary
|
|
613
|
-
* @param {
|
|
609
|
+
* Complete a SUSPENDUE status invoice by adding attachments or a comment. **Required status**: SUSPENDUE **Possible actions**: - Add attachments (supporting documents, purchase orders, etc.) - Modify comment **Example payload**: ```json { \"identifiantFactureCPP\": 12345, \"commentaire\": \"Here are the requested documents\", \"listePiecesJointes\": [ { \"pieceJointeIdFichier\": 98765, \"pieceJointeNom\": \"purchase_order.pdf\" } ] } ``` **Note**: Attachments must first be uploaded via `/transverses/ajouter-fichier`. **After completion**: The invoice returns to MISE_A_DISPOSITION status.
|
|
610
|
+
* @summary Complete a suspended invoice (Supplier)
|
|
611
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
614
612
|
* @param {*} [options] Override http request option.
|
|
615
613
|
* @throws {RequiredError}
|
|
616
614
|
*/
|
|
617
|
-
completerFactureApiV1ChorusProFacturesCompleterPost(
|
|
615
|
+
completerFactureApiV1ChorusProFacturesCompleterPost(requestBody, options) {
|
|
618
616
|
return __awaiter(this, void 0, void 0, function* () {
|
|
619
617
|
var _a, _b, _c;
|
|
620
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.completerFactureApiV1ChorusProFacturesCompleterPost(
|
|
618
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.completerFactureApiV1ChorusProFacturesCompleterPost(requestBody, options);
|
|
621
619
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
622
620
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChorusProApi.completerFactureApiV1ChorusProFacturesCompleterPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
623
621
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
624
622
|
});
|
|
625
623
|
},
|
|
626
624
|
/**
|
|
627
|
-
*
|
|
628
|
-
* @summary
|
|
629
|
-
* @param {
|
|
625
|
+
* Retrieves the information and current status of an invoice submitted to Chorus Pro. **Returns**: - Invoice number and date - Total gross amount - **Current status**: SOUMISE, VALIDEE, REJETEE, SUSPENDUE, MANDATEE, MISE_EN_PAIEMENT, etc. - Recipient structure **Use cases**: - Track the processing progress of an invoice - Check if an invoice has been validated or rejected - Get the payment date **Polling**: Call this endpoint regularly to track status changes.
|
|
626
|
+
* @summary Consult invoice status
|
|
627
|
+
* @param {GetInvoiceRequest} getInvoiceRequest
|
|
630
628
|
* @param {*} [options] Override http request option.
|
|
631
629
|
* @throws {RequiredError}
|
|
632
630
|
*/
|
|
633
|
-
consulterFactureApiV1ChorusProFacturesConsulterPost(
|
|
631
|
+
consulterFactureApiV1ChorusProFacturesConsulterPost(getInvoiceRequest, options) {
|
|
634
632
|
return __awaiter(this, void 0, void 0, function* () {
|
|
635
633
|
var _a, _b, _c;
|
|
636
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.consulterFactureApiV1ChorusProFacturesConsulterPost(
|
|
634
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.consulterFactureApiV1ChorusProFacturesConsulterPost(getInvoiceRequest, options);
|
|
637
635
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
638
636
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChorusProApi.consulterFactureApiV1ChorusProFacturesConsulterPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
639
637
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
640
638
|
});
|
|
641
639
|
},
|
|
642
640
|
/**
|
|
643
|
-
*
|
|
644
|
-
* @summary
|
|
645
|
-
* @param {
|
|
641
|
+
* Retrieves detailed information about a Chorus Pro structure. **Returns**: - Company name - Intra-EU VAT number - Contact email - **Required parameters**: Indicates if service code and/or engagement number are required to submit an invoice **Typical step**: Called after `search-structures` to know which fields are mandatory before submitting an invoice.
|
|
642
|
+
* @summary Consult structure details
|
|
643
|
+
* @param {GetStructureRequest} getStructureRequest
|
|
646
644
|
* @param {*} [options] Override http request option.
|
|
647
645
|
* @throws {RequiredError}
|
|
648
646
|
*/
|
|
649
|
-
consulterStructureApiV1ChorusProStructuresConsulterPost(
|
|
647
|
+
consulterStructureApiV1ChorusProStructuresConsulterPost(getStructureRequest, options) {
|
|
650
648
|
return __awaiter(this, void 0, void 0, function* () {
|
|
651
649
|
var _a, _b, _c;
|
|
652
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.consulterStructureApiV1ChorusProStructuresConsulterPost(
|
|
650
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.consulterStructureApiV1ChorusProStructuresConsulterPost(getStructureRequest, options);
|
|
653
651
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
654
652
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChorusProApi.consulterStructureApiV1ChorusProStructuresConsulterPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
655
653
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
656
654
|
});
|
|
657
655
|
},
|
|
658
656
|
/**
|
|
659
|
-
*
|
|
660
|
-
* @summary
|
|
657
|
+
* Retrieves the list of active services for a public structure. **Use cases**: - List available services for an administration - Verify that a service code exists before submitting an invoice **Returns**: - List of services with their code, label, and status (active/inactive)
|
|
658
|
+
* @summary List structure services
|
|
661
659
|
* @param {number} idStructureCpp
|
|
662
|
-
* @param {BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet} bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet
|
|
663
660
|
* @param {*} [options] Override http request option.
|
|
664
661
|
* @throws {RequiredError}
|
|
665
662
|
*/
|
|
666
|
-
listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp,
|
|
663
|
+
listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp, options) {
|
|
667
664
|
return __awaiter(this, void 0, void 0, function* () {
|
|
668
665
|
var _a, _b, _c;
|
|
669
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp,
|
|
666
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp, options);
|
|
670
667
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
671
668
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChorusProApi.listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
672
669
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
673
670
|
});
|
|
674
671
|
},
|
|
675
672
|
/**
|
|
676
|
-
* **
|
|
677
|
-
* @summary
|
|
678
|
-
* @param {
|
|
673
|
+
* **Convenient utility** to get a structure\'s Chorus Pro ID from its SIRET. This wrapper function combines: 1. Searching for the structure by SIRET 2. Extracting the `id_structure_cpp` if a single structure is found **Returns**: - `id_structure_cpp`: Chorus Pro ID (0 if not found or multiple results) - `designation_structure`: Structure name (if found) - `message`: Explanatory message **Use cases**: - Shortcut to directly get the Chorus Pro ID before submitting an invoice - Simplified alternative to `search-structures` + manual ID extraction **Note**: If multiple structures match the SIRET (rare), returns 0 and an error message.
|
|
674
|
+
* @summary Utility: Get Chorus Pro ID from SIRET
|
|
675
|
+
* @param {GetChorusProIdRequest} getChorusProIdRequest
|
|
679
676
|
* @param {*} [options] Override http request option.
|
|
680
677
|
* @throws {RequiredError}
|
|
681
678
|
*/
|
|
682
|
-
obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(
|
|
679
|
+
obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(getChorusProIdRequest, options) {
|
|
683
680
|
return __awaiter(this, void 0, void 0, function* () {
|
|
684
681
|
var _a, _b, _c;
|
|
685
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(
|
|
682
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(getChorusProIdRequest, options);
|
|
686
683
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
687
684
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChorusProApi.obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
688
685
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
689
686
|
});
|
|
690
687
|
},
|
|
691
688
|
/**
|
|
692
|
-
*
|
|
693
|
-
* @summary
|
|
694
|
-
* @param {
|
|
689
|
+
* Search invoices received by the connected recipient. **Filters**: - Downloaded / not downloaded - Reception dates - Status (MISE_A_DISPOSITION, SUSPENDUE, etc.) - Supplier **Useful indicator**: `factureTelechargeeParDestinataire` indicates whether the invoice has already been downloaded.
|
|
690
|
+
* @summary Search received invoices (Recipient)
|
|
691
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
695
692
|
* @param {*} [options] Override http request option.
|
|
696
693
|
* @throws {RequiredError}
|
|
697
694
|
*/
|
|
698
|
-
rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(
|
|
695
|
+
rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(requestBody, options) {
|
|
699
696
|
return __awaiter(this, void 0, void 0, function* () {
|
|
700
697
|
var _a, _b, _c;
|
|
701
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(
|
|
698
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(requestBody, options);
|
|
702
699
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
703
700
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChorusProApi.rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
704
701
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
705
702
|
});
|
|
706
703
|
},
|
|
707
704
|
/**
|
|
708
|
-
*
|
|
709
|
-
* @summary
|
|
710
|
-
* @param {
|
|
705
|
+
* Search invoices issued by the connected supplier. **Available filters**: - Invoice number - Dates (start/end) - Status - Recipient structure - Amount **Use cases**: - Track issued invoices - Verify statuses - Export for accounting
|
|
706
|
+
* @summary Search issued invoices (Supplier)
|
|
707
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
711
708
|
* @param {*} [options] Override http request option.
|
|
712
709
|
* @throws {RequiredError}
|
|
713
710
|
*/
|
|
714
|
-
rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(
|
|
711
|
+
rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(requestBody, options) {
|
|
715
712
|
return __awaiter(this, void 0, void 0, function* () {
|
|
716
713
|
var _a, _b, _c;
|
|
717
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(
|
|
714
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(requestBody, options);
|
|
718
715
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
719
716
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChorusProApi.rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
720
717
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
721
718
|
});
|
|
722
719
|
},
|
|
723
720
|
/**
|
|
724
|
-
*
|
|
725
|
-
* @summary
|
|
726
|
-
* @param {
|
|
721
|
+
* Search for structures (companies, administrations) registered on Chorus Pro. **Use cases**: - Find the Chorus Pro ID of a structure from its SIRET - Check if a structure is registered on Chorus Pro - List structures matching criteria **Available filters**: - Identifier (SIRET, SIREN, etc.) - Company name - Identifier type - Private structures only **Typical step**: Called before `submit-invoice` to get the recipient\'s `id_structure_cpp`.
|
|
722
|
+
* @summary Search Chorus Pro structures
|
|
723
|
+
* @param {SearchStructureRequest} searchStructureRequest
|
|
727
724
|
* @param {*} [options] Override http request option.
|
|
728
725
|
* @throws {RequiredError}
|
|
729
726
|
*/
|
|
730
|
-
rechercherStructuresApiV1ChorusProStructuresRechercherPost(
|
|
727
|
+
rechercherStructuresApiV1ChorusProStructuresRechercherPost(searchStructureRequest, options) {
|
|
731
728
|
return __awaiter(this, void 0, void 0, function* () {
|
|
732
729
|
var _a, _b, _c;
|
|
733
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.rechercherStructuresApiV1ChorusProStructuresRechercherPost(
|
|
730
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.rechercherStructuresApiV1ChorusProStructuresRechercherPost(searchStructureRequest, options);
|
|
734
731
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
735
732
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChorusProApi.rechercherStructuresApiV1ChorusProStructuresRechercherPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
736
733
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
737
734
|
});
|
|
738
735
|
},
|
|
739
736
|
/**
|
|
740
|
-
* Recycle
|
|
741
|
-
* @summary
|
|
742
|
-
* @param {
|
|
737
|
+
* Recycle an invoice with A_RECYCLER status by modifying routing data. **Required status**: A_RECYCLER **Modifiable fields**: - Recipient (`idStructureCPP`) - Service code - Engagement number **Use cases**: - Wrong recipient - Change of billing service - Update engagement number **Example payload**: ```json { \"identifiantFactureCPP\": 12345, \"idStructureCPP\": 67890, \"codeService\": \"SERVICE_01\", \"numeroEngagement\": \"ENG2024001\" } ``` **Note**: The invoice keeps its number and amounts, only routing fields change.
|
|
738
|
+
* @summary Recycle an invoice (Supplier)
|
|
739
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
743
740
|
* @param {*} [options] Override http request option.
|
|
744
741
|
* @throws {RequiredError}
|
|
745
742
|
*/
|
|
746
|
-
recyclerFactureApiV1ChorusProFacturesRecyclerPost(
|
|
743
|
+
recyclerFactureApiV1ChorusProFacturesRecyclerPost(requestBody, options) {
|
|
747
744
|
return __awaiter(this, void 0, void 0, function* () {
|
|
748
745
|
var _a, _b, _c;
|
|
749
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.recyclerFactureApiV1ChorusProFacturesRecyclerPost(
|
|
746
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.recyclerFactureApiV1ChorusProFacturesRecyclerPost(requestBody, options);
|
|
750
747
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
751
748
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChorusProApi.recyclerFactureApiV1ChorusProFacturesRecyclerPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
752
749
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
753
750
|
});
|
|
754
751
|
},
|
|
755
752
|
/**
|
|
756
|
-
*
|
|
757
|
-
* @summary
|
|
758
|
-
* @param {
|
|
753
|
+
* Submits an electronic invoice to a public structure via Chorus Pro. **Complete workflow**: 1. **Upload the Factur-X PDF** via `/transverses/ajouter-fichier` → retrieve `pieceJointeId` 2. **Get the structure ID** via `/structures/rechercher` or `/structures/obtenir-id-depuis-siret` 3. **Check mandatory parameters** via `/structures/consulter` 4. **Submit the invoice** with the `piece_jointe_principale_id` obtained in step 1 **Prerequisites**: 1. Have the recipient\'s `id_structure_cpp` (via `/structures/rechercher`) 2. Know the mandatory parameters (via `/structures/consulter`): - Service code if `code_service_doit_etre_renseigne=true` - Engagement number if `numero_ej_doit_etre_renseigne=true` 3. Have uploaded the Factur-X PDF (via `/transverses/ajouter-fichier`) **Expected format**: - `piece_jointe_principale_id`: ID returned by `/transverses/ajouter-fichier` - Amounts: Strings with 2 decimals (e.g., \"1250.50\") - Dates: ISO 8601 format (YYYY-MM-DD) **Returns**: - `identifiant_facture_cpp`: Chorus Pro ID of the created invoice - `numero_flux_depot`: Deposit tracking number **Possible statuses after submission**: - SOUMISE: Pending validation - VALIDEE: Validated by recipient - REJETEE: Rejected (data error or business refusal) - SUSPENDUE: Pending additional information **Note**: Use `/factures/consulter` to track status changes.
|
|
754
|
+
* @summary Submit an invoice to Chorus Pro
|
|
755
|
+
* @param {SubmitInvoiceRequest} submitInvoiceRequest
|
|
759
756
|
* @param {*} [options] Override http request option.
|
|
760
757
|
* @throws {RequiredError}
|
|
761
758
|
*/
|
|
762
|
-
soumettreFactureApiV1ChorusProFacturesSoumettrePost(
|
|
759
|
+
soumettreFactureApiV1ChorusProFacturesSoumettrePost(submitInvoiceRequest, options) {
|
|
763
760
|
return __awaiter(this, void 0, void 0, function* () {
|
|
764
761
|
var _a, _b, _c;
|
|
765
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.soumettreFactureApiV1ChorusProFacturesSoumettrePost(
|
|
762
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.soumettreFactureApiV1ChorusProFacturesSoumettrePost(submitInvoiceRequest, options);
|
|
766
763
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
767
764
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChorusProApi.soumettreFactureApiV1ChorusProFacturesSoumettrePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
768
765
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
769
766
|
});
|
|
770
767
|
},
|
|
771
768
|
/**
|
|
772
|
-
*
|
|
773
|
-
* @summary
|
|
774
|
-
* @param {
|
|
769
|
+
* Download one or more invoices (max 10 recommended) with their attachments. **Available formats**: - PDF: PDF file only - XML: XML file only - ZIP: Archive containing PDF + XML + attachments **Maximum size**: 120 MB per download **Example payload**: ```json { \"listeIdentifiantsFactureCPP\": [12345, 12346], \"inclurePiecesJointes\": true, \"formatFichier\": \"ZIP\" } ``` **Returns**: The file is base64-encoded in the `fichierBase64` field. **Note**: The `factureTelechargeeParDestinataire` flag is automatically updated.
|
|
770
|
+
* @summary Download a group of invoices
|
|
771
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
775
772
|
* @param {*} [options] Override http request option.
|
|
776
773
|
* @throws {RequiredError}
|
|
777
774
|
*/
|
|
778
|
-
telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(
|
|
775
|
+
telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(requestBody, options) {
|
|
779
776
|
return __awaiter(this, void 0, void 0, function* () {
|
|
780
777
|
var _a, _b, _c;
|
|
781
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(
|
|
778
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(requestBody, options);
|
|
782
779
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
783
780
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChorusProApi.telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
784
781
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
785
782
|
});
|
|
786
783
|
},
|
|
787
784
|
/**
|
|
788
|
-
* Change
|
|
789
|
-
* @summary
|
|
790
|
-
* @param {
|
|
785
|
+
* Change the status of a received invoice. **Possible statuses**: - MISE_A_DISPOSITION: Invoice accepted - SUSPENDUE: Pending additional information (reason required) - REJETEE: Invoice refused (reason required) - MANDATEE: Invoice mandated - MISE_EN_PAIEMENT: Invoice being paid - COMPTABILISEE: Invoice accounted - MISE_A_DISPOSITION_COMPTABLE: Made available to accounting - A_RECYCLER: To be recycled - COMPLETEE: Completed - SERVICE-FAIT: Service rendered - PRISE_EN_COMPTE_DESTINATAIRE: Acknowledged - TRANSMISE_MOA: Transmitted to MOA **Example payload**: ```json { \"identifiantFactureCPP\": 12345, \"nouveauStatut\": \"REJETEE\", \"motifRejet\": \"Duplicate invoice\", \"commentaire\": \"Invoice already received under reference ABC123\" } ``` **Rules**: - A reason is **required** for SUSPENDUE and REJETEE - Only certain statuses are allowed depending on the invoice\'s current status
|
|
786
|
+
* @summary Process a received invoice (Recipient)
|
|
787
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
791
788
|
* @param {*} [options] Override http request option.
|
|
792
789
|
* @throws {RequiredError}
|
|
793
790
|
*/
|
|
794
|
-
traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(
|
|
791
|
+
traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(requestBody, options) {
|
|
795
792
|
return __awaiter(this, void 0, void 0, function* () {
|
|
796
793
|
var _a, _b, _c;
|
|
797
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(
|
|
794
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(requestBody, options);
|
|
798
795
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
799
796
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChorusProApi.traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
800
797
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
801
798
|
});
|
|
802
799
|
},
|
|
803
800
|
/**
|
|
804
|
-
*
|
|
805
|
-
* @summary
|
|
806
|
-
* @param {
|
|
801
|
+
*
|
|
802
|
+
* @summary Consult an invoice (Validator)
|
|
803
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
807
804
|
* @param {*} [options] Override http request option.
|
|
808
805
|
* @throws {RequiredError}
|
|
809
806
|
*/
|
|
810
|
-
valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(
|
|
807
|
+
valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(requestBody, options) {
|
|
811
808
|
return __awaiter(this, void 0, void 0, function* () {
|
|
812
809
|
var _a, _b, _c;
|
|
813
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(
|
|
810
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(requestBody, options);
|
|
814
811
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
815
812
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChorusProApi.valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
816
813
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
817
814
|
});
|
|
818
815
|
},
|
|
819
816
|
/**
|
|
820
|
-
*
|
|
821
|
-
* @summary
|
|
822
|
-
* @param {
|
|
817
|
+
* Search invoices pending validation by the connected validator. **Role**: Validator in the internal validation workflow. **Filters**: Dates, structure, service, etc.
|
|
818
|
+
* @summary Search invoices to validate (Validator)
|
|
819
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
823
820
|
* @param {*} [options] Override http request option.
|
|
824
821
|
* @throws {RequiredError}
|
|
825
822
|
*/
|
|
826
|
-
valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(
|
|
823
|
+
valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(requestBody, options) {
|
|
827
824
|
return __awaiter(this, void 0, void 0, function* () {
|
|
828
825
|
var _a, _b, _c;
|
|
829
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(
|
|
826
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(requestBody, options);
|
|
830
827
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
831
828
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChorusProApi.valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
832
829
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
833
830
|
});
|
|
834
831
|
},
|
|
835
832
|
/**
|
|
836
|
-
*
|
|
837
|
-
* @summary
|
|
838
|
-
* @param {
|
|
833
|
+
* Validate or reject an invoice pending validation. **Actions**: - Validate: The invoice moves to the next status in the workflow - Reject: The invoice is rejected (reason required)
|
|
834
|
+
* @summary Validate or reject an invoice (Validator)
|
|
835
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
839
836
|
* @param {*} [options] Override http request option.
|
|
840
837
|
* @throws {RequiredError}
|
|
841
838
|
*/
|
|
842
|
-
valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(
|
|
839
|
+
valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(requestBody, options) {
|
|
843
840
|
return __awaiter(this, void 0, void 0, function* () {
|
|
844
841
|
var _a, _b, _c;
|
|
845
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(
|
|
842
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(requestBody, options);
|
|
846
843
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
847
844
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChorusProApi.valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
848
845
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -858,165 +855,164 @@ const ChorusProApiFactory = function (configuration, basePath, axios) {
|
|
|
858
855
|
const localVarFp = (0, exports.ChorusProApiFp)(configuration);
|
|
859
856
|
return {
|
|
860
857
|
/**
|
|
861
|
-
*
|
|
862
|
-
* @summary
|
|
863
|
-
* @param {
|
|
858
|
+
* Add an attachment to the current user account. **Max size**: 10 MB per file **Example payload**: ```json { \"pieceJointeFichier\": \"JVBERi0xLjQKJeLjz9MKNSAwIG9iago8P...\", \"pieceJointeNom\": \"purchase_order.pdf\", \"pieceJointeTypeMime\": \"application/pdf\", \"pieceJointeExtension\": \"PDF\" } ``` **Returns**: The attachment ID (`pieceJointeIdFichier`) to use in `/factures/completer`. **Accepted extensions**: PDF, JPG, PNG, ZIP, XML, etc.
|
|
859
|
+
* @summary Add an attachment
|
|
860
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
864
861
|
* @param {*} [options] Override http request option.
|
|
865
862
|
* @throws {RequiredError}
|
|
866
863
|
*/
|
|
867
|
-
ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(
|
|
868
|
-
return localVarFp.ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(
|
|
864
|
+
ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(requestBody, options) {
|
|
865
|
+
return localVarFp.ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(requestBody, options).then((request) => request(axios, basePath));
|
|
869
866
|
},
|
|
870
867
|
/**
|
|
871
|
-
*
|
|
872
|
-
* @summary
|
|
873
|
-
* @param {
|
|
868
|
+
* Complete a SUSPENDUE status invoice by adding attachments or a comment. **Required status**: SUSPENDUE **Possible actions**: - Add attachments (supporting documents, purchase orders, etc.) - Modify comment **Example payload**: ```json { \"identifiantFactureCPP\": 12345, \"commentaire\": \"Here are the requested documents\", \"listePiecesJointes\": [ { \"pieceJointeIdFichier\": 98765, \"pieceJointeNom\": \"purchase_order.pdf\" } ] } ``` **Note**: Attachments must first be uploaded via `/transverses/ajouter-fichier`. **After completion**: The invoice returns to MISE_A_DISPOSITION status.
|
|
869
|
+
* @summary Complete a suspended invoice (Supplier)
|
|
870
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
874
871
|
* @param {*} [options] Override http request option.
|
|
875
872
|
* @throws {RequiredError}
|
|
876
873
|
*/
|
|
877
|
-
completerFactureApiV1ChorusProFacturesCompleterPost(
|
|
878
|
-
return localVarFp.completerFactureApiV1ChorusProFacturesCompleterPost(
|
|
874
|
+
completerFactureApiV1ChorusProFacturesCompleterPost(requestBody, options) {
|
|
875
|
+
return localVarFp.completerFactureApiV1ChorusProFacturesCompleterPost(requestBody, options).then((request) => request(axios, basePath));
|
|
879
876
|
},
|
|
880
877
|
/**
|
|
881
|
-
*
|
|
882
|
-
* @summary
|
|
883
|
-
* @param {
|
|
878
|
+
* Retrieves the information and current status of an invoice submitted to Chorus Pro. **Returns**: - Invoice number and date - Total gross amount - **Current status**: SOUMISE, VALIDEE, REJETEE, SUSPENDUE, MANDATEE, MISE_EN_PAIEMENT, etc. - Recipient structure **Use cases**: - Track the processing progress of an invoice - Check if an invoice has been validated or rejected - Get the payment date **Polling**: Call this endpoint regularly to track status changes.
|
|
879
|
+
* @summary Consult invoice status
|
|
880
|
+
* @param {GetInvoiceRequest} getInvoiceRequest
|
|
884
881
|
* @param {*} [options] Override http request option.
|
|
885
882
|
* @throws {RequiredError}
|
|
886
883
|
*/
|
|
887
|
-
consulterFactureApiV1ChorusProFacturesConsulterPost(
|
|
888
|
-
return localVarFp.consulterFactureApiV1ChorusProFacturesConsulterPost(
|
|
884
|
+
consulterFactureApiV1ChorusProFacturesConsulterPost(getInvoiceRequest, options) {
|
|
885
|
+
return localVarFp.consulterFactureApiV1ChorusProFacturesConsulterPost(getInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
889
886
|
},
|
|
890
887
|
/**
|
|
891
|
-
*
|
|
892
|
-
* @summary
|
|
893
|
-
* @param {
|
|
888
|
+
* Retrieves detailed information about a Chorus Pro structure. **Returns**: - Company name - Intra-EU VAT number - Contact email - **Required parameters**: Indicates if service code and/or engagement number are required to submit an invoice **Typical step**: Called after `search-structures` to know which fields are mandatory before submitting an invoice.
|
|
889
|
+
* @summary Consult structure details
|
|
890
|
+
* @param {GetStructureRequest} getStructureRequest
|
|
894
891
|
* @param {*} [options] Override http request option.
|
|
895
892
|
* @throws {RequiredError}
|
|
896
893
|
*/
|
|
897
|
-
consulterStructureApiV1ChorusProStructuresConsulterPost(
|
|
898
|
-
return localVarFp.consulterStructureApiV1ChorusProStructuresConsulterPost(
|
|
894
|
+
consulterStructureApiV1ChorusProStructuresConsulterPost(getStructureRequest, options) {
|
|
895
|
+
return localVarFp.consulterStructureApiV1ChorusProStructuresConsulterPost(getStructureRequest, options).then((request) => request(axios, basePath));
|
|
899
896
|
},
|
|
900
897
|
/**
|
|
901
|
-
*
|
|
902
|
-
* @summary
|
|
898
|
+
* Retrieves the list of active services for a public structure. **Use cases**: - List available services for an administration - Verify that a service code exists before submitting an invoice **Returns**: - List of services with their code, label, and status (active/inactive)
|
|
899
|
+
* @summary List structure services
|
|
903
900
|
* @param {number} idStructureCpp
|
|
904
|
-
* @param {BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet} bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet
|
|
905
901
|
* @param {*} [options] Override http request option.
|
|
906
902
|
* @throws {RequiredError}
|
|
907
903
|
*/
|
|
908
|
-
listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp,
|
|
909
|
-
return localVarFp.listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp,
|
|
904
|
+
listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp, options) {
|
|
905
|
+
return localVarFp.listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp, options).then((request) => request(axios, basePath));
|
|
910
906
|
},
|
|
911
907
|
/**
|
|
912
|
-
* **
|
|
913
|
-
* @summary
|
|
914
|
-
* @param {
|
|
908
|
+
* **Convenient utility** to get a structure\'s Chorus Pro ID from its SIRET. This wrapper function combines: 1. Searching for the structure by SIRET 2. Extracting the `id_structure_cpp` if a single structure is found **Returns**: - `id_structure_cpp`: Chorus Pro ID (0 if not found or multiple results) - `designation_structure`: Structure name (if found) - `message`: Explanatory message **Use cases**: - Shortcut to directly get the Chorus Pro ID before submitting an invoice - Simplified alternative to `search-structures` + manual ID extraction **Note**: If multiple structures match the SIRET (rare), returns 0 and an error message.
|
|
909
|
+
* @summary Utility: Get Chorus Pro ID from SIRET
|
|
910
|
+
* @param {GetChorusProIdRequest} getChorusProIdRequest
|
|
915
911
|
* @param {*} [options] Override http request option.
|
|
916
912
|
* @throws {RequiredError}
|
|
917
913
|
*/
|
|
918
|
-
obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(
|
|
919
|
-
return localVarFp.obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(
|
|
914
|
+
obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(getChorusProIdRequest, options) {
|
|
915
|
+
return localVarFp.obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(getChorusProIdRequest, options).then((request) => request(axios, basePath));
|
|
920
916
|
},
|
|
921
917
|
/**
|
|
922
|
-
*
|
|
923
|
-
* @summary
|
|
924
|
-
* @param {
|
|
918
|
+
* Search invoices received by the connected recipient. **Filters**: - Downloaded / not downloaded - Reception dates - Status (MISE_A_DISPOSITION, SUSPENDUE, etc.) - Supplier **Useful indicator**: `factureTelechargeeParDestinataire` indicates whether the invoice has already been downloaded.
|
|
919
|
+
* @summary Search received invoices (Recipient)
|
|
920
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
925
921
|
* @param {*} [options] Override http request option.
|
|
926
922
|
* @throws {RequiredError}
|
|
927
923
|
*/
|
|
928
|
-
rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(
|
|
929
|
-
return localVarFp.rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(
|
|
924
|
+
rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(requestBody, options) {
|
|
925
|
+
return localVarFp.rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(requestBody, options).then((request) => request(axios, basePath));
|
|
930
926
|
},
|
|
931
927
|
/**
|
|
932
|
-
*
|
|
933
|
-
* @summary
|
|
934
|
-
* @param {
|
|
928
|
+
* Search invoices issued by the connected supplier. **Available filters**: - Invoice number - Dates (start/end) - Status - Recipient structure - Amount **Use cases**: - Track issued invoices - Verify statuses - Export for accounting
|
|
929
|
+
* @summary Search issued invoices (Supplier)
|
|
930
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
935
931
|
* @param {*} [options] Override http request option.
|
|
936
932
|
* @throws {RequiredError}
|
|
937
933
|
*/
|
|
938
|
-
rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(
|
|
939
|
-
return localVarFp.rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(
|
|
934
|
+
rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(requestBody, options) {
|
|
935
|
+
return localVarFp.rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(requestBody, options).then((request) => request(axios, basePath));
|
|
940
936
|
},
|
|
941
937
|
/**
|
|
942
|
-
*
|
|
943
|
-
* @summary
|
|
944
|
-
* @param {
|
|
938
|
+
* Search for structures (companies, administrations) registered on Chorus Pro. **Use cases**: - Find the Chorus Pro ID of a structure from its SIRET - Check if a structure is registered on Chorus Pro - List structures matching criteria **Available filters**: - Identifier (SIRET, SIREN, etc.) - Company name - Identifier type - Private structures only **Typical step**: Called before `submit-invoice` to get the recipient\'s `id_structure_cpp`.
|
|
939
|
+
* @summary Search Chorus Pro structures
|
|
940
|
+
* @param {SearchStructureRequest} searchStructureRequest
|
|
945
941
|
* @param {*} [options] Override http request option.
|
|
946
942
|
* @throws {RequiredError}
|
|
947
943
|
*/
|
|
948
|
-
rechercherStructuresApiV1ChorusProStructuresRechercherPost(
|
|
949
|
-
return localVarFp.rechercherStructuresApiV1ChorusProStructuresRechercherPost(
|
|
944
|
+
rechercherStructuresApiV1ChorusProStructuresRechercherPost(searchStructureRequest, options) {
|
|
945
|
+
return localVarFp.rechercherStructuresApiV1ChorusProStructuresRechercherPost(searchStructureRequest, options).then((request) => request(axios, basePath));
|
|
950
946
|
},
|
|
951
947
|
/**
|
|
952
|
-
* Recycle
|
|
953
|
-
* @summary
|
|
954
|
-
* @param {
|
|
948
|
+
* Recycle an invoice with A_RECYCLER status by modifying routing data. **Required status**: A_RECYCLER **Modifiable fields**: - Recipient (`idStructureCPP`) - Service code - Engagement number **Use cases**: - Wrong recipient - Change of billing service - Update engagement number **Example payload**: ```json { \"identifiantFactureCPP\": 12345, \"idStructureCPP\": 67890, \"codeService\": \"SERVICE_01\", \"numeroEngagement\": \"ENG2024001\" } ``` **Note**: The invoice keeps its number and amounts, only routing fields change.
|
|
949
|
+
* @summary Recycle an invoice (Supplier)
|
|
950
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
955
951
|
* @param {*} [options] Override http request option.
|
|
956
952
|
* @throws {RequiredError}
|
|
957
953
|
*/
|
|
958
|
-
recyclerFactureApiV1ChorusProFacturesRecyclerPost(
|
|
959
|
-
return localVarFp.recyclerFactureApiV1ChorusProFacturesRecyclerPost(
|
|
954
|
+
recyclerFactureApiV1ChorusProFacturesRecyclerPost(requestBody, options) {
|
|
955
|
+
return localVarFp.recyclerFactureApiV1ChorusProFacturesRecyclerPost(requestBody, options).then((request) => request(axios, basePath));
|
|
960
956
|
},
|
|
961
957
|
/**
|
|
962
|
-
*
|
|
963
|
-
* @summary
|
|
964
|
-
* @param {
|
|
958
|
+
* Submits an electronic invoice to a public structure via Chorus Pro. **Complete workflow**: 1. **Upload the Factur-X PDF** via `/transverses/ajouter-fichier` → retrieve `pieceJointeId` 2. **Get the structure ID** via `/structures/rechercher` or `/structures/obtenir-id-depuis-siret` 3. **Check mandatory parameters** via `/structures/consulter` 4. **Submit the invoice** with the `piece_jointe_principale_id` obtained in step 1 **Prerequisites**: 1. Have the recipient\'s `id_structure_cpp` (via `/structures/rechercher`) 2. Know the mandatory parameters (via `/structures/consulter`): - Service code if `code_service_doit_etre_renseigne=true` - Engagement number if `numero_ej_doit_etre_renseigne=true` 3. Have uploaded the Factur-X PDF (via `/transverses/ajouter-fichier`) **Expected format**: - `piece_jointe_principale_id`: ID returned by `/transverses/ajouter-fichier` - Amounts: Strings with 2 decimals (e.g., \"1250.50\") - Dates: ISO 8601 format (YYYY-MM-DD) **Returns**: - `identifiant_facture_cpp`: Chorus Pro ID of the created invoice - `numero_flux_depot`: Deposit tracking number **Possible statuses after submission**: - SOUMISE: Pending validation - VALIDEE: Validated by recipient - REJETEE: Rejected (data error or business refusal) - SUSPENDUE: Pending additional information **Note**: Use `/factures/consulter` to track status changes.
|
|
959
|
+
* @summary Submit an invoice to Chorus Pro
|
|
960
|
+
* @param {SubmitInvoiceRequest} submitInvoiceRequest
|
|
965
961
|
* @param {*} [options] Override http request option.
|
|
966
962
|
* @throws {RequiredError}
|
|
967
963
|
*/
|
|
968
|
-
soumettreFactureApiV1ChorusProFacturesSoumettrePost(
|
|
969
|
-
return localVarFp.soumettreFactureApiV1ChorusProFacturesSoumettrePost(
|
|
964
|
+
soumettreFactureApiV1ChorusProFacturesSoumettrePost(submitInvoiceRequest, options) {
|
|
965
|
+
return localVarFp.soumettreFactureApiV1ChorusProFacturesSoumettrePost(submitInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
970
966
|
},
|
|
971
967
|
/**
|
|
972
|
-
*
|
|
973
|
-
* @summary
|
|
974
|
-
* @param {
|
|
968
|
+
* Download one or more invoices (max 10 recommended) with their attachments. **Available formats**: - PDF: PDF file only - XML: XML file only - ZIP: Archive containing PDF + XML + attachments **Maximum size**: 120 MB per download **Example payload**: ```json { \"listeIdentifiantsFactureCPP\": [12345, 12346], \"inclurePiecesJointes\": true, \"formatFichier\": \"ZIP\" } ``` **Returns**: The file is base64-encoded in the `fichierBase64` field. **Note**: The `factureTelechargeeParDestinataire` flag is automatically updated.
|
|
969
|
+
* @summary Download a group of invoices
|
|
970
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
975
971
|
* @param {*} [options] Override http request option.
|
|
976
972
|
* @throws {RequiredError}
|
|
977
973
|
*/
|
|
978
|
-
telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(
|
|
979
|
-
return localVarFp.telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(
|
|
974
|
+
telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(requestBody, options) {
|
|
975
|
+
return localVarFp.telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(requestBody, options).then((request) => request(axios, basePath));
|
|
980
976
|
},
|
|
981
977
|
/**
|
|
982
|
-
* Change
|
|
983
|
-
* @summary
|
|
984
|
-
* @param {
|
|
978
|
+
* Change the status of a received invoice. **Possible statuses**: - MISE_A_DISPOSITION: Invoice accepted - SUSPENDUE: Pending additional information (reason required) - REJETEE: Invoice refused (reason required) - MANDATEE: Invoice mandated - MISE_EN_PAIEMENT: Invoice being paid - COMPTABILISEE: Invoice accounted - MISE_A_DISPOSITION_COMPTABLE: Made available to accounting - A_RECYCLER: To be recycled - COMPLETEE: Completed - SERVICE-FAIT: Service rendered - PRISE_EN_COMPTE_DESTINATAIRE: Acknowledged - TRANSMISE_MOA: Transmitted to MOA **Example payload**: ```json { \"identifiantFactureCPP\": 12345, \"nouveauStatut\": \"REJETEE\", \"motifRejet\": \"Duplicate invoice\", \"commentaire\": \"Invoice already received under reference ABC123\" } ``` **Rules**: - A reason is **required** for SUSPENDUE and REJETEE - Only certain statuses are allowed depending on the invoice\'s current status
|
|
979
|
+
* @summary Process a received invoice (Recipient)
|
|
980
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
985
981
|
* @param {*} [options] Override http request option.
|
|
986
982
|
* @throws {RequiredError}
|
|
987
983
|
*/
|
|
988
|
-
traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(
|
|
989
|
-
return localVarFp.traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(
|
|
984
|
+
traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(requestBody, options) {
|
|
985
|
+
return localVarFp.traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(requestBody, options).then((request) => request(axios, basePath));
|
|
990
986
|
},
|
|
991
987
|
/**
|
|
992
|
-
*
|
|
993
|
-
* @summary
|
|
994
|
-
* @param {
|
|
988
|
+
*
|
|
989
|
+
* @summary Consult an invoice (Validator)
|
|
990
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
995
991
|
* @param {*} [options] Override http request option.
|
|
996
992
|
* @throws {RequiredError}
|
|
997
993
|
*/
|
|
998
|
-
valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(
|
|
999
|
-
return localVarFp.valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(
|
|
994
|
+
valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(requestBody, options) {
|
|
995
|
+
return localVarFp.valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(requestBody, options).then((request) => request(axios, basePath));
|
|
1000
996
|
},
|
|
1001
997
|
/**
|
|
1002
|
-
*
|
|
1003
|
-
* @summary
|
|
1004
|
-
* @param {
|
|
998
|
+
* Search invoices pending validation by the connected validator. **Role**: Validator in the internal validation workflow. **Filters**: Dates, structure, service, etc.
|
|
999
|
+
* @summary Search invoices to validate (Validator)
|
|
1000
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1005
1001
|
* @param {*} [options] Override http request option.
|
|
1006
1002
|
* @throws {RequiredError}
|
|
1007
1003
|
*/
|
|
1008
|
-
valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(
|
|
1009
|
-
return localVarFp.valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(
|
|
1004
|
+
valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(requestBody, options) {
|
|
1005
|
+
return localVarFp.valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(requestBody, options).then((request) => request(axios, basePath));
|
|
1010
1006
|
},
|
|
1011
1007
|
/**
|
|
1012
|
-
*
|
|
1013
|
-
* @summary
|
|
1014
|
-
* @param {
|
|
1008
|
+
* Validate or reject an invoice pending validation. **Actions**: - Validate: The invoice moves to the next status in the workflow - Reject: The invoice is rejected (reason required)
|
|
1009
|
+
* @summary Validate or reject an invoice (Validator)
|
|
1010
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1015
1011
|
* @param {*} [options] Override http request option.
|
|
1016
1012
|
* @throws {RequiredError}
|
|
1017
1013
|
*/
|
|
1018
|
-
valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(
|
|
1019
|
-
return localVarFp.valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(
|
|
1014
|
+
valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(requestBody, options) {
|
|
1015
|
+
return localVarFp.valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(requestBody, options).then((request) => request(axios, basePath));
|
|
1020
1016
|
},
|
|
1021
1017
|
};
|
|
1022
1018
|
};
|
|
@@ -1026,165 +1022,164 @@ exports.ChorusProApiFactory = ChorusProApiFactory;
|
|
|
1026
1022
|
*/
|
|
1027
1023
|
class ChorusProApi extends base_1.BaseAPI {
|
|
1028
1024
|
/**
|
|
1029
|
-
*
|
|
1030
|
-
* @summary
|
|
1031
|
-
* @param {
|
|
1025
|
+
* Add an attachment to the current user account. **Max size**: 10 MB per file **Example payload**: ```json { \"pieceJointeFichier\": \"JVBERi0xLjQKJeLjz9MKNSAwIG9iago8P...\", \"pieceJointeNom\": \"purchase_order.pdf\", \"pieceJointeTypeMime\": \"application/pdf\", \"pieceJointeExtension\": \"PDF\" } ``` **Returns**: The attachment ID (`pieceJointeIdFichier`) to use in `/factures/completer`. **Accepted extensions**: PDF, JPG, PNG, ZIP, XML, etc.
|
|
1026
|
+
* @summary Add an attachment
|
|
1027
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1032
1028
|
* @param {*} [options] Override http request option.
|
|
1033
1029
|
* @throws {RequiredError}
|
|
1034
1030
|
*/
|
|
1035
|
-
ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(
|
|
1036
|
-
return (0, exports.ChorusProApiFp)(this.configuration).ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(
|
|
1031
|
+
ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(requestBody, options) {
|
|
1032
|
+
return (0, exports.ChorusProApiFp)(this.configuration).ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1037
1033
|
}
|
|
1038
1034
|
/**
|
|
1039
|
-
*
|
|
1040
|
-
* @summary
|
|
1041
|
-
* @param {
|
|
1035
|
+
* Complete a SUSPENDUE status invoice by adding attachments or a comment. **Required status**: SUSPENDUE **Possible actions**: - Add attachments (supporting documents, purchase orders, etc.) - Modify comment **Example payload**: ```json { \"identifiantFactureCPP\": 12345, \"commentaire\": \"Here are the requested documents\", \"listePiecesJointes\": [ { \"pieceJointeIdFichier\": 98765, \"pieceJointeNom\": \"purchase_order.pdf\" } ] } ``` **Note**: Attachments must first be uploaded via `/transverses/ajouter-fichier`. **After completion**: The invoice returns to MISE_A_DISPOSITION status.
|
|
1036
|
+
* @summary Complete a suspended invoice (Supplier)
|
|
1037
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1042
1038
|
* @param {*} [options] Override http request option.
|
|
1043
1039
|
* @throws {RequiredError}
|
|
1044
1040
|
*/
|
|
1045
|
-
completerFactureApiV1ChorusProFacturesCompleterPost(
|
|
1046
|
-
return (0, exports.ChorusProApiFp)(this.configuration).completerFactureApiV1ChorusProFacturesCompleterPost(
|
|
1041
|
+
completerFactureApiV1ChorusProFacturesCompleterPost(requestBody, options) {
|
|
1042
|
+
return (0, exports.ChorusProApiFp)(this.configuration).completerFactureApiV1ChorusProFacturesCompleterPost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1047
1043
|
}
|
|
1048
1044
|
/**
|
|
1049
|
-
*
|
|
1050
|
-
* @summary
|
|
1051
|
-
* @param {
|
|
1045
|
+
* Retrieves the information and current status of an invoice submitted to Chorus Pro. **Returns**: - Invoice number and date - Total gross amount - **Current status**: SOUMISE, VALIDEE, REJETEE, SUSPENDUE, MANDATEE, MISE_EN_PAIEMENT, etc. - Recipient structure **Use cases**: - Track the processing progress of an invoice - Check if an invoice has been validated or rejected - Get the payment date **Polling**: Call this endpoint regularly to track status changes.
|
|
1046
|
+
* @summary Consult invoice status
|
|
1047
|
+
* @param {GetInvoiceRequest} getInvoiceRequest
|
|
1052
1048
|
* @param {*} [options] Override http request option.
|
|
1053
1049
|
* @throws {RequiredError}
|
|
1054
1050
|
*/
|
|
1055
|
-
consulterFactureApiV1ChorusProFacturesConsulterPost(
|
|
1056
|
-
return (0, exports.ChorusProApiFp)(this.configuration).consulterFactureApiV1ChorusProFacturesConsulterPost(
|
|
1051
|
+
consulterFactureApiV1ChorusProFacturesConsulterPost(getInvoiceRequest, options) {
|
|
1052
|
+
return (0, exports.ChorusProApiFp)(this.configuration).consulterFactureApiV1ChorusProFacturesConsulterPost(getInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1057
1053
|
}
|
|
1058
1054
|
/**
|
|
1059
|
-
*
|
|
1060
|
-
* @summary
|
|
1061
|
-
* @param {
|
|
1055
|
+
* Retrieves detailed information about a Chorus Pro structure. **Returns**: - Company name - Intra-EU VAT number - Contact email - **Required parameters**: Indicates if service code and/or engagement number are required to submit an invoice **Typical step**: Called after `search-structures` to know which fields are mandatory before submitting an invoice.
|
|
1056
|
+
* @summary Consult structure details
|
|
1057
|
+
* @param {GetStructureRequest} getStructureRequest
|
|
1062
1058
|
* @param {*} [options] Override http request option.
|
|
1063
1059
|
* @throws {RequiredError}
|
|
1064
1060
|
*/
|
|
1065
|
-
consulterStructureApiV1ChorusProStructuresConsulterPost(
|
|
1066
|
-
return (0, exports.ChorusProApiFp)(this.configuration).consulterStructureApiV1ChorusProStructuresConsulterPost(
|
|
1061
|
+
consulterStructureApiV1ChorusProStructuresConsulterPost(getStructureRequest, options) {
|
|
1062
|
+
return (0, exports.ChorusProApiFp)(this.configuration).consulterStructureApiV1ChorusProStructuresConsulterPost(getStructureRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1067
1063
|
}
|
|
1068
1064
|
/**
|
|
1069
|
-
*
|
|
1070
|
-
* @summary
|
|
1065
|
+
* Retrieves the list of active services for a public structure. **Use cases**: - List available services for an administration - Verify that a service code exists before submitting an invoice **Returns**: - List of services with their code, label, and status (active/inactive)
|
|
1066
|
+
* @summary List structure services
|
|
1071
1067
|
* @param {number} idStructureCpp
|
|
1072
|
-
* @param {BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet} bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet
|
|
1073
1068
|
* @param {*} [options] Override http request option.
|
|
1074
1069
|
* @throws {RequiredError}
|
|
1075
1070
|
*/
|
|
1076
|
-
listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp,
|
|
1077
|
-
return (0, exports.ChorusProApiFp)(this.configuration).listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp,
|
|
1071
|
+
listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp, options) {
|
|
1072
|
+
return (0, exports.ChorusProApiFp)(this.configuration).listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp, options).then((request) => request(this.axios, this.basePath));
|
|
1078
1073
|
}
|
|
1079
1074
|
/**
|
|
1080
|
-
* **
|
|
1081
|
-
* @summary
|
|
1082
|
-
* @param {
|
|
1075
|
+
* **Convenient utility** to get a structure\'s Chorus Pro ID from its SIRET. This wrapper function combines: 1. Searching for the structure by SIRET 2. Extracting the `id_structure_cpp` if a single structure is found **Returns**: - `id_structure_cpp`: Chorus Pro ID (0 if not found or multiple results) - `designation_structure`: Structure name (if found) - `message`: Explanatory message **Use cases**: - Shortcut to directly get the Chorus Pro ID before submitting an invoice - Simplified alternative to `search-structures` + manual ID extraction **Note**: If multiple structures match the SIRET (rare), returns 0 and an error message.
|
|
1076
|
+
* @summary Utility: Get Chorus Pro ID from SIRET
|
|
1077
|
+
* @param {GetChorusProIdRequest} getChorusProIdRequest
|
|
1083
1078
|
* @param {*} [options] Override http request option.
|
|
1084
1079
|
* @throws {RequiredError}
|
|
1085
1080
|
*/
|
|
1086
|
-
obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(
|
|
1087
|
-
return (0, exports.ChorusProApiFp)(this.configuration).obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(
|
|
1081
|
+
obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(getChorusProIdRequest, options) {
|
|
1082
|
+
return (0, exports.ChorusProApiFp)(this.configuration).obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(getChorusProIdRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1088
1083
|
}
|
|
1089
1084
|
/**
|
|
1090
|
-
*
|
|
1091
|
-
* @summary
|
|
1092
|
-
* @param {
|
|
1085
|
+
* Search invoices received by the connected recipient. **Filters**: - Downloaded / not downloaded - Reception dates - Status (MISE_A_DISPOSITION, SUSPENDUE, etc.) - Supplier **Useful indicator**: `factureTelechargeeParDestinataire` indicates whether the invoice has already been downloaded.
|
|
1086
|
+
* @summary Search received invoices (Recipient)
|
|
1087
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1093
1088
|
* @param {*} [options] Override http request option.
|
|
1094
1089
|
* @throws {RequiredError}
|
|
1095
1090
|
*/
|
|
1096
|
-
rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(
|
|
1097
|
-
return (0, exports.ChorusProApiFp)(this.configuration).rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(
|
|
1091
|
+
rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(requestBody, options) {
|
|
1092
|
+
return (0, exports.ChorusProApiFp)(this.configuration).rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1098
1093
|
}
|
|
1099
1094
|
/**
|
|
1100
|
-
*
|
|
1101
|
-
* @summary
|
|
1102
|
-
* @param {
|
|
1095
|
+
* Search invoices issued by the connected supplier. **Available filters**: - Invoice number - Dates (start/end) - Status - Recipient structure - Amount **Use cases**: - Track issued invoices - Verify statuses - Export for accounting
|
|
1096
|
+
* @summary Search issued invoices (Supplier)
|
|
1097
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1103
1098
|
* @param {*} [options] Override http request option.
|
|
1104
1099
|
* @throws {RequiredError}
|
|
1105
1100
|
*/
|
|
1106
|
-
rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(
|
|
1107
|
-
return (0, exports.ChorusProApiFp)(this.configuration).rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(
|
|
1101
|
+
rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(requestBody, options) {
|
|
1102
|
+
return (0, exports.ChorusProApiFp)(this.configuration).rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1108
1103
|
}
|
|
1109
1104
|
/**
|
|
1110
|
-
*
|
|
1111
|
-
* @summary
|
|
1112
|
-
* @param {
|
|
1105
|
+
* Search for structures (companies, administrations) registered on Chorus Pro. **Use cases**: - Find the Chorus Pro ID of a structure from its SIRET - Check if a structure is registered on Chorus Pro - List structures matching criteria **Available filters**: - Identifier (SIRET, SIREN, etc.) - Company name - Identifier type - Private structures only **Typical step**: Called before `submit-invoice` to get the recipient\'s `id_structure_cpp`.
|
|
1106
|
+
* @summary Search Chorus Pro structures
|
|
1107
|
+
* @param {SearchStructureRequest} searchStructureRequest
|
|
1113
1108
|
* @param {*} [options] Override http request option.
|
|
1114
1109
|
* @throws {RequiredError}
|
|
1115
1110
|
*/
|
|
1116
|
-
rechercherStructuresApiV1ChorusProStructuresRechercherPost(
|
|
1117
|
-
return (0, exports.ChorusProApiFp)(this.configuration).rechercherStructuresApiV1ChorusProStructuresRechercherPost(
|
|
1111
|
+
rechercherStructuresApiV1ChorusProStructuresRechercherPost(searchStructureRequest, options) {
|
|
1112
|
+
return (0, exports.ChorusProApiFp)(this.configuration).rechercherStructuresApiV1ChorusProStructuresRechercherPost(searchStructureRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1118
1113
|
}
|
|
1119
1114
|
/**
|
|
1120
|
-
* Recycle
|
|
1121
|
-
* @summary
|
|
1122
|
-
* @param {
|
|
1115
|
+
* Recycle an invoice with A_RECYCLER status by modifying routing data. **Required status**: A_RECYCLER **Modifiable fields**: - Recipient (`idStructureCPP`) - Service code - Engagement number **Use cases**: - Wrong recipient - Change of billing service - Update engagement number **Example payload**: ```json { \"identifiantFactureCPP\": 12345, \"idStructureCPP\": 67890, \"codeService\": \"SERVICE_01\", \"numeroEngagement\": \"ENG2024001\" } ``` **Note**: The invoice keeps its number and amounts, only routing fields change.
|
|
1116
|
+
* @summary Recycle an invoice (Supplier)
|
|
1117
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1123
1118
|
* @param {*} [options] Override http request option.
|
|
1124
1119
|
* @throws {RequiredError}
|
|
1125
1120
|
*/
|
|
1126
|
-
recyclerFactureApiV1ChorusProFacturesRecyclerPost(
|
|
1127
|
-
return (0, exports.ChorusProApiFp)(this.configuration).recyclerFactureApiV1ChorusProFacturesRecyclerPost(
|
|
1121
|
+
recyclerFactureApiV1ChorusProFacturesRecyclerPost(requestBody, options) {
|
|
1122
|
+
return (0, exports.ChorusProApiFp)(this.configuration).recyclerFactureApiV1ChorusProFacturesRecyclerPost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1128
1123
|
}
|
|
1129
1124
|
/**
|
|
1130
|
-
*
|
|
1131
|
-
* @summary
|
|
1132
|
-
* @param {
|
|
1125
|
+
* Submits an electronic invoice to a public structure via Chorus Pro. **Complete workflow**: 1. **Upload the Factur-X PDF** via `/transverses/ajouter-fichier` → retrieve `pieceJointeId` 2. **Get the structure ID** via `/structures/rechercher` or `/structures/obtenir-id-depuis-siret` 3. **Check mandatory parameters** via `/structures/consulter` 4. **Submit the invoice** with the `piece_jointe_principale_id` obtained in step 1 **Prerequisites**: 1. Have the recipient\'s `id_structure_cpp` (via `/structures/rechercher`) 2. Know the mandatory parameters (via `/structures/consulter`): - Service code if `code_service_doit_etre_renseigne=true` - Engagement number if `numero_ej_doit_etre_renseigne=true` 3. Have uploaded the Factur-X PDF (via `/transverses/ajouter-fichier`) **Expected format**: - `piece_jointe_principale_id`: ID returned by `/transverses/ajouter-fichier` - Amounts: Strings with 2 decimals (e.g., \"1250.50\") - Dates: ISO 8601 format (YYYY-MM-DD) **Returns**: - `identifiant_facture_cpp`: Chorus Pro ID of the created invoice - `numero_flux_depot`: Deposit tracking number **Possible statuses after submission**: - SOUMISE: Pending validation - VALIDEE: Validated by recipient - REJETEE: Rejected (data error or business refusal) - SUSPENDUE: Pending additional information **Note**: Use `/factures/consulter` to track status changes.
|
|
1126
|
+
* @summary Submit an invoice to Chorus Pro
|
|
1127
|
+
* @param {SubmitInvoiceRequest} submitInvoiceRequest
|
|
1133
1128
|
* @param {*} [options] Override http request option.
|
|
1134
1129
|
* @throws {RequiredError}
|
|
1135
1130
|
*/
|
|
1136
|
-
soumettreFactureApiV1ChorusProFacturesSoumettrePost(
|
|
1137
|
-
return (0, exports.ChorusProApiFp)(this.configuration).soumettreFactureApiV1ChorusProFacturesSoumettrePost(
|
|
1131
|
+
soumettreFactureApiV1ChorusProFacturesSoumettrePost(submitInvoiceRequest, options) {
|
|
1132
|
+
return (0, exports.ChorusProApiFp)(this.configuration).soumettreFactureApiV1ChorusProFacturesSoumettrePost(submitInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1138
1133
|
}
|
|
1139
1134
|
/**
|
|
1140
|
-
*
|
|
1141
|
-
* @summary
|
|
1142
|
-
* @param {
|
|
1135
|
+
* Download one or more invoices (max 10 recommended) with their attachments. **Available formats**: - PDF: PDF file only - XML: XML file only - ZIP: Archive containing PDF + XML + attachments **Maximum size**: 120 MB per download **Example payload**: ```json { \"listeIdentifiantsFactureCPP\": [12345, 12346], \"inclurePiecesJointes\": true, \"formatFichier\": \"ZIP\" } ``` **Returns**: The file is base64-encoded in the `fichierBase64` field. **Note**: The `factureTelechargeeParDestinataire` flag is automatically updated.
|
|
1136
|
+
* @summary Download a group of invoices
|
|
1137
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1143
1138
|
* @param {*} [options] Override http request option.
|
|
1144
1139
|
* @throws {RequiredError}
|
|
1145
1140
|
*/
|
|
1146
|
-
telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(
|
|
1147
|
-
return (0, exports.ChorusProApiFp)(this.configuration).telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(
|
|
1141
|
+
telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(requestBody, options) {
|
|
1142
|
+
return (0, exports.ChorusProApiFp)(this.configuration).telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1148
1143
|
}
|
|
1149
1144
|
/**
|
|
1150
|
-
* Change
|
|
1151
|
-
* @summary
|
|
1152
|
-
* @param {
|
|
1145
|
+
* Change the status of a received invoice. **Possible statuses**: - MISE_A_DISPOSITION: Invoice accepted - SUSPENDUE: Pending additional information (reason required) - REJETEE: Invoice refused (reason required) - MANDATEE: Invoice mandated - MISE_EN_PAIEMENT: Invoice being paid - COMPTABILISEE: Invoice accounted - MISE_A_DISPOSITION_COMPTABLE: Made available to accounting - A_RECYCLER: To be recycled - COMPLETEE: Completed - SERVICE-FAIT: Service rendered - PRISE_EN_COMPTE_DESTINATAIRE: Acknowledged - TRANSMISE_MOA: Transmitted to MOA **Example payload**: ```json { \"identifiantFactureCPP\": 12345, \"nouveauStatut\": \"REJETEE\", \"motifRejet\": \"Duplicate invoice\", \"commentaire\": \"Invoice already received under reference ABC123\" } ``` **Rules**: - A reason is **required** for SUSPENDUE and REJETEE - Only certain statuses are allowed depending on the invoice\'s current status
|
|
1146
|
+
* @summary Process a received invoice (Recipient)
|
|
1147
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1153
1148
|
* @param {*} [options] Override http request option.
|
|
1154
1149
|
* @throws {RequiredError}
|
|
1155
1150
|
*/
|
|
1156
|
-
traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(
|
|
1157
|
-
return (0, exports.ChorusProApiFp)(this.configuration).traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(
|
|
1151
|
+
traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(requestBody, options) {
|
|
1152
|
+
return (0, exports.ChorusProApiFp)(this.configuration).traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1158
1153
|
}
|
|
1159
1154
|
/**
|
|
1160
|
-
*
|
|
1161
|
-
* @summary
|
|
1162
|
-
* @param {
|
|
1155
|
+
*
|
|
1156
|
+
* @summary Consult an invoice (Validator)
|
|
1157
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1163
1158
|
* @param {*} [options] Override http request option.
|
|
1164
1159
|
* @throws {RequiredError}
|
|
1165
1160
|
*/
|
|
1166
|
-
valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(
|
|
1167
|
-
return (0, exports.ChorusProApiFp)(this.configuration).valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(
|
|
1161
|
+
valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(requestBody, options) {
|
|
1162
|
+
return (0, exports.ChorusProApiFp)(this.configuration).valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1168
1163
|
}
|
|
1169
1164
|
/**
|
|
1170
|
-
*
|
|
1171
|
-
* @summary
|
|
1172
|
-
* @param {
|
|
1165
|
+
* Search invoices pending validation by the connected validator. **Role**: Validator in the internal validation workflow. **Filters**: Dates, structure, service, etc.
|
|
1166
|
+
* @summary Search invoices to validate (Validator)
|
|
1167
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1173
1168
|
* @param {*} [options] Override http request option.
|
|
1174
1169
|
* @throws {RequiredError}
|
|
1175
1170
|
*/
|
|
1176
|
-
valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(
|
|
1177
|
-
return (0, exports.ChorusProApiFp)(this.configuration).valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(
|
|
1171
|
+
valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(requestBody, options) {
|
|
1172
|
+
return (0, exports.ChorusProApiFp)(this.configuration).valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1178
1173
|
}
|
|
1179
1174
|
/**
|
|
1180
|
-
*
|
|
1181
|
-
* @summary
|
|
1182
|
-
* @param {
|
|
1175
|
+
* Validate or reject an invoice pending validation. **Actions**: - Validate: The invoice moves to the next status in the workflow - Reject: The invoice is rejected (reason required)
|
|
1176
|
+
* @summary Validate or reject an invoice (Validator)
|
|
1177
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1183
1178
|
* @param {*} [options] Override http request option.
|
|
1184
1179
|
* @throws {RequiredError}
|
|
1185
1180
|
*/
|
|
1186
|
-
valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(
|
|
1187
|
-
return (0, exports.ChorusProApiFp)(this.configuration).valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(
|
|
1181
|
+
valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(requestBody, options) {
|
|
1182
|
+
return (0, exports.ChorusProApiFp)(this.configuration).valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1188
1183
|
}
|
|
1189
1184
|
}
|
|
1190
1185
|
exports.ChorusProApi = ChorusProApi;
|