@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
package/api/chorus-pro-api.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* FactPulse REST API
|
|
5
|
+
* 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/
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0.0
|
|
8
8
|
*
|
|
@@ -22,66 +22,44 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
24
|
// @ts-ignore
|
|
25
|
-
import type {
|
|
25
|
+
import type { GetChorusProIdRequest } from '../models';
|
|
26
26
|
// @ts-ignore
|
|
27
|
-
import type {
|
|
27
|
+
import type { GetChorusProIdResponse } from '../models';
|
|
28
28
|
// @ts-ignore
|
|
29
|
-
import type {
|
|
29
|
+
import type { GetInvoiceRequest } from '../models';
|
|
30
30
|
// @ts-ignore
|
|
31
|
-
import type {
|
|
31
|
+
import type { GetInvoiceResponse } from '../models';
|
|
32
32
|
// @ts-ignore
|
|
33
|
-
import type {
|
|
33
|
+
import type { GetStructureRequest } from '../models';
|
|
34
34
|
// @ts-ignore
|
|
35
|
-
import type {
|
|
36
|
-
// @ts-ignore
|
|
37
|
-
import type { BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost } from '../models';
|
|
38
|
-
// @ts-ignore
|
|
39
|
-
import type { BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost } from '../models';
|
|
40
|
-
// @ts-ignore
|
|
41
|
-
import type { BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost } from '../models';
|
|
42
|
-
// @ts-ignore
|
|
43
|
-
import type { BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost } from '../models';
|
|
44
|
-
// @ts-ignore
|
|
45
|
-
import type { BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost } from '../models';
|
|
46
|
-
// @ts-ignore
|
|
47
|
-
import type { ConsulterFactureRequest } from '../models';
|
|
48
|
-
// @ts-ignore
|
|
49
|
-
import type { ConsulterFactureResponse } from '../models';
|
|
50
|
-
// @ts-ignore
|
|
51
|
-
import type { ConsulterStructureRequest } from '../models';
|
|
52
|
-
// @ts-ignore
|
|
53
|
-
import type { ConsulterStructureResponse } from '../models';
|
|
35
|
+
import type { GetStructureResponse } from '../models';
|
|
54
36
|
// @ts-ignore
|
|
55
37
|
import type { HTTPValidationError } from '../models';
|
|
56
38
|
// @ts-ignore
|
|
57
|
-
import type {
|
|
39
|
+
import type { SearchServicesResponse } from '../models';
|
|
58
40
|
// @ts-ignore
|
|
59
|
-
import type {
|
|
41
|
+
import type { SearchStructureRequest } from '../models';
|
|
60
42
|
// @ts-ignore
|
|
61
|
-
import type {
|
|
43
|
+
import type { SearchStructureResponse } from '../models';
|
|
62
44
|
// @ts-ignore
|
|
63
|
-
import type {
|
|
45
|
+
import type { SubmitInvoiceRequest } from '../models';
|
|
64
46
|
// @ts-ignore
|
|
65
|
-
import type {
|
|
66
|
-
// @ts-ignore
|
|
67
|
-
import type { SoumettreFactureRequest } from '../models';
|
|
68
|
-
// @ts-ignore
|
|
69
|
-
import type { SoumettreFactureResponse } from '../models';
|
|
47
|
+
import type { SubmitInvoiceResponse } from '../models';
|
|
70
48
|
/**
|
|
71
49
|
* ChorusProApi - axios parameter creator
|
|
72
50
|
*/
|
|
73
51
|
export const ChorusProApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
74
52
|
return {
|
|
75
53
|
/**
|
|
76
|
-
*
|
|
77
|
-
* @summary
|
|
78
|
-
* @param {
|
|
54
|
+
* 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.
|
|
55
|
+
* @summary Add an attachment
|
|
56
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
79
57
|
* @param {*} [options] Override http request option.
|
|
80
58
|
* @throws {RequiredError}
|
|
81
59
|
*/
|
|
82
|
-
ajouterFichierApiV1ChorusProTransversesAjouterFichierPost: async (
|
|
83
|
-
// verify required parameter '
|
|
84
|
-
assertParamExists('ajouterFichierApiV1ChorusProTransversesAjouterFichierPost', '
|
|
60
|
+
ajouterFichierApiV1ChorusProTransversesAjouterFichierPost: async (requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
62
|
+
assertParamExists('ajouterFichierApiV1ChorusProTransversesAjouterFichierPost', 'requestBody', requestBody)
|
|
85
63
|
const localVarPath = `/api/v1/chorus-pro/transverses/ajouter-fichier`;
|
|
86
64
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
87
65
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -104,7 +82,7 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
104
82
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
105
83
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
106
84
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
107
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
85
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
108
86
|
|
|
109
87
|
return {
|
|
110
88
|
url: toPathString(localVarUrlObj),
|
|
@@ -112,15 +90,15 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
112
90
|
};
|
|
113
91
|
},
|
|
114
92
|
/**
|
|
115
|
-
*
|
|
116
|
-
* @summary
|
|
117
|
-
* @param {
|
|
93
|
+
* 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.
|
|
94
|
+
* @summary Complete a suspended invoice (Supplier)
|
|
95
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
118
96
|
* @param {*} [options] Override http request option.
|
|
119
97
|
* @throws {RequiredError}
|
|
120
98
|
*/
|
|
121
|
-
completerFactureApiV1ChorusProFacturesCompleterPost: async (
|
|
122
|
-
// verify required parameter '
|
|
123
|
-
assertParamExists('completerFactureApiV1ChorusProFacturesCompleterPost', '
|
|
99
|
+
completerFactureApiV1ChorusProFacturesCompleterPost: async (requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
100
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
101
|
+
assertParamExists('completerFactureApiV1ChorusProFacturesCompleterPost', 'requestBody', requestBody)
|
|
124
102
|
const localVarPath = `/api/v1/chorus-pro/factures/completer`;
|
|
125
103
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
126
104
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -143,7 +121,7 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
143
121
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
144
122
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
145
123
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
146
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
124
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
147
125
|
|
|
148
126
|
return {
|
|
149
127
|
url: toPathString(localVarUrlObj),
|
|
@@ -151,15 +129,15 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
151
129
|
};
|
|
152
130
|
},
|
|
153
131
|
/**
|
|
154
|
-
*
|
|
155
|
-
* @summary
|
|
156
|
-
* @param {
|
|
132
|
+
* 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.
|
|
133
|
+
* @summary Consult invoice status
|
|
134
|
+
* @param {GetInvoiceRequest} getInvoiceRequest
|
|
157
135
|
* @param {*} [options] Override http request option.
|
|
158
136
|
* @throws {RequiredError}
|
|
159
137
|
*/
|
|
160
|
-
consulterFactureApiV1ChorusProFacturesConsulterPost: async (
|
|
161
|
-
// verify required parameter '
|
|
162
|
-
assertParamExists('consulterFactureApiV1ChorusProFacturesConsulterPost', '
|
|
138
|
+
consulterFactureApiV1ChorusProFacturesConsulterPost: async (getInvoiceRequest: GetInvoiceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
139
|
+
// verify required parameter 'getInvoiceRequest' is not null or undefined
|
|
140
|
+
assertParamExists('consulterFactureApiV1ChorusProFacturesConsulterPost', 'getInvoiceRequest', getInvoiceRequest)
|
|
163
141
|
const localVarPath = `/api/v1/chorus-pro/factures/consulter`;
|
|
164
142
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
165
143
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -182,7 +160,7 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
182
160
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
183
161
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
184
162
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
185
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
163
|
+
localVarRequestOptions.data = serializeDataIfNeeded(getInvoiceRequest, localVarRequestOptions, configuration)
|
|
186
164
|
|
|
187
165
|
return {
|
|
188
166
|
url: toPathString(localVarUrlObj),
|
|
@@ -190,15 +168,15 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
190
168
|
};
|
|
191
169
|
},
|
|
192
170
|
/**
|
|
193
|
-
*
|
|
194
|
-
* @summary
|
|
195
|
-
* @param {
|
|
171
|
+
* 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.
|
|
172
|
+
* @summary Consult structure details
|
|
173
|
+
* @param {GetStructureRequest} getStructureRequest
|
|
196
174
|
* @param {*} [options] Override http request option.
|
|
197
175
|
* @throws {RequiredError}
|
|
198
176
|
*/
|
|
199
|
-
consulterStructureApiV1ChorusProStructuresConsulterPost: async (
|
|
200
|
-
// verify required parameter '
|
|
201
|
-
assertParamExists('consulterStructureApiV1ChorusProStructuresConsulterPost', '
|
|
177
|
+
consulterStructureApiV1ChorusProStructuresConsulterPost: async (getStructureRequest: GetStructureRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
178
|
+
// verify required parameter 'getStructureRequest' is not null or undefined
|
|
179
|
+
assertParamExists('consulterStructureApiV1ChorusProStructuresConsulterPost', 'getStructureRequest', getStructureRequest)
|
|
202
180
|
const localVarPath = `/api/v1/chorus-pro/structures/consulter`;
|
|
203
181
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
204
182
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -221,7 +199,7 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
221
199
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
222
200
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
223
201
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
224
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
202
|
+
localVarRequestOptions.data = serializeDataIfNeeded(getStructureRequest, localVarRequestOptions, configuration)
|
|
225
203
|
|
|
226
204
|
return {
|
|
227
205
|
url: toPathString(localVarUrlObj),
|
|
@@ -229,18 +207,15 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
229
207
|
};
|
|
230
208
|
},
|
|
231
209
|
/**
|
|
232
|
-
*
|
|
233
|
-
* @summary
|
|
210
|
+
* 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)
|
|
211
|
+
* @summary List structure services
|
|
234
212
|
* @param {number} idStructureCpp
|
|
235
|
-
* @param {BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet} bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet
|
|
236
213
|
* @param {*} [options] Override http request option.
|
|
237
214
|
* @throws {RequiredError}
|
|
238
215
|
*/
|
|
239
|
-
listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet: async (idStructureCpp: number,
|
|
216
|
+
listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet: async (idStructureCpp: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
240
217
|
// verify required parameter 'idStructureCpp' is not null or undefined
|
|
241
218
|
assertParamExists('listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet', 'idStructureCpp', idStructureCpp)
|
|
242
|
-
// verify required parameter 'bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet' is not null or undefined
|
|
243
|
-
assertParamExists('listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet', 'bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet', bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet)
|
|
244
219
|
const localVarPath = `/api/v1/chorus-pro/structures/{id_structure_cpp}/services`
|
|
245
220
|
.replace(`{${"id_structure_cpp"}}`, encodeURIComponent(String(idStructureCpp)));
|
|
246
221
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -258,13 +233,11 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
258
233
|
// http bearer authentication required
|
|
259
234
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
260
235
|
|
|
261
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
262
236
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
263
237
|
|
|
264
238
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
265
239
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
266
240
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
267
|
-
localVarRequestOptions.data = serializeDataIfNeeded(bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet, localVarRequestOptions, configuration)
|
|
268
241
|
|
|
269
242
|
return {
|
|
270
243
|
url: toPathString(localVarUrlObj),
|
|
@@ -272,15 +245,15 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
272
245
|
};
|
|
273
246
|
},
|
|
274
247
|
/**
|
|
275
|
-
* **
|
|
276
|
-
* @summary
|
|
277
|
-
* @param {
|
|
248
|
+
* **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.
|
|
249
|
+
* @summary Utility: Get Chorus Pro ID from SIRET
|
|
250
|
+
* @param {GetChorusProIdRequest} getChorusProIdRequest
|
|
278
251
|
* @param {*} [options] Override http request option.
|
|
279
252
|
* @throws {RequiredError}
|
|
280
253
|
*/
|
|
281
|
-
obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost: async (
|
|
282
|
-
// verify required parameter '
|
|
283
|
-
assertParamExists('obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost', '
|
|
254
|
+
obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost: async (getChorusProIdRequest: GetChorusProIdRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
255
|
+
// verify required parameter 'getChorusProIdRequest' is not null or undefined
|
|
256
|
+
assertParamExists('obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost', 'getChorusProIdRequest', getChorusProIdRequest)
|
|
284
257
|
const localVarPath = `/api/v1/chorus-pro/structures/obtenir-id-depuis-siret`;
|
|
285
258
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
286
259
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -303,7 +276,7 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
303
276
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
304
277
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
305
278
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
306
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
279
|
+
localVarRequestOptions.data = serializeDataIfNeeded(getChorusProIdRequest, localVarRequestOptions, configuration)
|
|
307
280
|
|
|
308
281
|
return {
|
|
309
282
|
url: toPathString(localVarUrlObj),
|
|
@@ -311,15 +284,15 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
311
284
|
};
|
|
312
285
|
},
|
|
313
286
|
/**
|
|
314
|
-
*
|
|
315
|
-
* @summary
|
|
316
|
-
* @param {
|
|
287
|
+
* 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.
|
|
288
|
+
* @summary Search received invoices (Recipient)
|
|
289
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
317
290
|
* @param {*} [options] Override http request option.
|
|
318
291
|
* @throws {RequiredError}
|
|
319
292
|
*/
|
|
320
|
-
rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost: async (
|
|
321
|
-
// verify required parameter '
|
|
322
|
-
assertParamExists('rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost', '
|
|
293
|
+
rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost: async (requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
294
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
295
|
+
assertParamExists('rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost', 'requestBody', requestBody)
|
|
323
296
|
const localVarPath = `/api/v1/chorus-pro/factures/rechercher-destinataire`;
|
|
324
297
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
325
298
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -342,7 +315,7 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
342
315
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
343
316
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
344
317
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
345
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
318
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
346
319
|
|
|
347
320
|
return {
|
|
348
321
|
url: toPathString(localVarUrlObj),
|
|
@@ -350,15 +323,15 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
350
323
|
};
|
|
351
324
|
},
|
|
352
325
|
/**
|
|
353
|
-
*
|
|
354
|
-
* @summary
|
|
355
|
-
* @param {
|
|
326
|
+
* 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
|
|
327
|
+
* @summary Search issued invoices (Supplier)
|
|
328
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
356
329
|
* @param {*} [options] Override http request option.
|
|
357
330
|
* @throws {RequiredError}
|
|
358
331
|
*/
|
|
359
|
-
rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost: async (
|
|
360
|
-
// verify required parameter '
|
|
361
|
-
assertParamExists('rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost', '
|
|
332
|
+
rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost: async (requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
333
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
334
|
+
assertParamExists('rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost', 'requestBody', requestBody)
|
|
362
335
|
const localVarPath = `/api/v1/chorus-pro/factures/rechercher-fournisseur`;
|
|
363
336
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
364
337
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -381,7 +354,7 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
381
354
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
382
355
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
383
356
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
384
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
357
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
385
358
|
|
|
386
359
|
return {
|
|
387
360
|
url: toPathString(localVarUrlObj),
|
|
@@ -389,15 +362,15 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
389
362
|
};
|
|
390
363
|
},
|
|
391
364
|
/**
|
|
392
|
-
*
|
|
393
|
-
* @summary
|
|
394
|
-
* @param {
|
|
365
|
+
* 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`.
|
|
366
|
+
* @summary Search Chorus Pro structures
|
|
367
|
+
* @param {SearchStructureRequest} searchStructureRequest
|
|
395
368
|
* @param {*} [options] Override http request option.
|
|
396
369
|
* @throws {RequiredError}
|
|
397
370
|
*/
|
|
398
|
-
rechercherStructuresApiV1ChorusProStructuresRechercherPost: async (
|
|
399
|
-
// verify required parameter '
|
|
400
|
-
assertParamExists('rechercherStructuresApiV1ChorusProStructuresRechercherPost', '
|
|
371
|
+
rechercherStructuresApiV1ChorusProStructuresRechercherPost: async (searchStructureRequest: SearchStructureRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
372
|
+
// verify required parameter 'searchStructureRequest' is not null or undefined
|
|
373
|
+
assertParamExists('rechercherStructuresApiV1ChorusProStructuresRechercherPost', 'searchStructureRequest', searchStructureRequest)
|
|
401
374
|
const localVarPath = `/api/v1/chorus-pro/structures/rechercher`;
|
|
402
375
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
403
376
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -420,7 +393,7 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
420
393
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
421
394
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
422
395
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
423
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
396
|
+
localVarRequestOptions.data = serializeDataIfNeeded(searchStructureRequest, localVarRequestOptions, configuration)
|
|
424
397
|
|
|
425
398
|
return {
|
|
426
399
|
url: toPathString(localVarUrlObj),
|
|
@@ -428,15 +401,15 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
428
401
|
};
|
|
429
402
|
},
|
|
430
403
|
/**
|
|
431
|
-
* Recycle
|
|
432
|
-
* @summary
|
|
433
|
-
* @param {
|
|
404
|
+
* 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.
|
|
405
|
+
* @summary Recycle an invoice (Supplier)
|
|
406
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
434
407
|
* @param {*} [options] Override http request option.
|
|
435
408
|
* @throws {RequiredError}
|
|
436
409
|
*/
|
|
437
|
-
recyclerFactureApiV1ChorusProFacturesRecyclerPost: async (
|
|
438
|
-
// verify required parameter '
|
|
439
|
-
assertParamExists('recyclerFactureApiV1ChorusProFacturesRecyclerPost', '
|
|
410
|
+
recyclerFactureApiV1ChorusProFacturesRecyclerPost: async (requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
411
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
412
|
+
assertParamExists('recyclerFactureApiV1ChorusProFacturesRecyclerPost', 'requestBody', requestBody)
|
|
440
413
|
const localVarPath = `/api/v1/chorus-pro/factures/recycler`;
|
|
441
414
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
442
415
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -459,7 +432,7 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
459
432
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
460
433
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
461
434
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
462
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
435
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
463
436
|
|
|
464
437
|
return {
|
|
465
438
|
url: toPathString(localVarUrlObj),
|
|
@@ -467,15 +440,15 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
467
440
|
};
|
|
468
441
|
},
|
|
469
442
|
/**
|
|
470
|
-
*
|
|
471
|
-
* @summary
|
|
472
|
-
* @param {
|
|
443
|
+
* 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.
|
|
444
|
+
* @summary Submit an invoice to Chorus Pro
|
|
445
|
+
* @param {SubmitInvoiceRequest} submitInvoiceRequest
|
|
473
446
|
* @param {*} [options] Override http request option.
|
|
474
447
|
* @throws {RequiredError}
|
|
475
448
|
*/
|
|
476
|
-
soumettreFactureApiV1ChorusProFacturesSoumettrePost: async (
|
|
477
|
-
// verify required parameter '
|
|
478
|
-
assertParamExists('soumettreFactureApiV1ChorusProFacturesSoumettrePost', '
|
|
449
|
+
soumettreFactureApiV1ChorusProFacturesSoumettrePost: async (submitInvoiceRequest: SubmitInvoiceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
450
|
+
// verify required parameter 'submitInvoiceRequest' is not null or undefined
|
|
451
|
+
assertParamExists('soumettreFactureApiV1ChorusProFacturesSoumettrePost', 'submitInvoiceRequest', submitInvoiceRequest)
|
|
479
452
|
const localVarPath = `/api/v1/chorus-pro/factures/soumettre`;
|
|
480
453
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
481
454
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -498,7 +471,7 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
498
471
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
499
472
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
500
473
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
501
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
474
|
+
localVarRequestOptions.data = serializeDataIfNeeded(submitInvoiceRequest, localVarRequestOptions, configuration)
|
|
502
475
|
|
|
503
476
|
return {
|
|
504
477
|
url: toPathString(localVarUrlObj),
|
|
@@ -506,15 +479,15 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
506
479
|
};
|
|
507
480
|
},
|
|
508
481
|
/**
|
|
509
|
-
*
|
|
510
|
-
* @summary
|
|
511
|
-
* @param {
|
|
482
|
+
* 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.
|
|
483
|
+
* @summary Download a group of invoices
|
|
484
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
512
485
|
* @param {*} [options] Override http request option.
|
|
513
486
|
* @throws {RequiredError}
|
|
514
487
|
*/
|
|
515
|
-
telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost: async (
|
|
516
|
-
// verify required parameter '
|
|
517
|
-
assertParamExists('telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost', '
|
|
488
|
+
telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost: async (requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
489
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
490
|
+
assertParamExists('telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost', 'requestBody', requestBody)
|
|
518
491
|
const localVarPath = `/api/v1/chorus-pro/factures/telecharger-groupe`;
|
|
519
492
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
520
493
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -537,7 +510,7 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
537
510
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
538
511
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
539
512
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
540
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
513
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
541
514
|
|
|
542
515
|
return {
|
|
543
516
|
url: toPathString(localVarUrlObj),
|
|
@@ -545,15 +518,15 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
545
518
|
};
|
|
546
519
|
},
|
|
547
520
|
/**
|
|
548
|
-
* Change
|
|
549
|
-
* @summary
|
|
550
|
-
* @param {
|
|
521
|
+
* 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
|
|
522
|
+
* @summary Process a received invoice (Recipient)
|
|
523
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
551
524
|
* @param {*} [options] Override http request option.
|
|
552
525
|
* @throws {RequiredError}
|
|
553
526
|
*/
|
|
554
|
-
traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost: async (
|
|
555
|
-
// verify required parameter '
|
|
556
|
-
assertParamExists('traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost', '
|
|
527
|
+
traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost: async (requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
528
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
529
|
+
assertParamExists('traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost', 'requestBody', requestBody)
|
|
557
530
|
const localVarPath = `/api/v1/chorus-pro/factures/traiter-facture-recue`;
|
|
558
531
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
559
532
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -576,7 +549,7 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
576
549
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
577
550
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
578
551
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
579
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
552
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
580
553
|
|
|
581
554
|
return {
|
|
582
555
|
url: toPathString(localVarUrlObj),
|
|
@@ -584,15 +557,15 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
584
557
|
};
|
|
585
558
|
},
|
|
586
559
|
/**
|
|
587
|
-
*
|
|
588
|
-
* @summary
|
|
589
|
-
* @param {
|
|
560
|
+
*
|
|
561
|
+
* @summary Consult an invoice (Validator)
|
|
562
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
590
563
|
* @param {*} [options] Override http request option.
|
|
591
564
|
* @throws {RequiredError}
|
|
592
565
|
*/
|
|
593
|
-
valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost: async (
|
|
594
|
-
// verify required parameter '
|
|
595
|
-
assertParamExists('valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost', '
|
|
566
|
+
valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost: async (requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
567
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
568
|
+
assertParamExists('valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost', 'requestBody', requestBody)
|
|
596
569
|
const localVarPath = `/api/v1/chorus-pro/factures/valideur/consulter`;
|
|
597
570
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
598
571
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -615,7 +588,7 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
615
588
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
616
589
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
617
590
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
618
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
591
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
619
592
|
|
|
620
593
|
return {
|
|
621
594
|
url: toPathString(localVarUrlObj),
|
|
@@ -623,15 +596,15 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
623
596
|
};
|
|
624
597
|
},
|
|
625
598
|
/**
|
|
626
|
-
*
|
|
627
|
-
* @summary
|
|
628
|
-
* @param {
|
|
599
|
+
* Search invoices pending validation by the connected validator. **Role**: Validator in the internal validation workflow. **Filters**: Dates, structure, service, etc.
|
|
600
|
+
* @summary Search invoices to validate (Validator)
|
|
601
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
629
602
|
* @param {*} [options] Override http request option.
|
|
630
603
|
* @throws {RequiredError}
|
|
631
604
|
*/
|
|
632
|
-
valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost: async (
|
|
633
|
-
// verify required parameter '
|
|
634
|
-
assertParamExists('valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost', '
|
|
605
|
+
valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost: async (requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
606
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
607
|
+
assertParamExists('valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost', 'requestBody', requestBody)
|
|
635
608
|
const localVarPath = `/api/v1/chorus-pro/factures/valideur/rechercher`;
|
|
636
609
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
637
610
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -654,7 +627,7 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
654
627
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
655
628
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
656
629
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
657
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
630
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
658
631
|
|
|
659
632
|
return {
|
|
660
633
|
url: toPathString(localVarUrlObj),
|
|
@@ -662,15 +635,15 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
662
635
|
};
|
|
663
636
|
},
|
|
664
637
|
/**
|
|
665
|
-
*
|
|
666
|
-
* @summary
|
|
667
|
-
* @param {
|
|
638
|
+
* 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)
|
|
639
|
+
* @summary Validate or reject an invoice (Validator)
|
|
640
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
668
641
|
* @param {*} [options] Override http request option.
|
|
669
642
|
* @throws {RequiredError}
|
|
670
643
|
*/
|
|
671
|
-
valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost: async (
|
|
672
|
-
// verify required parameter '
|
|
673
|
-
assertParamExists('valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost', '
|
|
644
|
+
valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost: async (requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
645
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
646
|
+
assertParamExists('valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost', 'requestBody', requestBody)
|
|
674
647
|
const localVarPath = `/api/v1/chorus-pro/factures/valideur/traiter`;
|
|
675
648
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
676
649
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -693,7 +666,7 @@ export const ChorusProApiAxiosParamCreator = function (configuration?: Configura
|
|
|
693
666
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
694
667
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
695
668
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
696
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
669
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
697
670
|
|
|
698
671
|
return {
|
|
699
672
|
url: toPathString(localVarUrlObj),
|
|
@@ -710,210 +683,209 @@ export const ChorusProApiFp = function(configuration?: Configuration) {
|
|
|
710
683
|
const localVarAxiosParamCreator = ChorusProApiAxiosParamCreator(configuration)
|
|
711
684
|
return {
|
|
712
685
|
/**
|
|
713
|
-
*
|
|
714
|
-
* @summary
|
|
715
|
-
* @param {
|
|
686
|
+
* 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.
|
|
687
|
+
* @summary Add an attachment
|
|
688
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
716
689
|
* @param {*} [options] Override http request option.
|
|
717
690
|
* @throws {RequiredError}
|
|
718
691
|
*/
|
|
719
|
-
async ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(
|
|
720
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(
|
|
692
|
+
async ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
693
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(requestBody, options);
|
|
721
694
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
722
695
|
const localVarOperationServerBasePath = operationServerMap['ChorusProApi.ajouterFichierApiV1ChorusProTransversesAjouterFichierPost']?.[localVarOperationServerIndex]?.url;
|
|
723
696
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
724
697
|
},
|
|
725
698
|
/**
|
|
726
|
-
*
|
|
727
|
-
* @summary
|
|
728
|
-
* @param {
|
|
699
|
+
* 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.
|
|
700
|
+
* @summary Complete a suspended invoice (Supplier)
|
|
701
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
729
702
|
* @param {*} [options] Override http request option.
|
|
730
703
|
* @throws {RequiredError}
|
|
731
704
|
*/
|
|
732
|
-
async completerFactureApiV1ChorusProFacturesCompleterPost(
|
|
733
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.completerFactureApiV1ChorusProFacturesCompleterPost(
|
|
705
|
+
async completerFactureApiV1ChorusProFacturesCompleterPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
706
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.completerFactureApiV1ChorusProFacturesCompleterPost(requestBody, options);
|
|
734
707
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
735
708
|
const localVarOperationServerBasePath = operationServerMap['ChorusProApi.completerFactureApiV1ChorusProFacturesCompleterPost']?.[localVarOperationServerIndex]?.url;
|
|
736
709
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
737
710
|
},
|
|
738
711
|
/**
|
|
739
|
-
*
|
|
740
|
-
* @summary
|
|
741
|
-
* @param {
|
|
712
|
+
* 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.
|
|
713
|
+
* @summary Consult invoice status
|
|
714
|
+
* @param {GetInvoiceRequest} getInvoiceRequest
|
|
742
715
|
* @param {*} [options] Override http request option.
|
|
743
716
|
* @throws {RequiredError}
|
|
744
717
|
*/
|
|
745
|
-
async consulterFactureApiV1ChorusProFacturesConsulterPost(
|
|
746
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.consulterFactureApiV1ChorusProFacturesConsulterPost(
|
|
718
|
+
async consulterFactureApiV1ChorusProFacturesConsulterPost(getInvoiceRequest: GetInvoiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoiceResponse>> {
|
|
719
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.consulterFactureApiV1ChorusProFacturesConsulterPost(getInvoiceRequest, options);
|
|
747
720
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
748
721
|
const localVarOperationServerBasePath = operationServerMap['ChorusProApi.consulterFactureApiV1ChorusProFacturesConsulterPost']?.[localVarOperationServerIndex]?.url;
|
|
749
722
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
750
723
|
},
|
|
751
724
|
/**
|
|
752
|
-
*
|
|
753
|
-
* @summary
|
|
754
|
-
* @param {
|
|
725
|
+
* 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.
|
|
726
|
+
* @summary Consult structure details
|
|
727
|
+
* @param {GetStructureRequest} getStructureRequest
|
|
755
728
|
* @param {*} [options] Override http request option.
|
|
756
729
|
* @throws {RequiredError}
|
|
757
730
|
*/
|
|
758
|
-
async consulterStructureApiV1ChorusProStructuresConsulterPost(
|
|
759
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.consulterStructureApiV1ChorusProStructuresConsulterPost(
|
|
731
|
+
async consulterStructureApiV1ChorusProStructuresConsulterPost(getStructureRequest: GetStructureRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStructureResponse>> {
|
|
732
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.consulterStructureApiV1ChorusProStructuresConsulterPost(getStructureRequest, options);
|
|
760
733
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
761
734
|
const localVarOperationServerBasePath = operationServerMap['ChorusProApi.consulterStructureApiV1ChorusProStructuresConsulterPost']?.[localVarOperationServerIndex]?.url;
|
|
762
735
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
763
736
|
},
|
|
764
737
|
/**
|
|
765
|
-
*
|
|
766
|
-
* @summary
|
|
738
|
+
* 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)
|
|
739
|
+
* @summary List structure services
|
|
767
740
|
* @param {number} idStructureCpp
|
|
768
|
-
* @param {BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet} bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet
|
|
769
741
|
* @param {*} [options] Override http request option.
|
|
770
742
|
* @throws {RequiredError}
|
|
771
743
|
*/
|
|
772
|
-
async listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp: number,
|
|
773
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp,
|
|
744
|
+
async listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchServicesResponse>> {
|
|
745
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp, options);
|
|
774
746
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
775
747
|
const localVarOperationServerBasePath = operationServerMap['ChorusProApi.listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet']?.[localVarOperationServerIndex]?.url;
|
|
776
748
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
777
749
|
},
|
|
778
750
|
/**
|
|
779
|
-
* **
|
|
780
|
-
* @summary
|
|
781
|
-
* @param {
|
|
751
|
+
* **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.
|
|
752
|
+
* @summary Utility: Get Chorus Pro ID from SIRET
|
|
753
|
+
* @param {GetChorusProIdRequest} getChorusProIdRequest
|
|
782
754
|
* @param {*} [options] Override http request option.
|
|
783
755
|
* @throws {RequiredError}
|
|
784
756
|
*/
|
|
785
|
-
async obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(
|
|
786
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(
|
|
757
|
+
async obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(getChorusProIdRequest: GetChorusProIdRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetChorusProIdResponse>> {
|
|
758
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(getChorusProIdRequest, options);
|
|
787
759
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
788
760
|
const localVarOperationServerBasePath = operationServerMap['ChorusProApi.obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost']?.[localVarOperationServerIndex]?.url;
|
|
789
761
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
790
762
|
},
|
|
791
763
|
/**
|
|
792
|
-
*
|
|
793
|
-
* @summary
|
|
794
|
-
* @param {
|
|
764
|
+
* 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.
|
|
765
|
+
* @summary Search received invoices (Recipient)
|
|
766
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
795
767
|
* @param {*} [options] Override http request option.
|
|
796
768
|
* @throws {RequiredError}
|
|
797
769
|
*/
|
|
798
|
-
async rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(
|
|
799
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(
|
|
770
|
+
async rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
771
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(requestBody, options);
|
|
800
772
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
801
773
|
const localVarOperationServerBasePath = operationServerMap['ChorusProApi.rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost']?.[localVarOperationServerIndex]?.url;
|
|
802
774
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
803
775
|
},
|
|
804
776
|
/**
|
|
805
|
-
*
|
|
806
|
-
* @summary
|
|
807
|
-
* @param {
|
|
777
|
+
* 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
|
|
778
|
+
* @summary Search issued invoices (Supplier)
|
|
779
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
808
780
|
* @param {*} [options] Override http request option.
|
|
809
781
|
* @throws {RequiredError}
|
|
810
782
|
*/
|
|
811
|
-
async rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(
|
|
812
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(
|
|
783
|
+
async rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
784
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(requestBody, options);
|
|
813
785
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
814
786
|
const localVarOperationServerBasePath = operationServerMap['ChorusProApi.rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost']?.[localVarOperationServerIndex]?.url;
|
|
815
787
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
816
788
|
},
|
|
817
789
|
/**
|
|
818
|
-
*
|
|
819
|
-
* @summary
|
|
820
|
-
* @param {
|
|
790
|
+
* 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`.
|
|
791
|
+
* @summary Search Chorus Pro structures
|
|
792
|
+
* @param {SearchStructureRequest} searchStructureRequest
|
|
821
793
|
* @param {*} [options] Override http request option.
|
|
822
794
|
* @throws {RequiredError}
|
|
823
795
|
*/
|
|
824
|
-
async rechercherStructuresApiV1ChorusProStructuresRechercherPost(
|
|
825
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.rechercherStructuresApiV1ChorusProStructuresRechercherPost(
|
|
796
|
+
async rechercherStructuresApiV1ChorusProStructuresRechercherPost(searchStructureRequest: SearchStructureRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchStructureResponse>> {
|
|
797
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rechercherStructuresApiV1ChorusProStructuresRechercherPost(searchStructureRequest, options);
|
|
826
798
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
827
799
|
const localVarOperationServerBasePath = operationServerMap['ChorusProApi.rechercherStructuresApiV1ChorusProStructuresRechercherPost']?.[localVarOperationServerIndex]?.url;
|
|
828
800
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
829
801
|
},
|
|
830
802
|
/**
|
|
831
|
-
* Recycle
|
|
832
|
-
* @summary
|
|
833
|
-
* @param {
|
|
803
|
+
* 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.
|
|
804
|
+
* @summary Recycle an invoice (Supplier)
|
|
805
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
834
806
|
* @param {*} [options] Override http request option.
|
|
835
807
|
* @throws {RequiredError}
|
|
836
808
|
*/
|
|
837
|
-
async recyclerFactureApiV1ChorusProFacturesRecyclerPost(
|
|
838
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.recyclerFactureApiV1ChorusProFacturesRecyclerPost(
|
|
809
|
+
async recyclerFactureApiV1ChorusProFacturesRecyclerPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
810
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.recyclerFactureApiV1ChorusProFacturesRecyclerPost(requestBody, options);
|
|
839
811
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
840
812
|
const localVarOperationServerBasePath = operationServerMap['ChorusProApi.recyclerFactureApiV1ChorusProFacturesRecyclerPost']?.[localVarOperationServerIndex]?.url;
|
|
841
813
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
842
814
|
},
|
|
843
815
|
/**
|
|
844
|
-
*
|
|
845
|
-
* @summary
|
|
846
|
-
* @param {
|
|
816
|
+
* 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.
|
|
817
|
+
* @summary Submit an invoice to Chorus Pro
|
|
818
|
+
* @param {SubmitInvoiceRequest} submitInvoiceRequest
|
|
847
819
|
* @param {*} [options] Override http request option.
|
|
848
820
|
* @throws {RequiredError}
|
|
849
821
|
*/
|
|
850
|
-
async soumettreFactureApiV1ChorusProFacturesSoumettrePost(
|
|
851
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.soumettreFactureApiV1ChorusProFacturesSoumettrePost(
|
|
822
|
+
async soumettreFactureApiV1ChorusProFacturesSoumettrePost(submitInvoiceRequest: SubmitInvoiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubmitInvoiceResponse>> {
|
|
823
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.soumettreFactureApiV1ChorusProFacturesSoumettrePost(submitInvoiceRequest, options);
|
|
852
824
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
853
825
|
const localVarOperationServerBasePath = operationServerMap['ChorusProApi.soumettreFactureApiV1ChorusProFacturesSoumettrePost']?.[localVarOperationServerIndex]?.url;
|
|
854
826
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
855
827
|
},
|
|
856
828
|
/**
|
|
857
|
-
*
|
|
858
|
-
* @summary
|
|
859
|
-
* @param {
|
|
829
|
+
* 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.
|
|
830
|
+
* @summary Download a group of invoices
|
|
831
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
860
832
|
* @param {*} [options] Override http request option.
|
|
861
833
|
* @throws {RequiredError}
|
|
862
834
|
*/
|
|
863
|
-
async telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(
|
|
864
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(
|
|
835
|
+
async telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
836
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(requestBody, options);
|
|
865
837
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
866
838
|
const localVarOperationServerBasePath = operationServerMap['ChorusProApi.telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost']?.[localVarOperationServerIndex]?.url;
|
|
867
839
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
868
840
|
},
|
|
869
841
|
/**
|
|
870
|
-
* Change
|
|
871
|
-
* @summary
|
|
872
|
-
* @param {
|
|
842
|
+
* 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
|
|
843
|
+
* @summary Process a received invoice (Recipient)
|
|
844
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
873
845
|
* @param {*} [options] Override http request option.
|
|
874
846
|
* @throws {RequiredError}
|
|
875
847
|
*/
|
|
876
|
-
async traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(
|
|
877
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(
|
|
848
|
+
async traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
849
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(requestBody, options);
|
|
878
850
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
879
851
|
const localVarOperationServerBasePath = operationServerMap['ChorusProApi.traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost']?.[localVarOperationServerIndex]?.url;
|
|
880
852
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
881
853
|
},
|
|
882
854
|
/**
|
|
883
|
-
*
|
|
884
|
-
* @summary
|
|
885
|
-
* @param {
|
|
855
|
+
*
|
|
856
|
+
* @summary Consult an invoice (Validator)
|
|
857
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
886
858
|
* @param {*} [options] Override http request option.
|
|
887
859
|
* @throws {RequiredError}
|
|
888
860
|
*/
|
|
889
|
-
async valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(
|
|
890
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(
|
|
861
|
+
async valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
862
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(requestBody, options);
|
|
891
863
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
892
864
|
const localVarOperationServerBasePath = operationServerMap['ChorusProApi.valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost']?.[localVarOperationServerIndex]?.url;
|
|
893
865
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
894
866
|
},
|
|
895
867
|
/**
|
|
896
|
-
*
|
|
897
|
-
* @summary
|
|
898
|
-
* @param {
|
|
868
|
+
* Search invoices pending validation by the connected validator. **Role**: Validator in the internal validation workflow. **Filters**: Dates, structure, service, etc.
|
|
869
|
+
* @summary Search invoices to validate (Validator)
|
|
870
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
899
871
|
* @param {*} [options] Override http request option.
|
|
900
872
|
* @throws {RequiredError}
|
|
901
873
|
*/
|
|
902
|
-
async valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(
|
|
903
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(
|
|
874
|
+
async valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
875
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(requestBody, options);
|
|
904
876
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
905
877
|
const localVarOperationServerBasePath = operationServerMap['ChorusProApi.valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost']?.[localVarOperationServerIndex]?.url;
|
|
906
878
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
907
879
|
},
|
|
908
880
|
/**
|
|
909
|
-
*
|
|
910
|
-
* @summary
|
|
911
|
-
* @param {
|
|
881
|
+
* 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)
|
|
882
|
+
* @summary Validate or reject an invoice (Validator)
|
|
883
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
912
884
|
* @param {*} [options] Override http request option.
|
|
913
885
|
* @throws {RequiredError}
|
|
914
886
|
*/
|
|
915
|
-
async valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(
|
|
916
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(
|
|
887
|
+
async valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
888
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(requestBody, options);
|
|
917
889
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
918
890
|
const localVarOperationServerBasePath = operationServerMap['ChorusProApi.valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost']?.[localVarOperationServerIndex]?.url;
|
|
919
891
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -928,165 +900,164 @@ export const ChorusProApiFactory = function (configuration?: Configuration, base
|
|
|
928
900
|
const localVarFp = ChorusProApiFp(configuration)
|
|
929
901
|
return {
|
|
930
902
|
/**
|
|
931
|
-
*
|
|
932
|
-
* @summary
|
|
933
|
-
* @param {
|
|
903
|
+
* 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.
|
|
904
|
+
* @summary Add an attachment
|
|
905
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
934
906
|
* @param {*} [options] Override http request option.
|
|
935
907
|
* @throws {RequiredError}
|
|
936
908
|
*/
|
|
937
|
-
ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(
|
|
938
|
-
return localVarFp.ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(
|
|
909
|
+
ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): AxiosPromise<any> {
|
|
910
|
+
return localVarFp.ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(requestBody, options).then((request) => request(axios, basePath));
|
|
939
911
|
},
|
|
940
912
|
/**
|
|
941
|
-
*
|
|
942
|
-
* @summary
|
|
943
|
-
* @param {
|
|
913
|
+
* 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.
|
|
914
|
+
* @summary Complete a suspended invoice (Supplier)
|
|
915
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
944
916
|
* @param {*} [options] Override http request option.
|
|
945
917
|
* @throws {RequiredError}
|
|
946
918
|
*/
|
|
947
|
-
completerFactureApiV1ChorusProFacturesCompleterPost(
|
|
948
|
-
return localVarFp.completerFactureApiV1ChorusProFacturesCompleterPost(
|
|
919
|
+
completerFactureApiV1ChorusProFacturesCompleterPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): AxiosPromise<any> {
|
|
920
|
+
return localVarFp.completerFactureApiV1ChorusProFacturesCompleterPost(requestBody, options).then((request) => request(axios, basePath));
|
|
949
921
|
},
|
|
950
922
|
/**
|
|
951
|
-
*
|
|
952
|
-
* @summary
|
|
953
|
-
* @param {
|
|
923
|
+
* 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.
|
|
924
|
+
* @summary Consult invoice status
|
|
925
|
+
* @param {GetInvoiceRequest} getInvoiceRequest
|
|
954
926
|
* @param {*} [options] Override http request option.
|
|
955
927
|
* @throws {RequiredError}
|
|
956
928
|
*/
|
|
957
|
-
consulterFactureApiV1ChorusProFacturesConsulterPost(
|
|
958
|
-
return localVarFp.consulterFactureApiV1ChorusProFacturesConsulterPost(
|
|
929
|
+
consulterFactureApiV1ChorusProFacturesConsulterPost(getInvoiceRequest: GetInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoiceResponse> {
|
|
930
|
+
return localVarFp.consulterFactureApiV1ChorusProFacturesConsulterPost(getInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
959
931
|
},
|
|
960
932
|
/**
|
|
961
|
-
*
|
|
962
|
-
* @summary
|
|
963
|
-
* @param {
|
|
933
|
+
* 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.
|
|
934
|
+
* @summary Consult structure details
|
|
935
|
+
* @param {GetStructureRequest} getStructureRequest
|
|
964
936
|
* @param {*} [options] Override http request option.
|
|
965
937
|
* @throws {RequiredError}
|
|
966
938
|
*/
|
|
967
|
-
consulterStructureApiV1ChorusProStructuresConsulterPost(
|
|
968
|
-
return localVarFp.consulterStructureApiV1ChorusProStructuresConsulterPost(
|
|
939
|
+
consulterStructureApiV1ChorusProStructuresConsulterPost(getStructureRequest: GetStructureRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetStructureResponse> {
|
|
940
|
+
return localVarFp.consulterStructureApiV1ChorusProStructuresConsulterPost(getStructureRequest, options).then((request) => request(axios, basePath));
|
|
969
941
|
},
|
|
970
942
|
/**
|
|
971
|
-
*
|
|
972
|
-
* @summary
|
|
943
|
+
* 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)
|
|
944
|
+
* @summary List structure services
|
|
973
945
|
* @param {number} idStructureCpp
|
|
974
|
-
* @param {BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet} bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet
|
|
975
946
|
* @param {*} [options] Override http request option.
|
|
976
947
|
* @throws {RequiredError}
|
|
977
948
|
*/
|
|
978
|
-
listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp: number,
|
|
979
|
-
return localVarFp.listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp,
|
|
949
|
+
listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp: number, options?: RawAxiosRequestConfig): AxiosPromise<SearchServicesResponse> {
|
|
950
|
+
return localVarFp.listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp, options).then((request) => request(axios, basePath));
|
|
980
951
|
},
|
|
981
952
|
/**
|
|
982
|
-
* **
|
|
983
|
-
* @summary
|
|
984
|
-
* @param {
|
|
953
|
+
* **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.
|
|
954
|
+
* @summary Utility: Get Chorus Pro ID from SIRET
|
|
955
|
+
* @param {GetChorusProIdRequest} getChorusProIdRequest
|
|
985
956
|
* @param {*} [options] Override http request option.
|
|
986
957
|
* @throws {RequiredError}
|
|
987
958
|
*/
|
|
988
|
-
obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(
|
|
989
|
-
return localVarFp.obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(
|
|
959
|
+
obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(getChorusProIdRequest: GetChorusProIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetChorusProIdResponse> {
|
|
960
|
+
return localVarFp.obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(getChorusProIdRequest, options).then((request) => request(axios, basePath));
|
|
990
961
|
},
|
|
991
962
|
/**
|
|
992
|
-
*
|
|
993
|
-
* @summary
|
|
994
|
-
* @param {
|
|
963
|
+
* 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.
|
|
964
|
+
* @summary Search received invoices (Recipient)
|
|
965
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
995
966
|
* @param {*} [options] Override http request option.
|
|
996
967
|
* @throws {RequiredError}
|
|
997
968
|
*/
|
|
998
|
-
rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(
|
|
999
|
-
return localVarFp.rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(
|
|
969
|
+
rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): AxiosPromise<any> {
|
|
970
|
+
return localVarFp.rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(requestBody, options).then((request) => request(axios, basePath));
|
|
1000
971
|
},
|
|
1001
972
|
/**
|
|
1002
|
-
*
|
|
1003
|
-
* @summary
|
|
1004
|
-
* @param {
|
|
973
|
+
* 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
|
|
974
|
+
* @summary Search issued invoices (Supplier)
|
|
975
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1005
976
|
* @param {*} [options] Override http request option.
|
|
1006
977
|
* @throws {RequiredError}
|
|
1007
978
|
*/
|
|
1008
|
-
rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(
|
|
1009
|
-
return localVarFp.rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(
|
|
979
|
+
rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): AxiosPromise<any> {
|
|
980
|
+
return localVarFp.rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(requestBody, options).then((request) => request(axios, basePath));
|
|
1010
981
|
},
|
|
1011
982
|
/**
|
|
1012
|
-
*
|
|
1013
|
-
* @summary
|
|
1014
|
-
* @param {
|
|
983
|
+
* 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`.
|
|
984
|
+
* @summary Search Chorus Pro structures
|
|
985
|
+
* @param {SearchStructureRequest} searchStructureRequest
|
|
1015
986
|
* @param {*} [options] Override http request option.
|
|
1016
987
|
* @throws {RequiredError}
|
|
1017
988
|
*/
|
|
1018
|
-
rechercherStructuresApiV1ChorusProStructuresRechercherPost(
|
|
1019
|
-
return localVarFp.rechercherStructuresApiV1ChorusProStructuresRechercherPost(
|
|
989
|
+
rechercherStructuresApiV1ChorusProStructuresRechercherPost(searchStructureRequest: SearchStructureRequest, options?: RawAxiosRequestConfig): AxiosPromise<SearchStructureResponse> {
|
|
990
|
+
return localVarFp.rechercherStructuresApiV1ChorusProStructuresRechercherPost(searchStructureRequest, options).then((request) => request(axios, basePath));
|
|
1020
991
|
},
|
|
1021
992
|
/**
|
|
1022
|
-
* Recycle
|
|
1023
|
-
* @summary
|
|
1024
|
-
* @param {
|
|
993
|
+
* 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.
|
|
994
|
+
* @summary Recycle an invoice (Supplier)
|
|
995
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1025
996
|
* @param {*} [options] Override http request option.
|
|
1026
997
|
* @throws {RequiredError}
|
|
1027
998
|
*/
|
|
1028
|
-
recyclerFactureApiV1ChorusProFacturesRecyclerPost(
|
|
1029
|
-
return localVarFp.recyclerFactureApiV1ChorusProFacturesRecyclerPost(
|
|
999
|
+
recyclerFactureApiV1ChorusProFacturesRecyclerPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): AxiosPromise<any> {
|
|
1000
|
+
return localVarFp.recyclerFactureApiV1ChorusProFacturesRecyclerPost(requestBody, options).then((request) => request(axios, basePath));
|
|
1030
1001
|
},
|
|
1031
1002
|
/**
|
|
1032
|
-
*
|
|
1033
|
-
* @summary
|
|
1034
|
-
* @param {
|
|
1003
|
+
* 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.
|
|
1004
|
+
* @summary Submit an invoice to Chorus Pro
|
|
1005
|
+
* @param {SubmitInvoiceRequest} submitInvoiceRequest
|
|
1035
1006
|
* @param {*} [options] Override http request option.
|
|
1036
1007
|
* @throws {RequiredError}
|
|
1037
1008
|
*/
|
|
1038
|
-
soumettreFactureApiV1ChorusProFacturesSoumettrePost(
|
|
1039
|
-
return localVarFp.soumettreFactureApiV1ChorusProFacturesSoumettrePost(
|
|
1009
|
+
soumettreFactureApiV1ChorusProFacturesSoumettrePost(submitInvoiceRequest: SubmitInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<SubmitInvoiceResponse> {
|
|
1010
|
+
return localVarFp.soumettreFactureApiV1ChorusProFacturesSoumettrePost(submitInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
1040
1011
|
},
|
|
1041
1012
|
/**
|
|
1042
|
-
*
|
|
1043
|
-
* @summary
|
|
1044
|
-
* @param {
|
|
1013
|
+
* 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.
|
|
1014
|
+
* @summary Download a group of invoices
|
|
1015
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1045
1016
|
* @param {*} [options] Override http request option.
|
|
1046
1017
|
* @throws {RequiredError}
|
|
1047
1018
|
*/
|
|
1048
|
-
telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(
|
|
1049
|
-
return localVarFp.telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(
|
|
1019
|
+
telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): AxiosPromise<any> {
|
|
1020
|
+
return localVarFp.telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(requestBody, options).then((request) => request(axios, basePath));
|
|
1050
1021
|
},
|
|
1051
1022
|
/**
|
|
1052
|
-
* Change
|
|
1053
|
-
* @summary
|
|
1054
|
-
* @param {
|
|
1023
|
+
* 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
|
|
1024
|
+
* @summary Process a received invoice (Recipient)
|
|
1025
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1055
1026
|
* @param {*} [options] Override http request option.
|
|
1056
1027
|
* @throws {RequiredError}
|
|
1057
1028
|
*/
|
|
1058
|
-
traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(
|
|
1059
|
-
return localVarFp.traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(
|
|
1029
|
+
traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): AxiosPromise<any> {
|
|
1030
|
+
return localVarFp.traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(requestBody, options).then((request) => request(axios, basePath));
|
|
1060
1031
|
},
|
|
1061
1032
|
/**
|
|
1062
|
-
*
|
|
1063
|
-
* @summary
|
|
1064
|
-
* @param {
|
|
1033
|
+
*
|
|
1034
|
+
* @summary Consult an invoice (Validator)
|
|
1035
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1065
1036
|
* @param {*} [options] Override http request option.
|
|
1066
1037
|
* @throws {RequiredError}
|
|
1067
1038
|
*/
|
|
1068
|
-
valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(
|
|
1069
|
-
return localVarFp.valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(
|
|
1039
|
+
valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): AxiosPromise<any> {
|
|
1040
|
+
return localVarFp.valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(requestBody, options).then((request) => request(axios, basePath));
|
|
1070
1041
|
},
|
|
1071
1042
|
/**
|
|
1072
|
-
*
|
|
1073
|
-
* @summary
|
|
1074
|
-
* @param {
|
|
1043
|
+
* Search invoices pending validation by the connected validator. **Role**: Validator in the internal validation workflow. **Filters**: Dates, structure, service, etc.
|
|
1044
|
+
* @summary Search invoices to validate (Validator)
|
|
1045
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1075
1046
|
* @param {*} [options] Override http request option.
|
|
1076
1047
|
* @throws {RequiredError}
|
|
1077
1048
|
*/
|
|
1078
|
-
valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(
|
|
1079
|
-
return localVarFp.valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(
|
|
1049
|
+
valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): AxiosPromise<any> {
|
|
1050
|
+
return localVarFp.valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(requestBody, options).then((request) => request(axios, basePath));
|
|
1080
1051
|
},
|
|
1081
1052
|
/**
|
|
1082
|
-
*
|
|
1083
|
-
* @summary
|
|
1084
|
-
* @param {
|
|
1053
|
+
* 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)
|
|
1054
|
+
* @summary Validate or reject an invoice (Validator)
|
|
1055
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1085
1056
|
* @param {*} [options] Override http request option.
|
|
1086
1057
|
* @throws {RequiredError}
|
|
1087
1058
|
*/
|
|
1088
|
-
valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(
|
|
1089
|
-
return localVarFp.valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(
|
|
1059
|
+
valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): AxiosPromise<any> {
|
|
1060
|
+
return localVarFp.valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(requestBody, options).then((request) => request(axios, basePath));
|
|
1090
1061
|
},
|
|
1091
1062
|
};
|
|
1092
1063
|
};
|
|
@@ -1096,180 +1067,179 @@ export const ChorusProApiFactory = function (configuration?: Configuration, base
|
|
|
1096
1067
|
*/
|
|
1097
1068
|
export class ChorusProApi extends BaseAPI {
|
|
1098
1069
|
/**
|
|
1099
|
-
*
|
|
1100
|
-
* @summary
|
|
1101
|
-
* @param {
|
|
1070
|
+
* 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.
|
|
1071
|
+
* @summary Add an attachment
|
|
1072
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1102
1073
|
* @param {*} [options] Override http request option.
|
|
1103
1074
|
* @throws {RequiredError}
|
|
1104
1075
|
*/
|
|
1105
|
-
public ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(
|
|
1106
|
-
return ChorusProApiFp(this.configuration).ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(
|
|
1076
|
+
public ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig) {
|
|
1077
|
+
return ChorusProApiFp(this.configuration).ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1107
1078
|
}
|
|
1108
1079
|
|
|
1109
1080
|
/**
|
|
1110
|
-
*
|
|
1111
|
-
* @summary
|
|
1112
|
-
* @param {
|
|
1081
|
+
* 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.
|
|
1082
|
+
* @summary Complete a suspended invoice (Supplier)
|
|
1083
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1113
1084
|
* @param {*} [options] Override http request option.
|
|
1114
1085
|
* @throws {RequiredError}
|
|
1115
1086
|
*/
|
|
1116
|
-
public completerFactureApiV1ChorusProFacturesCompleterPost(
|
|
1117
|
-
return ChorusProApiFp(this.configuration).completerFactureApiV1ChorusProFacturesCompleterPost(
|
|
1087
|
+
public completerFactureApiV1ChorusProFacturesCompleterPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig) {
|
|
1088
|
+
return ChorusProApiFp(this.configuration).completerFactureApiV1ChorusProFacturesCompleterPost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1118
1089
|
}
|
|
1119
1090
|
|
|
1120
1091
|
/**
|
|
1121
|
-
*
|
|
1122
|
-
* @summary
|
|
1123
|
-
* @param {
|
|
1092
|
+
* 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.
|
|
1093
|
+
* @summary Consult invoice status
|
|
1094
|
+
* @param {GetInvoiceRequest} getInvoiceRequest
|
|
1124
1095
|
* @param {*} [options] Override http request option.
|
|
1125
1096
|
* @throws {RequiredError}
|
|
1126
1097
|
*/
|
|
1127
|
-
public consulterFactureApiV1ChorusProFacturesConsulterPost(
|
|
1128
|
-
return ChorusProApiFp(this.configuration).consulterFactureApiV1ChorusProFacturesConsulterPost(
|
|
1098
|
+
public consulterFactureApiV1ChorusProFacturesConsulterPost(getInvoiceRequest: GetInvoiceRequest, options?: RawAxiosRequestConfig) {
|
|
1099
|
+
return ChorusProApiFp(this.configuration).consulterFactureApiV1ChorusProFacturesConsulterPost(getInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1129
1100
|
}
|
|
1130
1101
|
|
|
1131
1102
|
/**
|
|
1132
|
-
*
|
|
1133
|
-
* @summary
|
|
1134
|
-
* @param {
|
|
1103
|
+
* 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.
|
|
1104
|
+
* @summary Consult structure details
|
|
1105
|
+
* @param {GetStructureRequest} getStructureRequest
|
|
1135
1106
|
* @param {*} [options] Override http request option.
|
|
1136
1107
|
* @throws {RequiredError}
|
|
1137
1108
|
*/
|
|
1138
|
-
public consulterStructureApiV1ChorusProStructuresConsulterPost(
|
|
1139
|
-
return ChorusProApiFp(this.configuration).consulterStructureApiV1ChorusProStructuresConsulterPost(
|
|
1109
|
+
public consulterStructureApiV1ChorusProStructuresConsulterPost(getStructureRequest: GetStructureRequest, options?: RawAxiosRequestConfig) {
|
|
1110
|
+
return ChorusProApiFp(this.configuration).consulterStructureApiV1ChorusProStructuresConsulterPost(getStructureRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1140
1111
|
}
|
|
1141
1112
|
|
|
1142
1113
|
/**
|
|
1143
|
-
*
|
|
1144
|
-
* @summary
|
|
1114
|
+
* 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)
|
|
1115
|
+
* @summary List structure services
|
|
1145
1116
|
* @param {number} idStructureCpp
|
|
1146
|
-
* @param {BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet} bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet
|
|
1147
1117
|
* @param {*} [options] Override http request option.
|
|
1148
1118
|
* @throws {RequiredError}
|
|
1149
1119
|
*/
|
|
1150
|
-
public listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp: number,
|
|
1151
|
-
return ChorusProApiFp(this.configuration).listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp,
|
|
1120
|
+
public listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp: number, options?: RawAxiosRequestConfig) {
|
|
1121
|
+
return ChorusProApiFp(this.configuration).listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(idStructureCpp, options).then((request) => request(this.axios, this.basePath));
|
|
1152
1122
|
}
|
|
1153
1123
|
|
|
1154
1124
|
/**
|
|
1155
|
-
* **
|
|
1156
|
-
* @summary
|
|
1157
|
-
* @param {
|
|
1125
|
+
* **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.
|
|
1126
|
+
* @summary Utility: Get Chorus Pro ID from SIRET
|
|
1127
|
+
* @param {GetChorusProIdRequest} getChorusProIdRequest
|
|
1158
1128
|
* @param {*} [options] Override http request option.
|
|
1159
1129
|
* @throws {RequiredError}
|
|
1160
1130
|
*/
|
|
1161
|
-
public obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(
|
|
1162
|
-
return ChorusProApiFp(this.configuration).obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(
|
|
1131
|
+
public obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(getChorusProIdRequest: GetChorusProIdRequest, options?: RawAxiosRequestConfig) {
|
|
1132
|
+
return ChorusProApiFp(this.configuration).obtenirIdChorusProDepuisSiretApiV1ChorusProStructuresObtenirIdDepuisSiretPost(getChorusProIdRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1163
1133
|
}
|
|
1164
1134
|
|
|
1165
1135
|
/**
|
|
1166
|
-
*
|
|
1167
|
-
* @summary
|
|
1168
|
-
* @param {
|
|
1136
|
+
* 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.
|
|
1137
|
+
* @summary Search received invoices (Recipient)
|
|
1138
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1169
1139
|
* @param {*} [options] Override http request option.
|
|
1170
1140
|
* @throws {RequiredError}
|
|
1171
1141
|
*/
|
|
1172
|
-
public rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(
|
|
1173
|
-
return ChorusProApiFp(this.configuration).rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(
|
|
1142
|
+
public rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig) {
|
|
1143
|
+
return ChorusProApiFp(this.configuration).rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1174
1144
|
}
|
|
1175
1145
|
|
|
1176
1146
|
/**
|
|
1177
|
-
*
|
|
1178
|
-
* @summary
|
|
1179
|
-
* @param {
|
|
1147
|
+
* 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
|
|
1148
|
+
* @summary Search issued invoices (Supplier)
|
|
1149
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1180
1150
|
* @param {*} [options] Override http request option.
|
|
1181
1151
|
* @throws {RequiredError}
|
|
1182
1152
|
*/
|
|
1183
|
-
public rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(
|
|
1184
|
-
return ChorusProApiFp(this.configuration).rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(
|
|
1153
|
+
public rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig) {
|
|
1154
|
+
return ChorusProApiFp(this.configuration).rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1185
1155
|
}
|
|
1186
1156
|
|
|
1187
1157
|
/**
|
|
1188
|
-
*
|
|
1189
|
-
* @summary
|
|
1190
|
-
* @param {
|
|
1158
|
+
* 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`.
|
|
1159
|
+
* @summary Search Chorus Pro structures
|
|
1160
|
+
* @param {SearchStructureRequest} searchStructureRequest
|
|
1191
1161
|
* @param {*} [options] Override http request option.
|
|
1192
1162
|
* @throws {RequiredError}
|
|
1193
1163
|
*/
|
|
1194
|
-
public rechercherStructuresApiV1ChorusProStructuresRechercherPost(
|
|
1195
|
-
return ChorusProApiFp(this.configuration).rechercherStructuresApiV1ChorusProStructuresRechercherPost(
|
|
1164
|
+
public rechercherStructuresApiV1ChorusProStructuresRechercherPost(searchStructureRequest: SearchStructureRequest, options?: RawAxiosRequestConfig) {
|
|
1165
|
+
return ChorusProApiFp(this.configuration).rechercherStructuresApiV1ChorusProStructuresRechercherPost(searchStructureRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1196
1166
|
}
|
|
1197
1167
|
|
|
1198
1168
|
/**
|
|
1199
|
-
* Recycle
|
|
1200
|
-
* @summary
|
|
1201
|
-
* @param {
|
|
1169
|
+
* 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.
|
|
1170
|
+
* @summary Recycle an invoice (Supplier)
|
|
1171
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1202
1172
|
* @param {*} [options] Override http request option.
|
|
1203
1173
|
* @throws {RequiredError}
|
|
1204
1174
|
*/
|
|
1205
|
-
public recyclerFactureApiV1ChorusProFacturesRecyclerPost(
|
|
1206
|
-
return ChorusProApiFp(this.configuration).recyclerFactureApiV1ChorusProFacturesRecyclerPost(
|
|
1175
|
+
public recyclerFactureApiV1ChorusProFacturesRecyclerPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig) {
|
|
1176
|
+
return ChorusProApiFp(this.configuration).recyclerFactureApiV1ChorusProFacturesRecyclerPost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1207
1177
|
}
|
|
1208
1178
|
|
|
1209
1179
|
/**
|
|
1210
|
-
*
|
|
1211
|
-
* @summary
|
|
1212
|
-
* @param {
|
|
1180
|
+
* 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.
|
|
1181
|
+
* @summary Submit an invoice to Chorus Pro
|
|
1182
|
+
* @param {SubmitInvoiceRequest} submitInvoiceRequest
|
|
1213
1183
|
* @param {*} [options] Override http request option.
|
|
1214
1184
|
* @throws {RequiredError}
|
|
1215
1185
|
*/
|
|
1216
|
-
public soumettreFactureApiV1ChorusProFacturesSoumettrePost(
|
|
1217
|
-
return ChorusProApiFp(this.configuration).soumettreFactureApiV1ChorusProFacturesSoumettrePost(
|
|
1186
|
+
public soumettreFactureApiV1ChorusProFacturesSoumettrePost(submitInvoiceRequest: SubmitInvoiceRequest, options?: RawAxiosRequestConfig) {
|
|
1187
|
+
return ChorusProApiFp(this.configuration).soumettreFactureApiV1ChorusProFacturesSoumettrePost(submitInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1218
1188
|
}
|
|
1219
1189
|
|
|
1220
1190
|
/**
|
|
1221
|
-
*
|
|
1222
|
-
* @summary
|
|
1223
|
-
* @param {
|
|
1191
|
+
* 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.
|
|
1192
|
+
* @summary Download a group of invoices
|
|
1193
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1224
1194
|
* @param {*} [options] Override http request option.
|
|
1225
1195
|
* @throws {RequiredError}
|
|
1226
1196
|
*/
|
|
1227
|
-
public telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(
|
|
1228
|
-
return ChorusProApiFp(this.configuration).telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(
|
|
1197
|
+
public telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig) {
|
|
1198
|
+
return ChorusProApiFp(this.configuration).telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1229
1199
|
}
|
|
1230
1200
|
|
|
1231
1201
|
/**
|
|
1232
|
-
* Change
|
|
1233
|
-
* @summary
|
|
1234
|
-
* @param {
|
|
1202
|
+
* 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
|
|
1203
|
+
* @summary Process a received invoice (Recipient)
|
|
1204
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1235
1205
|
* @param {*} [options] Override http request option.
|
|
1236
1206
|
* @throws {RequiredError}
|
|
1237
1207
|
*/
|
|
1238
|
-
public traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(
|
|
1239
|
-
return ChorusProApiFp(this.configuration).traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(
|
|
1208
|
+
public traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig) {
|
|
1209
|
+
return ChorusProApiFp(this.configuration).traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1240
1210
|
}
|
|
1241
1211
|
|
|
1242
1212
|
/**
|
|
1243
|
-
*
|
|
1244
|
-
* @summary
|
|
1245
|
-
* @param {
|
|
1213
|
+
*
|
|
1214
|
+
* @summary Consult an invoice (Validator)
|
|
1215
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1246
1216
|
* @param {*} [options] Override http request option.
|
|
1247
1217
|
* @throws {RequiredError}
|
|
1248
1218
|
*/
|
|
1249
|
-
public valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(
|
|
1250
|
-
return ChorusProApiFp(this.configuration).valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(
|
|
1219
|
+
public valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig) {
|
|
1220
|
+
return ChorusProApiFp(this.configuration).valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1251
1221
|
}
|
|
1252
1222
|
|
|
1253
1223
|
/**
|
|
1254
|
-
*
|
|
1255
|
-
* @summary
|
|
1256
|
-
* @param {
|
|
1224
|
+
* Search invoices pending validation by the connected validator. **Role**: Validator in the internal validation workflow. **Filters**: Dates, structure, service, etc.
|
|
1225
|
+
* @summary Search invoices to validate (Validator)
|
|
1226
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1257
1227
|
* @param {*} [options] Override http request option.
|
|
1258
1228
|
* @throws {RequiredError}
|
|
1259
1229
|
*/
|
|
1260
|
-
public valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(
|
|
1261
|
-
return ChorusProApiFp(this.configuration).valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(
|
|
1230
|
+
public valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig) {
|
|
1231
|
+
return ChorusProApiFp(this.configuration).valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1262
1232
|
}
|
|
1263
1233
|
|
|
1264
1234
|
/**
|
|
1265
|
-
*
|
|
1266
|
-
* @summary
|
|
1267
|
-
* @param {
|
|
1235
|
+
* 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)
|
|
1236
|
+
* @summary Validate or reject an invoice (Validator)
|
|
1237
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1268
1238
|
* @param {*} [options] Override http request option.
|
|
1269
1239
|
* @throws {RequiredError}
|
|
1270
1240
|
*/
|
|
1271
|
-
public valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(
|
|
1272
|
-
return ChorusProApiFp(this.configuration).valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(
|
|
1241
|
+
public valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig) {
|
|
1242
|
+
return ChorusProApiFp(this.configuration).valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1273
1243
|
}
|
|
1274
1244
|
}
|
|
1275
1245
|
|