@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
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FactPulse REST API
|
|
3
|
+
* 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/
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { FlowProfile } from './flow-profile';
|
|
13
|
+
import type { FlowSyntax } from './flow-syntax';
|
|
14
|
+
import type { PDPCredentials } from './pdpcredentials';
|
|
15
|
+
/**
|
|
16
|
+
* Request to submit an invoice to a PDP/PA via AFNOR.
|
|
17
|
+
*/
|
|
18
|
+
export interface SubmitFlowRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Flow name (e.g., \'Invoice 2025-001\')
|
|
21
|
+
*/
|
|
22
|
+
'flow_name': string;
|
|
23
|
+
/**
|
|
24
|
+
* Flow syntax (CII for Factur-X)
|
|
25
|
+
*/
|
|
26
|
+
'flow_syntax'?: FlowSyntax;
|
|
27
|
+
'flow_profile'?: FlowProfile | null;
|
|
28
|
+
'tracking_id'?: string | null;
|
|
29
|
+
'request_id'?: string | null;
|
|
30
|
+
'pdp_credentials'?: PDPCredentials | null;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* FactPulse REST API
|
|
6
|
+
* REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X Invoice Generation - **Formats**: XML only or PDF/A-3 with embedded XML - **Profiles**: MINIMUM, BASIC, EN16931, EXTENDED - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### ✅ Validation and Compliance - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata, electronic signatures - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) - **Asynchronous Processing**: Celery support for heavy validations (VeraPDF) ### 📡 AFNOR PDP/PA Integration (XP Z12-013) - **Flow Submission**: Send invoices to Partner Dematerialization Platforms - **Flow Search**: View submitted invoices - **Download**: Retrieve PDF/A-3 with XML - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user (stored credentials or zero-storage) ### ✍️ PDF Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification - **Certificate Generation**: Self-signed X.509 certificates for testing ### 🔄 Asynchronous Processing - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **No timeout**: Ideal for large files or heavy validations ## 🔒 Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### 🔑 Method 1: `/api/token/` API (Recommended) **URL:** `https://www.factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://www.factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\" }\' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Access token (validity: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Refresh token (validity: 7 days) } ``` **Advantages:** - ✅ Full automation (CI/CD, scripts) - ✅ Programmatic token management - ✅ Refresh token support for automatic access renewal - ✅ Easy integration in any language/tool #### 🖥️ Method 2: Dashboard Generation (Alternative) **URL:** https://www.factpulse.fr/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the \"Generate Test Token\" or \"Generate Production Token\" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - ✅ Quick for API testing - ✅ No password required - ✅ Simple visual interface **Disadvantages:** - ❌ Requires manual action - ❌ No refresh token - ❌ Less suited for automation ### 📚 Full Documentation For more information on authentication and API usage: https://www.factpulse.fr/documentation-api/
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FactPulse REST API
|
|
3
|
+
* 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/
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Response after submitting a flow.
|
|
14
|
+
*/
|
|
15
|
+
export interface SubmitFlowResponse {
|
|
16
|
+
/**
|
|
17
|
+
* Unique flow identifier generated by the PDP
|
|
18
|
+
*/
|
|
19
|
+
'flow_id': string;
|
|
20
|
+
'tracking_id'?: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* Flow name
|
|
23
|
+
*/
|
|
24
|
+
'name': string;
|
|
25
|
+
/**
|
|
26
|
+
* Flow syntax (CII, UBL, etc.)
|
|
27
|
+
*/
|
|
28
|
+
'flow_syntax': string;
|
|
29
|
+
'flow_profile'?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* SHA256 hash of the submitted file
|
|
32
|
+
*/
|
|
33
|
+
'sha256': string;
|
|
34
|
+
/**
|
|
35
|
+
* Confirmation message
|
|
36
|
+
*/
|
|
37
|
+
'message': string;
|
|
38
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* FactPulse REST API
|
|
6
|
+
* REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X Invoice Generation - **Formats**: XML only or PDF/A-3 with embedded XML - **Profiles**: MINIMUM, BASIC, EN16931, EXTENDED - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### ✅ Validation and Compliance - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata, electronic signatures - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) - **Asynchronous Processing**: Celery support for heavy validations (VeraPDF) ### 📡 AFNOR PDP/PA Integration (XP Z12-013) - **Flow Submission**: Send invoices to Partner Dematerialization Platforms - **Flow Search**: View submitted invoices - **Download**: Retrieve PDF/A-3 with XML - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user (stored credentials or zero-storage) ### ✍️ PDF Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification - **Certificate Generation**: Self-signed X.509 certificates for testing ### 🔄 Asynchronous Processing - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **No timeout**: Ideal for large files or heavy validations ## 🔒 Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### 🔑 Method 1: `/api/token/` API (Recommended) **URL:** `https://www.factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://www.factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\" }\' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Access token (validity: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Refresh token (validity: 7 days) } ``` **Advantages:** - ✅ Full automation (CI/CD, scripts) - ✅ Programmatic token management - ✅ Refresh token support for automatic access renewal - ✅ Easy integration in any language/tool #### 🖥️ Method 2: Dashboard Generation (Alternative) **URL:** https://www.factpulse.fr/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the \"Generate Test Token\" or \"Generate Production Token\" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - ✅ Quick for API testing - ✅ No password required - ✅ Simple visual interface **Disadvantages:** - ❌ Requires manual action - ❌ No refresh token - ❌ Less suited for automation ### 📚 Full Documentation For more information on authentication and API usage: https://www.factpulse.fr/documentation-api/
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FactPulse REST API
|
|
3
|
+
* 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/
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { FactureElectroniqueRestApiSchemasChorusProChorusProCredentials } from './facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials';
|
|
13
|
+
import type { TotalGrossAmount } from './total-gross-amount';
|
|
14
|
+
import type { TotalNetAmount } from './total-net-amount';
|
|
15
|
+
import type { VatAmount } from './vat-amount';
|
|
16
|
+
/**
|
|
17
|
+
* Submit an invoice to Chorus Pro.
|
|
18
|
+
*/
|
|
19
|
+
export interface SubmitInvoiceRequest {
|
|
20
|
+
'credentials'?: FactureElectroniqueRestApiSchemasChorusProChorusProCredentials | null;
|
|
21
|
+
/**
|
|
22
|
+
* Invoice number
|
|
23
|
+
*/
|
|
24
|
+
'invoice_number': string;
|
|
25
|
+
/**
|
|
26
|
+
* Invoice date (ISO format: YYYY-MM-DD)
|
|
27
|
+
*/
|
|
28
|
+
'invoice_date': string;
|
|
29
|
+
'payment_due_date'?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Chorus Pro recipient structure ID
|
|
32
|
+
*/
|
|
33
|
+
'structure_id': number;
|
|
34
|
+
'service_code'?: string | null;
|
|
35
|
+
'engagement_number'?: string | null;
|
|
36
|
+
'total_net_amount': TotalNetAmount;
|
|
37
|
+
'vat_amount': VatAmount;
|
|
38
|
+
'total_gross_amount': TotalGrossAmount;
|
|
39
|
+
'main_attachment_id'?: number | null;
|
|
40
|
+
'main_attachment_label'?: string | null;
|
|
41
|
+
'comment'?: string | null;
|
|
42
|
+
'purchase_order_reference'?: string | null;
|
|
43
|
+
'contract_reference'?: string | null;
|
|
44
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* FactPulse REST API
|
|
6
|
+
* REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X Invoice Generation - **Formats**: XML only or PDF/A-3 with embedded XML - **Profiles**: MINIMUM, BASIC, EN16931, EXTENDED - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### ✅ Validation and Compliance - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata, electronic signatures - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) - **Asynchronous Processing**: Celery support for heavy validations (VeraPDF) ### 📡 AFNOR PDP/PA Integration (XP Z12-013) - **Flow Submission**: Send invoices to Partner Dematerialization Platforms - **Flow Search**: View submitted invoices - **Download**: Retrieve PDF/A-3 with XML - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user (stored credentials or zero-storage) ### ✍️ PDF Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification - **Certificate Generation**: Self-signed X.509 certificates for testing ### 🔄 Asynchronous Processing - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **No timeout**: Ideal for large files or heavy validations ## 🔒 Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### 🔑 Method 1: `/api/token/` API (Recommended) **URL:** `https://www.factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://www.factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\" }\' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Access token (validity: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Refresh token (validity: 7 days) } ``` **Advantages:** - ✅ Full automation (CI/CD, scripts) - ✅ Programmatic token management - ✅ Refresh token support for automatic access renewal - ✅ Easy integration in any language/tool #### 🖥️ Method 2: Dashboard Generation (Alternative) **URL:** https://www.factpulse.fr/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the \"Generate Test Token\" or \"Generate Production Token\" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - ✅ Quick for API testing - ✅ No password required - ✅ Simple visual interface **Disadvantages:** - ❌ Requires manual action - ❌ No refresh token - ❌ Less suited for automation ### 📚 Full Documentation For more information on authentication and API usage: https://www.factpulse.fr/documentation-api/
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FactPulse REST API
|
|
3
|
+
* 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/
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Response after invoice submission.
|
|
14
|
+
*/
|
|
15
|
+
export interface SubmitInvoiceResponse {
|
|
16
|
+
/**
|
|
17
|
+
* Return code (0 = success)
|
|
18
|
+
*/
|
|
19
|
+
'returnCode': number;
|
|
20
|
+
/**
|
|
21
|
+
* Return message
|
|
22
|
+
*/
|
|
23
|
+
'message': string;
|
|
24
|
+
'chorusInvoiceId'?: number | null;
|
|
25
|
+
'depositFlowNumber'?: string | null;
|
|
26
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* FactPulse REST API
|
|
6
|
+
* REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X Invoice Generation - **Formats**: XML only or PDF/A-3 with embedded XML - **Profiles**: MINIMUM, BASIC, EN16931, EXTENDED - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### ✅ Validation and Compliance - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata, electronic signatures - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) - **Asynchronous Processing**: Celery support for heavy validations (VeraPDF) ### 📡 AFNOR PDP/PA Integration (XP Z12-013) - **Flow Submission**: Send invoices to Partner Dematerialization Platforms - **Flow Search**: View submitted invoices - **Download**: Retrieve PDF/A-3 with XML - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user (stored credentials or zero-storage) ### ✍️ PDF Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification - **Certificate Generation**: Self-signed X.509 certificates for testing ### 🔄 Asynchronous Processing - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **No timeout**: Ideal for large files or heavy validations ## 🔒 Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### 🔑 Method 1: `/api/token/` API (Recommended) **URL:** `https://www.factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://www.factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\" }\' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Access token (validity: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Refresh token (validity: 7 days) } ``` **Advantages:** - ✅ Full automation (CI/CD, scripts) - ✅ Programmatic token management - ✅ Refresh token support for automatic access renewal - ✅ Easy integration in any language/tool #### 🖥️ Method 2: Dashboard Generation (Alternative) **URL:** https://www.factpulse.fr/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the \"Generate Test Token\" or \"Generate Production Token\" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - ✅ Quick for API testing - ✅ No password required - ✅ Simple visual interface **Disadvantages:** - ❌ Requires manual action - ❌ No refresh token - ❌ Less suited for automation ### 📚 Full Documentation For more information on authentication and API usage: https://www.factpulse.fr/documentation-api/
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FactPulse REST API
|
|
3
|
+
* 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/
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Represents a supplementary attachment.
|
|
14
|
+
*/
|
|
15
|
+
export interface SupplementaryAttachment {
|
|
16
|
+
'description': string;
|
|
17
|
+
'id': number;
|
|
18
|
+
'linkId': number;
|
|
19
|
+
'invoiceLineNumber': number;
|
|
20
|
+
'type': string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* FactPulse REST API
|
|
6
|
+
* REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X Invoice Generation - **Formats**: XML only or PDF/A-3 with embedded XML - **Profiles**: MINIMUM, BASIC, EN16931, EXTENDED - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### ✅ Validation and Compliance - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata, electronic signatures - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) - **Asynchronous Processing**: Celery support for heavy validations (VeraPDF) ### 📡 AFNOR PDP/PA Integration (XP Z12-013) - **Flow Submission**: Send invoices to Partner Dematerialization Platforms - **Flow Search**: View submitted invoices - **Download**: Retrieve PDF/A-3 with XML - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user (stored credentials or zero-storage) ### ✍️ PDF Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification - **Certificate Generation**: Self-signed X.509 certificates for testing ### 🔄 Asynchronous Processing - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **No timeout**: Ideal for large files or heavy validations ## 🔒 Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### 🔑 Method 1: `/api/token/` API (Recommended) **URL:** `https://www.factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://www.factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\" }\' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Access token (validity: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Refresh token (validity: 7 days) } ``` **Advantages:** - ✅ Full automation (CI/CD, scripts) - ✅ Programmatic token management - ✅ Refresh token support for automatic access renewal - ✅ Easy integration in any language/tool #### 🖥️ Method 2: Dashboard Generation (Alternative) **URL:** https://www.factpulse.fr/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the \"Generate Test Token\" or \"Generate Production Token\" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - ✅ Quick for API testing - ✅ No password required - ✅ Simple visual interface **Disadvantages:** - ❌ Requires manual action - ❌ No refresh token - ❌ Less suited for automation ### 📚 Full Documentation For more information on authentication and API usage: https://www.factpulse.fr/documentation-api/
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FactPulse REST API
|
|
3
|
+
* 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/
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ElectronicAddress } from './electronic-address';
|
|
13
|
+
import type { PostalAddress } from './postal-address';
|
|
14
|
+
/**
|
|
15
|
+
* Information about the supplier who issues the invoice.
|
|
16
|
+
*/
|
|
17
|
+
export interface Supplier {
|
|
18
|
+
'electronic_address': ElectronicAddress | null;
|
|
19
|
+
'supplier_id': number;
|
|
20
|
+
'supplier_bank_account_code'?: number | null;
|
|
21
|
+
'supplier_service_id'?: number | null;
|
|
22
|
+
'name'?: string | null;
|
|
23
|
+
'siren'?: string | null;
|
|
24
|
+
'siret'?: string | null;
|
|
25
|
+
'vat_number'?: string | null;
|
|
26
|
+
'iban'?: string | null;
|
|
27
|
+
'postal_address'?: PostalAddress | null;
|
|
28
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* FactPulse REST API
|
|
6
|
+
* REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X Invoice Generation - **Formats**: XML only or PDF/A-3 with embedded XML - **Profiles**: MINIMUM, BASIC, EN16931, EXTENDED - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### ✅ Validation and Compliance - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata, electronic signatures - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) - **Asynchronous Processing**: Celery support for heavy validations (VeraPDF) ### 📡 AFNOR PDP/PA Integration (XP Z12-013) - **Flow Submission**: Send invoices to Partner Dematerialization Platforms - **Flow Search**: View submitted invoices - **Download**: Retrieve PDF/A-3 with XML - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user (stored credentials or zero-storage) ### ✍️ PDF Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification - **Certificate Generation**: Self-signed X.509 certificates for testing ### 🔄 Asynchronous Processing - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **No timeout**: Ideal for large files or heavy validations ## 🔒 Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### 🔑 Method 1: `/api/token/` API (Recommended) **URL:** `https://www.factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://www.factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\" }\' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Access token (validity: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Refresh token (validity: 7 days) } ``` **Advantages:** - ✅ Full automation (CI/CD, scripts) - ✅ Programmatic token management - ✅ Refresh token support for automatic access renewal - ✅ Easy integration in any language/tool #### 🖥️ Method 2: Dashboard Generation (Alternative) **URL:** https://www.factpulse.fr/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the \"Generate Test Token\" or \"Generate Production Token\" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - ✅ Quick for API testing - ✅ No password required - ✅ Simple visual interface **Disadvantages:** - ❌ Requires manual action - ❌ No refresh token - ❌ Less suited for automation ### 📚 Full Documentation For more information on authentication and API usage: https://www.factpulse.fr/documentation-api/
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FactPulse REST API
|
|
3
|
+
* 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/
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Immediate response after submitting an async task.
|
|
14
|
+
*/
|
|
15
|
+
export interface TaskResponse {
|
|
16
|
+
/**
|
|
17
|
+
* Unique task identifier for polling
|
|
18
|
+
*/
|
|
19
|
+
'taskId': string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* FactPulse REST API
|
|
6
|
+
* REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X Invoice Generation - **Formats**: XML only or PDF/A-3 with embedded XML - **Profiles**: MINIMUM, BASIC, EN16931, EXTENDED - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### ✅ Validation and Compliance - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata, electronic signatures - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) - **Asynchronous Processing**: Celery support for heavy validations (VeraPDF) ### 📡 AFNOR PDP/PA Integration (XP Z12-013) - **Flow Submission**: Send invoices to Partner Dematerialization Platforms - **Flow Search**: View submitted invoices - **Download**: Retrieve PDF/A-3 with XML - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user (stored credentials or zero-storage) ### ✍️ PDF Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification - **Certificate Generation**: Self-signed X.509 certificates for testing ### 🔄 Asynchronous Processing - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **No timeout**: Ideal for large files or heavy validations ## 🔒 Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### 🔑 Method 1: `/api/token/` API (Recommended) **URL:** `https://www.factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://www.factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\" }\' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Access token (validity: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Refresh token (validity: 7 days) } ``` **Advantages:** - ✅ Full automation (CI/CD, scripts) - ✅ Programmatic token management - ✅ Refresh token support for automatic access renewal - ✅ Easy integration in any language/tool #### 🖥️ Method 2: Dashboard Generation (Alternative) **URL:** https://www.factpulse.fr/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the \"Generate Test Token\" or \"Generate Production Token\" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - ✅ Quick for API testing - ✅ No password required - ✅ Simple visual interface **Disadvantages:** - ❌ Requires manual action - ❌ No refresh token - ❌ Less suited for automation ### 📚 Full Documentation For more information on authentication and API usage: https://www.factpulse.fr/documentation-api/
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FactPulse REST API
|
|
3
|
+
* 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/
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { CeleryStatus } from './celery-status';
|
|
13
|
+
/**
|
|
14
|
+
* Complete description of an async task status. The `status` field indicates the Celery state of the task. When `status=\"SUCCESS\"`, check `result.status` for the business result (\"SUCCESS\" or \"ERROR\").
|
|
15
|
+
*/
|
|
16
|
+
export interface TaskStatus {
|
|
17
|
+
/**
|
|
18
|
+
* Unique task identifier
|
|
19
|
+
*/
|
|
20
|
+
'taskId': string;
|
|
21
|
+
/**
|
|
22
|
+
* Celery task status (PENDING, STARTED, SUCCESS, FAILURE, RETRY)
|
|
23
|
+
*/
|
|
24
|
+
'status': CeleryStatus;
|
|
25
|
+
'result'?: {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
} | null;
|
|
28
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* FactPulse REST API
|
|
6
|
+
* REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X Invoice Generation - **Formats**: XML only or PDF/A-3 with embedded XML - **Profiles**: MINIMUM, BASIC, EN16931, EXTENDED - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### ✅ Validation and Compliance - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata, electronic signatures - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) - **Asynchronous Processing**: Celery support for heavy validations (VeraPDF) ### 📡 AFNOR PDP/PA Integration (XP Z12-013) - **Flow Submission**: Send invoices to Partner Dematerialization Platforms - **Flow Search**: View submitted invoices - **Download**: Retrieve PDF/A-3 with XML - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user (stored credentials or zero-storage) ### ✍️ PDF Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification - **Certificate Generation**: Self-signed X.509 certificates for testing ### 🔄 Asynchronous Processing - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **No timeout**: Ideal for large files or heavy validations ## 🔒 Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### 🔑 Method 1: `/api/token/` API (Recommended) **URL:** `https://www.factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://www.factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\" }\' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Access token (validity: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Refresh token (validity: 7 days) } ``` **Advantages:** - ✅ Full automation (CI/CD, scripts) - ✅ Programmatic token management - ✅ Refresh token support for automatic access renewal - ✅ Easy integration in any language/tool #### 🖥️ Method 2: Dashboard Generation (Alternative) **URL:** https://www.factpulse.fr/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the \"Generate Test Token\" or \"Generate Production Token\" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - ✅ Quick for API testing - ✅ No password required - ✅ Simple visual interface **Disadvantages:** - ❌ Requires manual action - ❌ No refresh token - ❌ Less suited for automation ### 📚 Full Documentation For more information on authentication and API usage: https://www.factpulse.fr/documentation-api/
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FactPulse REST API
|
|
3
|
+
* 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/
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Taxable amount (base) for this VAT line. (Accepte number, string ou integer)
|
|
14
|
+
*/
|
|
15
|
+
export interface TaxableAmount {
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* FactPulse REST API
|
|
6
|
+
* REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X Invoice Generation - **Formats**: XML only or PDF/A-3 with embedded XML - **Profiles**: MINIMUM, BASIC, EN16931, EXTENDED - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### ✅ Validation and Compliance - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata, electronic signatures - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) - **Asynchronous Processing**: Celery support for heavy validations (VeraPDF) ### 📡 AFNOR PDP/PA Integration (XP Z12-013) - **Flow Submission**: Send invoices to Partner Dematerialization Platforms - **Flow Search**: View submitted invoices - **Download**: Retrieve PDF/A-3 with XML - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user (stored credentials or zero-storage) ### ✍️ PDF Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification - **Certificate Generation**: Self-signed X.509 certificates for testing ### 🔄 Asynchronous Processing - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **No timeout**: Ideal for large files or heavy validations ## 🔒 Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### 🔑 Method 1: `/api/token/` API (Recommended) **URL:** `https://www.factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://www.factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\" }\' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Access token (validity: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Refresh token (validity: 7 days) } ``` **Advantages:** - ✅ Full automation (CI/CD, scripts) - ✅ Programmatic token management - ✅ Refresh token support for automatic access renewal - ✅ Easy integration in any language/tool #### 🖥️ Method 2: Dashboard Generation (Alternative) **URL:** https://www.factpulse.fr/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the \"Generate Test Token\" or \"Generate Production Token\" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - ✅ Quick for API testing - ✅ No password required - ✅ Simple visual interface **Disadvantages:** - ❌ Requires manual action - ❌ No refresh token - ❌ Less suited for automation ### 📚 Full Documentation For more information on authentication and API usage: https://www.factpulse.fr/documentation-api/
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FactPulse REST API
|
|
3
|
+
* 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/
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Total gross amount (including tax). (Accepte number, string ou integer)
|
|
14
|
+
*/
|
|
15
|
+
export interface TotalGrossAmount {
|
|
16
|
+
}
|