@factpulse/sdk 4.0.1 → 4.0.2
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/.openapi-generator/FILES +22 -14
- package/CHANGELOG.md +4 -4
- package/api/afnorpdppaapi.ts +9 -74
- package/api/afnorpdppadirectory-service-api.ts +1 -1
- package/api/afnorpdppaflow-service-api.ts +1 -1
- package/api/async-tasks-api.ts +132 -0
- package/api/chorus-pro-api.ts +1 -1
- package/api/client-management-api.ts +1 -1
- package/api/downloads-api.ts +1 -1
- package/api/electronic-signature-api.ts +481 -0
- package/api/{document-conversion-api.ts → factur-xconversion-api.ts} +63 -63
- package/api/factur-xgeneration-api.ts +364 -0
- package/api/factur-xpdfxmlverification-api.ts +316 -0
- package/api/factur-xvalidation-api.ts +374 -0
- package/api/{ereporting-api.ts → flux10-ereporting-api.ts} +61 -53
- package/api/{cdarcycle-de-vie-api.ts → flux6-invoice-lifecycle-cdarapi.ts} +179 -101
- package/api/health-api.ts +66 -1
- package/api.ts +9 -7
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api/afnorpdppaapi.d.ts +9 -37
- package/dist/api/afnorpdppaapi.js +9 -71
- package/dist/api/afnorpdppadirectory-service-api.d.ts +1 -1
- package/dist/api/afnorpdppadirectory-service-api.js +1 -1
- package/dist/api/afnorpdppaflow-service-api.d.ts +1 -1
- package/dist/api/afnorpdppaflow-service-api.js +1 -1
- package/dist/api/async-tasks-api.d.ts +67 -0
- package/dist/api/async-tasks-api.js +135 -0
- package/dist/api/chorus-pro-api.d.ts +1 -1
- package/dist/api/chorus-pro-api.js +1 -1
- package/dist/api/client-management-api.d.ts +1 -1
- package/dist/api/client-management-api.js +1 -1
- package/dist/api/downloads-api.d.ts +1 -1
- package/dist/api/downloads-api.js +1 -1
- package/dist/api/electronic-signature-api.d.ts +220 -0
- package/dist/api/electronic-signature-api.js +456 -0
- package/dist/api/factur-xconversion-api.d.ts +190 -0
- package/dist/api/{document-conversion-api.js → factur-xconversion-api.js} +68 -68
- package/dist/api/factur-xgeneration-api.d.ts +171 -0
- package/dist/api/factur-xgeneration-api.js +343 -0
- package/dist/api/factur-xpdfxmlverification-api.d.ts +145 -0
- package/dist/api/factur-xpdfxmlverification-api.js +304 -0
- package/dist/api/factur-xvalidation-api.d.ts +170 -0
- package/dist/api/factur-xvalidation-api.js +351 -0
- package/dist/api/{ereporting-api.d.ts → flux10-ereporting-api.d.ts} +29 -25
- package/dist/api/{ereporting-api.js → flux10-ereporting-api.js} +65 -58
- package/dist/api/flux6-invoice-lifecycle-cdarapi.d.ts +361 -0
- package/dist/api/{cdarcycle-de-vie-api.js → flux6-invoice-lifecycle-cdarapi.js} +180 -106
- package/dist/api/health-api.d.ts +29 -1
- package/dist/api/health-api.js +63 -1
- package/dist/api.d.ts +9 -7
- package/dist/api.js +9 -7
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api/afnorpdppaapi.d.ts +9 -37
- package/dist/esm/api/afnorpdppaapi.js +9 -71
- package/dist/esm/api/afnorpdppadirectory-service-api.d.ts +1 -1
- package/dist/esm/api/afnorpdppadirectory-service-api.js +1 -1
- package/dist/esm/api/afnorpdppaflow-service-api.d.ts +1 -1
- package/dist/esm/api/afnorpdppaflow-service-api.js +1 -1
- package/dist/esm/api/async-tasks-api.d.ts +67 -0
- package/dist/esm/api/async-tasks-api.js +125 -0
- package/dist/esm/api/chorus-pro-api.d.ts +1 -1
- package/dist/esm/api/chorus-pro-api.js +1 -1
- package/dist/esm/api/client-management-api.d.ts +1 -1
- package/dist/esm/api/client-management-api.js +1 -1
- package/dist/esm/api/downloads-api.d.ts +1 -1
- package/dist/esm/api/downloads-api.js +1 -1
- package/dist/esm/api/electronic-signature-api.d.ts +220 -0
- package/dist/esm/api/electronic-signature-api.js +446 -0
- package/dist/esm/api/factur-xconversion-api.d.ts +190 -0
- package/dist/esm/api/{document-conversion-api.js → factur-xconversion-api.js} +63 -63
- package/dist/esm/api/factur-xgeneration-api.d.ts +171 -0
- package/dist/esm/api/factur-xgeneration-api.js +333 -0
- package/dist/esm/api/factur-xpdfxmlverification-api.d.ts +145 -0
- package/dist/esm/api/factur-xpdfxmlverification-api.js +294 -0
- package/dist/esm/api/factur-xvalidation-api.d.ts +170 -0
- package/dist/esm/api/factur-xvalidation-api.js +341 -0
- package/dist/esm/api/{ereporting-api.d.ts → flux10-ereporting-api.d.ts} +29 -25
- package/dist/esm/api/{ereporting-api.js → flux10-ereporting-api.js} +60 -53
- package/dist/esm/api/flux6-invoice-lifecycle-cdarapi.d.ts +361 -0
- package/dist/esm/api/{cdarcycle-de-vie-api.js → flux6-invoice-lifecycle-cdarapi.js} +175 -101
- package/dist/esm/api/health-api.d.ts +29 -1
- package/dist/esm/api/health-api.js +64 -2
- package/dist/esm/api.d.ts +9 -7
- package/dist/esm/api.js +9 -7
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/models/acknowledgment-status.d.ts +1 -1
- package/dist/esm/models/acknowledgment-status.js +1 -1
- package/dist/esm/models/action-code-info.d.ts +1 -1
- package/dist/esm/models/action-code-info.js +1 -1
- package/dist/esm/models/action-codes-response.d.ts +1 -1
- package/dist/esm/models/action-codes-response.js +1 -1
- package/dist/esm/models/additional-document.d.ts +1 -1
- package/dist/esm/models/additional-document.js +1 -1
- package/dist/esm/models/afnoracknowledgement-detail.d.ts +1 -1
- package/dist/esm/models/afnoracknowledgement-detail.js +1 -1
- package/dist/esm/models/afnoracknowledgement.d.ts +1 -1
- package/dist/esm/models/afnoracknowledgement.js +1 -1
- package/dist/esm/models/afnoraddress-edit.d.ts +1 -1
- package/dist/esm/models/afnoraddress-edit.js +1 -1
- package/dist/esm/models/afnoraddress-patch.d.ts +1 -1
- package/dist/esm/models/afnoraddress-patch.js +1 -1
- package/dist/esm/models/afnoraddress-put.d.ts +1 -1
- package/dist/esm/models/afnoraddress-put.js +1 -1
- package/dist/esm/models/afnoraddress-read.d.ts +1 -1
- package/dist/esm/models/afnoraddress-read.js +1 -1
- package/dist/esm/models/afnoralgorithm.d.ts +1 -1
- package/dist/esm/models/afnoralgorithm.js +1 -1
- package/dist/esm/models/afnorcontains-operator.d.ts +1 -1
- package/dist/esm/models/afnorcontains-operator.js +1 -1
- package/dist/esm/models/afnorcreate-directory-line-body-addressing-information.d.ts +1 -1
- package/dist/esm/models/afnorcreate-directory-line-body-addressing-information.js +1 -1
- package/dist/esm/models/afnorcreate-directory-line-body-period.d.ts +1 -1
- package/dist/esm/models/afnorcreate-directory-line-body-period.js +1 -1
- package/dist/esm/models/afnorcreate-directory-line-body.d.ts +1 -1
- package/dist/esm/models/afnorcreate-directory-line-body.js +1 -1
- package/dist/esm/models/afnorcreate-routing-code-body.d.ts +1 -1
- package/dist/esm/models/afnorcreate-routing-code-body.js +1 -1
- package/dist/esm/models/afnorcredentials.d.ts +1 -1
- package/dist/esm/models/afnorcredentials.js +1 -1
- package/dist/esm/models/afnordestination.d.ts +1 -1
- package/dist/esm/models/afnordestination.js +1 -1
- package/dist/esm/models/afnordiffusion-status.d.ts +1 -1
- package/dist/esm/models/afnordiffusion-status.js +1 -1
- package/dist/esm/models/afnordirectory-line-field.d.ts +1 -1
- package/dist/esm/models/afnordirectory-line-field.js +1 -1
- package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.d.ts +1 -1
- package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.js +1 -1
- package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.d.ts +1 -1
- package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.js +1 -1
- package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.d.ts +1 -1
- package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.js +1 -1
- package/dist/esm/models/afnordirectory-line-post201-response.d.ts +1 -1
- package/dist/esm/models/afnordirectory-line-post201-response.js +1 -1
- package/dist/esm/models/afnordirectory-line-search-post200-response.d.ts +1 -1
- package/dist/esm/models/afnordirectory-line-search-post200-response.js +1 -1
- package/dist/esm/models/afnorentity-type.d.ts +1 -1
- package/dist/esm/models/afnorentity-type.js +1 -1
- package/dist/esm/models/afnorerror.d.ts +1 -1
- package/dist/esm/models/afnorerror.js +1 -1
- package/dist/esm/models/afnorfacility-administrative-status.d.ts +1 -1
- package/dist/esm/models/afnorfacility-administrative-status.js +1 -1
- package/dist/esm/models/afnorfacility-nature.d.ts +1 -1
- package/dist/esm/models/afnorfacility-nature.js +1 -1
- package/dist/esm/models/afnorfacility-payload-history-ule-b2g-additional-data.d.ts +1 -1
- package/dist/esm/models/afnorfacility-payload-history-ule-b2g-additional-data.js +1 -1
- package/dist/esm/models/afnorfacility-payload-history.d.ts +1 -1
- package/dist/esm/models/afnorfacility-payload-history.js +1 -1
- package/dist/esm/models/afnorfacility-payload-included.d.ts +1 -1
- package/dist/esm/models/afnorfacility-payload-included.js +1 -1
- package/dist/esm/models/afnorfacility-type.d.ts +1 -1
- package/dist/esm/models/afnorfacility-type.js +1 -1
- package/dist/esm/models/afnorflow-ack-status.d.ts +1 -1
- package/dist/esm/models/afnorflow-ack-status.js +1 -1
- package/dist/esm/models/afnorflow-direction.d.ts +1 -1
- package/dist/esm/models/afnorflow-direction.js +1 -1
- package/dist/esm/models/afnorflow-info.d.ts +1 -1
- package/dist/esm/models/afnorflow-info.js +1 -1
- package/dist/esm/models/afnorflow-profile.d.ts +1 -1
- package/dist/esm/models/afnorflow-profile.js +1 -1
- package/dist/esm/models/afnorflow-syntax.d.ts +1 -1
- package/dist/esm/models/afnorflow-syntax.js +1 -1
- package/dist/esm/models/afnorflow-type.d.ts +1 -1
- package/dist/esm/models/afnorflow-type.js +1 -1
- package/dist/esm/models/afnorflow.d.ts +1 -1
- package/dist/esm/models/afnorflow.js +1 -1
- package/dist/esm/models/afnorfull-flow-info.d.ts +1 -1
- package/dist/esm/models/afnorfull-flow-info.js +1 -1
- package/dist/esm/models/afnorhealth-check-response.d.ts +1 -1
- package/dist/esm/models/afnorhealth-check-response.js +1 -1
- package/dist/esm/models/afnorlegal-unit-administrative-status.d.ts +1 -1
- package/dist/esm/models/afnorlegal-unit-administrative-status.js +1 -1
- package/dist/esm/models/afnorlegal-unit-payload-history.d.ts +1 -1
- package/dist/esm/models/afnorlegal-unit-payload-history.js +1 -1
- package/dist/esm/models/afnorlegal-unit-payload-included-no-siren.d.ts +1 -1
- package/dist/esm/models/afnorlegal-unit-payload-included-no-siren.js +1 -1
- package/dist/esm/models/afnorlegal-unit-payload-included.d.ts +1 -1
- package/dist/esm/models/afnorlegal-unit-payload-included.js +1 -1
- package/dist/esm/models/afnorplatform-status.d.ts +1 -1
- package/dist/esm/models/afnorplatform-status.js +1 -1
- package/dist/esm/models/afnorprocessing-rule.d.ts +1 -1
- package/dist/esm/models/afnorprocessing-rule.js +1 -1
- package/dist/esm/models/afnorreason-code-enum.d.ts +1 -1
- package/dist/esm/models/afnorreason-code-enum.js +1 -1
- package/dist/esm/models/afnorreason-code.d.ts +1 -1
- package/dist/esm/models/afnorreason-code.js +1 -1
- package/dist/esm/models/afnorrecipient-platform-type.d.ts +1 -1
- package/dist/esm/models/afnorrecipient-platform-type.js +1 -1
- package/dist/esm/models/afnorresult.d.ts +1 -1
- package/dist/esm/models/afnorresult.js +1 -1
- package/dist/esm/models/afnorrouting-code-administrative-status.d.ts +1 -1
- package/dist/esm/models/afnorrouting-code-administrative-status.js +1 -1
- package/dist/esm/models/afnorrouting-code-field.d.ts +1 -1
- package/dist/esm/models/afnorrouting-code-field.js +1 -1
- package/dist/esm/models/afnorrouting-code-payload-history-legal-unit-facility.d.ts +1 -1
- package/dist/esm/models/afnorrouting-code-payload-history-legal-unit-facility.js +1 -1
- package/dist/esm/models/afnorrouting-code-post201-response.d.ts +1 -1
- package/dist/esm/models/afnorrouting-code-post201-response.js +1 -1
- package/dist/esm/models/afnorrouting-code-search-filters-administrative-status.d.ts +1 -1
- package/dist/esm/models/afnorrouting-code-search-filters-administrative-status.js +1 -1
- package/dist/esm/models/afnorrouting-code-search-filters-routing-code-name.d.ts +1 -1
- package/dist/esm/models/afnorrouting-code-search-filters-routing-code-name.js +1 -1
- package/dist/esm/models/afnorrouting-code-search-filters-routing-identifier.d.ts +1 -1
- package/dist/esm/models/afnorrouting-code-search-filters-routing-identifier.js +1 -1
- package/dist/esm/models/afnorrouting-code-search-filters.d.ts +1 -1
- package/dist/esm/models/afnorrouting-code-search-filters.js +1 -1
- package/dist/esm/models/afnorrouting-code-search-post200-response.d.ts +1 -1
- package/dist/esm/models/afnorrouting-code-search-post200-response.js +1 -1
- package/dist/esm/models/afnorrouting-code-search-sorting-inner.d.ts +1 -1
- package/dist/esm/models/afnorrouting-code-search-sorting-inner.js +1 -1
- package/dist/esm/models/afnorrouting-code-search.d.ts +1 -1
- package/dist/esm/models/afnorrouting-code-search.js +1 -1
- package/dist/esm/models/afnorsearch-directory-line-filters-addressing-identifier.d.ts +1 -1
- package/dist/esm/models/afnorsearch-directory-line-filters-addressing-identifier.js +1 -1
- package/dist/esm/models/afnorsearch-directory-line-filters-addressing-suffix.d.ts +1 -1
- package/dist/esm/models/afnorsearch-directory-line-filters-addressing-suffix.js +1 -1
- package/dist/esm/models/afnorsearch-directory-line-filters.d.ts +1 -1
- package/dist/esm/models/afnorsearch-directory-line-filters.js +1 -1
- package/dist/esm/models/afnorsearch-directory-line-sorting-inner.d.ts +1 -1
- package/dist/esm/models/afnorsearch-directory-line-sorting-inner.js +1 -1
- package/dist/esm/models/afnorsearch-directory-line.d.ts +1 -1
- package/dist/esm/models/afnorsearch-directory-line.js +1 -1
- package/dist/esm/models/afnorsearch-flow-content.d.ts +1 -1
- package/dist/esm/models/afnorsearch-flow-content.js +1 -1
- package/dist/esm/models/afnorsearch-flow-filters.d.ts +1 -1
- package/dist/esm/models/afnorsearch-flow-filters.js +1 -1
- package/dist/esm/models/afnorsearch-flow-params.d.ts +1 -1
- package/dist/esm/models/afnorsearch-flow-params.js +1 -1
- package/dist/esm/models/afnorsearch-siren-filters-administrative-status.d.ts +1 -1
- package/dist/esm/models/afnorsearch-siren-filters-administrative-status.js +1 -1
- package/dist/esm/models/afnorsearch-siren-filters-business-name.d.ts +1 -1
- package/dist/esm/models/afnorsearch-siren-filters-business-name.js +1 -1
- package/dist/esm/models/afnorsearch-siren-filters-entity-type.d.ts +1 -1
- package/dist/esm/models/afnorsearch-siren-filters-entity-type.js +1 -1
- package/dist/esm/models/afnorsearch-siren-filters-siren.d.ts +1 -1
- package/dist/esm/models/afnorsearch-siren-filters-siren.js +1 -1
- package/dist/esm/models/afnorsearch-siren-filters.d.ts +1 -1
- package/dist/esm/models/afnorsearch-siren-filters.js +1 -1
- package/dist/esm/models/afnorsearch-siren-sorting-inner.d.ts +1 -1
- package/dist/esm/models/afnorsearch-siren-sorting-inner.js +1 -1
- package/dist/esm/models/afnorsearch-siren.d.ts +1 -1
- package/dist/esm/models/afnorsearch-siren.js +1 -1
- package/dist/esm/models/afnorsearch-siret-filters-address-lines.d.ts +1 -1
- package/dist/esm/models/afnorsearch-siret-filters-address-lines.js +1 -1
- package/dist/esm/models/afnorsearch-siret-filters-administrative-status.d.ts +1 -1
- package/dist/esm/models/afnorsearch-siret-filters-administrative-status.js +1 -1
- package/dist/esm/models/afnorsearch-siret-filters-country-subdivision.d.ts +1 -1
- package/dist/esm/models/afnorsearch-siret-filters-country-subdivision.js +1 -1
- package/dist/esm/models/afnorsearch-siret-filters-facility-type.d.ts +1 -1
- package/dist/esm/models/afnorsearch-siret-filters-facility-type.js +1 -1
- package/dist/esm/models/afnorsearch-siret-filters-locality.d.ts +1 -1
- package/dist/esm/models/afnorsearch-siret-filters-locality.js +1 -1
- package/dist/esm/models/afnorsearch-siret-filters-name.d.ts +1 -1
- package/dist/esm/models/afnorsearch-siret-filters-name.js +1 -1
- package/dist/esm/models/afnorsearch-siret-filters-postal-code.d.ts +1 -1
- package/dist/esm/models/afnorsearch-siret-filters-postal-code.js +1 -1
- package/dist/esm/models/afnorsearch-siret-filters-siret.d.ts +1 -1
- package/dist/esm/models/afnorsearch-siret-filters-siret.js +1 -1
- package/dist/esm/models/afnorsearch-siret-filters.d.ts +1 -1
- package/dist/esm/models/afnorsearch-siret-filters.js +1 -1
- package/dist/esm/models/afnorsearch-siret-sorting-inner.d.ts +1 -1
- package/dist/esm/models/afnorsearch-siret-sorting-inner.js +1 -1
- package/dist/esm/models/afnorsearch-siret.d.ts +1 -1
- package/dist/esm/models/afnorsearch-siret.js +1 -1
- package/dist/esm/models/afnorsiren-field.d.ts +1 -1
- package/dist/esm/models/afnorsiren-field.js +1 -1
- package/dist/esm/models/afnorsiren-search-post200-response.d.ts +1 -1
- package/dist/esm/models/afnorsiren-search-post200-response.js +1 -1
- package/dist/esm/models/afnorsiret-field.d.ts +1 -1
- package/dist/esm/models/afnorsiret-field.js +1 -1
- package/dist/esm/models/afnorsiret-search-post200-response.d.ts +1 -1
- package/dist/esm/models/afnorsiret-search-post200-response.js +1 -1
- package/dist/esm/models/afnorsorting-order.d.ts +1 -1
- package/dist/esm/models/afnorsorting-order.js +1 -1
- package/dist/esm/models/afnorstrict-operator.d.ts +1 -1
- package/dist/esm/models/afnorstrict-operator.js +1 -1
- package/dist/esm/models/afnorupdate-patch-directory-line-body.d.ts +1 -1
- package/dist/esm/models/afnorupdate-patch-directory-line-body.js +1 -1
- package/dist/esm/models/afnorupdate-patch-routing-code-body.d.ts +1 -1
- package/dist/esm/models/afnorupdate-patch-routing-code-body.js +1 -1
- package/dist/esm/models/afnorupdate-put-routing-code-body.d.ts +1 -1
- package/dist/esm/models/afnorupdate-put-routing-code-body.js +1 -1
- package/dist/esm/models/afnorwebhook-callback-content.d.ts +1 -1
- package/dist/esm/models/afnorwebhook-callback-content.js +1 -1
- package/dist/esm/models/aggregated-payment-input.d.ts +1 -1
- package/dist/esm/models/aggregated-payment-input.js +1 -1
- package/dist/esm/models/aggregated-transaction-input.d.ts +1 -1
- package/dist/esm/models/aggregated-transaction-input.js +1 -1
- package/dist/esm/models/allowance-charge-reason-code.d.ts +1 -1
- package/dist/esm/models/allowance-charge-reason-code.js +1 -1
- package/dist/esm/models/allowance-charge.d.ts +1 -1
- package/dist/esm/models/allowance-charge.js +1 -1
- package/dist/esm/models/allowance-reason-code.d.ts +1 -1
- package/dist/esm/models/allowance-reason-code.js +1 -1
- package/dist/esm/models/allowance-total-amount.d.ts +1 -1
- package/dist/esm/models/allowance-total-amount.js +1 -1
- package/dist/esm/models/amount-due.d.ts +1 -1
- package/dist/esm/models/amount-due.js +1 -1
- package/dist/esm/models/amount.d.ts +1 -1
- package/dist/esm/models/amount.js +1 -1
- package/dist/esm/models/amount1.d.ts +1 -1
- package/dist/esm/models/amount1.js +1 -1
- package/dist/esm/models/amount2.d.ts +1 -1
- package/dist/esm/models/amount2.js +1 -1
- package/dist/esm/models/apierror.d.ts +1 -1
- package/dist/esm/models/apierror.js +1 -1
- package/dist/esm/models/apiprofile.d.ts +1 -1
- package/dist/esm/models/apiprofile.js +1 -1
- package/dist/esm/models/async-task-status.d.ts +1 -1
- package/dist/esm/models/async-task-status.js +1 -1
- package/dist/esm/models/base-amount.d.ts +1 -1
- package/dist/esm/models/base-amount.js +1 -1
- package/dist/esm/models/bounding-box-schema.d.ts +1 -1
- package/dist/esm/models/bounding-box-schema.js +1 -1
- package/dist/esm/models/buyercountry.d.ts +2 -2
- package/dist/esm/models/buyercountry.js +1 -1
- package/dist/esm/models/celery-status.d.ts +1 -1
- package/dist/esm/models/celery-status.js +1 -1
- package/dist/esm/models/certificate-info-response.d.ts +1 -1
- package/dist/esm/models/certificate-info-response.js +1 -1
- package/dist/esm/models/charge-total-amount.d.ts +1 -1
- package/dist/esm/models/charge-total-amount.js +1 -1
- package/dist/esm/models/chorus-pro-credentials.d.ts +8 -20
- package/dist/esm/models/chorus-pro-credentials.js +1 -1
- package/dist/esm/models/chorus-pro-destination.d.ts +3 -3
- package/dist/esm/models/chorus-pro-destination.js +1 -1
- package/dist/esm/models/chorus-pro-result.d.ts +1 -1
- package/dist/esm/models/chorus-pro-result.js +1 -1
- package/dist/esm/models/client-activate-response.d.ts +1 -1
- package/dist/esm/models/client-activate-response.js +1 -1
- package/dist/esm/models/client-create-request.d.ts +1 -1
- package/dist/esm/models/client-create-request.js +1 -1
- package/dist/esm/models/client-detail.d.ts +1 -1
- package/dist/esm/models/client-detail.js +1 -1
- package/dist/esm/models/client-list-response.d.ts +1 -1
- package/dist/esm/models/client-list-response.js +1 -1
- package/dist/esm/models/client-summary.d.ts +1 -1
- package/dist/esm/models/client-summary.js +1 -1
- package/dist/esm/models/client-update-request.d.ts +1 -1
- package/dist/esm/models/client-update-request.js +1 -1
- package/dist/esm/models/contact.d.ts +1 -1
- package/dist/esm/models/contact.js +1 -1
- package/dist/esm/models/convert-resume-request.d.ts +1 -1
- package/dist/esm/models/convert-resume-request.js +1 -1
- package/dist/esm/models/convert-success-response.d.ts +1 -1
- package/dist/esm/models/convert-success-response.js +1 -1
- package/dist/esm/models/convert-validation-failed-response.d.ts +1 -1
- package/dist/esm/models/convert-validation-failed-response.js +1 -1
- package/dist/esm/models/country-code.d.ts +1 -1
- package/dist/esm/models/country-code.js +1 -1
- package/dist/esm/models/create-aggregated-report-request.d.ts +4 -2
- package/dist/esm/models/create-aggregated-report-request.js +1 -1
- package/dist/esm/models/create-cdarrequest.d.ts +1 -1
- package/dist/esm/models/create-cdarrequest.js +1 -1
- package/dist/esm/models/create-ereporting-request.d.ts +4 -2
- package/dist/esm/models/create-ereporting-request.js +1 -1
- package/dist/esm/models/currency-code.d.ts +1 -1
- package/dist/esm/models/currency-code.js +1 -1
- package/dist/esm/models/currency.d.ts +1 -1
- package/dist/esm/models/currency.js +1 -1
- package/dist/esm/models/delivery-party.d.ts +1 -1
- package/dist/esm/models/delivery-party.js +1 -1
- package/dist/esm/models/destination.d.ts +1 -1
- package/dist/esm/models/destination.js +1 -1
- package/dist/esm/models/doc-type.d.ts +1 -1
- package/dist/esm/models/doc-type.js +1 -1
- package/dist/esm/models/document-type-info.d.ts +1 -1
- package/dist/esm/models/document-type-info.js +1 -1
- package/dist/esm/models/electronic-address.d.ts +1 -1
- package/dist/esm/models/electronic-address.js +1 -1
- package/dist/esm/models/encaisseamount.d.ts +1 -1
- package/dist/esm/models/encaisseamount.js +1 -1
- package/dist/esm/models/encaisseamount1.d.ts +1 -1
- package/dist/esm/models/encaisseamount1.js +1 -1
- package/dist/esm/models/encaissee-request.d.ts +16 -8
- package/dist/esm/models/encaissee-request.js +1 -1
- package/dist/esm/models/enriched-invoice-info.d.ts +1 -1
- package/dist/esm/models/enriched-invoice-info.js +1 -1
- package/dist/esm/models/ereporting-flow-type.d.ts +1 -1
- package/dist/esm/models/ereporting-flow-type.js +1 -1
- package/dist/esm/models/ereporting-validation-error.d.ts +1 -1
- package/dist/esm/models/ereporting-validation-error.js +1 -1
- package/dist/esm/models/error-level.d.ts +1 -1
- package/dist/esm/models/error-level.js +1 -1
- package/dist/esm/models/error-source.d.ts +2 -1
- package/dist/esm/models/error-source.js +2 -1
- package/dist/esm/models/extraction-info.d.ts +1 -1
- package/dist/esm/models/extraction-info.js +1 -1
- package/dist/esm/models/factur-xinvoice.d.ts +2 -2
- package/dist/esm/models/factur-xinvoice.js +1 -1
- package/dist/esm/models/factur-xpdfinfo.d.ts +1 -1
- package/dist/esm/models/factur-xpdfinfo.js +1 -1
- package/dist/esm/models/facture-electronique-rest-api-schemas-cdar-validation-error-response.d.ts +1 -1
- package/dist/esm/models/facture-electronique-rest-api-schemas-cdar-validation-error-response.js +1 -1
- 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-ereporting-invoice-type-code.d.ts +1 -1
- package/dist/esm/models/facture-electronique-rest-api-schemas-ereporting-invoice-type-code.js +1 -1
- package/dist/esm/models/field-status.d.ts +1 -1
- package/dist/esm/models/field-status.js +1 -1
- package/dist/esm/models/file-info.d.ts +1 -1
- package/dist/esm/models/file-info.js +1 -1
- package/dist/esm/models/files-info.d.ts +1 -1
- package/dist/esm/models/files-info.js +1 -1
- package/dist/esm/models/flow-direction.d.ts +1 -1
- package/dist/esm/models/flow-direction.js +1 -1
- package/dist/esm/models/flow-profile.d.ts +1 -1
- package/dist/esm/models/flow-profile.js +1 -1
- package/dist/esm/models/flow-summary.d.ts +1 -1
- package/dist/esm/models/flow-summary.js +1 -1
- package/dist/esm/models/flow-syntax.d.ts +1 -1
- package/dist/esm/models/flow-syntax.js +1 -1
- package/dist/esm/models/flow-type.d.ts +1 -1
- package/dist/esm/models/flow-type.js +1 -1
- package/dist/esm/models/generate-aggregated-report-response.d.ts +1 -1
- package/dist/esm/models/generate-aggregated-report-response.js +1 -1
- package/dist/esm/models/generate-cdarresponse.d.ts +1 -1
- package/dist/esm/models/generate-cdarresponse.js +1 -1
- package/dist/esm/models/generate-certificate-request.d.ts +1 -1
- package/dist/esm/models/generate-certificate-request.js +1 -1
- package/dist/esm/models/generate-certificate-response.d.ts +1 -1
- package/dist/esm/models/generate-certificate-response.js +1 -1
- package/dist/esm/models/generate-ereporting-response.d.ts +1 -1
- package/dist/esm/models/generate-ereporting-response.js +1 -1
- package/dist/esm/models/get-chorus-pro-id-request.d.ts +3 -3
- package/dist/esm/models/get-chorus-pro-id-request.js +1 -1
- package/dist/esm/models/get-chorus-pro-id-response.d.ts +1 -1
- package/dist/esm/models/get-chorus-pro-id-response.js +1 -1
- package/dist/esm/models/get-invoice-request.d.ts +3 -3
- package/dist/esm/models/get-invoice-request.js +1 -1
- package/dist/esm/models/get-invoice-response.d.ts +1 -1
- package/dist/esm/models/get-invoice-response.js +1 -1
- package/dist/esm/models/get-structure-request.d.ts +3 -3
- package/dist/esm/models/get-structure-request.js +1 -1
- package/dist/esm/models/get-structure-response.d.ts +1 -1
- package/dist/esm/models/get-structure-response.js +1 -1
- package/dist/esm/models/global-allowance-amount.d.ts +1 -1
- package/dist/esm/models/global-allowance-amount.js +1 -1
- package/dist/esm/models/gross-unit-price.d.ts +1 -1
- package/dist/esm/models/gross-unit-price.js +1 -1
- package/dist/esm/models/httpvalidation-error.d.ts +1 -1
- package/dist/esm/models/httpvalidation-error.js +1 -1
- package/dist/esm/models/incoming-invoice.d.ts +1 -1
- package/dist/esm/models/incoming-invoice.js +1 -1
- package/dist/esm/models/incoming-supplier.d.ts +1 -1
- package/dist/esm/models/incoming-supplier.js +1 -1
- package/dist/esm/models/index.d.ts +3 -1
- package/dist/esm/models/index.js +3 -1
- package/dist/esm/models/invoice-format.d.ts +1 -1
- package/dist/esm/models/invoice-format.js +1 -1
- package/dist/esm/models/invoice-input.d.ts +4 -6
- package/dist/esm/models/invoice-input.js +1 -1
- package/dist/esm/models/invoice-line-allowance-amount.d.ts +1 -1
- package/dist/esm/models/invoice-line-allowance-amount.js +1 -1
- package/dist/esm/models/invoice-line.d.ts +1 -1
- package/dist/esm/models/invoice-line.js +1 -1
- package/dist/esm/models/invoice-note.d.ts +1 -1
- package/dist/esm/models/invoice-note.js +1 -1
- package/dist/esm/models/invoice-payment-input.d.ts +1 -1
- package/dist/esm/models/invoice-payment-input.js +1 -1
- package/dist/esm/models/invoice-references.d.ts +1 -1
- package/dist/esm/models/invoice-references.js +1 -1
- package/dist/esm/models/invoice-status.d.ts +1 -1
- package/dist/esm/models/invoice-status.js +1 -1
- package/dist/esm/models/invoice-totals-prepayment.d.ts +1 -1
- package/dist/esm/models/invoice-totals-prepayment.js +1 -1
- package/dist/esm/models/invoice-totals.d.ts +1 -1
- package/dist/esm/models/invoice-totals.js +1 -1
- package/dist/esm/models/invoice-type-code-output.d.ts +1 -1
- package/dist/esm/models/invoice-type-code-output.js +1 -1
- package/dist/esm/models/invoice-type-code.d.ts +1 -1
- package/dist/esm/models/invoice-type-code.js +1 -1
- package/dist/esm/models/invoicing-framework-code.d.ts +1 -1
- package/dist/esm/models/invoicing-framework-code.js +1 -1
- package/dist/esm/models/invoicing-framework.d.ts +1 -1
- package/dist/esm/models/invoicing-framework.js +1 -1
- package/dist/esm/models/issuer-role-code.d.ts +19 -0
- package/dist/esm/models/issuer-role-code.js +20 -0
- package/dist/esm/models/line-net-amount.d.ts +1 -1
- package/dist/esm/models/line-net-amount.js +1 -1
- package/dist/esm/models/line-sub-type.d.ts +1 -1
- package/dist/esm/models/line-sub-type.js +1 -1
- package/dist/esm/models/line-total-amount.d.ts +1 -1
- package/dist/esm/models/line-total-amount.js +1 -1
- package/dist/esm/models/location-inner.d.ts +1 -1
- package/dist/esm/models/location-inner.js +1 -1
- package/dist/esm/models/mandatory-note-schema.d.ts +1 -1
- package/dist/esm/models/mandatory-note-schema.js +1 -1
- package/dist/esm/models/manual-rate.d.ts +1 -1
- package/dist/esm/models/manual-rate.js +1 -1
- package/dist/esm/models/manual-vat-rate.d.ts +1 -1
- package/dist/esm/models/manual-vat-rate.js +1 -1
- package/dist/esm/models/missing-field.d.ts +1 -1
- package/dist/esm/models/missing-field.js +1 -1
- package/dist/esm/models/operation-nature.d.ts +1 -1
- package/dist/esm/models/operation-nature.js +1 -1
- package/dist/esm/models/output-format.d.ts +1 -1
- package/dist/esm/models/output-format.js +1 -1
- package/dist/esm/models/page-dimensions-schema.d.ts +1 -1
- package/dist/esm/models/page-dimensions-schema.js +1 -1
- package/dist/esm/models/payee.d.ts +1 -1
- package/dist/esm/models/payee.js +1 -1
- package/dist/esm/models/payment-amount-by-rate.d.ts +1 -1
- package/dist/esm/models/payment-amount-by-rate.js +1 -1
- package/dist/esm/models/payment-card.d.ts +1 -1
- package/dist/esm/models/payment-card.js +1 -1
- package/dist/esm/models/payment-means.d.ts +1 -1
- package/dist/esm/models/payment-means.js +1 -1
- package/dist/esm/models/pdfvalidation-result-api.d.ts +1 -1
- package/dist/esm/models/pdfvalidation-result-api.js +1 -1
- package/dist/esm/models/pdpconfig-response.d.ts +1 -1
- package/dist/esm/models/pdpconfig-response.js +1 -1
- package/dist/esm/models/pdpconfig-update-request.d.ts +1 -1
- package/dist/esm/models/pdpconfig-update-request.js +1 -1
- package/dist/esm/models/pdpcredentials.d.ts +1 -1
- package/dist/esm/models/pdpcredentials.js +1 -1
- package/dist/esm/models/percentage.d.ts +1 -1
- package/dist/esm/models/percentage.js +1 -1
- package/dist/esm/models/postal-address.d.ts +1 -1
- package/dist/esm/models/postal-address.js +1 -1
- package/dist/esm/models/price-allowance-amount.d.ts +1 -1
- package/dist/esm/models/price-allowance-amount.js +1 -1
- package/dist/esm/models/price-basis-quantity.d.ts +1 -1
- package/dist/esm/models/price-basis-quantity.js +1 -1
- package/dist/esm/models/processing-options.d.ts +1 -1
- package/dist/esm/models/processing-options.js +1 -1
- package/dist/esm/models/processing-rule.d.ts +1 -1
- package/dist/esm/models/processing-rule.js +1 -1
- package/dist/esm/models/product-characteristic.d.ts +1 -1
- package/dist/esm/models/product-characteristic.js +1 -1
- package/dist/esm/models/product-classification.d.ts +1 -1
- package/dist/esm/models/product-classification.js +1 -1
- package/dist/esm/models/quantity.d.ts +1 -1
- package/dist/esm/models/quantity.js +1 -1
- package/dist/esm/models/rate.d.ts +1 -1
- package/dist/esm/models/rate.js +1 -1
- package/dist/esm/models/rate1.d.ts +1 -1
- package/dist/esm/models/rate1.js +1 -1
- package/dist/esm/models/reason-code-info.d.ts +1 -1
- package/dist/esm/models/reason-code-info.js +1 -1
- package/dist/esm/models/reason-codes-response.d.ts +1 -1
- package/dist/esm/models/reason-codes-response.js +1 -1
- package/dist/esm/models/recipient-input.d.ts +1 -1
- package/dist/esm/models/recipient-input.js +1 -1
- package/dist/esm/models/recipient.d.ts +1 -1
- package/dist/esm/models/recipient.js +1 -1
- package/dist/esm/models/refusee-request.d.ts +16 -8
- package/dist/esm/models/refusee-request.js +1 -1
- package/dist/esm/models/report-issuer.d.ts +27 -0
- package/dist/esm/models/report-issuer.js +14 -0
- package/dist/esm/models/report-period.d.ts +1 -1
- package/dist/esm/models/report-period.js +1 -1
- package/dist/esm/models/report-sender.d.ts +3 -3
- package/dist/esm/models/report-sender.js +1 -1
- package/dist/esm/models/rounding-amount.d.ts +1 -1
- package/dist/esm/models/rounding-amount.js +1 -1
- package/dist/esm/models/schematron-validation-error.d.ts +1 -1
- package/dist/esm/models/schematron-validation-error.js +1 -1
- package/dist/esm/models/scheme-id.d.ts +1 -1
- package/dist/esm/models/scheme-id.js +1 -1
- package/dist/esm/models/search-flow-request.d.ts +1 -1
- package/dist/esm/models/search-flow-request.js +1 -1
- package/dist/esm/models/search-flow-response.d.ts +1 -1
- package/dist/esm/models/search-flow-response.js +1 -1
- package/dist/esm/models/search-services-response.d.ts +1 -1
- package/dist/esm/models/search-services-response.js +1 -1
- package/dist/esm/models/search-structure-request.d.ts +3 -3
- package/dist/esm/models/search-structure-request.js +1 -1
- package/dist/esm/models/search-structure-response.d.ts +1 -1
- package/dist/esm/models/search-structure-response.js +1 -1
- package/dist/esm/models/secret-status.d.ts +1 -1
- package/dist/esm/models/secret-status.js +1 -1
- package/dist/esm/models/sellercountry.d.ts +2 -2
- package/dist/esm/models/sellercountry.js +1 -1
- package/dist/esm/models/signature-info-api.d.ts +1 -1
- package/dist/esm/models/signature-info-api.js +1 -1
- package/dist/esm/models/signature-info.d.ts +1 -1
- package/dist/esm/models/signature-info.js +1 -1
- package/dist/esm/models/signature-parameters.d.ts +1 -1
- package/dist/esm/models/signature-parameters.js +1 -1
- package/dist/esm/models/simplified-cdarresponse.d.ts +1 -1
- package/dist/esm/models/simplified-cdarresponse.js +1 -1
- package/dist/esm/models/simplified-invoice-data.d.ts +1 -1
- package/dist/esm/models/simplified-invoice-data.js +1 -1
- package/dist/esm/models/status-code-info.d.ts +1 -1
- package/dist/esm/models/status-code-info.js +1 -1
- package/dist/esm/models/status-codes-response.d.ts +1 -1
- package/dist/esm/models/status-codes-response.js +1 -1
- package/dist/esm/models/structure-info.d.ts +1 -1
- package/dist/esm/models/structure-info.js +1 -1
- package/dist/esm/models/structure-parameters.d.ts +1 -1
- package/dist/esm/models/structure-parameters.js +1 -1
- package/dist/esm/models/structure-service.d.ts +1 -1
- package/dist/esm/models/structure-service.js +1 -1
- package/dist/esm/models/submission-mode.d.ts +1 -1
- package/dist/esm/models/submission-mode.js +1 -1
- package/dist/esm/models/submit-aggregated-report-request.d.ts +1 -1
- package/dist/esm/models/submit-aggregated-report-request.js +1 -1
- package/dist/esm/models/submit-cdarrequest.d.ts +1 -1
- package/dist/esm/models/submit-cdarrequest.js +1 -1
- package/dist/esm/models/submit-cdarresponse.d.ts +1 -1
- package/dist/esm/models/submit-cdarresponse.js +1 -1
- package/dist/esm/models/submit-cdarxmlrequest.d.ts +1 -1
- package/dist/esm/models/submit-cdarxmlrequest.js +1 -1
- package/dist/esm/models/submit-complete-invoice-request.d.ts +1 -1
- package/dist/esm/models/submit-complete-invoice-request.js +1 -1
- package/dist/esm/models/submit-complete-invoice-response.d.ts +1 -1
- package/dist/esm/models/submit-complete-invoice-response.js +1 -1
- package/dist/esm/models/submit-ereporting-request.d.ts +1 -1
- package/dist/esm/models/submit-ereporting-request.js +1 -1
- package/dist/esm/models/submit-ereporting-response.d.ts +1 -1
- package/dist/esm/models/submit-ereporting-response.js +1 -1
- package/dist/esm/models/submit-flow-request.d.ts +1 -1
- package/dist/esm/models/submit-flow-request.js +1 -1
- package/dist/esm/models/submit-flow-response.d.ts +1 -1
- package/dist/esm/models/submit-flow-response.js +1 -1
- package/dist/esm/models/submit-gross-amount.d.ts +1 -1
- package/dist/esm/models/submit-gross-amount.js +1 -1
- package/dist/esm/models/submit-invoice-request.d.ts +3 -3
- package/dist/esm/models/submit-invoice-request.js +1 -1
- package/dist/esm/models/submit-invoice-response.d.ts +1 -1
- package/dist/esm/models/submit-invoice-response.js +1 -1
- package/dist/esm/models/submit-net-amount.d.ts +1 -1
- package/dist/esm/models/submit-net-amount.js +1 -1
- package/dist/esm/models/submit-vat-amount.d.ts +1 -1
- package/dist/esm/models/submit-vat-amount.js +1 -1
- package/dist/esm/models/supplementary-attachment.d.ts +1 -1
- package/dist/esm/models/supplementary-attachment.js +1 -1
- package/dist/esm/models/supplier.d.ts +1 -1
- package/dist/esm/models/supplier.js +1 -1
- package/dist/esm/models/task-response.d.ts +1 -1
- package/dist/esm/models/task-response.js +1 -1
- package/dist/esm/models/tax-breakdown-input.d.ts +1 -1
- package/dist/esm/models/tax-breakdown-input.js +1 -1
- package/dist/esm/models/tax-due-date-type.d.ts +1 -1
- package/dist/esm/models/tax-due-date-type.js +1 -1
- package/dist/esm/models/tax-representative.d.ts +1 -1
- package/dist/esm/models/tax-representative.js +1 -1
- package/dist/esm/models/taxable-amount.d.ts +1 -1
- package/dist/esm/models/taxable-amount.js +1 -1
- package/dist/esm/models/taxableamount.d.ts +1 -1
- package/dist/esm/models/taxableamount.js +1 -1
- package/dist/esm/models/taxamount.d.ts +1 -1
- package/dist/esm/models/taxamount.js +1 -1
- package/dist/esm/models/taxamount1.d.ts +1 -1
- package/dist/esm/models/taxamount1.js +1 -1
- package/dist/esm/models/taxamount2.d.ts +1 -1
- package/dist/esm/models/taxamount2.js +1 -1
- package/dist/esm/models/taxexclusiveamount.d.ts +1 -1
- package/dist/esm/models/taxexclusiveamount.js +1 -1
- package/dist/esm/models/taxexclusiveamount1.d.ts +1 -1
- package/dist/esm/models/taxexclusiveamount1.js +1 -1
- package/dist/esm/models/total-gross-amount.d.ts +1 -1
- package/dist/esm/models/total-gross-amount.js +1 -1
- package/dist/esm/models/total-net-amount.d.ts +1 -1
- package/dist/esm/models/total-net-amount.js +1 -1
- package/dist/esm/models/total-vatamount.d.ts +1 -1
- package/dist/esm/models/total-vatamount.js +1 -1
- package/dist/esm/models/transaction-category.d.ts +1 -1
- package/dist/esm/models/transaction-category.js +1 -1
- package/dist/esm/models/transmission-type-code.d.ts +1 -1
- package/dist/esm/models/transmission-type-code.js +1 -1
- package/dist/esm/models/unit-net-price.d.ts +1 -1
- package/dist/esm/models/unit-net-price.js +1 -1
- package/dist/esm/models/unit-of-measure.d.ts +1 -1
- package/dist/esm/models/unit-of-measure.js +1 -1
- package/dist/esm/models/validate-cdarrequest.d.ts +1 -1
- package/dist/esm/models/validate-cdarrequest.js +1 -1
- package/dist/esm/models/validate-cdarresponse.d.ts +1 -1
- package/dist/esm/models/validate-cdarresponse.js +1 -1
- package/dist/esm/models/validate-ereporting-request.d.ts +1 -1
- package/dist/esm/models/validate-ereporting-request.js +1 -1
- package/dist/esm/models/validate-ereporting-response.d.ts +1 -1
- package/dist/esm/models/validate-ereporting-response.js +1 -1
- package/dist/esm/models/validation-error-detail.d.ts +1 -1
- package/dist/esm/models/validation-error-detail.js +1 -1
- package/dist/esm/models/validation-error-response.d.ts +1 -1
- package/dist/esm/models/validation-error-response.js +1 -1
- package/dist/esm/models/validation-error.d.ts +1 -1
- package/dist/esm/models/validation-error.js +1 -1
- package/dist/esm/models/validation-info.d.ts +1 -1
- package/dist/esm/models/validation-info.js +1 -1
- package/dist/esm/models/validation-success-response.d.ts +1 -1
- package/dist/esm/models/validation-success-response.js +1 -1
- package/dist/esm/models/vat-rate.d.ts +1 -1
- package/dist/esm/models/vat-rate.js +1 -1
- package/dist/esm/models/vataccounting-code.d.ts +1 -1
- package/dist/esm/models/vataccounting-code.js +1 -1
- package/dist/esm/models/vatamount.d.ts +1 -1
- package/dist/esm/models/vatamount.js +1 -1
- package/dist/esm/models/vatcategory.d.ts +1 -1
- package/dist/esm/models/vatcategory.js +1 -1
- package/dist/esm/models/vatline.d.ts +1 -1
- package/dist/esm/models/vatline.js +1 -1
- package/dist/esm/models/vatpoint-date-code.d.ts +1 -1
- package/dist/esm/models/vatpoint-date-code.js +1 -1
- package/dist/esm/models/verification-success-response.d.ts +1 -1
- package/dist/esm/models/verification-success-response.js +1 -1
- package/dist/esm/models/verified-field-schema.d.ts +1 -1
- package/dist/esm/models/verified-field-schema.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/acknowledgment-status.d.ts +1 -1
- package/dist/models/acknowledgment-status.js +1 -1
- package/dist/models/action-code-info.d.ts +1 -1
- package/dist/models/action-code-info.js +1 -1
- package/dist/models/action-codes-response.d.ts +1 -1
- package/dist/models/action-codes-response.js +1 -1
- package/dist/models/additional-document.d.ts +1 -1
- package/dist/models/additional-document.js +1 -1
- package/dist/models/afnoracknowledgement-detail.d.ts +1 -1
- package/dist/models/afnoracknowledgement-detail.js +1 -1
- package/dist/models/afnoracknowledgement.d.ts +1 -1
- package/dist/models/afnoracknowledgement.js +1 -1
- package/dist/models/afnoraddress-edit.d.ts +1 -1
- package/dist/models/afnoraddress-edit.js +1 -1
- package/dist/models/afnoraddress-patch.d.ts +1 -1
- package/dist/models/afnoraddress-patch.js +1 -1
- package/dist/models/afnoraddress-put.d.ts +1 -1
- package/dist/models/afnoraddress-put.js +1 -1
- package/dist/models/afnoraddress-read.d.ts +1 -1
- package/dist/models/afnoraddress-read.js +1 -1
- package/dist/models/afnoralgorithm.d.ts +1 -1
- package/dist/models/afnoralgorithm.js +1 -1
- package/dist/models/afnorcontains-operator.d.ts +1 -1
- package/dist/models/afnorcontains-operator.js +1 -1
- package/dist/models/afnorcreate-directory-line-body-addressing-information.d.ts +1 -1
- package/dist/models/afnorcreate-directory-line-body-addressing-information.js +1 -1
- package/dist/models/afnorcreate-directory-line-body-period.d.ts +1 -1
- package/dist/models/afnorcreate-directory-line-body-period.js +1 -1
- package/dist/models/afnorcreate-directory-line-body.d.ts +1 -1
- package/dist/models/afnorcreate-directory-line-body.js +1 -1
- package/dist/models/afnorcreate-routing-code-body.d.ts +1 -1
- package/dist/models/afnorcreate-routing-code-body.js +1 -1
- package/dist/models/afnorcredentials.d.ts +1 -1
- package/dist/models/afnorcredentials.js +1 -1
- package/dist/models/afnordestination.d.ts +1 -1
- package/dist/models/afnordestination.js +1 -1
- package/dist/models/afnordiffusion-status.d.ts +1 -1
- package/dist/models/afnordiffusion-status.js +1 -1
- package/dist/models/afnordirectory-line-field.d.ts +1 -1
- package/dist/models/afnordirectory-line-field.js +1 -1
- package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.d.ts +1 -1
- package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.js +1 -1
- package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.d.ts +1 -1
- package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.js +1 -1
- package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.d.ts +1 -1
- package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.js +1 -1
- package/dist/models/afnordirectory-line-post201-response.d.ts +1 -1
- package/dist/models/afnordirectory-line-post201-response.js +1 -1
- package/dist/models/afnordirectory-line-search-post200-response.d.ts +1 -1
- package/dist/models/afnordirectory-line-search-post200-response.js +1 -1
- package/dist/models/afnorentity-type.d.ts +1 -1
- package/dist/models/afnorentity-type.js +1 -1
- package/dist/models/afnorerror.d.ts +1 -1
- package/dist/models/afnorerror.js +1 -1
- package/dist/models/afnorfacility-administrative-status.d.ts +1 -1
- package/dist/models/afnorfacility-administrative-status.js +1 -1
- package/dist/models/afnorfacility-nature.d.ts +1 -1
- package/dist/models/afnorfacility-nature.js +1 -1
- package/dist/models/afnorfacility-payload-history-ule-b2g-additional-data.d.ts +1 -1
- package/dist/models/afnorfacility-payload-history-ule-b2g-additional-data.js +1 -1
- package/dist/models/afnorfacility-payload-history.d.ts +1 -1
- package/dist/models/afnorfacility-payload-history.js +1 -1
- package/dist/models/afnorfacility-payload-included.d.ts +1 -1
- package/dist/models/afnorfacility-payload-included.js +1 -1
- package/dist/models/afnorfacility-type.d.ts +1 -1
- package/dist/models/afnorfacility-type.js +1 -1
- package/dist/models/afnorflow-ack-status.d.ts +1 -1
- package/dist/models/afnorflow-ack-status.js +1 -1
- package/dist/models/afnorflow-direction.d.ts +1 -1
- package/dist/models/afnorflow-direction.js +1 -1
- package/dist/models/afnorflow-info.d.ts +1 -1
- package/dist/models/afnorflow-info.js +1 -1
- package/dist/models/afnorflow-profile.d.ts +1 -1
- package/dist/models/afnorflow-profile.js +1 -1
- package/dist/models/afnorflow-syntax.d.ts +1 -1
- package/dist/models/afnorflow-syntax.js +1 -1
- package/dist/models/afnorflow-type.d.ts +1 -1
- package/dist/models/afnorflow-type.js +1 -1
- package/dist/models/afnorflow.d.ts +1 -1
- package/dist/models/afnorflow.js +1 -1
- package/dist/models/afnorfull-flow-info.d.ts +1 -1
- package/dist/models/afnorfull-flow-info.js +1 -1
- package/dist/models/afnorhealth-check-response.d.ts +1 -1
- package/dist/models/afnorhealth-check-response.js +1 -1
- package/dist/models/afnorlegal-unit-administrative-status.d.ts +1 -1
- package/dist/models/afnorlegal-unit-administrative-status.js +1 -1
- package/dist/models/afnorlegal-unit-payload-history.d.ts +1 -1
- package/dist/models/afnorlegal-unit-payload-history.js +1 -1
- package/dist/models/afnorlegal-unit-payload-included-no-siren.d.ts +1 -1
- package/dist/models/afnorlegal-unit-payload-included-no-siren.js +1 -1
- package/dist/models/afnorlegal-unit-payload-included.d.ts +1 -1
- package/dist/models/afnorlegal-unit-payload-included.js +1 -1
- package/dist/models/afnorplatform-status.d.ts +1 -1
- package/dist/models/afnorplatform-status.js +1 -1
- package/dist/models/afnorprocessing-rule.d.ts +1 -1
- package/dist/models/afnorprocessing-rule.js +1 -1
- package/dist/models/afnorreason-code-enum.d.ts +1 -1
- package/dist/models/afnorreason-code-enum.js +1 -1
- package/dist/models/afnorreason-code.d.ts +1 -1
- package/dist/models/afnorreason-code.js +1 -1
- package/dist/models/afnorrecipient-platform-type.d.ts +1 -1
- package/dist/models/afnorrecipient-platform-type.js +1 -1
- package/dist/models/afnorresult.d.ts +1 -1
- package/dist/models/afnorresult.js +1 -1
- package/dist/models/afnorrouting-code-administrative-status.d.ts +1 -1
- package/dist/models/afnorrouting-code-administrative-status.js +1 -1
- package/dist/models/afnorrouting-code-field.d.ts +1 -1
- package/dist/models/afnorrouting-code-field.js +1 -1
- package/dist/models/afnorrouting-code-payload-history-legal-unit-facility.d.ts +1 -1
- package/dist/models/afnorrouting-code-payload-history-legal-unit-facility.js +1 -1
- package/dist/models/afnorrouting-code-post201-response.d.ts +1 -1
- package/dist/models/afnorrouting-code-post201-response.js +1 -1
- package/dist/models/afnorrouting-code-search-filters-administrative-status.d.ts +1 -1
- package/dist/models/afnorrouting-code-search-filters-administrative-status.js +1 -1
- package/dist/models/afnorrouting-code-search-filters-routing-code-name.d.ts +1 -1
- package/dist/models/afnorrouting-code-search-filters-routing-code-name.js +1 -1
- package/dist/models/afnorrouting-code-search-filters-routing-identifier.d.ts +1 -1
- package/dist/models/afnorrouting-code-search-filters-routing-identifier.js +1 -1
- package/dist/models/afnorrouting-code-search-filters.d.ts +1 -1
- package/dist/models/afnorrouting-code-search-filters.js +1 -1
- package/dist/models/afnorrouting-code-search-post200-response.d.ts +1 -1
- package/dist/models/afnorrouting-code-search-post200-response.js +1 -1
- package/dist/models/afnorrouting-code-search-sorting-inner.d.ts +1 -1
- package/dist/models/afnorrouting-code-search-sorting-inner.js +1 -1
- package/dist/models/afnorrouting-code-search.d.ts +1 -1
- package/dist/models/afnorrouting-code-search.js +1 -1
- package/dist/models/afnorsearch-directory-line-filters-addressing-identifier.d.ts +1 -1
- package/dist/models/afnorsearch-directory-line-filters-addressing-identifier.js +1 -1
- package/dist/models/afnorsearch-directory-line-filters-addressing-suffix.d.ts +1 -1
- package/dist/models/afnorsearch-directory-line-filters-addressing-suffix.js +1 -1
- package/dist/models/afnorsearch-directory-line-filters.d.ts +1 -1
- package/dist/models/afnorsearch-directory-line-filters.js +1 -1
- package/dist/models/afnorsearch-directory-line-sorting-inner.d.ts +1 -1
- package/dist/models/afnorsearch-directory-line-sorting-inner.js +1 -1
- package/dist/models/afnorsearch-directory-line.d.ts +1 -1
- package/dist/models/afnorsearch-directory-line.js +1 -1
- package/dist/models/afnorsearch-flow-content.d.ts +1 -1
- package/dist/models/afnorsearch-flow-content.js +1 -1
- package/dist/models/afnorsearch-flow-filters.d.ts +1 -1
- package/dist/models/afnorsearch-flow-filters.js +1 -1
- package/dist/models/afnorsearch-flow-params.d.ts +1 -1
- package/dist/models/afnorsearch-flow-params.js +1 -1
- package/dist/models/afnorsearch-siren-filters-administrative-status.d.ts +1 -1
- package/dist/models/afnorsearch-siren-filters-administrative-status.js +1 -1
- package/dist/models/afnorsearch-siren-filters-business-name.d.ts +1 -1
- package/dist/models/afnorsearch-siren-filters-business-name.js +1 -1
- package/dist/models/afnorsearch-siren-filters-entity-type.d.ts +1 -1
- package/dist/models/afnorsearch-siren-filters-entity-type.js +1 -1
- package/dist/models/afnorsearch-siren-filters-siren.d.ts +1 -1
- package/dist/models/afnorsearch-siren-filters-siren.js +1 -1
- package/dist/models/afnorsearch-siren-filters.d.ts +1 -1
- package/dist/models/afnorsearch-siren-filters.js +1 -1
- package/dist/models/afnorsearch-siren-sorting-inner.d.ts +1 -1
- package/dist/models/afnorsearch-siren-sorting-inner.js +1 -1
- package/dist/models/afnorsearch-siren.d.ts +1 -1
- package/dist/models/afnorsearch-siren.js +1 -1
- package/dist/models/afnorsearch-siret-filters-address-lines.d.ts +1 -1
- package/dist/models/afnorsearch-siret-filters-address-lines.js +1 -1
- package/dist/models/afnorsearch-siret-filters-administrative-status.d.ts +1 -1
- package/dist/models/afnorsearch-siret-filters-administrative-status.js +1 -1
- package/dist/models/afnorsearch-siret-filters-country-subdivision.d.ts +1 -1
- package/dist/models/afnorsearch-siret-filters-country-subdivision.js +1 -1
- package/dist/models/afnorsearch-siret-filters-facility-type.d.ts +1 -1
- package/dist/models/afnorsearch-siret-filters-facility-type.js +1 -1
- package/dist/models/afnorsearch-siret-filters-locality.d.ts +1 -1
- package/dist/models/afnorsearch-siret-filters-locality.js +1 -1
- package/dist/models/afnorsearch-siret-filters-name.d.ts +1 -1
- package/dist/models/afnorsearch-siret-filters-name.js +1 -1
- package/dist/models/afnorsearch-siret-filters-postal-code.d.ts +1 -1
- package/dist/models/afnorsearch-siret-filters-postal-code.js +1 -1
- package/dist/models/afnorsearch-siret-filters-siret.d.ts +1 -1
- package/dist/models/afnorsearch-siret-filters-siret.js +1 -1
- package/dist/models/afnorsearch-siret-filters.d.ts +1 -1
- package/dist/models/afnorsearch-siret-filters.js +1 -1
- package/dist/models/afnorsearch-siret-sorting-inner.d.ts +1 -1
- package/dist/models/afnorsearch-siret-sorting-inner.js +1 -1
- package/dist/models/afnorsearch-siret.d.ts +1 -1
- package/dist/models/afnorsearch-siret.js +1 -1
- package/dist/models/afnorsiren-field.d.ts +1 -1
- package/dist/models/afnorsiren-field.js +1 -1
- package/dist/models/afnorsiren-search-post200-response.d.ts +1 -1
- package/dist/models/afnorsiren-search-post200-response.js +1 -1
- package/dist/models/afnorsiret-field.d.ts +1 -1
- package/dist/models/afnorsiret-field.js +1 -1
- package/dist/models/afnorsiret-search-post200-response.d.ts +1 -1
- package/dist/models/afnorsiret-search-post200-response.js +1 -1
- package/dist/models/afnorsorting-order.d.ts +1 -1
- package/dist/models/afnorsorting-order.js +1 -1
- package/dist/models/afnorstrict-operator.d.ts +1 -1
- package/dist/models/afnorstrict-operator.js +1 -1
- package/dist/models/afnorupdate-patch-directory-line-body.d.ts +1 -1
- package/dist/models/afnorupdate-patch-directory-line-body.js +1 -1
- package/dist/models/afnorupdate-patch-routing-code-body.d.ts +1 -1
- package/dist/models/afnorupdate-patch-routing-code-body.js +1 -1
- package/dist/models/afnorupdate-put-routing-code-body.d.ts +1 -1
- package/dist/models/afnorupdate-put-routing-code-body.js +1 -1
- package/dist/models/afnorwebhook-callback-content.d.ts +1 -1
- package/dist/models/afnorwebhook-callback-content.js +1 -1
- package/dist/models/aggregated-payment-input.d.ts +1 -1
- package/dist/models/aggregated-payment-input.js +1 -1
- package/dist/models/aggregated-transaction-input.d.ts +1 -1
- package/dist/models/aggregated-transaction-input.js +1 -1
- package/dist/models/allowance-charge-reason-code.d.ts +1 -1
- package/dist/models/allowance-charge-reason-code.js +1 -1
- package/dist/models/allowance-charge.d.ts +1 -1
- package/dist/models/allowance-charge.js +1 -1
- package/dist/models/allowance-reason-code.d.ts +1 -1
- package/dist/models/allowance-reason-code.js +1 -1
- package/dist/models/allowance-total-amount.d.ts +1 -1
- package/dist/models/allowance-total-amount.js +1 -1
- package/dist/models/amount-due.d.ts +1 -1
- package/dist/models/amount-due.js +1 -1
- package/dist/models/amount.d.ts +1 -1
- package/dist/models/amount.js +1 -1
- package/dist/models/amount1.d.ts +1 -1
- package/dist/models/amount1.js +1 -1
- package/dist/models/amount2.d.ts +1 -1
- package/dist/models/amount2.js +1 -1
- package/dist/models/apierror.d.ts +1 -1
- package/dist/models/apierror.js +1 -1
- package/dist/models/apiprofile.d.ts +1 -1
- package/dist/models/apiprofile.js +1 -1
- package/dist/models/async-task-status.d.ts +1 -1
- package/dist/models/async-task-status.js +1 -1
- package/dist/models/base-amount.d.ts +1 -1
- package/dist/models/base-amount.js +1 -1
- package/dist/models/bounding-box-schema.d.ts +1 -1
- package/dist/models/bounding-box-schema.js +1 -1
- package/dist/models/buyercountry.d.ts +2 -2
- package/dist/models/buyercountry.js +1 -1
- package/dist/models/celery-status.d.ts +1 -1
- package/dist/models/celery-status.js +1 -1
- package/dist/models/certificate-info-response.d.ts +1 -1
- package/dist/models/certificate-info-response.js +1 -1
- package/dist/models/charge-total-amount.d.ts +1 -1
- package/dist/models/charge-total-amount.js +1 -1
- package/dist/models/chorus-pro-credentials.d.ts +8 -20
- package/dist/models/chorus-pro-credentials.js +1 -1
- package/dist/models/chorus-pro-destination.d.ts +3 -3
- package/dist/models/chorus-pro-destination.js +1 -1
- package/dist/models/chorus-pro-result.d.ts +1 -1
- package/dist/models/chorus-pro-result.js +1 -1
- package/dist/models/client-activate-response.d.ts +1 -1
- package/dist/models/client-activate-response.js +1 -1
- package/dist/models/client-create-request.d.ts +1 -1
- package/dist/models/client-create-request.js +1 -1
- package/dist/models/client-detail.d.ts +1 -1
- package/dist/models/client-detail.js +1 -1
- package/dist/models/client-list-response.d.ts +1 -1
- package/dist/models/client-list-response.js +1 -1
- package/dist/models/client-summary.d.ts +1 -1
- package/dist/models/client-summary.js +1 -1
- package/dist/models/client-update-request.d.ts +1 -1
- package/dist/models/client-update-request.js +1 -1
- package/dist/models/contact.d.ts +1 -1
- package/dist/models/contact.js +1 -1
- package/dist/models/convert-resume-request.d.ts +1 -1
- package/dist/models/convert-resume-request.js +1 -1
- package/dist/models/convert-success-response.d.ts +1 -1
- package/dist/models/convert-success-response.js +1 -1
- package/dist/models/convert-validation-failed-response.d.ts +1 -1
- package/dist/models/convert-validation-failed-response.js +1 -1
- package/dist/models/country-code.d.ts +1 -1
- package/dist/models/country-code.js +1 -1
- package/dist/models/create-aggregated-report-request.d.ts +4 -2
- package/dist/models/create-aggregated-report-request.js +1 -1
- package/dist/models/create-cdarrequest.d.ts +1 -1
- package/dist/models/create-cdarrequest.js +1 -1
- package/dist/models/create-ereporting-request.d.ts +4 -2
- package/dist/models/create-ereporting-request.js +1 -1
- package/dist/models/currency-code.d.ts +1 -1
- package/dist/models/currency-code.js +1 -1
- package/dist/models/currency.d.ts +1 -1
- package/dist/models/currency.js +1 -1
- package/dist/models/delivery-party.d.ts +1 -1
- package/dist/models/delivery-party.js +1 -1
- package/dist/models/destination.d.ts +1 -1
- package/dist/models/destination.js +1 -1
- package/dist/models/doc-type.d.ts +1 -1
- package/dist/models/doc-type.js +1 -1
- package/dist/models/document-type-info.d.ts +1 -1
- package/dist/models/document-type-info.js +1 -1
- package/dist/models/electronic-address.d.ts +1 -1
- package/dist/models/electronic-address.js +1 -1
- package/dist/models/encaisseamount.d.ts +1 -1
- package/dist/models/encaisseamount.js +1 -1
- package/dist/models/encaisseamount1.d.ts +1 -1
- package/dist/models/encaisseamount1.js +1 -1
- package/dist/models/encaissee-request.d.ts +16 -8
- package/dist/models/encaissee-request.js +1 -1
- package/dist/models/enriched-invoice-info.d.ts +1 -1
- package/dist/models/enriched-invoice-info.js +1 -1
- package/dist/models/ereporting-flow-type.d.ts +1 -1
- package/dist/models/ereporting-flow-type.js +1 -1
- package/dist/models/ereporting-validation-error.d.ts +1 -1
- package/dist/models/ereporting-validation-error.js +1 -1
- package/dist/models/error-level.d.ts +1 -1
- package/dist/models/error-level.js +1 -1
- package/dist/models/error-source.d.ts +2 -1
- package/dist/models/error-source.js +2 -1
- package/dist/models/extraction-info.d.ts +1 -1
- package/dist/models/extraction-info.js +1 -1
- package/dist/models/factur-xinvoice.d.ts +2 -2
- package/dist/models/factur-xinvoice.js +1 -1
- package/dist/models/factur-xpdfinfo.d.ts +1 -1
- package/dist/models/factur-xpdfinfo.js +1 -1
- package/dist/models/facture-electronique-rest-api-schemas-cdar-validation-error-response.d.ts +1 -1
- package/dist/models/facture-electronique-rest-api-schemas-cdar-validation-error-response.js +1 -1
- 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-ereporting-invoice-type-code.d.ts +1 -1
- package/dist/models/facture-electronique-rest-api-schemas-ereporting-invoice-type-code.js +1 -1
- package/dist/models/field-status.d.ts +1 -1
- package/dist/models/field-status.js +1 -1
- package/dist/models/file-info.d.ts +1 -1
- package/dist/models/file-info.js +1 -1
- package/dist/models/files-info.d.ts +1 -1
- package/dist/models/files-info.js +1 -1
- package/dist/models/flow-direction.d.ts +1 -1
- package/dist/models/flow-direction.js +1 -1
- package/dist/models/flow-profile.d.ts +1 -1
- package/dist/models/flow-profile.js +1 -1
- package/dist/models/flow-summary.d.ts +1 -1
- package/dist/models/flow-summary.js +1 -1
- package/dist/models/flow-syntax.d.ts +1 -1
- package/dist/models/flow-syntax.js +1 -1
- package/dist/models/flow-type.d.ts +1 -1
- package/dist/models/flow-type.js +1 -1
- package/dist/models/generate-aggregated-report-response.d.ts +1 -1
- package/dist/models/generate-aggregated-report-response.js +1 -1
- package/dist/models/generate-cdarresponse.d.ts +1 -1
- package/dist/models/generate-cdarresponse.js +1 -1
- package/dist/models/generate-certificate-request.d.ts +1 -1
- package/dist/models/generate-certificate-request.js +1 -1
- package/dist/models/generate-certificate-response.d.ts +1 -1
- package/dist/models/generate-certificate-response.js +1 -1
- package/dist/models/generate-ereporting-response.d.ts +1 -1
- package/dist/models/generate-ereporting-response.js +1 -1
- package/dist/models/get-chorus-pro-id-request.d.ts +3 -3
- package/dist/models/get-chorus-pro-id-request.js +1 -1
- package/dist/models/get-chorus-pro-id-response.d.ts +1 -1
- package/dist/models/get-chorus-pro-id-response.js +1 -1
- package/dist/models/get-invoice-request.d.ts +3 -3
- package/dist/models/get-invoice-request.js +1 -1
- package/dist/models/get-invoice-response.d.ts +1 -1
- package/dist/models/get-invoice-response.js +1 -1
- package/dist/models/get-structure-request.d.ts +3 -3
- package/dist/models/get-structure-request.js +1 -1
- package/dist/models/get-structure-response.d.ts +1 -1
- package/dist/models/get-structure-response.js +1 -1
- package/dist/models/global-allowance-amount.d.ts +1 -1
- package/dist/models/global-allowance-amount.js +1 -1
- package/dist/models/gross-unit-price.d.ts +1 -1
- package/dist/models/gross-unit-price.js +1 -1
- package/dist/models/httpvalidation-error.d.ts +1 -1
- package/dist/models/httpvalidation-error.js +1 -1
- package/dist/models/incoming-invoice.d.ts +1 -1
- package/dist/models/incoming-invoice.js +1 -1
- package/dist/models/incoming-supplier.d.ts +1 -1
- package/dist/models/incoming-supplier.js +1 -1
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/dist/models/invoice-format.d.ts +1 -1
- package/dist/models/invoice-format.js +1 -1
- package/dist/models/invoice-input.d.ts +4 -6
- package/dist/models/invoice-input.js +1 -1
- package/dist/models/invoice-line-allowance-amount.d.ts +1 -1
- package/dist/models/invoice-line-allowance-amount.js +1 -1
- package/dist/models/invoice-line.d.ts +1 -1
- package/dist/models/invoice-line.js +1 -1
- package/dist/models/invoice-note.d.ts +1 -1
- package/dist/models/invoice-note.js +1 -1
- package/dist/models/invoice-payment-input.d.ts +1 -1
- package/dist/models/invoice-payment-input.js +1 -1
- package/dist/models/invoice-references.d.ts +1 -1
- package/dist/models/invoice-references.js +1 -1
- package/dist/models/invoice-status.d.ts +1 -1
- package/dist/models/invoice-status.js +1 -1
- package/dist/models/invoice-totals-prepayment.d.ts +1 -1
- package/dist/models/invoice-totals-prepayment.js +1 -1
- package/dist/models/invoice-totals.d.ts +1 -1
- package/dist/models/invoice-totals.js +1 -1
- package/dist/models/invoice-type-code-output.d.ts +1 -1
- package/dist/models/invoice-type-code-output.js +1 -1
- package/dist/models/invoice-type-code.d.ts +1 -1
- package/dist/models/invoice-type-code.js +1 -1
- package/dist/models/invoicing-framework-code.d.ts +1 -1
- package/dist/models/invoicing-framework-code.js +1 -1
- package/dist/models/invoicing-framework.d.ts +1 -1
- package/dist/models/invoicing-framework.js +1 -1
- package/dist/models/issuer-role-code.d.ts +19 -0
- package/dist/models/issuer-role-code.js +23 -0
- package/dist/models/line-net-amount.d.ts +1 -1
- package/dist/models/line-net-amount.js +1 -1
- package/dist/models/line-sub-type.d.ts +1 -1
- package/dist/models/line-sub-type.js +1 -1
- package/dist/models/line-total-amount.d.ts +1 -1
- package/dist/models/line-total-amount.js +1 -1
- package/dist/models/location-inner.d.ts +1 -1
- package/dist/models/location-inner.js +1 -1
- package/dist/models/mandatory-note-schema.d.ts +1 -1
- package/dist/models/mandatory-note-schema.js +1 -1
- package/dist/models/manual-rate.d.ts +1 -1
- package/dist/models/manual-rate.js +1 -1
- package/dist/models/manual-vat-rate.d.ts +1 -1
- package/dist/models/manual-vat-rate.js +1 -1
- package/dist/models/missing-field.d.ts +1 -1
- package/dist/models/missing-field.js +1 -1
- package/dist/models/operation-nature.d.ts +1 -1
- package/dist/models/operation-nature.js +1 -1
- package/dist/models/output-format.d.ts +1 -1
- package/dist/models/output-format.js +1 -1
- package/dist/models/page-dimensions-schema.d.ts +1 -1
- package/dist/models/page-dimensions-schema.js +1 -1
- package/dist/models/payee.d.ts +1 -1
- package/dist/models/payee.js +1 -1
- package/dist/models/payment-amount-by-rate.d.ts +1 -1
- package/dist/models/payment-amount-by-rate.js +1 -1
- package/dist/models/payment-card.d.ts +1 -1
- package/dist/models/payment-card.js +1 -1
- package/dist/models/payment-means.d.ts +1 -1
- package/dist/models/payment-means.js +1 -1
- package/dist/models/pdfvalidation-result-api.d.ts +1 -1
- package/dist/models/pdfvalidation-result-api.js +1 -1
- package/dist/models/pdpconfig-response.d.ts +1 -1
- package/dist/models/pdpconfig-response.js +1 -1
- package/dist/models/pdpconfig-update-request.d.ts +1 -1
- package/dist/models/pdpconfig-update-request.js +1 -1
- package/dist/models/pdpcredentials.d.ts +1 -1
- package/dist/models/pdpcredentials.js +1 -1
- package/dist/models/percentage.d.ts +1 -1
- package/dist/models/percentage.js +1 -1
- package/dist/models/postal-address.d.ts +1 -1
- package/dist/models/postal-address.js +1 -1
- package/dist/models/price-allowance-amount.d.ts +1 -1
- package/dist/models/price-allowance-amount.js +1 -1
- package/dist/models/price-basis-quantity.d.ts +1 -1
- package/dist/models/price-basis-quantity.js +1 -1
- package/dist/models/processing-options.d.ts +1 -1
- package/dist/models/processing-options.js +1 -1
- package/dist/models/processing-rule.d.ts +1 -1
- package/dist/models/processing-rule.js +1 -1
- package/dist/models/product-characteristic.d.ts +1 -1
- package/dist/models/product-characteristic.js +1 -1
- package/dist/models/product-classification.d.ts +1 -1
- package/dist/models/product-classification.js +1 -1
- package/dist/models/quantity.d.ts +1 -1
- package/dist/models/quantity.js +1 -1
- package/dist/models/rate.d.ts +1 -1
- package/dist/models/rate.js +1 -1
- package/dist/models/rate1.d.ts +1 -1
- package/dist/models/rate1.js +1 -1
- package/dist/models/reason-code-info.d.ts +1 -1
- package/dist/models/reason-code-info.js +1 -1
- package/dist/models/reason-codes-response.d.ts +1 -1
- package/dist/models/reason-codes-response.js +1 -1
- package/dist/models/recipient-input.d.ts +1 -1
- package/dist/models/recipient-input.js +1 -1
- package/dist/models/recipient.d.ts +1 -1
- package/dist/models/recipient.js +1 -1
- package/dist/models/refusee-request.d.ts +16 -8
- package/dist/models/refusee-request.js +1 -1
- package/dist/models/report-issuer.d.ts +27 -0
- package/dist/models/report-issuer.js +15 -0
- package/dist/models/report-period.d.ts +1 -1
- package/dist/models/report-period.js +1 -1
- package/dist/models/report-sender.d.ts +3 -3
- package/dist/models/report-sender.js +1 -1
- package/dist/models/rounding-amount.d.ts +1 -1
- package/dist/models/rounding-amount.js +1 -1
- package/dist/models/schematron-validation-error.d.ts +1 -1
- package/dist/models/schematron-validation-error.js +1 -1
- package/dist/models/scheme-id.d.ts +1 -1
- package/dist/models/scheme-id.js +1 -1
- package/dist/models/search-flow-request.d.ts +1 -1
- package/dist/models/search-flow-request.js +1 -1
- package/dist/models/search-flow-response.d.ts +1 -1
- package/dist/models/search-flow-response.js +1 -1
- package/dist/models/search-services-response.d.ts +1 -1
- package/dist/models/search-services-response.js +1 -1
- package/dist/models/search-structure-request.d.ts +3 -3
- package/dist/models/search-structure-request.js +1 -1
- package/dist/models/search-structure-response.d.ts +1 -1
- package/dist/models/search-structure-response.js +1 -1
- package/dist/models/secret-status.d.ts +1 -1
- package/dist/models/secret-status.js +1 -1
- package/dist/models/sellercountry.d.ts +2 -2
- package/dist/models/sellercountry.js +1 -1
- package/dist/models/signature-info-api.d.ts +1 -1
- package/dist/models/signature-info-api.js +1 -1
- package/dist/models/signature-info.d.ts +1 -1
- package/dist/models/signature-info.js +1 -1
- package/dist/models/signature-parameters.d.ts +1 -1
- package/dist/models/signature-parameters.js +1 -1
- package/dist/models/simplified-cdarresponse.d.ts +1 -1
- package/dist/models/simplified-cdarresponse.js +1 -1
- package/dist/models/simplified-invoice-data.d.ts +1 -1
- package/dist/models/simplified-invoice-data.js +1 -1
- package/dist/models/status-code-info.d.ts +1 -1
- package/dist/models/status-code-info.js +1 -1
- package/dist/models/status-codes-response.d.ts +1 -1
- package/dist/models/status-codes-response.js +1 -1
- package/dist/models/structure-info.d.ts +1 -1
- package/dist/models/structure-info.js +1 -1
- package/dist/models/structure-parameters.d.ts +1 -1
- package/dist/models/structure-parameters.js +1 -1
- package/dist/models/structure-service.d.ts +1 -1
- package/dist/models/structure-service.js +1 -1
- package/dist/models/submission-mode.d.ts +1 -1
- package/dist/models/submission-mode.js +1 -1
- package/dist/models/submit-aggregated-report-request.d.ts +1 -1
- package/dist/models/submit-aggregated-report-request.js +1 -1
- package/dist/models/submit-cdarrequest.d.ts +1 -1
- package/dist/models/submit-cdarrequest.js +1 -1
- package/dist/models/submit-cdarresponse.d.ts +1 -1
- package/dist/models/submit-cdarresponse.js +1 -1
- package/dist/models/submit-cdarxmlrequest.d.ts +1 -1
- package/dist/models/submit-cdarxmlrequest.js +1 -1
- package/dist/models/submit-complete-invoice-request.d.ts +1 -1
- package/dist/models/submit-complete-invoice-request.js +1 -1
- package/dist/models/submit-complete-invoice-response.d.ts +1 -1
- package/dist/models/submit-complete-invoice-response.js +1 -1
- package/dist/models/submit-ereporting-request.d.ts +1 -1
- package/dist/models/submit-ereporting-request.js +1 -1
- package/dist/models/submit-ereporting-response.d.ts +1 -1
- package/dist/models/submit-ereporting-response.js +1 -1
- package/dist/models/submit-flow-request.d.ts +1 -1
- package/dist/models/submit-flow-request.js +1 -1
- package/dist/models/submit-flow-response.d.ts +1 -1
- package/dist/models/submit-flow-response.js +1 -1
- package/dist/models/submit-gross-amount.d.ts +1 -1
- package/dist/models/submit-gross-amount.js +1 -1
- package/dist/models/submit-invoice-request.d.ts +3 -3
- package/dist/models/submit-invoice-request.js +1 -1
- package/dist/models/submit-invoice-response.d.ts +1 -1
- package/dist/models/submit-invoice-response.js +1 -1
- package/dist/models/submit-net-amount.d.ts +1 -1
- package/dist/models/submit-net-amount.js +1 -1
- package/dist/models/submit-vat-amount.d.ts +1 -1
- package/dist/models/submit-vat-amount.js +1 -1
- package/dist/models/supplementary-attachment.d.ts +1 -1
- package/dist/models/supplementary-attachment.js +1 -1
- package/dist/models/supplier.d.ts +1 -1
- package/dist/models/supplier.js +1 -1
- package/dist/models/task-response.d.ts +1 -1
- package/dist/models/task-response.js +1 -1
- package/dist/models/tax-breakdown-input.d.ts +1 -1
- package/dist/models/tax-breakdown-input.js +1 -1
- package/dist/models/tax-due-date-type.d.ts +1 -1
- package/dist/models/tax-due-date-type.js +1 -1
- package/dist/models/tax-representative.d.ts +1 -1
- package/dist/models/tax-representative.js +1 -1
- package/dist/models/taxable-amount.d.ts +1 -1
- package/dist/models/taxable-amount.js +1 -1
- package/dist/models/taxableamount.d.ts +1 -1
- package/dist/models/taxableamount.js +1 -1
- package/dist/models/taxamount.d.ts +1 -1
- package/dist/models/taxamount.js +1 -1
- package/dist/models/taxamount1.d.ts +1 -1
- package/dist/models/taxamount1.js +1 -1
- package/dist/models/taxamount2.d.ts +1 -1
- package/dist/models/taxamount2.js +1 -1
- package/dist/models/taxexclusiveamount.d.ts +1 -1
- package/dist/models/taxexclusiveamount.js +1 -1
- package/dist/models/taxexclusiveamount1.d.ts +1 -1
- package/dist/models/taxexclusiveamount1.js +1 -1
- package/dist/models/total-gross-amount.d.ts +1 -1
- package/dist/models/total-gross-amount.js +1 -1
- package/dist/models/total-net-amount.d.ts +1 -1
- package/dist/models/total-net-amount.js +1 -1
- package/dist/models/total-vatamount.d.ts +1 -1
- package/dist/models/total-vatamount.js +1 -1
- package/dist/models/transaction-category.d.ts +1 -1
- package/dist/models/transaction-category.js +1 -1
- package/dist/models/transmission-type-code.d.ts +1 -1
- package/dist/models/transmission-type-code.js +1 -1
- package/dist/models/unit-net-price.d.ts +1 -1
- package/dist/models/unit-net-price.js +1 -1
- package/dist/models/unit-of-measure.d.ts +1 -1
- package/dist/models/unit-of-measure.js +1 -1
- package/dist/models/validate-cdarrequest.d.ts +1 -1
- package/dist/models/validate-cdarrequest.js +1 -1
- package/dist/models/validate-cdarresponse.d.ts +1 -1
- package/dist/models/validate-cdarresponse.js +1 -1
- package/dist/models/validate-ereporting-request.d.ts +1 -1
- package/dist/models/validate-ereporting-request.js +1 -1
- package/dist/models/validate-ereporting-response.d.ts +1 -1
- package/dist/models/validate-ereporting-response.js +1 -1
- package/dist/models/validation-error-detail.d.ts +1 -1
- package/dist/models/validation-error-detail.js +1 -1
- package/dist/models/validation-error-response.d.ts +1 -1
- package/dist/models/validation-error-response.js +1 -1
- package/dist/models/validation-error.d.ts +1 -1
- package/dist/models/validation-error.js +1 -1
- package/dist/models/validation-info.d.ts +1 -1
- package/dist/models/validation-info.js +1 -1
- package/dist/models/validation-success-response.d.ts +1 -1
- package/dist/models/validation-success-response.js +1 -1
- package/dist/models/vat-rate.d.ts +1 -1
- package/dist/models/vat-rate.js +1 -1
- package/dist/models/vataccounting-code.d.ts +1 -1
- package/dist/models/vataccounting-code.js +1 -1
- package/dist/models/vatamount.d.ts +1 -1
- package/dist/models/vatamount.js +1 -1
- package/dist/models/vatcategory.d.ts +1 -1
- package/dist/models/vatcategory.js +1 -1
- package/dist/models/vatline.d.ts +1 -1
- package/dist/models/vatline.js +1 -1
- package/dist/models/vatpoint-date-code.d.ts +1 -1
- package/dist/models/vatpoint-date-code.js +1 -1
- package/dist/models/verification-success-response.d.ts +1 -1
- package/dist/models/verification-success-response.js +1 -1
- package/dist/models/verified-field-schema.d.ts +1 -1
- package/dist/models/verified-field-schema.js +1 -1
- package/docs/AFNORPDPPAApi.md +5 -52
- package/docs/AsyncTasksApi.md +61 -0
- package/docs/Buyercountry.md +1 -1
- package/docs/ChorusProCredentials.md +9 -9
- package/docs/ChorusProDestination.md +1 -1
- package/docs/CreateAggregatedReportRequest.md +3 -1
- package/docs/CreateEReportingRequest.md +3 -1
- package/docs/ElectronicSignatureApi.md +274 -0
- package/docs/EncaisseeRequest.md +10 -6
- package/docs/ErrorSource.md +2 -0
- package/docs/{DocumentConversionApi.md → FacturXConversionApi.md} +29 -29
- package/docs/FacturXGenerationApi.md +199 -0
- package/docs/FacturXInvoice.md +1 -1
- package/docs/FacturXPDFXMLVerificationApi.md +180 -0
- package/docs/FacturXValidationApi.md +199 -0
- package/docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md +29 -0
- package/docs/{EReportingApi.md → Flux10EReportingApi.md} +31 -28
- package/docs/{CDARCycleDeVieApi.md → Flux6InvoiceLifecycleCDARApi.md} +120 -64
- package/docs/GetChorusProIdRequest.md +1 -1
- package/docs/GetInvoiceRequest.md +1 -1
- package/docs/GetStructureRequest.md +1 -1
- package/docs/HealthApi.md +46 -0
- package/docs/InvoiceInput.md +4 -2
- package/docs/IssuerRoleCode.md +11 -0
- package/docs/RefuseeRequest.md +10 -6
- package/docs/ReportIssuer.md +27 -0
- package/docs/ReportSender.md +2 -2
- package/docs/SearchStructureRequest.md +1 -1
- package/docs/Sellercountry.md +1 -1
- package/docs/SubmitInvoiceRequest.md +1 -1
- package/index.ts +1 -1
- package/models/acknowledgment-status.ts +1 -1
- package/models/action-code-info.ts +1 -1
- package/models/action-codes-response.ts +1 -1
- package/models/additional-document.ts +1 -1
- package/models/afnoracknowledgement-detail.ts +1 -1
- package/models/afnoracknowledgement.ts +1 -1
- package/models/afnoraddress-edit.ts +1 -1
- package/models/afnoraddress-patch.ts +1 -1
- package/models/afnoraddress-put.ts +1 -1
- package/models/afnoraddress-read.ts +1 -1
- package/models/afnoralgorithm.ts +1 -1
- package/models/afnorcontains-operator.ts +1 -1
- package/models/afnorcreate-directory-line-body-addressing-information.ts +1 -1
- package/models/afnorcreate-directory-line-body-period.ts +1 -1
- package/models/afnorcreate-directory-line-body.ts +1 -1
- package/models/afnorcreate-routing-code-body.ts +1 -1
- package/models/afnorcredentials.ts +1 -1
- package/models/afnordestination.ts +1 -1
- package/models/afnordiffusion-status.ts +1 -1
- package/models/afnordirectory-line-field.ts +1 -1
- package/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.ts +1 -1
- package/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.ts +1 -1
- package/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.ts +1 -1
- package/models/afnordirectory-line-post201-response.ts +1 -1
- package/models/afnordirectory-line-search-post200-response.ts +1 -1
- package/models/afnorentity-type.ts +1 -1
- package/models/afnorerror.ts +1 -1
- package/models/afnorfacility-administrative-status.ts +1 -1
- package/models/afnorfacility-nature.ts +1 -1
- package/models/afnorfacility-payload-history-ule-b2g-additional-data.ts +1 -1
- package/models/afnorfacility-payload-history.ts +1 -1
- package/models/afnorfacility-payload-included.ts +1 -1
- package/models/afnorfacility-type.ts +1 -1
- package/models/afnorflow-ack-status.ts +1 -1
- package/models/afnorflow-direction.ts +1 -1
- package/models/afnorflow-info.ts +1 -1
- package/models/afnorflow-profile.ts +1 -1
- package/models/afnorflow-syntax.ts +1 -1
- package/models/afnorflow-type.ts +1 -1
- package/models/afnorflow.ts +1 -1
- package/models/afnorfull-flow-info.ts +1 -1
- package/models/afnorhealth-check-response.ts +1 -1
- package/models/afnorlegal-unit-administrative-status.ts +1 -1
- package/models/afnorlegal-unit-payload-history.ts +1 -1
- package/models/afnorlegal-unit-payload-included-no-siren.ts +1 -1
- package/models/afnorlegal-unit-payload-included.ts +1 -1
- package/models/afnorplatform-status.ts +1 -1
- package/models/afnorprocessing-rule.ts +1 -1
- package/models/afnorreason-code-enum.ts +1 -1
- package/models/afnorreason-code.ts +1 -1
- package/models/afnorrecipient-platform-type.ts +1 -1
- package/models/afnorresult.ts +1 -1
- package/models/afnorrouting-code-administrative-status.ts +1 -1
- package/models/afnorrouting-code-field.ts +1 -1
- package/models/afnorrouting-code-payload-history-legal-unit-facility.ts +1 -1
- package/models/afnorrouting-code-post201-response.ts +1 -1
- package/models/afnorrouting-code-search-filters-administrative-status.ts +1 -1
- package/models/afnorrouting-code-search-filters-routing-code-name.ts +1 -1
- package/models/afnorrouting-code-search-filters-routing-identifier.ts +1 -1
- package/models/afnorrouting-code-search-filters.ts +1 -1
- package/models/afnorrouting-code-search-post200-response.ts +1 -1
- package/models/afnorrouting-code-search-sorting-inner.ts +1 -1
- package/models/afnorrouting-code-search.ts +1 -1
- package/models/afnorsearch-directory-line-filters-addressing-identifier.ts +1 -1
- package/models/afnorsearch-directory-line-filters-addressing-suffix.ts +1 -1
- package/models/afnorsearch-directory-line-filters.ts +1 -1
- package/models/afnorsearch-directory-line-sorting-inner.ts +1 -1
- package/models/afnorsearch-directory-line.ts +1 -1
- package/models/afnorsearch-flow-content.ts +1 -1
- package/models/afnorsearch-flow-filters.ts +1 -1
- package/models/afnorsearch-flow-params.ts +1 -1
- package/models/afnorsearch-siren-filters-administrative-status.ts +1 -1
- package/models/afnorsearch-siren-filters-business-name.ts +1 -1
- package/models/afnorsearch-siren-filters-entity-type.ts +1 -1
- package/models/afnorsearch-siren-filters-siren.ts +1 -1
- package/models/afnorsearch-siren-filters.ts +1 -1
- package/models/afnorsearch-siren-sorting-inner.ts +1 -1
- package/models/afnorsearch-siren.ts +1 -1
- package/models/afnorsearch-siret-filters-address-lines.ts +1 -1
- package/models/afnorsearch-siret-filters-administrative-status.ts +1 -1
- package/models/afnorsearch-siret-filters-country-subdivision.ts +1 -1
- package/models/afnorsearch-siret-filters-facility-type.ts +1 -1
- package/models/afnorsearch-siret-filters-locality.ts +1 -1
- package/models/afnorsearch-siret-filters-name.ts +1 -1
- package/models/afnorsearch-siret-filters-postal-code.ts +1 -1
- package/models/afnorsearch-siret-filters-siret.ts +1 -1
- package/models/afnorsearch-siret-filters.ts +1 -1
- package/models/afnorsearch-siret-sorting-inner.ts +1 -1
- package/models/afnorsearch-siret.ts +1 -1
- package/models/afnorsiren-field.ts +1 -1
- package/models/afnorsiren-search-post200-response.ts +1 -1
- package/models/afnorsiret-field.ts +1 -1
- package/models/afnorsiret-search-post200-response.ts +1 -1
- package/models/afnorsorting-order.ts +1 -1
- package/models/afnorstrict-operator.ts +1 -1
- package/models/afnorupdate-patch-directory-line-body.ts +1 -1
- package/models/afnorupdate-patch-routing-code-body.ts +1 -1
- package/models/afnorupdate-put-routing-code-body.ts +1 -1
- package/models/afnorwebhook-callback-content.ts +1 -1
- package/models/aggregated-payment-input.ts +1 -1
- package/models/aggregated-transaction-input.ts +1 -1
- package/models/allowance-charge-reason-code.ts +1 -1
- package/models/allowance-charge.ts +1 -1
- package/models/allowance-reason-code.ts +1 -1
- package/models/allowance-total-amount.ts +1 -1
- package/models/amount-due.ts +1 -1
- package/models/amount.ts +1 -1
- package/models/amount1.ts +1 -1
- package/models/amount2.ts +1 -1
- package/models/apierror.ts +1 -1
- package/models/apiprofile.ts +1 -1
- package/models/async-task-status.ts +1 -1
- package/models/base-amount.ts +1 -1
- package/models/bounding-box-schema.ts +1 -1
- package/models/buyercountry.ts +2 -2
- package/models/celery-status.ts +1 -1
- package/models/certificate-info-response.ts +1 -1
- package/models/charge-total-amount.ts +1 -1
- package/models/chorus-pro-credentials.ts +8 -20
- package/models/chorus-pro-destination.ts +3 -3
- package/models/chorus-pro-result.ts +1 -1
- package/models/client-activate-response.ts +1 -1
- package/models/client-create-request.ts +1 -1
- package/models/client-detail.ts +1 -1
- package/models/client-list-response.ts +1 -1
- package/models/client-summary.ts +1 -1
- package/models/client-update-request.ts +1 -1
- package/models/contact.ts +1 -1
- package/models/convert-resume-request.ts +1 -1
- package/models/convert-success-response.ts +1 -1
- package/models/convert-validation-failed-response.ts +1 -1
- package/models/country-code.ts +1 -1
- package/models/create-aggregated-report-request.ts +6 -2
- package/models/create-cdarrequest.ts +1 -1
- package/models/create-ereporting-request.ts +6 -2
- package/models/currency-code.ts +1 -1
- package/models/currency.ts +1 -1
- package/models/delivery-party.ts +1 -1
- package/models/destination.ts +1 -1
- package/models/doc-type.ts +1 -1
- package/models/document-type-info.ts +1 -1
- package/models/electronic-address.ts +1 -1
- package/models/encaisseamount.ts +1 -1
- package/models/encaisseamount1.ts +1 -1
- package/models/encaissee-request.ts +16 -8
- package/models/enriched-invoice-info.ts +1 -1
- package/models/ereporting-flow-type.ts +1 -1
- package/models/ereporting-validation-error.ts +1 -1
- package/models/error-level.ts +1 -1
- package/models/error-source.ts +2 -1
- package/models/extraction-info.ts +1 -1
- package/models/factur-xinvoice.ts +2 -2
- package/models/factur-xpdfinfo.ts +1 -1
- package/models/facture-electronique-rest-api-schemas-cdar-validation-error-response.ts +1 -1
- package/models/facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.ts +42 -0
- package/models/facture-electronique-rest-api-schemas-ereporting-invoice-type-code.ts +1 -1
- package/models/field-status.ts +1 -1
- package/models/file-info.ts +1 -1
- package/models/files-info.ts +1 -1
- package/models/flow-direction.ts +1 -1
- package/models/flow-profile.ts +1 -1
- package/models/flow-summary.ts +1 -1
- package/models/flow-syntax.ts +1 -1
- package/models/flow-type.ts +1 -1
- package/models/generate-aggregated-report-response.ts +1 -1
- package/models/generate-cdarresponse.ts +1 -1
- package/models/generate-certificate-request.ts +1 -1
- package/models/generate-certificate-response.ts +1 -1
- package/models/generate-ereporting-response.ts +1 -1
- package/models/get-chorus-pro-id-request.ts +3 -3
- package/models/get-chorus-pro-id-response.ts +1 -1
- package/models/get-invoice-request.ts +3 -3
- package/models/get-invoice-response.ts +1 -1
- package/models/get-structure-request.ts +3 -3
- package/models/get-structure-response.ts +1 -1
- package/models/global-allowance-amount.ts +1 -1
- package/models/gross-unit-price.ts +1 -1
- package/models/httpvalidation-error.ts +1 -1
- package/models/incoming-invoice.ts +1 -1
- package/models/incoming-supplier.ts +1 -1
- package/models/index.ts +3 -1
- package/models/invoice-format.ts +1 -1
- package/models/invoice-input.ts +4 -6
- package/models/invoice-line-allowance-amount.ts +1 -1
- package/models/invoice-line.ts +1 -1
- package/models/invoice-note.ts +1 -1
- package/models/invoice-payment-input.ts +1 -1
- package/models/invoice-references.ts +1 -1
- package/models/invoice-status.ts +1 -1
- package/models/invoice-totals-prepayment.ts +1 -1
- package/models/invoice-totals.ts +1 -1
- package/models/invoice-type-code-output.ts +1 -1
- package/models/invoice-type-code.ts +1 -1
- package/models/invoicing-framework-code.ts +1 -1
- package/models/invoicing-framework.ts +1 -1
- package/models/issuer-role-code.ts +29 -0
- package/models/line-net-amount.ts +1 -1
- package/models/line-sub-type.ts +1 -1
- package/models/line-total-amount.ts +1 -1
- package/models/location-inner.ts +1 -1
- package/models/mandatory-note-schema.ts +1 -1
- package/models/manual-rate.ts +1 -1
- package/models/manual-vat-rate.ts +1 -1
- package/models/missing-field.ts +1 -1
- package/models/operation-nature.ts +1 -1
- package/models/output-format.ts +1 -1
- package/models/page-dimensions-schema.ts +1 -1
- package/models/payee.ts +1 -1
- package/models/payment-amount-by-rate.ts +1 -1
- package/models/payment-card.ts +1 -1
- package/models/payment-means.ts +1 -1
- package/models/pdfvalidation-result-api.ts +1 -1
- package/models/pdpconfig-response.ts +1 -1
- package/models/pdpconfig-update-request.ts +1 -1
- package/models/pdpcredentials.ts +1 -1
- package/models/percentage.ts +1 -1
- package/models/postal-address.ts +1 -1
- package/models/price-allowance-amount.ts +1 -1
- package/models/price-basis-quantity.ts +1 -1
- package/models/processing-options.ts +1 -1
- package/models/processing-rule.ts +1 -1
- package/models/product-characteristic.ts +1 -1
- package/models/product-classification.ts +1 -1
- package/models/quantity.ts +1 -1
- package/models/rate.ts +1 -1
- package/models/rate1.ts +1 -1
- package/models/reason-code-info.ts +1 -1
- package/models/reason-codes-response.ts +1 -1
- package/models/recipient-input.ts +1 -1
- package/models/recipient.ts +1 -1
- package/models/refusee-request.ts +16 -8
- package/models/report-issuer.ts +37 -0
- package/models/report-period.ts +1 -1
- package/models/report-sender.ts +3 -3
- package/models/rounding-amount.ts +1 -1
- package/models/schematron-validation-error.ts +1 -1
- package/models/scheme-id.ts +1 -1
- package/models/search-flow-request.ts +1 -1
- package/models/search-flow-response.ts +1 -1
- package/models/search-services-response.ts +1 -1
- package/models/search-structure-request.ts +3 -3
- package/models/search-structure-response.ts +1 -1
- package/models/secret-status.ts +1 -1
- package/models/sellercountry.ts +2 -2
- package/models/signature-info-api.ts +1 -1
- package/models/signature-info.ts +1 -1
- package/models/signature-parameters.ts +1 -1
- package/models/simplified-cdarresponse.ts +1 -1
- package/models/simplified-invoice-data.ts +1 -1
- package/models/status-code-info.ts +1 -1
- package/models/status-codes-response.ts +1 -1
- package/models/structure-info.ts +1 -1
- package/models/structure-parameters.ts +1 -1
- package/models/structure-service.ts +1 -1
- package/models/submission-mode.ts +1 -1
- package/models/submit-aggregated-report-request.ts +1 -1
- package/models/submit-cdarrequest.ts +1 -1
- package/models/submit-cdarresponse.ts +1 -1
- package/models/submit-cdarxmlrequest.ts +1 -1
- package/models/submit-complete-invoice-request.ts +1 -1
- package/models/submit-complete-invoice-response.ts +1 -1
- package/models/submit-ereporting-request.ts +1 -1
- package/models/submit-ereporting-response.ts +1 -1
- package/models/submit-flow-request.ts +1 -1
- package/models/submit-flow-response.ts +1 -1
- package/models/submit-gross-amount.ts +1 -1
- package/models/submit-invoice-request.ts +3 -3
- package/models/submit-invoice-response.ts +1 -1
- package/models/submit-net-amount.ts +1 -1
- package/models/submit-vat-amount.ts +1 -1
- package/models/supplementary-attachment.ts +1 -1
- package/models/supplier.ts +1 -1
- package/models/task-response.ts +1 -1
- package/models/tax-breakdown-input.ts +1 -1
- package/models/tax-due-date-type.ts +1 -1
- package/models/tax-representative.ts +1 -1
- package/models/taxable-amount.ts +1 -1
- package/models/taxableamount.ts +1 -1
- package/models/taxamount.ts +1 -1
- package/models/taxamount1.ts +1 -1
- package/models/taxamount2.ts +1 -1
- package/models/taxexclusiveamount.ts +1 -1
- package/models/taxexclusiveamount1.ts +1 -1
- package/models/total-gross-amount.ts +1 -1
- package/models/total-net-amount.ts +1 -1
- package/models/total-vatamount.ts +1 -1
- package/models/transaction-category.ts +1 -1
- package/models/transmission-type-code.ts +1 -1
- package/models/unit-net-price.ts +1 -1
- package/models/unit-of-measure.ts +1 -1
- package/models/validate-cdarrequest.ts +1 -1
- package/models/validate-cdarresponse.ts +1 -1
- package/models/validate-ereporting-request.ts +1 -1
- package/models/validate-ereporting-response.ts +1 -1
- package/models/validation-error-detail.ts +1 -1
- package/models/validation-error-response.ts +1 -1
- package/models/validation-error.ts +1 -1
- package/models/validation-info.ts +1 -1
- package/models/validation-success-response.ts +1 -1
- package/models/vat-rate.ts +1 -1
- package/models/vataccounting-code.ts +1 -1
- package/models/vatamount.ts +1 -1
- package/models/vatcategory.ts +1 -1
- package/models/vatline.ts +1 -1
- package/models/vatpoint-date-code.ts +1 -1
- package/models/verification-success-response.ts +1 -1
- package/models/verified-field-schema.ts +1 -1
- package/package.json +1 -1
- package/api/invoice-processing-api.ts +0 -1173
- package/api/pdfxmlverification-api.ts +0 -568
- package/api/user-api.ts +0 -119
- package/dist/api/cdarcycle-de-vie-api.d.ts +0 -323
- package/dist/api/document-conversion-api.d.ts +0 -190
- package/dist/api/invoice-processing-api.d.ts +0 -524
- package/dist/api/invoice-processing-api.js +0 -1087
- package/dist/api/pdfxmlverification-api.d.ts +0 -253
- package/dist/api/pdfxmlverification-api.js +0 -542
- package/dist/api/user-api.d.ts +0 -62
- package/dist/api/user-api.js +0 -128
- package/dist/esm/api/cdarcycle-de-vie-api.d.ts +0 -323
- package/dist/esm/api/document-conversion-api.d.ts +0 -190
- package/dist/esm/api/invoice-processing-api.d.ts +0 -524
- package/dist/esm/api/invoice-processing-api.js +0 -1077
- package/dist/esm/api/pdfxmlverification-api.d.ts +0 -253
- package/dist/esm/api/pdfxmlverification-api.js +0 -532
- package/dist/esm/api/user-api.d.ts +0 -62
- package/dist/esm/api/user-api.js +0 -118
- package/dist/esm/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.d.ts +0 -24
- package/dist/esm/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.js +0 -14
- package/dist/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.d.ts +0 -24
- package/dist/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.js +0 -15
- package/docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md +0 -29
- package/docs/InvoiceProcessingApi.md +0 -712
- package/docs/PDFXMLVerificationApi.md +0 -353
- package/docs/UserApi.md +0 -53
- package/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.ts +0 -30
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* FactPulse REST API
|
|
5
|
+
* REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X - 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) ### ✅ Factur-X - Validation - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) ### ✍️ 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 ### 📋 Flux 6 - Invoice Lifecycle (CDAR) - **CDAR Messages**: Acknowledgements, invoice statuses - **PPF Statuses**: REFUSED (210), PAID (212) ### 📊 Flux 10 - E-Reporting - **Tax Declarations**: International B2B, B2C - **Flow Types**: 10.1 (B2B transactions), 10.2 (B2B payments), 10.3 (B2C transactions), 10.4 (B2C payments) ### 📡 AFNOR PDP/PA (XP Z12-013) - **Flow Service**: Submit and search flows to PDPs - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user ### 🏛️ Chorus Pro - **Public Sector Invoicing**: Complete API for Chorus Pro ### ⏳ Async Tasks - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **Webhooks**: Automatic notifications when tasks complete ## 🔒 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://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://factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://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://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://factpulse.fr/api/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://factpulse.fr/documentation-api/
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: contact@factpulse.fr
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import type { APIError } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { APIProfile } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { HTTPValidationError } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { OutputFormat } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import type { SubmitCompleteInvoiceRequest } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
import type { SubmitCompleteInvoiceResponse } from '../models';
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
import type { TaskResponse } from '../models';
|
|
38
|
+
/**
|
|
39
|
+
* FacturXGenerationApi - axios parameter creator
|
|
40
|
+
*/
|
|
41
|
+
export const FacturXGenerationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42
|
+
return {
|
|
43
|
+
/**
|
|
44
|
+
* Generates an electronic invoice in Factur-X format compliant with European standards. ## Applied Standards - **Factur-X** (France): FNFE-MPE standard (Forum National de la Facture Électronique) - **ZUGFeRD** (Germany): German format compatible with Factur-X - **EN 16931**: European semantic standard for electronic invoicing - **ISO 19005-3** (PDF/A-3): Long-term electronic archiving - **Cross Industry Invoice (CII)**: UN/CEFACT XML syntax ## 🆕 New: Simplified format with auto-enrichment (P0.1) You can now create an invoice by providing only: - An invoice number - A supplier SIRET + **IBAN** (required) - A recipient SIRET - Invoice lines (description, quantity, net price) **Simplified format example**: ```json { \"number\": \"FACT-2025-001\", \"supplier\": { \"siret\": \"92019522900017\", \"iban\": \"FR7630001007941234567890185\" }, \"recipient\": {\"siret\": \"35600000000048\"}, \"lines\": [ {\"description\": \"Service\", \"quantity\": 10, \"unitPrice\": 100.00, \"vatRate\": 20.0} ] } ``` **⚠️ Required fields (simplified format)**: - `number`: Unique invoice number - `supplier.siret`: Supplier\'s SIRET (14 digits) - `supplier.iban`: Bank account IBAN (no public API to retrieve it) - `recipient.siret`: Recipient\'s SIRET - `lines[]`: At least one invoice line **What happens automatically with `auto_enrich=True`**: - ✅ Name enrichment from Chorus Pro API - ✅ Address enrichment from Business Search API (free, public) - ✅ Automatic intra-EU VAT calculation (FR + key + SIREN) - ✅ Chorus Pro ID retrieval for electronic invoicing - ✅ Net/VAT/Gross totals calculation - ✅ Date generation (today + 30-day due date) - ✅ Multi-rate VAT handling **Supported identifiers**: - SIRET (14 digits): Specific establishment ⭐ Recommended - SIREN (9 digits): Company (auto-selection of headquarters) - Special types: UE_HORS_FRANCE, RIDET, TAHITI, etc. ## Checks performed during generation ### 1. Data validation (Pydantic) - Data types (amounts as Decimal, ISO 8601 dates) - Formats (14-digit SIRET, 9-digit SIREN, IBAN) - Required fields per profile - Amount consistency (Net + VAT = Gross) ### 2. CII-compliant XML generation - Serialization according to Cross Industry Invoice XSD schema - Correct UN/CEFACT namespaces - Hierarchical structure respected - UTF-8 encoding without BOM ### 3. Schematron validation - Business rules for selected profile (MINIMUM, BASIC, EN16931, EXTENDED) - Element cardinality (required, optional, repeatable) - Calculation rules (totals, VAT, discounts) - European EN 16931 compliance ### 4. PDF/A-3 conversion (if output_format=\'pdf\') - Source PDF conversion to PDF/A-3 via Ghostscript - Factur-X XML embedding in PDF - Compliant XMP metadata - ICC sRGB color profile - Removal of forbidden elements (JavaScript, forms) ## How it works 1. **Submission**: Invoice is queued in Celery for asynchronous processing 2. **Immediate return**: You receive a `task_id` (HTTP 202 Accepted) 3. **Tracking**: Use the `/tasks/{task_id}/status` endpoint to track progress ## Webhook notification (recommended) Instead of polling, you can receive a webhook notification when the task completes: ``` callback_url=https://your-server.com/webhook ``` The webhook will POST a JSON payload with: - `event_type`: `generation.completed` or `generation.failed` - `data.task_id`: The Celery task ID - `data.content_b64` or `data.xml_content`: The generated content - `X-Webhook-Signature` header for HMAC verification See `/docs/WEBHOOKS.md` for full documentation. ## Output formats - **xml**: Generates only Factur-X XML (recommended for testing) - **pdf**: Generates PDF/A-3 with embedded XML (requires `source_pdf`) ## Factur-X profiles - **MINIMUM**: Minimal data (simplified invoice) - **BASIC**: Basic information (SMEs) - **EN16931**: European standard (recommended, compliant with directive 2014/55/EU) - **EXTENDED**: All available data (large accounts) ## What you get After successful processing (status `completed`): - **XML only**: Base64-encoded Factur-X compliant XML file - **PDF/A-3**: PDF with embedded XML, ready for sending/archiving - **Metadata**: Profile, Factur-X version, file size - **Validation**: Schematron compliance confirmation ## Validation Data is automatically validated according to detected format. On error, a 422 status is returned with invalid field details.
|
|
45
|
+
* @summary Generate a Factur-X invoice
|
|
46
|
+
* @param {string} invoiceData Invoice data in JSON format. Two formats accepted: 1. **Classic format**: Complete FacturXInvoice structure (all fields) 2. **Simplified format** (🆕 P0.1): Minimal structure with auto-enrichment Format is detected automatically!
|
|
47
|
+
* @param {APIProfile} [profile] Factur-X profile: MINIMUM, BASIC, EN16931 or EXTENDED.
|
|
48
|
+
* @param {OutputFormat} [outputFormat] Output format: \\\'xml\\\' (XML only) or \\\'pdf\\\' (Factur-X PDF with embedded XML).
|
|
49
|
+
* @param {boolean} [autoEnrich] 🆕 Enable auto-enrichment from SIRET/SIREN (simplified format only)
|
|
50
|
+
* @param {File | null} [sourcePdf]
|
|
51
|
+
* @param {string | null} [callbackUrl]
|
|
52
|
+
* @param {string} [webhookMode] Webhook content delivery: \\\'inline\\\' (base64 in payload) or \\\'download_url\\\' (temporary URL, 1h TTL)
|
|
53
|
+
* @param {boolean | null} [skipBrFr]
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
*/
|
|
57
|
+
generateInvoiceApiV1ProcessingGenerateInvoicePost: async (invoiceData: string, profile?: APIProfile, outputFormat?: OutputFormat, autoEnrich?: boolean, sourcePdf?: File | null, callbackUrl?: string | null, webhookMode?: string, skipBrFr?: boolean | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
58
|
+
// verify required parameter 'invoiceData' is not null or undefined
|
|
59
|
+
assertParamExists('generateInvoiceApiV1ProcessingGenerateInvoicePost', 'invoiceData', invoiceData)
|
|
60
|
+
const localVarPath = `/api/v1/processing/generate-invoice`;
|
|
61
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
63
|
+
let baseOptions;
|
|
64
|
+
if (configuration) {
|
|
65
|
+
baseOptions = configuration.baseOptions;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
69
|
+
const localVarHeaderParameter = {} as any;
|
|
70
|
+
const localVarQueryParameter = {} as any;
|
|
71
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
72
|
+
|
|
73
|
+
// authentication HTTPBearer required
|
|
74
|
+
// http bearer authentication required
|
|
75
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
if (invoiceData !== undefined) {
|
|
79
|
+
localVarFormParams.append('invoice_data', invoiceData as any);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
if (profile !== undefined) {
|
|
83
|
+
localVarFormParams.append('profile', profile as any);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
if (outputFormat !== undefined) {
|
|
87
|
+
localVarFormParams.append('output_format', outputFormat as any);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
if (autoEnrich !== undefined) {
|
|
91
|
+
localVarFormParams.append('auto_enrich', String(autoEnrich) as any);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
if (sourcePdf !== undefined) {
|
|
95
|
+
localVarFormParams.append('source_pdf', sourcePdf as any);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
if (callbackUrl !== undefined) {
|
|
99
|
+
localVarFormParams.append('callback_url', callbackUrl as any);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
if (webhookMode !== undefined) {
|
|
103
|
+
localVarFormParams.append('webhook_mode', webhookMode as any);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
if (skipBrFr !== undefined) {
|
|
107
|
+
localVarFormParams.append('skip_br_fr', String(skipBrFr) as any);
|
|
108
|
+
}
|
|
109
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
110
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
111
|
+
|
|
112
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
113
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
114
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
115
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
url: toPathString(localVarUrlObj),
|
|
119
|
+
options: localVarRequestOptions,
|
|
120
|
+
};
|
|
121
|
+
},
|
|
122
|
+
/**
|
|
123
|
+
* Unified endpoint to submit a complete invoice to different destinations. **Facture prête pour Flux 2** - Génère une facture Factur-X complète avec signature optionnelle et soumission vers Chorus Pro ou PDP AFNOR. **Automated workflow:** 1. **Auto-enrichment** (optional): retrieves data via public APIs and Chorus Pro/AFNOR 2. **Factur-X PDF generation**: creates a PDF/A-3 with embedded XML 3. **Electronic signature** (optional): signs the PDF with a certificate 4. **Submission**: sends to the chosen destination (Chorus Pro or AFNOR PDP) **Supported destinations:** - **Chorus Pro**: French B2G platform (invoices to public sector) - **AFNOR PDP**: Partner Dematerialization Platforms **Destination credentials - 2 modes available:** **Mode 1 - Retrieval via JWT (recommended):** - Credentials are retrieved automatically via the JWT `client_uid` - Do not provide the `credentials` field in `destination` - Zero-trust architecture: no secrets in the payload - Example: `\"destination\": {\"type\": \"chorus_pro\"}` **Mode 2 - Credentials in the payload:** - Provide credentials directly in the payload - Useful for tests or third-party integrations - Example: `\"destination\": {\"type\": \"chorus_pro\", \"credentials\": {...}}` **Electronic signature (optional) - 2 modes available:** **Mode 1 - Stored certificate (recommended):** - Certificate is retrieved automatically via the JWT `client_uid` - No key to provide in the payload - PAdES-B-LT signature with timestamp (eIDAS compliant) - Example: `\"signature\": {\"reason\": \"Factur-X compliance\"}` **Mode 2 - Keys in the payload (for tests):** - Provide `key_pem` and `cert_pem` directly - PEM format accepted: raw or base64 - Useful for tests or special cases without stored certificate - Example: `\"signature\": {\"key_pem\": \"-----BEGIN...\", \"cert_pem\": \"-----BEGIN...\"}` If `key_pem` and `cert_pem` are provided → Mode 2 Otherwise → Mode 1 (certificate retrieved via `client_uid`)
|
|
124
|
+
* @summary Submit a complete invoice (generation + signature + submission)
|
|
125
|
+
* @param {SubmitCompleteInvoiceRequest} submitCompleteInvoiceRequest
|
|
126
|
+
* @param {*} [options] Override http request option.
|
|
127
|
+
* @throws {RequiredError}
|
|
128
|
+
*/
|
|
129
|
+
submitCompleteInvoiceApiV1ProcessingInvoicesSubmitCompletePost: async (submitCompleteInvoiceRequest: SubmitCompleteInvoiceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
130
|
+
// verify required parameter 'submitCompleteInvoiceRequest' is not null or undefined
|
|
131
|
+
assertParamExists('submitCompleteInvoiceApiV1ProcessingInvoicesSubmitCompletePost', 'submitCompleteInvoiceRequest', submitCompleteInvoiceRequest)
|
|
132
|
+
const localVarPath = `/api/v1/processing/invoices/submit-complete`;
|
|
133
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
134
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
135
|
+
let baseOptions;
|
|
136
|
+
if (configuration) {
|
|
137
|
+
baseOptions = configuration.baseOptions;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
141
|
+
const localVarHeaderParameter = {} as any;
|
|
142
|
+
const localVarQueryParameter = {} as any;
|
|
143
|
+
|
|
144
|
+
// authentication HTTPBearer required
|
|
145
|
+
// http bearer authentication required
|
|
146
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
147
|
+
|
|
148
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
149
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
150
|
+
|
|
151
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
152
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
153
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
154
|
+
localVarRequestOptions.data = serializeDataIfNeeded(submitCompleteInvoiceRequest, localVarRequestOptions, configuration)
|
|
155
|
+
|
|
156
|
+
return {
|
|
157
|
+
url: toPathString(localVarUrlObj),
|
|
158
|
+
options: localVarRequestOptions,
|
|
159
|
+
};
|
|
160
|
+
},
|
|
161
|
+
/**
|
|
162
|
+
* Asynchronous version of the `/invoices/submit-complete` endpoint using Celery for background processing. **Facture prête pour Flux 2** - Génère une facture Factur-X complète de manière asynchrone. **Automated workflow (same as synchronous version):** 1. **Auto-enrichment** (optional): retrieves data via public APIs and Chorus Pro/AFNOR 2. **Factur-X PDF generation**: creates a PDF/A-3 with embedded XML 3. **Electronic signature** (optional): signs the PDF with a certificate 4. **Submission**: sends to the chosen destination (Chorus Pro or AFNOR PDP) **Supported destinations:** - **Chorus Pro**: French B2G platform (invoices to public sector) - **AFNOR PDP**: Partner Dematerialization Platforms **Differences with synchronous version:** - ✅ **Non-blocking**: Returns immediately with a `task_id` (HTTP 202 Accepted) - ✅ **Background processing**: Invoice is processed by a Celery worker - ✅ **Progress tracking**: Use `/tasks/{task_id}/status` to track status - ✅ **Ideal for high volumes**: Allows processing many invoices in parallel **How to use:** 1. **Submission**: Call this endpoint with your invoice data 2. **Immediate return**: You receive a `task_id` (e.g., \"abc123-def456\") 3. **Tracking**: Call `/tasks/{task_id}/status` to check progress 4. **Result**: When `status = \"SUCCESS\"`, the `result` field contains the complete response **Webhook notification (recommended):** Instead of polling, add `?callback_url=https://your-server.com/webhook` to receive automatic notification: - `event_type`: `submission.completed`, `submission.failed`, or `submission.partial` - `data.submission_result`: Complete submission result - `X-Webhook-Signature` header for HMAC verification **Credentials and signature**: Same modes as the synchronous version (JWT or payload).
|
|
163
|
+
* @summary Submit a complete invoice (asynchronous with Celery)
|
|
164
|
+
* @param {SubmitCompleteInvoiceRequest} submitCompleteInvoiceRequest
|
|
165
|
+
* @param {string | null} [callbackUrl] Webhook URL for async notification when submission completes.
|
|
166
|
+
* @param {string} [webhookMode] Webhook content delivery: \'inline\' (base64 in payload) or \'download_url\' (temporary URL, 1h TTL)
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
170
|
+
submitCompleteInvoiceAsyncApiV1ProcessingInvoicesSubmitCompleteAsyncPost: async (submitCompleteInvoiceRequest: SubmitCompleteInvoiceRequest, callbackUrl?: string | null, webhookMode?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
171
|
+
// verify required parameter 'submitCompleteInvoiceRequest' is not null or undefined
|
|
172
|
+
assertParamExists('submitCompleteInvoiceAsyncApiV1ProcessingInvoicesSubmitCompleteAsyncPost', 'submitCompleteInvoiceRequest', submitCompleteInvoiceRequest)
|
|
173
|
+
const localVarPath = `/api/v1/processing/invoices/submit-complete-async`;
|
|
174
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
175
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
176
|
+
let baseOptions;
|
|
177
|
+
if (configuration) {
|
|
178
|
+
baseOptions = configuration.baseOptions;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
182
|
+
const localVarHeaderParameter = {} as any;
|
|
183
|
+
const localVarQueryParameter = {} as any;
|
|
184
|
+
|
|
185
|
+
// authentication HTTPBearer required
|
|
186
|
+
// http bearer authentication required
|
|
187
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
188
|
+
|
|
189
|
+
if (callbackUrl !== undefined) {
|
|
190
|
+
localVarQueryParameter['callback_url'] = callbackUrl;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
if (webhookMode !== undefined) {
|
|
194
|
+
localVarQueryParameter['webhook_mode'] = webhookMode;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
198
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
199
|
+
|
|
200
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
201
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
202
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
203
|
+
localVarRequestOptions.data = serializeDataIfNeeded(submitCompleteInvoiceRequest, localVarRequestOptions, configuration)
|
|
204
|
+
|
|
205
|
+
return {
|
|
206
|
+
url: toPathString(localVarUrlObj),
|
|
207
|
+
options: localVarRequestOptions,
|
|
208
|
+
};
|
|
209
|
+
},
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* FacturXGenerationApi - functional programming interface
|
|
215
|
+
*/
|
|
216
|
+
export const FacturXGenerationApiFp = function(configuration?: Configuration) {
|
|
217
|
+
const localVarAxiosParamCreator = FacturXGenerationApiAxiosParamCreator(configuration)
|
|
218
|
+
return {
|
|
219
|
+
/**
|
|
220
|
+
* Generates an electronic invoice in Factur-X format compliant with European standards. ## Applied Standards - **Factur-X** (France): FNFE-MPE standard (Forum National de la Facture Électronique) - **ZUGFeRD** (Germany): German format compatible with Factur-X - **EN 16931**: European semantic standard for electronic invoicing - **ISO 19005-3** (PDF/A-3): Long-term electronic archiving - **Cross Industry Invoice (CII)**: UN/CEFACT XML syntax ## 🆕 New: Simplified format with auto-enrichment (P0.1) You can now create an invoice by providing only: - An invoice number - A supplier SIRET + **IBAN** (required) - A recipient SIRET - Invoice lines (description, quantity, net price) **Simplified format example**: ```json { \"number\": \"FACT-2025-001\", \"supplier\": { \"siret\": \"92019522900017\", \"iban\": \"FR7630001007941234567890185\" }, \"recipient\": {\"siret\": \"35600000000048\"}, \"lines\": [ {\"description\": \"Service\", \"quantity\": 10, \"unitPrice\": 100.00, \"vatRate\": 20.0} ] } ``` **⚠️ Required fields (simplified format)**: - `number`: Unique invoice number - `supplier.siret`: Supplier\'s SIRET (14 digits) - `supplier.iban`: Bank account IBAN (no public API to retrieve it) - `recipient.siret`: Recipient\'s SIRET - `lines[]`: At least one invoice line **What happens automatically with `auto_enrich=True`**: - ✅ Name enrichment from Chorus Pro API - ✅ Address enrichment from Business Search API (free, public) - ✅ Automatic intra-EU VAT calculation (FR + key + SIREN) - ✅ Chorus Pro ID retrieval for electronic invoicing - ✅ Net/VAT/Gross totals calculation - ✅ Date generation (today + 30-day due date) - ✅ Multi-rate VAT handling **Supported identifiers**: - SIRET (14 digits): Specific establishment ⭐ Recommended - SIREN (9 digits): Company (auto-selection of headquarters) - Special types: UE_HORS_FRANCE, RIDET, TAHITI, etc. ## Checks performed during generation ### 1. Data validation (Pydantic) - Data types (amounts as Decimal, ISO 8601 dates) - Formats (14-digit SIRET, 9-digit SIREN, IBAN) - Required fields per profile - Amount consistency (Net + VAT = Gross) ### 2. CII-compliant XML generation - Serialization according to Cross Industry Invoice XSD schema - Correct UN/CEFACT namespaces - Hierarchical structure respected - UTF-8 encoding without BOM ### 3. Schematron validation - Business rules for selected profile (MINIMUM, BASIC, EN16931, EXTENDED) - Element cardinality (required, optional, repeatable) - Calculation rules (totals, VAT, discounts) - European EN 16931 compliance ### 4. PDF/A-3 conversion (if output_format=\'pdf\') - Source PDF conversion to PDF/A-3 via Ghostscript - Factur-X XML embedding in PDF - Compliant XMP metadata - ICC sRGB color profile - Removal of forbidden elements (JavaScript, forms) ## How it works 1. **Submission**: Invoice is queued in Celery for asynchronous processing 2. **Immediate return**: You receive a `task_id` (HTTP 202 Accepted) 3. **Tracking**: Use the `/tasks/{task_id}/status` endpoint to track progress ## Webhook notification (recommended) Instead of polling, you can receive a webhook notification when the task completes: ``` callback_url=https://your-server.com/webhook ``` The webhook will POST a JSON payload with: - `event_type`: `generation.completed` or `generation.failed` - `data.task_id`: The Celery task ID - `data.content_b64` or `data.xml_content`: The generated content - `X-Webhook-Signature` header for HMAC verification See `/docs/WEBHOOKS.md` for full documentation. ## Output formats - **xml**: Generates only Factur-X XML (recommended for testing) - **pdf**: Generates PDF/A-3 with embedded XML (requires `source_pdf`) ## Factur-X profiles - **MINIMUM**: Minimal data (simplified invoice) - **BASIC**: Basic information (SMEs) - **EN16931**: European standard (recommended, compliant with directive 2014/55/EU) - **EXTENDED**: All available data (large accounts) ## What you get After successful processing (status `completed`): - **XML only**: Base64-encoded Factur-X compliant XML file - **PDF/A-3**: PDF with embedded XML, ready for sending/archiving - **Metadata**: Profile, Factur-X version, file size - **Validation**: Schematron compliance confirmation ## Validation Data is automatically validated according to detected format. On error, a 422 status is returned with invalid field details.
|
|
221
|
+
* @summary Generate a Factur-X invoice
|
|
222
|
+
* @param {string} invoiceData Invoice data in JSON format. Two formats accepted: 1. **Classic format**: Complete FacturXInvoice structure (all fields) 2. **Simplified format** (🆕 P0.1): Minimal structure with auto-enrichment Format is detected automatically!
|
|
223
|
+
* @param {APIProfile} [profile] Factur-X profile: MINIMUM, BASIC, EN16931 or EXTENDED.
|
|
224
|
+
* @param {OutputFormat} [outputFormat] Output format: \\\'xml\\\' (XML only) or \\\'pdf\\\' (Factur-X PDF with embedded XML).
|
|
225
|
+
* @param {boolean} [autoEnrich] 🆕 Enable auto-enrichment from SIRET/SIREN (simplified format only)
|
|
226
|
+
* @param {File | null} [sourcePdf]
|
|
227
|
+
* @param {string | null} [callbackUrl]
|
|
228
|
+
* @param {string} [webhookMode] Webhook content delivery: \\\'inline\\\' (base64 in payload) or \\\'download_url\\\' (temporary URL, 1h TTL)
|
|
229
|
+
* @param {boolean | null} [skipBrFr]
|
|
230
|
+
* @param {*} [options] Override http request option.
|
|
231
|
+
* @throws {RequiredError}
|
|
232
|
+
*/
|
|
233
|
+
async generateInvoiceApiV1ProcessingGenerateInvoicePost(invoiceData: string, profile?: APIProfile, outputFormat?: OutputFormat, autoEnrich?: boolean, sourcePdf?: File | null, callbackUrl?: string | null, webhookMode?: string, skipBrFr?: boolean | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskResponse>> {
|
|
234
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.generateInvoiceApiV1ProcessingGenerateInvoicePost(invoiceData, profile, outputFormat, autoEnrich, sourcePdf, callbackUrl, webhookMode, skipBrFr, options);
|
|
235
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
236
|
+
const localVarOperationServerBasePath = operationServerMap['FacturXGenerationApi.generateInvoiceApiV1ProcessingGenerateInvoicePost']?.[localVarOperationServerIndex]?.url;
|
|
237
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
238
|
+
},
|
|
239
|
+
/**
|
|
240
|
+
* Unified endpoint to submit a complete invoice to different destinations. **Facture prête pour Flux 2** - Génère une facture Factur-X complète avec signature optionnelle et soumission vers Chorus Pro ou PDP AFNOR. **Automated workflow:** 1. **Auto-enrichment** (optional): retrieves data via public APIs and Chorus Pro/AFNOR 2. **Factur-X PDF generation**: creates a PDF/A-3 with embedded XML 3. **Electronic signature** (optional): signs the PDF with a certificate 4. **Submission**: sends to the chosen destination (Chorus Pro or AFNOR PDP) **Supported destinations:** - **Chorus Pro**: French B2G platform (invoices to public sector) - **AFNOR PDP**: Partner Dematerialization Platforms **Destination credentials - 2 modes available:** **Mode 1 - Retrieval via JWT (recommended):** - Credentials are retrieved automatically via the JWT `client_uid` - Do not provide the `credentials` field in `destination` - Zero-trust architecture: no secrets in the payload - Example: `\"destination\": {\"type\": \"chorus_pro\"}` **Mode 2 - Credentials in the payload:** - Provide credentials directly in the payload - Useful for tests or third-party integrations - Example: `\"destination\": {\"type\": \"chorus_pro\", \"credentials\": {...}}` **Electronic signature (optional) - 2 modes available:** **Mode 1 - Stored certificate (recommended):** - Certificate is retrieved automatically via the JWT `client_uid` - No key to provide in the payload - PAdES-B-LT signature with timestamp (eIDAS compliant) - Example: `\"signature\": {\"reason\": \"Factur-X compliance\"}` **Mode 2 - Keys in the payload (for tests):** - Provide `key_pem` and `cert_pem` directly - PEM format accepted: raw or base64 - Useful for tests or special cases without stored certificate - Example: `\"signature\": {\"key_pem\": \"-----BEGIN...\", \"cert_pem\": \"-----BEGIN...\"}` If `key_pem` and `cert_pem` are provided → Mode 2 Otherwise → Mode 1 (certificate retrieved via `client_uid`)
|
|
241
|
+
* @summary Submit a complete invoice (generation + signature + submission)
|
|
242
|
+
* @param {SubmitCompleteInvoiceRequest} submitCompleteInvoiceRequest
|
|
243
|
+
* @param {*} [options] Override http request option.
|
|
244
|
+
* @throws {RequiredError}
|
|
245
|
+
*/
|
|
246
|
+
async submitCompleteInvoiceApiV1ProcessingInvoicesSubmitCompletePost(submitCompleteInvoiceRequest: SubmitCompleteInvoiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubmitCompleteInvoiceResponse>> {
|
|
247
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.submitCompleteInvoiceApiV1ProcessingInvoicesSubmitCompletePost(submitCompleteInvoiceRequest, options);
|
|
248
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
249
|
+
const localVarOperationServerBasePath = operationServerMap['FacturXGenerationApi.submitCompleteInvoiceApiV1ProcessingInvoicesSubmitCompletePost']?.[localVarOperationServerIndex]?.url;
|
|
250
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
251
|
+
},
|
|
252
|
+
/**
|
|
253
|
+
* Asynchronous version of the `/invoices/submit-complete` endpoint using Celery for background processing. **Facture prête pour Flux 2** - Génère une facture Factur-X complète de manière asynchrone. **Automated workflow (same as synchronous version):** 1. **Auto-enrichment** (optional): retrieves data via public APIs and Chorus Pro/AFNOR 2. **Factur-X PDF generation**: creates a PDF/A-3 with embedded XML 3. **Electronic signature** (optional): signs the PDF with a certificate 4. **Submission**: sends to the chosen destination (Chorus Pro or AFNOR PDP) **Supported destinations:** - **Chorus Pro**: French B2G platform (invoices to public sector) - **AFNOR PDP**: Partner Dematerialization Platforms **Differences with synchronous version:** - ✅ **Non-blocking**: Returns immediately with a `task_id` (HTTP 202 Accepted) - ✅ **Background processing**: Invoice is processed by a Celery worker - ✅ **Progress tracking**: Use `/tasks/{task_id}/status` to track status - ✅ **Ideal for high volumes**: Allows processing many invoices in parallel **How to use:** 1. **Submission**: Call this endpoint with your invoice data 2. **Immediate return**: You receive a `task_id` (e.g., \"abc123-def456\") 3. **Tracking**: Call `/tasks/{task_id}/status` to check progress 4. **Result**: When `status = \"SUCCESS\"`, the `result` field contains the complete response **Webhook notification (recommended):** Instead of polling, add `?callback_url=https://your-server.com/webhook` to receive automatic notification: - `event_type`: `submission.completed`, `submission.failed`, or `submission.partial` - `data.submission_result`: Complete submission result - `X-Webhook-Signature` header for HMAC verification **Credentials and signature**: Same modes as the synchronous version (JWT or payload).
|
|
254
|
+
* @summary Submit a complete invoice (asynchronous with Celery)
|
|
255
|
+
* @param {SubmitCompleteInvoiceRequest} submitCompleteInvoiceRequest
|
|
256
|
+
* @param {string | null} [callbackUrl] Webhook URL for async notification when submission completes.
|
|
257
|
+
* @param {string} [webhookMode] Webhook content delivery: \'inline\' (base64 in payload) or \'download_url\' (temporary URL, 1h TTL)
|
|
258
|
+
* @param {*} [options] Override http request option.
|
|
259
|
+
* @throws {RequiredError}
|
|
260
|
+
*/
|
|
261
|
+
async submitCompleteInvoiceAsyncApiV1ProcessingInvoicesSubmitCompleteAsyncPost(submitCompleteInvoiceRequest: SubmitCompleteInvoiceRequest, callbackUrl?: string | null, webhookMode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskResponse>> {
|
|
262
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.submitCompleteInvoiceAsyncApiV1ProcessingInvoicesSubmitCompleteAsyncPost(submitCompleteInvoiceRequest, callbackUrl, webhookMode, options);
|
|
263
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
264
|
+
const localVarOperationServerBasePath = operationServerMap['FacturXGenerationApi.submitCompleteInvoiceAsyncApiV1ProcessingInvoicesSubmitCompleteAsyncPost']?.[localVarOperationServerIndex]?.url;
|
|
265
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
266
|
+
},
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* FacturXGenerationApi - factory interface
|
|
272
|
+
*/
|
|
273
|
+
export const FacturXGenerationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
274
|
+
const localVarFp = FacturXGenerationApiFp(configuration)
|
|
275
|
+
return {
|
|
276
|
+
/**
|
|
277
|
+
* Generates an electronic invoice in Factur-X format compliant with European standards. ## Applied Standards - **Factur-X** (France): FNFE-MPE standard (Forum National de la Facture Électronique) - **ZUGFeRD** (Germany): German format compatible with Factur-X - **EN 16931**: European semantic standard for electronic invoicing - **ISO 19005-3** (PDF/A-3): Long-term electronic archiving - **Cross Industry Invoice (CII)**: UN/CEFACT XML syntax ## 🆕 New: Simplified format with auto-enrichment (P0.1) You can now create an invoice by providing only: - An invoice number - A supplier SIRET + **IBAN** (required) - A recipient SIRET - Invoice lines (description, quantity, net price) **Simplified format example**: ```json { \"number\": \"FACT-2025-001\", \"supplier\": { \"siret\": \"92019522900017\", \"iban\": \"FR7630001007941234567890185\" }, \"recipient\": {\"siret\": \"35600000000048\"}, \"lines\": [ {\"description\": \"Service\", \"quantity\": 10, \"unitPrice\": 100.00, \"vatRate\": 20.0} ] } ``` **⚠️ Required fields (simplified format)**: - `number`: Unique invoice number - `supplier.siret`: Supplier\'s SIRET (14 digits) - `supplier.iban`: Bank account IBAN (no public API to retrieve it) - `recipient.siret`: Recipient\'s SIRET - `lines[]`: At least one invoice line **What happens automatically with `auto_enrich=True`**: - ✅ Name enrichment from Chorus Pro API - ✅ Address enrichment from Business Search API (free, public) - ✅ Automatic intra-EU VAT calculation (FR + key + SIREN) - ✅ Chorus Pro ID retrieval for electronic invoicing - ✅ Net/VAT/Gross totals calculation - ✅ Date generation (today + 30-day due date) - ✅ Multi-rate VAT handling **Supported identifiers**: - SIRET (14 digits): Specific establishment ⭐ Recommended - SIREN (9 digits): Company (auto-selection of headquarters) - Special types: UE_HORS_FRANCE, RIDET, TAHITI, etc. ## Checks performed during generation ### 1. Data validation (Pydantic) - Data types (amounts as Decimal, ISO 8601 dates) - Formats (14-digit SIRET, 9-digit SIREN, IBAN) - Required fields per profile - Amount consistency (Net + VAT = Gross) ### 2. CII-compliant XML generation - Serialization according to Cross Industry Invoice XSD schema - Correct UN/CEFACT namespaces - Hierarchical structure respected - UTF-8 encoding without BOM ### 3. Schematron validation - Business rules for selected profile (MINIMUM, BASIC, EN16931, EXTENDED) - Element cardinality (required, optional, repeatable) - Calculation rules (totals, VAT, discounts) - European EN 16931 compliance ### 4. PDF/A-3 conversion (if output_format=\'pdf\') - Source PDF conversion to PDF/A-3 via Ghostscript - Factur-X XML embedding in PDF - Compliant XMP metadata - ICC sRGB color profile - Removal of forbidden elements (JavaScript, forms) ## How it works 1. **Submission**: Invoice is queued in Celery for asynchronous processing 2. **Immediate return**: You receive a `task_id` (HTTP 202 Accepted) 3. **Tracking**: Use the `/tasks/{task_id}/status` endpoint to track progress ## Webhook notification (recommended) Instead of polling, you can receive a webhook notification when the task completes: ``` callback_url=https://your-server.com/webhook ``` The webhook will POST a JSON payload with: - `event_type`: `generation.completed` or `generation.failed` - `data.task_id`: The Celery task ID - `data.content_b64` or `data.xml_content`: The generated content - `X-Webhook-Signature` header for HMAC verification See `/docs/WEBHOOKS.md` for full documentation. ## Output formats - **xml**: Generates only Factur-X XML (recommended for testing) - **pdf**: Generates PDF/A-3 with embedded XML (requires `source_pdf`) ## Factur-X profiles - **MINIMUM**: Minimal data (simplified invoice) - **BASIC**: Basic information (SMEs) - **EN16931**: European standard (recommended, compliant with directive 2014/55/EU) - **EXTENDED**: All available data (large accounts) ## What you get After successful processing (status `completed`): - **XML only**: Base64-encoded Factur-X compliant XML file - **PDF/A-3**: PDF with embedded XML, ready for sending/archiving - **Metadata**: Profile, Factur-X version, file size - **Validation**: Schematron compliance confirmation ## Validation Data is automatically validated according to detected format. On error, a 422 status is returned with invalid field details.
|
|
278
|
+
* @summary Generate a Factur-X invoice
|
|
279
|
+
* @param {string} invoiceData Invoice data in JSON format. Two formats accepted: 1. **Classic format**: Complete FacturXInvoice structure (all fields) 2. **Simplified format** (🆕 P0.1): Minimal structure with auto-enrichment Format is detected automatically!
|
|
280
|
+
* @param {APIProfile} [profile] Factur-X profile: MINIMUM, BASIC, EN16931 or EXTENDED.
|
|
281
|
+
* @param {OutputFormat} [outputFormat] Output format: \\\'xml\\\' (XML only) or \\\'pdf\\\' (Factur-X PDF with embedded XML).
|
|
282
|
+
* @param {boolean} [autoEnrich] 🆕 Enable auto-enrichment from SIRET/SIREN (simplified format only)
|
|
283
|
+
* @param {File | null} [sourcePdf]
|
|
284
|
+
* @param {string | null} [callbackUrl]
|
|
285
|
+
* @param {string} [webhookMode] Webhook content delivery: \\\'inline\\\' (base64 in payload) or \\\'download_url\\\' (temporary URL, 1h TTL)
|
|
286
|
+
* @param {boolean | null} [skipBrFr]
|
|
287
|
+
* @param {*} [options] Override http request option.
|
|
288
|
+
* @throws {RequiredError}
|
|
289
|
+
*/
|
|
290
|
+
generateInvoiceApiV1ProcessingGenerateInvoicePost(invoiceData: string, profile?: APIProfile, outputFormat?: OutputFormat, autoEnrich?: boolean, sourcePdf?: File | null, callbackUrl?: string | null, webhookMode?: string, skipBrFr?: boolean | null, options?: RawAxiosRequestConfig): AxiosPromise<TaskResponse> {
|
|
291
|
+
return localVarFp.generateInvoiceApiV1ProcessingGenerateInvoicePost(invoiceData, profile, outputFormat, autoEnrich, sourcePdf, callbackUrl, webhookMode, skipBrFr, options).then((request) => request(axios, basePath));
|
|
292
|
+
},
|
|
293
|
+
/**
|
|
294
|
+
* Unified endpoint to submit a complete invoice to different destinations. **Facture prête pour Flux 2** - Génère une facture Factur-X complète avec signature optionnelle et soumission vers Chorus Pro ou PDP AFNOR. **Automated workflow:** 1. **Auto-enrichment** (optional): retrieves data via public APIs and Chorus Pro/AFNOR 2. **Factur-X PDF generation**: creates a PDF/A-3 with embedded XML 3. **Electronic signature** (optional): signs the PDF with a certificate 4. **Submission**: sends to the chosen destination (Chorus Pro or AFNOR PDP) **Supported destinations:** - **Chorus Pro**: French B2G platform (invoices to public sector) - **AFNOR PDP**: Partner Dematerialization Platforms **Destination credentials - 2 modes available:** **Mode 1 - Retrieval via JWT (recommended):** - Credentials are retrieved automatically via the JWT `client_uid` - Do not provide the `credentials` field in `destination` - Zero-trust architecture: no secrets in the payload - Example: `\"destination\": {\"type\": \"chorus_pro\"}` **Mode 2 - Credentials in the payload:** - Provide credentials directly in the payload - Useful for tests or third-party integrations - Example: `\"destination\": {\"type\": \"chorus_pro\", \"credentials\": {...}}` **Electronic signature (optional) - 2 modes available:** **Mode 1 - Stored certificate (recommended):** - Certificate is retrieved automatically via the JWT `client_uid` - No key to provide in the payload - PAdES-B-LT signature with timestamp (eIDAS compliant) - Example: `\"signature\": {\"reason\": \"Factur-X compliance\"}` **Mode 2 - Keys in the payload (for tests):** - Provide `key_pem` and `cert_pem` directly - PEM format accepted: raw or base64 - Useful for tests or special cases without stored certificate - Example: `\"signature\": {\"key_pem\": \"-----BEGIN...\", \"cert_pem\": \"-----BEGIN...\"}` If `key_pem` and `cert_pem` are provided → Mode 2 Otherwise → Mode 1 (certificate retrieved via `client_uid`)
|
|
295
|
+
* @summary Submit a complete invoice (generation + signature + submission)
|
|
296
|
+
* @param {SubmitCompleteInvoiceRequest} submitCompleteInvoiceRequest
|
|
297
|
+
* @param {*} [options] Override http request option.
|
|
298
|
+
* @throws {RequiredError}
|
|
299
|
+
*/
|
|
300
|
+
submitCompleteInvoiceApiV1ProcessingInvoicesSubmitCompletePost(submitCompleteInvoiceRequest: SubmitCompleteInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<SubmitCompleteInvoiceResponse> {
|
|
301
|
+
return localVarFp.submitCompleteInvoiceApiV1ProcessingInvoicesSubmitCompletePost(submitCompleteInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
302
|
+
},
|
|
303
|
+
/**
|
|
304
|
+
* Asynchronous version of the `/invoices/submit-complete` endpoint using Celery for background processing. **Facture prête pour Flux 2** - Génère une facture Factur-X complète de manière asynchrone. **Automated workflow (same as synchronous version):** 1. **Auto-enrichment** (optional): retrieves data via public APIs and Chorus Pro/AFNOR 2. **Factur-X PDF generation**: creates a PDF/A-3 with embedded XML 3. **Electronic signature** (optional): signs the PDF with a certificate 4. **Submission**: sends to the chosen destination (Chorus Pro or AFNOR PDP) **Supported destinations:** - **Chorus Pro**: French B2G platform (invoices to public sector) - **AFNOR PDP**: Partner Dematerialization Platforms **Differences with synchronous version:** - ✅ **Non-blocking**: Returns immediately with a `task_id` (HTTP 202 Accepted) - ✅ **Background processing**: Invoice is processed by a Celery worker - ✅ **Progress tracking**: Use `/tasks/{task_id}/status` to track status - ✅ **Ideal for high volumes**: Allows processing many invoices in parallel **How to use:** 1. **Submission**: Call this endpoint with your invoice data 2. **Immediate return**: You receive a `task_id` (e.g., \"abc123-def456\") 3. **Tracking**: Call `/tasks/{task_id}/status` to check progress 4. **Result**: When `status = \"SUCCESS\"`, the `result` field contains the complete response **Webhook notification (recommended):** Instead of polling, add `?callback_url=https://your-server.com/webhook` to receive automatic notification: - `event_type`: `submission.completed`, `submission.failed`, or `submission.partial` - `data.submission_result`: Complete submission result - `X-Webhook-Signature` header for HMAC verification **Credentials and signature**: Same modes as the synchronous version (JWT or payload).
|
|
305
|
+
* @summary Submit a complete invoice (asynchronous with Celery)
|
|
306
|
+
* @param {SubmitCompleteInvoiceRequest} submitCompleteInvoiceRequest
|
|
307
|
+
* @param {string | null} [callbackUrl] Webhook URL for async notification when submission completes.
|
|
308
|
+
* @param {string} [webhookMode] Webhook content delivery: \'inline\' (base64 in payload) or \'download_url\' (temporary URL, 1h TTL)
|
|
309
|
+
* @param {*} [options] Override http request option.
|
|
310
|
+
* @throws {RequiredError}
|
|
311
|
+
*/
|
|
312
|
+
submitCompleteInvoiceAsyncApiV1ProcessingInvoicesSubmitCompleteAsyncPost(submitCompleteInvoiceRequest: SubmitCompleteInvoiceRequest, callbackUrl?: string | null, webhookMode?: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskResponse> {
|
|
313
|
+
return localVarFp.submitCompleteInvoiceAsyncApiV1ProcessingInvoicesSubmitCompleteAsyncPost(submitCompleteInvoiceRequest, callbackUrl, webhookMode, options).then((request) => request(axios, basePath));
|
|
314
|
+
},
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* FacturXGenerationApi - object-oriented interface
|
|
320
|
+
*/
|
|
321
|
+
export class FacturXGenerationApi extends BaseAPI {
|
|
322
|
+
/**
|
|
323
|
+
* Generates an electronic invoice in Factur-X format compliant with European standards. ## Applied Standards - **Factur-X** (France): FNFE-MPE standard (Forum National de la Facture Électronique) - **ZUGFeRD** (Germany): German format compatible with Factur-X - **EN 16931**: European semantic standard for electronic invoicing - **ISO 19005-3** (PDF/A-3): Long-term electronic archiving - **Cross Industry Invoice (CII)**: UN/CEFACT XML syntax ## 🆕 New: Simplified format with auto-enrichment (P0.1) You can now create an invoice by providing only: - An invoice number - A supplier SIRET + **IBAN** (required) - A recipient SIRET - Invoice lines (description, quantity, net price) **Simplified format example**: ```json { \"number\": \"FACT-2025-001\", \"supplier\": { \"siret\": \"92019522900017\", \"iban\": \"FR7630001007941234567890185\" }, \"recipient\": {\"siret\": \"35600000000048\"}, \"lines\": [ {\"description\": \"Service\", \"quantity\": 10, \"unitPrice\": 100.00, \"vatRate\": 20.0} ] } ``` **⚠️ Required fields (simplified format)**: - `number`: Unique invoice number - `supplier.siret`: Supplier\'s SIRET (14 digits) - `supplier.iban`: Bank account IBAN (no public API to retrieve it) - `recipient.siret`: Recipient\'s SIRET - `lines[]`: At least one invoice line **What happens automatically with `auto_enrich=True`**: - ✅ Name enrichment from Chorus Pro API - ✅ Address enrichment from Business Search API (free, public) - ✅ Automatic intra-EU VAT calculation (FR + key + SIREN) - ✅ Chorus Pro ID retrieval for electronic invoicing - ✅ Net/VAT/Gross totals calculation - ✅ Date generation (today + 30-day due date) - ✅ Multi-rate VAT handling **Supported identifiers**: - SIRET (14 digits): Specific establishment ⭐ Recommended - SIREN (9 digits): Company (auto-selection of headquarters) - Special types: UE_HORS_FRANCE, RIDET, TAHITI, etc. ## Checks performed during generation ### 1. Data validation (Pydantic) - Data types (amounts as Decimal, ISO 8601 dates) - Formats (14-digit SIRET, 9-digit SIREN, IBAN) - Required fields per profile - Amount consistency (Net + VAT = Gross) ### 2. CII-compliant XML generation - Serialization according to Cross Industry Invoice XSD schema - Correct UN/CEFACT namespaces - Hierarchical structure respected - UTF-8 encoding without BOM ### 3. Schematron validation - Business rules for selected profile (MINIMUM, BASIC, EN16931, EXTENDED) - Element cardinality (required, optional, repeatable) - Calculation rules (totals, VAT, discounts) - European EN 16931 compliance ### 4. PDF/A-3 conversion (if output_format=\'pdf\') - Source PDF conversion to PDF/A-3 via Ghostscript - Factur-X XML embedding in PDF - Compliant XMP metadata - ICC sRGB color profile - Removal of forbidden elements (JavaScript, forms) ## How it works 1. **Submission**: Invoice is queued in Celery for asynchronous processing 2. **Immediate return**: You receive a `task_id` (HTTP 202 Accepted) 3. **Tracking**: Use the `/tasks/{task_id}/status` endpoint to track progress ## Webhook notification (recommended) Instead of polling, you can receive a webhook notification when the task completes: ``` callback_url=https://your-server.com/webhook ``` The webhook will POST a JSON payload with: - `event_type`: `generation.completed` or `generation.failed` - `data.task_id`: The Celery task ID - `data.content_b64` or `data.xml_content`: The generated content - `X-Webhook-Signature` header for HMAC verification See `/docs/WEBHOOKS.md` for full documentation. ## Output formats - **xml**: Generates only Factur-X XML (recommended for testing) - **pdf**: Generates PDF/A-3 with embedded XML (requires `source_pdf`) ## Factur-X profiles - **MINIMUM**: Minimal data (simplified invoice) - **BASIC**: Basic information (SMEs) - **EN16931**: European standard (recommended, compliant with directive 2014/55/EU) - **EXTENDED**: All available data (large accounts) ## What you get After successful processing (status `completed`): - **XML only**: Base64-encoded Factur-X compliant XML file - **PDF/A-3**: PDF with embedded XML, ready for sending/archiving - **Metadata**: Profile, Factur-X version, file size - **Validation**: Schematron compliance confirmation ## Validation Data is automatically validated according to detected format. On error, a 422 status is returned with invalid field details.
|
|
324
|
+
* @summary Generate a Factur-X invoice
|
|
325
|
+
* @param {string} invoiceData Invoice data in JSON format. Two formats accepted: 1. **Classic format**: Complete FacturXInvoice structure (all fields) 2. **Simplified format** (🆕 P0.1): Minimal structure with auto-enrichment Format is detected automatically!
|
|
326
|
+
* @param {APIProfile} [profile] Factur-X profile: MINIMUM, BASIC, EN16931 or EXTENDED.
|
|
327
|
+
* @param {OutputFormat} [outputFormat] Output format: \\\'xml\\\' (XML only) or \\\'pdf\\\' (Factur-X PDF with embedded XML).
|
|
328
|
+
* @param {boolean} [autoEnrich] 🆕 Enable auto-enrichment from SIRET/SIREN (simplified format only)
|
|
329
|
+
* @param {File | null} [sourcePdf]
|
|
330
|
+
* @param {string | null} [callbackUrl]
|
|
331
|
+
* @param {string} [webhookMode] Webhook content delivery: \\\'inline\\\' (base64 in payload) or \\\'download_url\\\' (temporary URL, 1h TTL)
|
|
332
|
+
* @param {boolean | null} [skipBrFr]
|
|
333
|
+
* @param {*} [options] Override http request option.
|
|
334
|
+
* @throws {RequiredError}
|
|
335
|
+
*/
|
|
336
|
+
public generateInvoiceApiV1ProcessingGenerateInvoicePost(invoiceData: string, profile?: APIProfile, outputFormat?: OutputFormat, autoEnrich?: boolean, sourcePdf?: File | null, callbackUrl?: string | null, webhookMode?: string, skipBrFr?: boolean | null, options?: RawAxiosRequestConfig) {
|
|
337
|
+
return FacturXGenerationApiFp(this.configuration).generateInvoiceApiV1ProcessingGenerateInvoicePost(invoiceData, profile, outputFormat, autoEnrich, sourcePdf, callbackUrl, webhookMode, skipBrFr, options).then((request) => request(this.axios, this.basePath));
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Unified endpoint to submit a complete invoice to different destinations. **Facture prête pour Flux 2** - Génère une facture Factur-X complète avec signature optionnelle et soumission vers Chorus Pro ou PDP AFNOR. **Automated workflow:** 1. **Auto-enrichment** (optional): retrieves data via public APIs and Chorus Pro/AFNOR 2. **Factur-X PDF generation**: creates a PDF/A-3 with embedded XML 3. **Electronic signature** (optional): signs the PDF with a certificate 4. **Submission**: sends to the chosen destination (Chorus Pro or AFNOR PDP) **Supported destinations:** - **Chorus Pro**: French B2G platform (invoices to public sector) - **AFNOR PDP**: Partner Dematerialization Platforms **Destination credentials - 2 modes available:** **Mode 1 - Retrieval via JWT (recommended):** - Credentials are retrieved automatically via the JWT `client_uid` - Do not provide the `credentials` field in `destination` - Zero-trust architecture: no secrets in the payload - Example: `\"destination\": {\"type\": \"chorus_pro\"}` **Mode 2 - Credentials in the payload:** - Provide credentials directly in the payload - Useful for tests or third-party integrations - Example: `\"destination\": {\"type\": \"chorus_pro\", \"credentials\": {...}}` **Electronic signature (optional) - 2 modes available:** **Mode 1 - Stored certificate (recommended):** - Certificate is retrieved automatically via the JWT `client_uid` - No key to provide in the payload - PAdES-B-LT signature with timestamp (eIDAS compliant) - Example: `\"signature\": {\"reason\": \"Factur-X compliance\"}` **Mode 2 - Keys in the payload (for tests):** - Provide `key_pem` and `cert_pem` directly - PEM format accepted: raw or base64 - Useful for tests or special cases without stored certificate - Example: `\"signature\": {\"key_pem\": \"-----BEGIN...\", \"cert_pem\": \"-----BEGIN...\"}` If `key_pem` and `cert_pem` are provided → Mode 2 Otherwise → Mode 1 (certificate retrieved via `client_uid`)
|
|
342
|
+
* @summary Submit a complete invoice (generation + signature + submission)
|
|
343
|
+
* @param {SubmitCompleteInvoiceRequest} submitCompleteInvoiceRequest
|
|
344
|
+
* @param {*} [options] Override http request option.
|
|
345
|
+
* @throws {RequiredError}
|
|
346
|
+
*/
|
|
347
|
+
public submitCompleteInvoiceApiV1ProcessingInvoicesSubmitCompletePost(submitCompleteInvoiceRequest: SubmitCompleteInvoiceRequest, options?: RawAxiosRequestConfig) {
|
|
348
|
+
return FacturXGenerationApiFp(this.configuration).submitCompleteInvoiceApiV1ProcessingInvoicesSubmitCompletePost(submitCompleteInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Asynchronous version of the `/invoices/submit-complete` endpoint using Celery for background processing. **Facture prête pour Flux 2** - Génère une facture Factur-X complète de manière asynchrone. **Automated workflow (same as synchronous version):** 1. **Auto-enrichment** (optional): retrieves data via public APIs and Chorus Pro/AFNOR 2. **Factur-X PDF generation**: creates a PDF/A-3 with embedded XML 3. **Electronic signature** (optional): signs the PDF with a certificate 4. **Submission**: sends to the chosen destination (Chorus Pro or AFNOR PDP) **Supported destinations:** - **Chorus Pro**: French B2G platform (invoices to public sector) - **AFNOR PDP**: Partner Dematerialization Platforms **Differences with synchronous version:** - ✅ **Non-blocking**: Returns immediately with a `task_id` (HTTP 202 Accepted) - ✅ **Background processing**: Invoice is processed by a Celery worker - ✅ **Progress tracking**: Use `/tasks/{task_id}/status` to track status - ✅ **Ideal for high volumes**: Allows processing many invoices in parallel **How to use:** 1. **Submission**: Call this endpoint with your invoice data 2. **Immediate return**: You receive a `task_id` (e.g., \"abc123-def456\") 3. **Tracking**: Call `/tasks/{task_id}/status` to check progress 4. **Result**: When `status = \"SUCCESS\"`, the `result` field contains the complete response **Webhook notification (recommended):** Instead of polling, add `?callback_url=https://your-server.com/webhook` to receive automatic notification: - `event_type`: `submission.completed`, `submission.failed`, or `submission.partial` - `data.submission_result`: Complete submission result - `X-Webhook-Signature` header for HMAC verification **Credentials and signature**: Same modes as the synchronous version (JWT or payload).
|
|
353
|
+
* @summary Submit a complete invoice (asynchronous with Celery)
|
|
354
|
+
* @param {SubmitCompleteInvoiceRequest} submitCompleteInvoiceRequest
|
|
355
|
+
* @param {string | null} [callbackUrl] Webhook URL for async notification when submission completes.
|
|
356
|
+
* @param {string} [webhookMode] Webhook content delivery: \'inline\' (base64 in payload) or \'download_url\' (temporary URL, 1h TTL)
|
|
357
|
+
* @param {*} [options] Override http request option.
|
|
358
|
+
* @throws {RequiredError}
|
|
359
|
+
*/
|
|
360
|
+
public submitCompleteInvoiceAsyncApiV1ProcessingInvoicesSubmitCompleteAsyncPost(submitCompleteInvoiceRequest: SubmitCompleteInvoiceRequest, callbackUrl?: string | null, webhookMode?: string, options?: RawAxiosRequestConfig) {
|
|
361
|
+
return FacturXGenerationApiFp(this.configuration).submitCompleteInvoiceAsyncApiV1ProcessingInvoicesSubmitCompleteAsyncPost(submitCompleteInvoiceRequest, callbackUrl, webhookMode, options).then((request) => request(this.axios, this.basePath));
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|