@factpulse/sdk 2.0.11 → 2.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/SETUP_GITHUB_ACTIONS.md +70 -8
- package/.github/workflows/publish-npm.yml +5 -7
- package/.openapi-generator/FILES +58 -26
- package/CHANGELOG.md +3 -3
- package/README.md +165 -116
- package/api/afnorpdppaapi.ts +149 -0
- package/api/chorus-pro-api.ts +151 -181
- package/api/traitement-facture-api.ts +12 -12
- package/api/vrification-pdfxmlapi.ts +536 -0
- package/api.ts +1 -0
- package/dist/api/afnorpdppaapi.d.ts +65 -0
- package/dist/api/afnorpdppaapi.js +142 -1
- package/dist/api/afnorpdppadirectory-service-api.js +4 -1
- package/dist/api/afnorpdppaflow-service-api.js +4 -1
- package/dist/api/chorus-pro-api.d.ts +168 -103
- package/dist/api/chorus-pro-api.js +155 -160
- package/dist/api/sant-api.js +4 -1
- package/dist/api/traitement-facture-api.d.ts +12 -12
- package/dist/api/traitement-facture-api.js +16 -13
- package/dist/api/utilisateur-api.js +4 -1
- package/dist/api/vrification-pdfxmlapi.d.ts +237 -0
- package/dist/api/vrification-pdfxmlapi.js +514 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.js +4 -1
- package/dist/esm/api/afnorpdppaapi.d.ts +65 -0
- package/dist/esm/api/afnorpdppaapi.js +139 -1
- package/dist/esm/api/chorus-pro-api.d.ts +168 -103
- package/dist/esm/api/chorus-pro-api.js +151 -159
- package/dist/esm/api/traitement-facture-api.d.ts +12 -12
- package/dist/esm/api/traitement-facture-api.js +12 -12
- package/dist/esm/api/vrification-pdfxmlapi.d.ts +237 -0
- package/dist/esm/api/vrification-pdfxmlapi.js +504 -0
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/models/{utilisateur.d.ts → apierror.d.ts} +12 -15
- package/dist/esm/models/beneficiaire.d.ts +26 -0
- package/dist/esm/models/bounding-box-schema.d.ts +44 -0
- package/dist/esm/models/cadre-de-facturation.d.ts +3 -1
- package/dist/esm/models/champ-verifie-schema.d.ts +42 -0
- package/dist/esm/models/code-cadre-facturation.d.ts +3 -0
- package/dist/esm/models/code-cadre-facturation.js +3 -0
- package/dist/esm/models/destinataire.d.ts +1 -1
- package/dist/esm/models/dimension-page-schema.d.ts +24 -0
- package/dist/esm/models/{quota-info.d.ts → direction-flux.d.ts} +6 -8
- package/dist/esm/models/direction-flux.js +20 -0
- package/dist/esm/models/error-level.d.ts +16 -0
- package/dist/esm/models/error-level.js +17 -0
- package/dist/esm/models/{body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.d.ts → error-source.d.ts} +11 -9
- package/dist/esm/models/error-source.js +23 -0
- package/dist/esm/models/facture-entrante.d.ts +68 -0
- package/dist/esm/models/facture-factur-x.d.ts +2 -0
- package/dist/esm/models/{body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.d.ts → flux-resume.d.ts} +12 -8
- package/dist/esm/models/format-facture.d.ts +20 -0
- package/dist/esm/models/format-facture.js +21 -0
- package/dist/esm/models/fournisseur-entrant.d.ts +29 -0
- package/dist/esm/models/fournisseur.d.ts +1 -1
- package/dist/esm/models/index.d.ts +28 -13
- package/dist/esm/models/index.js +28 -13
- package/dist/esm/models/ligne-de-tva.d.ts +3 -1
- package/dist/esm/models/nature-operation.d.ts +31 -0
- package/dist/esm/models/nature-operation.js +32 -0
- package/dist/esm/models/note-obligatoire-schema.d.ts +34 -0
- package/dist/esm/models/note.d.ts +2 -2
- package/dist/esm/models/pdpcredentials.d.ts +33 -0
- package/dist/esm/models/profil-flux.d.ts +20 -0
- package/dist/esm/models/profil-flux.js +21 -0
- package/dist/esm/models/{body-completer-facture-api-v1-chorus-pro-factures-completer-post.d.ts → reponse-healthcheck-afnor.d.ts} +16 -8
- package/dist/esm/models/reponse-recherche-flux.d.ts +33 -0
- package/dist/esm/models/reponse-soumission-flux.d.ts +38 -0
- package/dist/esm/models/reponse-verification-succes.d.ts +56 -0
- package/dist/esm/models/reponse-verification-succes.js +14 -0
- package/dist/esm/models/requete-recherche-flux.d.ts +34 -0
- package/dist/esm/models/requete-recherche-flux.js +14 -0
- package/dist/esm/models/requete-soumission-flux.d.ts +31 -0
- package/dist/esm/models/requete-soumission-flux.js +14 -0
- package/dist/esm/models/statut-acquittement.d.ts +20 -0
- package/dist/esm/models/statut-acquittement.js +21 -0
- package/dist/esm/models/statut-champ-api.d.ts +22 -0
- package/dist/esm/models/statut-champ-api.js +23 -0
- package/dist/esm/models/syntaxe-flux.d.ts +22 -0
- package/dist/esm/models/syntaxe-flux.js +23 -0
- package/dist/esm/models/type-document.d.ts +37 -0
- package/dist/esm/models/type-document.js +38 -0
- package/dist/esm/models/type-facture.d.ts +65 -3
- package/dist/esm/models/type-facture.js +65 -3
- package/dist/esm/models/type-flux.d.ts +22 -0
- package/dist/esm/models/type-flux.js +23 -0
- package/dist/esm/models/validation-error-detail.d.ts +32 -0
- package/dist/esm/models/validation-error-detail.js +14 -0
- package/dist/esm/src/helpers/client.d.ts +265 -0
- package/dist/esm/src/helpers/client.js +817 -0
- package/dist/esm/src/helpers/exceptions.d.ts +23 -0
- package/dist/esm/src/helpers/exceptions.js +27 -0
- package/dist/esm/src/helpers/index.d.ts +3 -0
- package/dist/esm/src/helpers/index.js +6 -0
- package/dist/models/{utilisateur.d.ts → apierror.d.ts} +12 -15
- package/dist/models/beneficiaire.d.ts +26 -0
- package/dist/models/bounding-box-schema.d.ts +44 -0
- package/dist/models/cadre-de-facturation.d.ts +3 -1
- package/dist/models/champ-verifie-schema.d.ts +42 -0
- package/dist/models/code-cadre-facturation.d.ts +3 -0
- package/dist/models/code-cadre-facturation.js +3 -0
- package/dist/models/destinataire.d.ts +1 -1
- package/dist/models/dimension-page-schema.d.ts +24 -0
- package/dist/models/{quota-info.d.ts → direction-flux.d.ts} +6 -8
- package/dist/models/direction-flux.js +23 -0
- package/dist/models/error-level.d.ts +16 -0
- package/dist/models/error-level.js +20 -0
- package/dist/models/error-source.d.ts +22 -0
- package/dist/models/error-source.js +26 -0
- package/dist/models/facture-entrante.d.ts +68 -0
- package/dist/models/facture-factur-x.d.ts +2 -0
- package/dist/models/flux-resume.d.ts +24 -0
- package/dist/models/format-facture.d.ts +20 -0
- package/dist/models/format-facture.js +24 -0
- package/dist/models/fournisseur-entrant.d.ts +29 -0
- package/dist/models/fournisseur.d.ts +1 -1
- package/dist/models/index.d.ts +28 -13
- package/dist/models/index.js +28 -13
- package/dist/models/ligne-de-tva.d.ts +3 -1
- package/dist/models/nature-operation.d.ts +31 -0
- package/dist/models/nature-operation.js +35 -0
- package/dist/models/note-obligatoire-schema.d.ts +34 -0
- package/dist/models/note.d.ts +2 -2
- package/dist/models/pdpcredentials.d.ts +33 -0
- package/dist/models/profil-flux.d.ts +20 -0
- package/dist/models/profil-flux.js +24 -0
- package/dist/{esm/models/body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.d.ts → models/reponse-healthcheck-afnor.d.ts} +16 -8
- package/dist/models/reponse-recherche-flux.d.ts +33 -0
- package/dist/models/reponse-soumission-flux.d.ts +38 -0
- package/dist/models/reponse-verification-succes.d.ts +56 -0
- package/dist/models/reponse-verification-succes.js +15 -0
- package/dist/models/requete-recherche-flux.d.ts +34 -0
- package/dist/models/requete-recherche-flux.js +15 -0
- package/dist/models/requete-soumission-flux.d.ts +31 -0
- package/dist/models/requete-soumission-flux.js +15 -0
- package/dist/models/statut-acquittement.d.ts +20 -0
- package/dist/models/statut-acquittement.js +24 -0
- package/dist/models/statut-champ-api.d.ts +22 -0
- package/dist/models/statut-champ-api.js +26 -0
- package/dist/models/syntaxe-flux.d.ts +22 -0
- package/dist/models/syntaxe-flux.js +26 -0
- package/dist/models/type-document.d.ts +37 -0
- package/dist/models/type-document.js +41 -0
- package/dist/models/type-facture.d.ts +65 -3
- package/dist/models/type-facture.js +65 -3
- package/dist/models/type-flux.d.ts +22 -0
- package/dist/models/type-flux.js +26 -0
- package/dist/models/validation-error-detail.d.ts +32 -0
- package/dist/models/validation-error-detail.js +15 -0
- package/dist/src/helpers/client.d.ts +265 -0
- package/dist/src/helpers/client.js +866 -0
- package/dist/src/helpers/exceptions.d.ts +23 -0
- package/dist/src/helpers/exceptions.js +35 -0
- package/dist/src/helpers/index.d.ts +3 -0
- package/dist/src/helpers/index.js +23 -0
- package/docs/AFNORPDPPAApi.md +108 -0
- package/docs/APIError.md +25 -0
- package/docs/Beneficiaire.md +31 -0
- package/docs/BoundingBoxSchema.md +33 -0
- package/docs/CadreDeFacturation.md +3 -1
- package/docs/ChampVerifieSchema.md +37 -0
- package/docs/ChorusProApi.md +54 -69
- package/docs/CodeCadreFacturation.md +1 -0
- package/docs/DimensionPageSchema.md +23 -0
- package/docs/DirectionFlux.md +11 -0
- package/docs/ErrorLevel.md +10 -0
- package/docs/ErrorSource.md +22 -0
- package/docs/FactureEntrante.md +57 -0
- package/docs/FactureFacturX.md +2 -0
- package/docs/FluxResume.md +35 -0
- package/docs/FormatFacture.md +13 -0
- package/docs/FournisseurEntrant.md +35 -0
- package/docs/LigneDeTVA.md +5 -1
- package/docs/NatureOperation.md +35 -0
- package/docs/Note.md +4 -4
- package/docs/NoteObligatoireSchema.md +33 -0
- package/docs/PDPCredentials.md +29 -0
- package/docs/ProfilFlux.md +13 -0
- package/docs/ReponseHealthcheckAFNOR.md +25 -0
- package/docs/ReponseRechercheFlux.md +27 -0
- package/docs/ReponseSoumissionFlux.md +33 -0
- package/docs/ReponseVerificationSucces.md +39 -0
- package/docs/RequeteRechercheFlux.md +37 -0
- package/docs/RequeteSoumissionFlux.md +31 -0
- package/docs/StatutAcquittement.md +13 -0
- package/docs/StatutChampAPI.md +17 -0
- package/docs/SyntaxeFlux.md +17 -0
- package/docs/TraitementFactureApi.md +3 -3
- package/docs/TypeDocument.md +17 -0
- package/docs/TypeFacture.md +31 -3
- package/docs/TypeFlux.md +17 -0
- package/docs/ValidationErrorDetail.md +29 -0
- package/docs/VrificationPDFXMLApi.md +335 -0
- package/models/{utilisateur.ts → apierror.ts} +12 -15
- package/models/beneficiaire.ts +34 -0
- package/models/bounding-box-schema.ts +50 -0
- package/models/cadre-de-facturation.ts +5 -1
- package/models/champ-verifie-schema.ts +54 -0
- package/models/code-cadre-facturation.ts +3 -0
- package/models/destinataire.ts +1 -1
- package/models/dimension-page-schema.ts +30 -0
- package/models/{quota-info.ts → direction-flux.ts} +10 -8
- package/models/error-level.ts +26 -0
- package/models/error-source.ts +32 -0
- package/models/facture-entrante.ts +82 -0
- package/models/facture-factur-x.ts +4 -0
- package/models/flux-resume.ts +30 -0
- package/models/format-facture.ts +30 -0
- package/models/fournisseur-entrant.ts +39 -0
- package/models/fournisseur.ts +1 -1
- package/models/index.ts +28 -13
- package/models/ligne-de-tva.ts +3 -1
- package/models/nature-operation.ts +41 -0
- package/models/{body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.ts → note-obligatoire-schema.ts} +24 -5
- package/models/note.ts +2 -2
- package/models/pdpcredentials.ts +39 -0
- package/models/profil-flux.ts +30 -0
- package/models/reponse-healthcheck-afnor.ts +34 -0
- package/models/{body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.ts → reponse-recherche-flux.ts} +21 -8
- package/models/{body-completer-facture-api-v1-chorus-pro-factures-completer-post.ts → reponse-soumission-flux.ts} +26 -10
- package/models/reponse-verification-succes.ts +68 -0
- package/models/requete-recherche-flux.ts +48 -0
- package/models/{body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.ts → requete-soumission-flux.ts} +23 -6
- package/models/statut-acquittement.ts +30 -0
- package/models/statut-champ-api.ts +32 -0
- package/models/syntaxe-flux.ts +32 -0
- package/models/type-document.ts +47 -0
- package/models/type-facture.ts +65 -3
- package/models/type-flux.ts +32 -0
- package/models/validation-error-detail.ts +44 -0
- package/package.json +2 -2
- package/src/helpers/client.ts +882 -0
- package/src/helpers/exceptions.ts +32 -0
- package/src/helpers/index.ts +6 -0
- package/tsconfig.esm.json +1 -0
- package/tsconfig.json +1 -0
- package/dist/esm/models/body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.d.ts +0 -17
- package/dist/esm/models/body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.d.ts +0 -20
- package/dist/esm/models/body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.d.ts +0 -20
- package/dist/esm/models/body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.d.ts +0 -20
- package/dist/esm/models/body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.d.ts +0 -20
- package/dist/esm/models/body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.d.ts +0 -20
- package/dist/esm/models/body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.d.ts +0 -20
- package/dist/models/body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.d.ts +0 -20
- package/dist/models/body-completer-facture-api-v1-chorus-pro-factures-completer-post.d.ts +0 -20
- package/dist/models/body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.d.ts +0 -17
- package/dist/models/body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.d.ts +0 -20
- package/dist/models/body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.d.ts +0 -20
- package/dist/models/body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.d.ts +0 -20
- package/dist/models/body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.d.ts +0 -20
- package/dist/models/body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.d.ts +0 -20
- package/dist/models/body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.d.ts +0 -20
- package/dist/models/body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.d.ts +0 -20
- package/dist/models/body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.d.ts +0 -20
- package/docs/BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost.md +0 -24
- package/docs/BodyCompleterFactureApiV1ChorusProFacturesCompleterPost.md +0 -24
- package/docs/BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet.md +0 -22
- package/docs/BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost.md +0 -24
- package/docs/BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost.md +0 -24
- package/docs/BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost.md +0 -24
- package/docs/BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost.md +0 -24
- package/docs/BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost.md +0 -24
- package/docs/BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost.md +0 -24
- package/docs/BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost.md +0 -24
- package/docs/BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost.md +0 -24
- package/docs/QuotaInfo.md +0 -29
- package/docs/Utilisateur.md +0 -43
- package/models/body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.ts +0 -28
- package/models/body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.ts +0 -28
- package/models/body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.ts +0 -28
- package/models/body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.ts +0 -28
- package/models/body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.ts +0 -28
- package/models/body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.ts +0 -28
- package/models/body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.ts +0 -28
- /package/dist/esm/models/{body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.js → apierror.js} +0 -0
- /package/dist/esm/models/{body-completer-facture-api-v1-chorus-pro-factures-completer-post.js → beneficiaire.js} +0 -0
- /package/dist/esm/models/{body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.js → bounding-box-schema.js} +0 -0
- /package/dist/esm/models/{body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.js → champ-verifie-schema.js} +0 -0
- /package/dist/esm/models/{body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.js → dimension-page-schema.js} +0 -0
- /package/dist/esm/models/{body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.js → facture-entrante.js} +0 -0
- /package/dist/esm/models/{body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.js → flux-resume.js} +0 -0
- /package/dist/esm/models/{body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.js → fournisseur-entrant.js} +0 -0
- /package/dist/esm/models/{body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.js → note-obligatoire-schema.js} +0 -0
- /package/dist/esm/models/{body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.js → pdpcredentials.js} +0 -0
- /package/dist/esm/models/{body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.js → reponse-healthcheck-afnor.js} +0 -0
- /package/dist/esm/models/{quota-info.js → reponse-recherche-flux.js} +0 -0
- /package/dist/esm/models/{utilisateur.js → reponse-soumission-flux.js} +0 -0
- /package/dist/models/{body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.js → apierror.js} +0 -0
- /package/dist/models/{body-completer-facture-api-v1-chorus-pro-factures-completer-post.js → beneficiaire.js} +0 -0
- /package/dist/models/{body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.js → bounding-box-schema.js} +0 -0
- /package/dist/models/{body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.js → champ-verifie-schema.js} +0 -0
- /package/dist/models/{body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.js → dimension-page-schema.js} +0 -0
- /package/dist/models/{body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.js → facture-entrante.js} +0 -0
- /package/dist/models/{body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.js → flux-resume.js} +0 -0
- /package/dist/models/{body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.js → fournisseur-entrant.js} +0 -0
- /package/dist/models/{body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.js → note-obligatoire-schema.js} +0 -0
- /package/dist/models/{body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.js → pdpcredentials.js} +0 -0
- /package/dist/models/{body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.js → reponse-healthcheck-afnor.js} +0 -0
- /package/dist/models/{quota-info.js → reponse-recherche-flux.js} +0 -0
- /package/dist/models/{utilisateur.js → reponse-soumission-flux.js} +0 -0
package/docs/ChorusProApi.md
CHANGED
|
@@ -22,7 +22,7 @@ All URIs are relative to *http://localhost*
|
|
|
22
22
|
|[**valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost**](#valideurtraiterfactureapiv1chorusprofacturesvalideurtraiterpost) | **POST** /api/v1/chorus-pro/factures/valideur/traiter | Valider ou refuser une facture (Valideur)|
|
|
23
23
|
|
|
24
24
|
# **ajouterFichierApiV1ChorusProTransversesAjouterFichierPost**
|
|
25
|
-
> any ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(
|
|
25
|
+
> any ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(requestBody)
|
|
26
26
|
|
|
27
27
|
Ajoute une pièce jointe au compte utilisateur courant. **Taille max** : 10 Mo par fichier **Payload exemple** : ```json { \"pieceJointeFichier\": \"JVBERi0xLjQKJeLjz9MKNSAwIG9iago8P...\", \"pieceJointeNom\": \"bon_commande.pdf\", \"pieceJointeTypeMime\": \"application/pdf\", \"pieceJointeExtension\": \"PDF\" } ``` **Retour** : L\'ID de la pièce jointe (`pieceJointeIdFichier`) à utiliser ensuite dans `/factures/completer`. **Extensions acceptées** : PDF, JPG, PNG, ZIP, XML, etc.
|
|
28
28
|
|
|
@@ -31,17 +31,16 @@ Ajoute une pièce jointe au compte utilisateur courant. **Taille max** : 10
|
|
|
31
31
|
```typescript
|
|
32
32
|
import {
|
|
33
33
|
ChorusProApi,
|
|
34
|
-
Configuration
|
|
35
|
-
BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost
|
|
34
|
+
Configuration
|
|
36
35
|
} from '@factpulse/sdk';
|
|
37
36
|
|
|
38
37
|
const configuration = new Configuration();
|
|
39
38
|
const apiInstance = new ChorusProApi(configuration);
|
|
40
39
|
|
|
41
|
-
let
|
|
40
|
+
let requestBody: { [key: string]: any; }; //
|
|
42
41
|
|
|
43
42
|
const { status, data } = await apiInstance.ajouterFichierApiV1ChorusProTransversesAjouterFichierPost(
|
|
44
|
-
|
|
43
|
+
requestBody
|
|
45
44
|
);
|
|
46
45
|
```
|
|
47
46
|
|
|
@@ -49,7 +48,7 @@ const { status, data } = await apiInstance.ajouterFichierApiV1ChorusProTransvers
|
|
|
49
48
|
|
|
50
49
|
|Name | Type | Description | Notes|
|
|
51
50
|
|------------- | ------------- | ------------- | -------------|
|
|
52
|
-
| **
|
|
51
|
+
| **requestBody** | **{ [key: string]: any; }**| | |
|
|
53
52
|
|
|
54
53
|
|
|
55
54
|
### Return type
|
|
@@ -75,7 +74,7 @@ const { status, data } = await apiInstance.ajouterFichierApiV1ChorusProTransvers
|
|
|
75
74
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
76
75
|
|
|
77
76
|
# **completerFactureApiV1ChorusProFacturesCompleterPost**
|
|
78
|
-
> any completerFactureApiV1ChorusProFacturesCompleterPost(
|
|
77
|
+
> any completerFactureApiV1ChorusProFacturesCompleterPost(requestBody)
|
|
79
78
|
|
|
80
79
|
Complète une facture au statut SUSPENDUE en ajoutant des pièces jointes ou un commentaire. **Statut requis** : SUSPENDUE **Actions possibles** : - Ajouter des pièces jointes (justificatifs, bons de commande, etc.) - Modifier le commentaire **Payload exemple** : ```json { \"identifiantFactureCPP\": 12345, \"commentaire\": \"Voici les justificatifs demandés\", \"listePiecesJointes\": [ { \"pieceJointeIdFichier\": 98765, \"pieceJointeNom\": \"bon_commande.pdf\" } ] } ``` **Note** : Les pièces jointes doivent d\'abord être uploadées via `/transverses/ajouter-fichier`. **Après complétion** : La facture repasse au statut MISE_A_DISPOSITION.
|
|
81
80
|
|
|
@@ -84,17 +83,16 @@ Complète une facture au statut SUSPENDUE en ajoutant des pièces jointes ou un
|
|
|
84
83
|
```typescript
|
|
85
84
|
import {
|
|
86
85
|
ChorusProApi,
|
|
87
|
-
Configuration
|
|
88
|
-
BodyCompleterFactureApiV1ChorusProFacturesCompleterPost
|
|
86
|
+
Configuration
|
|
89
87
|
} from '@factpulse/sdk';
|
|
90
88
|
|
|
91
89
|
const configuration = new Configuration();
|
|
92
90
|
const apiInstance = new ChorusProApi(configuration);
|
|
93
91
|
|
|
94
|
-
let
|
|
92
|
+
let requestBody: { [key: string]: any; }; //
|
|
95
93
|
|
|
96
94
|
const { status, data } = await apiInstance.completerFactureApiV1ChorusProFacturesCompleterPost(
|
|
97
|
-
|
|
95
|
+
requestBody
|
|
98
96
|
);
|
|
99
97
|
```
|
|
100
98
|
|
|
@@ -102,7 +100,7 @@ const { status, data } = await apiInstance.completerFactureApiV1ChorusProFacture
|
|
|
102
100
|
|
|
103
101
|
|Name | Type | Description | Notes|
|
|
104
102
|
|------------- | ------------- | ------------- | -------------|
|
|
105
|
-
| **
|
|
103
|
+
| **requestBody** | **{ [key: string]: any; }**| | |
|
|
106
104
|
|
|
107
105
|
|
|
108
106
|
### Return type
|
|
@@ -234,7 +232,7 @@ const { status, data } = await apiInstance.consulterStructureApiV1ChorusProStruc
|
|
|
234
232
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
235
233
|
|
|
236
234
|
# **listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet**
|
|
237
|
-
> RechercherServicesResponse listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(
|
|
235
|
+
> RechercherServicesResponse listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet()
|
|
238
236
|
|
|
239
237
|
Récupère la liste des services actifs d\'une structure publique. **Cas d\'usage** : - Lister les services disponibles pour une administration - Vérifier qu\'un code service existe avant de soumettre une facture **Retour** : - Liste des services avec leur code, libellé et statut (actif/inactif)
|
|
240
238
|
|
|
@@ -243,19 +241,16 @@ Récupère la liste des services actifs d\'une structure publique. **Cas d\
|
|
|
243
241
|
```typescript
|
|
244
242
|
import {
|
|
245
243
|
ChorusProApi,
|
|
246
|
-
Configuration
|
|
247
|
-
BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet
|
|
244
|
+
Configuration
|
|
248
245
|
} from '@factpulse/sdk';
|
|
249
246
|
|
|
250
247
|
const configuration = new Configuration();
|
|
251
248
|
const apiInstance = new ChorusProApi(configuration);
|
|
252
249
|
|
|
253
250
|
let idStructureCpp: number; // (default to undefined)
|
|
254
|
-
let bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet: BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet; //
|
|
255
251
|
|
|
256
252
|
const { status, data } = await apiInstance.listerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet(
|
|
257
|
-
idStructureCpp
|
|
258
|
-
bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet
|
|
253
|
+
idStructureCpp
|
|
259
254
|
);
|
|
260
255
|
```
|
|
261
256
|
|
|
@@ -263,7 +258,6 @@ const { status, data } = await apiInstance.listerServicesStructureApiV1ChorusPro
|
|
|
263
258
|
|
|
264
259
|
|Name | Type | Description | Notes|
|
|
265
260
|
|------------- | ------------- | ------------- | -------------|
|
|
266
|
-
| **bodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet** | **BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet**| | |
|
|
267
261
|
| **idStructureCpp** | [**number**] | | defaults to undefined|
|
|
268
262
|
|
|
269
263
|
|
|
@@ -277,7 +271,7 @@ const { status, data } = await apiInstance.listerServicesStructureApiV1ChorusPro
|
|
|
277
271
|
|
|
278
272
|
### HTTP request headers
|
|
279
273
|
|
|
280
|
-
- **Content-Type**:
|
|
274
|
+
- **Content-Type**: Not defined
|
|
281
275
|
- **Accept**: application/json
|
|
282
276
|
|
|
283
277
|
|
|
@@ -343,7 +337,7 @@ const { status, data } = await apiInstance.obtenirIdChorusProDepuisSiretApiV1Cho
|
|
|
343
337
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
344
338
|
|
|
345
339
|
# **rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost**
|
|
346
|
-
> any rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(
|
|
340
|
+
> any rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(requestBody)
|
|
347
341
|
|
|
348
342
|
Recherche les factures reçues par le destinataire connecté. **Filtres** : - Téléchargée / non téléchargée - Dates de réception - Statut (MISE_A_DISPOSITION, SUSPENDUE, etc.) - Fournisseur **Indicateur utile** : `factureTelechargeeParDestinataire` permet de savoir si la facture a déjà été téléchargée.
|
|
349
343
|
|
|
@@ -352,17 +346,16 @@ Recherche les factures reçues par le destinataire connecté. **Filtres** :
|
|
|
352
346
|
```typescript
|
|
353
347
|
import {
|
|
354
348
|
ChorusProApi,
|
|
355
|
-
Configuration
|
|
356
|
-
BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost
|
|
349
|
+
Configuration
|
|
357
350
|
} from '@factpulse/sdk';
|
|
358
351
|
|
|
359
352
|
const configuration = new Configuration();
|
|
360
353
|
const apiInstance = new ChorusProApi(configuration);
|
|
361
354
|
|
|
362
|
-
let
|
|
355
|
+
let requestBody: { [key: string]: any; }; //
|
|
363
356
|
|
|
364
357
|
const { status, data } = await apiInstance.rechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost(
|
|
365
|
-
|
|
358
|
+
requestBody
|
|
366
359
|
);
|
|
367
360
|
```
|
|
368
361
|
|
|
@@ -370,7 +363,7 @@ const { status, data } = await apiInstance.rechercherFacturesDestinataireApiV1Ch
|
|
|
370
363
|
|
|
371
364
|
|Name | Type | Description | Notes|
|
|
372
365
|
|------------- | ------------- | ------------- | -------------|
|
|
373
|
-
| **
|
|
366
|
+
| **requestBody** | **{ [key: string]: any; }**| | |
|
|
374
367
|
|
|
375
368
|
|
|
376
369
|
### Return type
|
|
@@ -396,7 +389,7 @@ const { status, data } = await apiInstance.rechercherFacturesDestinataireApiV1Ch
|
|
|
396
389
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
397
390
|
|
|
398
391
|
# **rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost**
|
|
399
|
-
> any rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(
|
|
392
|
+
> any rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(requestBody)
|
|
400
393
|
|
|
401
394
|
Recherche les factures émises par le fournisseur connecté. **Filtres disponibles** : - Numéro de facture - Dates (début/fin) - Statut - Structure destinataire - Montant **Cas d\'usage** : - Suivi des factures émises - Vérification des statuts - Export pour comptabilité
|
|
402
395
|
|
|
@@ -405,17 +398,16 @@ Recherche les factures émises par le fournisseur connecté. **Filtres disp
|
|
|
405
398
|
```typescript
|
|
406
399
|
import {
|
|
407
400
|
ChorusProApi,
|
|
408
|
-
Configuration
|
|
409
|
-
BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost
|
|
401
|
+
Configuration
|
|
410
402
|
} from '@factpulse/sdk';
|
|
411
403
|
|
|
412
404
|
const configuration = new Configuration();
|
|
413
405
|
const apiInstance = new ChorusProApi(configuration);
|
|
414
406
|
|
|
415
|
-
let
|
|
407
|
+
let requestBody: { [key: string]: any; }; //
|
|
416
408
|
|
|
417
409
|
const { status, data } = await apiInstance.rechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost(
|
|
418
|
-
|
|
410
|
+
requestBody
|
|
419
411
|
);
|
|
420
412
|
```
|
|
421
413
|
|
|
@@ -423,7 +415,7 @@ const { status, data } = await apiInstance.rechercherFacturesFournisseurApiV1Cho
|
|
|
423
415
|
|
|
424
416
|
|Name | Type | Description | Notes|
|
|
425
417
|
|------------- | ------------- | ------------- | -------------|
|
|
426
|
-
| **
|
|
418
|
+
| **requestBody** | **{ [key: string]: any; }**| | |
|
|
427
419
|
|
|
428
420
|
|
|
429
421
|
### Return type
|
|
@@ -502,7 +494,7 @@ const { status, data } = await apiInstance.rechercherStructuresApiV1ChorusProStr
|
|
|
502
494
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
503
495
|
|
|
504
496
|
# **recyclerFactureApiV1ChorusProFacturesRecyclerPost**
|
|
505
|
-
> any recyclerFactureApiV1ChorusProFacturesRecyclerPost(
|
|
497
|
+
> any recyclerFactureApiV1ChorusProFacturesRecyclerPost(requestBody)
|
|
506
498
|
|
|
507
499
|
Recycle une facture au statut A_RECYCLER en modifiant les données d\'acheminement. **Statut requis** : A_RECYCLER **Champs modifiables** : - Destinataire (`idStructureCPP`) - Code service - Numéro d\'engagement **Cas d\'usage** : - Erreur de destinataire - Changement de service facturation - Mise à jour du numéro d\'engagement **Payload exemple** : ```json { \"identifiantFactureCPP\": 12345, \"idStructureCPP\": 67890, \"codeService\": \"SERVICE_01\", \"numeroEngagement\": \"ENG2024001\" } ``` **Note** : La facture conserve son numéro et ses montants, seuls les champs d\'acheminement changent.
|
|
508
500
|
|
|
@@ -511,17 +503,16 @@ Recycle une facture au statut A_RECYCLER en modifiant les données d\'achemineme
|
|
|
511
503
|
```typescript
|
|
512
504
|
import {
|
|
513
505
|
ChorusProApi,
|
|
514
|
-
Configuration
|
|
515
|
-
BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost
|
|
506
|
+
Configuration
|
|
516
507
|
} from '@factpulse/sdk';
|
|
517
508
|
|
|
518
509
|
const configuration = new Configuration();
|
|
519
510
|
const apiInstance = new ChorusProApi(configuration);
|
|
520
511
|
|
|
521
|
-
let
|
|
512
|
+
let requestBody: { [key: string]: any; }; //
|
|
522
513
|
|
|
523
514
|
const { status, data } = await apiInstance.recyclerFactureApiV1ChorusProFacturesRecyclerPost(
|
|
524
|
-
|
|
515
|
+
requestBody
|
|
525
516
|
);
|
|
526
517
|
```
|
|
527
518
|
|
|
@@ -529,7 +520,7 @@ const { status, data } = await apiInstance.recyclerFactureApiV1ChorusProFactures
|
|
|
529
520
|
|
|
530
521
|
|Name | Type | Description | Notes|
|
|
531
522
|
|------------- | ------------- | ------------- | -------------|
|
|
532
|
-
| **
|
|
523
|
+
| **requestBody** | **{ [key: string]: any; }**| | |
|
|
533
524
|
|
|
534
525
|
|
|
535
526
|
### Return type
|
|
@@ -608,7 +599,7 @@ const { status, data } = await apiInstance.soumettreFactureApiV1ChorusProFacture
|
|
|
608
599
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
609
600
|
|
|
610
601
|
# **telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost**
|
|
611
|
-
> any telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(
|
|
602
|
+
> any telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(requestBody)
|
|
612
603
|
|
|
613
604
|
Télécharge une ou plusieurs factures (max 10 recommandé) avec leurs pièces jointes. **Formats disponibles** : - PDF : Fichier PDF uniquement - XML : Fichier XML uniquement - ZIP : Archive contenant PDF + XML + pièces jointes **Taille maximale** : 120 Mo par téléchargement **Payload exemple** : ```json { \"listeIdentifiantsFactureCPP\": [12345, 12346], \"inclurePiecesJointes\": true, \"formatFichier\": \"ZIP\" } ``` **Retour** : Le fichier est encodé en base64 dans le champ `fichierBase64`. **Note** : Le flag `factureTelechargeeParDestinataire` est mis à jour automatiquement.
|
|
614
605
|
|
|
@@ -617,17 +608,16 @@ Télécharge une ou plusieurs factures (max 10 recommandé) avec leurs pièces j
|
|
|
617
608
|
```typescript
|
|
618
609
|
import {
|
|
619
610
|
ChorusProApi,
|
|
620
|
-
Configuration
|
|
621
|
-
BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost
|
|
611
|
+
Configuration
|
|
622
612
|
} from '@factpulse/sdk';
|
|
623
613
|
|
|
624
614
|
const configuration = new Configuration();
|
|
625
615
|
const apiInstance = new ChorusProApi(configuration);
|
|
626
616
|
|
|
627
|
-
let
|
|
617
|
+
let requestBody: { [key: string]: any; }; //
|
|
628
618
|
|
|
629
619
|
const { status, data } = await apiInstance.telechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost(
|
|
630
|
-
|
|
620
|
+
requestBody
|
|
631
621
|
);
|
|
632
622
|
```
|
|
633
623
|
|
|
@@ -635,7 +625,7 @@ const { status, data } = await apiInstance.telechargerGroupeFacturesApiV1ChorusP
|
|
|
635
625
|
|
|
636
626
|
|Name | Type | Description | Notes|
|
|
637
627
|
|------------- | ------------- | ------------- | -------------|
|
|
638
|
-
| **
|
|
628
|
+
| **requestBody** | **{ [key: string]: any; }**| | |
|
|
639
629
|
|
|
640
630
|
|
|
641
631
|
### Return type
|
|
@@ -661,7 +651,7 @@ const { status, data } = await apiInstance.telechargerGroupeFacturesApiV1ChorusP
|
|
|
661
651
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
662
652
|
|
|
663
653
|
# **traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost**
|
|
664
|
-
> any traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(
|
|
654
|
+
> any traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(requestBody)
|
|
665
655
|
|
|
666
656
|
Change le statut d\'une facture reçue. **Statuts possibles** : - MISE_A_DISPOSITION : Facture acceptée - SUSPENDUE : En attente d\'informations complémentaires (motif obligatoire) - REJETEE : Facture refusée (motif obligatoire) - MANDATEE : Facture mandatée - MISE_EN_PAIEMENT : Facture en cours de paiement - COMPTABILISEE : Facture comptabilisée - MISE_A_DISPOSITION_COMPTABLE : Mise à disposition comptable - A_RECYCLER : À recycler - COMPLETEE : Complétée - SERVICE-FAIT : Service fait - PRISE_EN_COMPTE_DESTINATAIRE : Prise en compte - TRANSMISE_MOA : Transmise à la MOA **Payload exemple** : ```json { \"identifiantFactureCPP\": 12345, \"nouveauStatut\": \"REJETEE\", \"motifRejet\": \"Facture en double\", \"commentaire\": \"Facture déjà reçue sous la référence ABC123\" } ``` **Règles** : - Un motif est **obligatoire** pour SUSPENDUE et REJETEE - Seuls certains statuts sont autorisés selon le statut actuel de la facture
|
|
667
657
|
|
|
@@ -670,17 +660,16 @@ Change le statut d\'une facture reçue. **Statuts possibles** : - MISE_
|
|
|
670
660
|
```typescript
|
|
671
661
|
import {
|
|
672
662
|
ChorusProApi,
|
|
673
|
-
Configuration
|
|
674
|
-
BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost
|
|
663
|
+
Configuration
|
|
675
664
|
} from '@factpulse/sdk';
|
|
676
665
|
|
|
677
666
|
const configuration = new Configuration();
|
|
678
667
|
const apiInstance = new ChorusProApi(configuration);
|
|
679
668
|
|
|
680
|
-
let
|
|
669
|
+
let requestBody: { [key: string]: any; }; //
|
|
681
670
|
|
|
682
671
|
const { status, data } = await apiInstance.traiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost(
|
|
683
|
-
|
|
672
|
+
requestBody
|
|
684
673
|
);
|
|
685
674
|
```
|
|
686
675
|
|
|
@@ -688,7 +677,7 @@ const { status, data } = await apiInstance.traiterFactureRecueApiV1ChorusProFact
|
|
|
688
677
|
|
|
689
678
|
|Name | Type | Description | Notes|
|
|
690
679
|
|------------- | ------------- | ------------- | -------------|
|
|
691
|
-
| **
|
|
680
|
+
| **requestBody** | **{ [key: string]: any; }**| | |
|
|
692
681
|
|
|
693
682
|
|
|
694
683
|
### Return type
|
|
@@ -714,26 +703,24 @@ const { status, data } = await apiInstance.traiterFactureRecueApiV1ChorusProFact
|
|
|
714
703
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
715
704
|
|
|
716
705
|
# **valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost**
|
|
717
|
-
> any valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(
|
|
706
|
+
> any valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(requestBody)
|
|
718
707
|
|
|
719
|
-
Consulte facture (valideur).
|
|
720
708
|
|
|
721
709
|
### Example
|
|
722
710
|
|
|
723
711
|
```typescript
|
|
724
712
|
import {
|
|
725
713
|
ChorusProApi,
|
|
726
|
-
Configuration
|
|
727
|
-
BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost
|
|
714
|
+
Configuration
|
|
728
715
|
} from '@factpulse/sdk';
|
|
729
716
|
|
|
730
717
|
const configuration = new Configuration();
|
|
731
718
|
const apiInstance = new ChorusProApi(configuration);
|
|
732
719
|
|
|
733
|
-
let
|
|
720
|
+
let requestBody: { [key: string]: any; }; //
|
|
734
721
|
|
|
735
722
|
const { status, data } = await apiInstance.valideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost(
|
|
736
|
-
|
|
723
|
+
requestBody
|
|
737
724
|
);
|
|
738
725
|
```
|
|
739
726
|
|
|
@@ -741,7 +728,7 @@ const { status, data } = await apiInstance.valideurConsulterFactureApiV1ChorusPr
|
|
|
741
728
|
|
|
742
729
|
|Name | Type | Description | Notes|
|
|
743
730
|
|------------- | ------------- | ------------- | -------------|
|
|
744
|
-
| **
|
|
731
|
+
| **requestBody** | **{ [key: string]: any; }**| | |
|
|
745
732
|
|
|
746
733
|
|
|
747
734
|
### Return type
|
|
@@ -767,7 +754,7 @@ const { status, data } = await apiInstance.valideurConsulterFactureApiV1ChorusPr
|
|
|
767
754
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
768
755
|
|
|
769
756
|
# **valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost**
|
|
770
|
-
> any valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(
|
|
757
|
+
> any valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(requestBody)
|
|
771
758
|
|
|
772
759
|
Recherche les factures en attente de validation par le valideur connecté. **Rôle** : Valideur dans le circuit de validation interne. **Filtres** : Dates, structure, service, etc.
|
|
773
760
|
|
|
@@ -776,17 +763,16 @@ Recherche les factures en attente de validation par le valideur connecté.
|
|
|
776
763
|
```typescript
|
|
777
764
|
import {
|
|
778
765
|
ChorusProApi,
|
|
779
|
-
Configuration
|
|
780
|
-
BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost
|
|
766
|
+
Configuration
|
|
781
767
|
} from '@factpulse/sdk';
|
|
782
768
|
|
|
783
769
|
const configuration = new Configuration();
|
|
784
770
|
const apiInstance = new ChorusProApi(configuration);
|
|
785
771
|
|
|
786
|
-
let
|
|
772
|
+
let requestBody: { [key: string]: any; }; //
|
|
787
773
|
|
|
788
774
|
const { status, data } = await apiInstance.valideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost(
|
|
789
|
-
|
|
775
|
+
requestBody
|
|
790
776
|
);
|
|
791
777
|
```
|
|
792
778
|
|
|
@@ -794,7 +780,7 @@ const { status, data } = await apiInstance.valideurRechercherFacturesApiV1Chorus
|
|
|
794
780
|
|
|
795
781
|
|Name | Type | Description | Notes|
|
|
796
782
|
|------------- | ------------- | ------------- | -------------|
|
|
797
|
-
| **
|
|
783
|
+
| **requestBody** | **{ [key: string]: any; }**| | |
|
|
798
784
|
|
|
799
785
|
|
|
800
786
|
### Return type
|
|
@@ -820,7 +806,7 @@ const { status, data } = await apiInstance.valideurRechercherFacturesApiV1Chorus
|
|
|
820
806
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
821
807
|
|
|
822
808
|
# **valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost**
|
|
823
|
-
> any valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(
|
|
809
|
+
> any valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(requestBody)
|
|
824
810
|
|
|
825
811
|
Valide ou refuse une facture en attente de validation. **Actions** : - Valider : La facture passe au statut suivant du circuit - Refuser : La facture est rejetée (motif obligatoire)
|
|
826
812
|
|
|
@@ -829,17 +815,16 @@ Valide ou refuse une facture en attente de validation. **Actions** : -
|
|
|
829
815
|
```typescript
|
|
830
816
|
import {
|
|
831
817
|
ChorusProApi,
|
|
832
|
-
Configuration
|
|
833
|
-
BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost
|
|
818
|
+
Configuration
|
|
834
819
|
} from '@factpulse/sdk';
|
|
835
820
|
|
|
836
821
|
const configuration = new Configuration();
|
|
837
822
|
const apiInstance = new ChorusProApi(configuration);
|
|
838
823
|
|
|
839
|
-
let
|
|
824
|
+
let requestBody: { [key: string]: any; }; //
|
|
840
825
|
|
|
841
826
|
const { status, data } = await apiInstance.valideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost(
|
|
842
|
-
|
|
827
|
+
requestBody
|
|
843
828
|
);
|
|
844
829
|
```
|
|
845
830
|
|
|
@@ -847,7 +832,7 @@ const { status, data } = await apiInstance.valideurTraiterFactureApiV1ChorusProF
|
|
|
847
832
|
|
|
848
833
|
|Name | Type | Description | Notes|
|
|
849
834
|
|------------- | ------------- | ------------- | -------------|
|
|
850
|
-
| **
|
|
835
|
+
| **requestBody** | **{ [key: string]: any; }**| | |
|
|
851
836
|
|
|
852
837
|
|
|
853
838
|
### Return type
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# DimensionPageSchema
|
|
2
|
+
|
|
3
|
+
Dimensions d\'une page PDF.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**width** | **number** | Largeur en points PDF | [default to undefined]
|
|
10
|
+
**height** | **number** | Hauteur en points PDF | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { DimensionPageSchema } from '@factpulse/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: DimensionPageSchema = {
|
|
18
|
+
width,
|
|
19
|
+
height,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# DirectionFlux
|
|
2
|
+
|
|
3
|
+
Direction du flux
|
|
4
|
+
|
|
5
|
+
## Enum
|
|
6
|
+
|
|
7
|
+
* `In` (value: `'In'`)
|
|
8
|
+
|
|
9
|
+
* `Out` (value: `'Out'`)
|
|
10
|
+
|
|
11
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# ErrorLevel
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `Error` (value: `'Error'`)
|
|
7
|
+
|
|
8
|
+
* `Warning` (value: `'Warning'`)
|
|
9
|
+
|
|
10
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ErrorSource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `Schematron` (value: `'schematron'`)
|
|
7
|
+
|
|
8
|
+
* `Pdfa` (value: `'pdfa'`)
|
|
9
|
+
|
|
10
|
+
* `Pydantic` (value: `'pydantic'`)
|
|
11
|
+
|
|
12
|
+
* `Xmp` (value: `'xmp'`)
|
|
13
|
+
|
|
14
|
+
* `Signature` (value: `'signature'`)
|
|
15
|
+
|
|
16
|
+
* `Afnor` (value: `'afnor'`)
|
|
17
|
+
|
|
18
|
+
* `ChorusPro` (value: `'chorus_pro'`)
|
|
19
|
+
|
|
20
|
+
* `System` (value: `'system'`)
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# FactureEntrante
|
|
2
|
+
|
|
3
|
+
Facture reçue d\'un fournisseur via PDP/PA. Ce modèle contient les métadonnées essentielles extraites des factures entrantes, quel que soit leur format source (CII, UBL, Factur-X). Les montants sont en Decimal en Python mais seront sérialisés en string dans le JSON pour préserver la précision monétaire.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**flow_id** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**format_source** | [**FormatFacture**](FormatFacture.md) | Format source de la facture | [default to undefined]
|
|
11
|
+
**ref_fournisseur** | **string** | Numéro de facture émis par le fournisseur (BT-1) | [default to undefined]
|
|
12
|
+
**type_document** | [**TypeDocument**](TypeDocument.md) | Type de document (BT-3) | [optional] [default to undefined]
|
|
13
|
+
**fournisseur** | [**FournisseurEntrant**](FournisseurEntrant.md) | Émetteur de la facture (SellerTradeParty) | [default to undefined]
|
|
14
|
+
**site_facturation_nom** | **string** | Nom du destinataire / votre entreprise (BT-44) | [default to undefined]
|
|
15
|
+
**site_facturation_siret** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**date_de_piece** | **string** | Date de la facture (BT-2) - YYYY-MM-DD | [default to undefined]
|
|
17
|
+
**date_reglement** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**devise** | **string** | Code devise ISO (BT-5) | [optional] [default to 'EUR']
|
|
19
|
+
**montant_ht** | **string** | Montant HT total (BT-109) | [default to undefined]
|
|
20
|
+
**montant_tva** | **string** | Montant TVA total (BT-110) | [default to undefined]
|
|
21
|
+
**montant_ttc** | **string** | Montant TTC total (BT-112) | [default to undefined]
|
|
22
|
+
**numero_bon_commande** | **string** | | [optional] [default to undefined]
|
|
23
|
+
**reference_contrat** | **string** | | [optional] [default to undefined]
|
|
24
|
+
**objet_facture** | **string** | | [optional] [default to undefined]
|
|
25
|
+
**document_base64** | **string** | | [optional] [default to undefined]
|
|
26
|
+
**document_content_type** | **string** | | [optional] [default to undefined]
|
|
27
|
+
**document_filename** | **string** | | [optional] [default to undefined]
|
|
28
|
+
|
|
29
|
+
## Example
|
|
30
|
+
|
|
31
|
+
```typescript
|
|
32
|
+
import { FactureEntrante } from '@factpulse/sdk';
|
|
33
|
+
|
|
34
|
+
const instance: FactureEntrante = {
|
|
35
|
+
flow_id,
|
|
36
|
+
format_source,
|
|
37
|
+
ref_fournisseur,
|
|
38
|
+
type_document,
|
|
39
|
+
fournisseur,
|
|
40
|
+
site_facturation_nom,
|
|
41
|
+
site_facturation_siret,
|
|
42
|
+
date_de_piece,
|
|
43
|
+
date_reglement,
|
|
44
|
+
devise,
|
|
45
|
+
montant_ht,
|
|
46
|
+
montant_tva,
|
|
47
|
+
montant_ttc,
|
|
48
|
+
numero_bon_commande,
|
|
49
|
+
reference_contrat,
|
|
50
|
+
objet_facture,
|
|
51
|
+
document_base64,
|
|
52
|
+
document_content_type,
|
|
53
|
+
document_filename,
|
|
54
|
+
};
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/FactureFacturX.md
CHANGED
|
@@ -21,6 +21,7 @@ Name | Type | Description | Notes
|
|
|
21
21
|
**commentaire** | **string** | | [optional] [default to undefined]
|
|
22
22
|
**idUtilisateurCourant** | **number** | | [optional] [default to undefined]
|
|
23
23
|
**piecesJointesComplementaires** | [**Array<PieceJointeComplementaire>**](PieceJointeComplementaire.md) | | [optional] [default to undefined]
|
|
24
|
+
**beneficiaire** | [**Beneficiaire**](Beneficiaire.md) | | [optional] [default to undefined]
|
|
24
25
|
|
|
25
26
|
## Example
|
|
26
27
|
|
|
@@ -43,6 +44,7 @@ const instance: FactureFacturX = {
|
|
|
43
44
|
commentaire,
|
|
44
45
|
idUtilisateurCourant,
|
|
45
46
|
piecesJointesComplementaires,
|
|
47
|
+
beneficiaire,
|
|
46
48
|
};
|
|
47
49
|
```
|
|
48
50
|
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# FluxResume
|
|
2
|
+
|
|
3
|
+
Résumé d\'un flux dans les résultats de recherche
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**flow_id** | **string** | | [default to undefined]
|
|
10
|
+
**tracking_id** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**nom** | **string** | | [default to undefined]
|
|
12
|
+
**type_flux** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**direction_flux** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**statut_acquittement** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**date_creation** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**date_maj** | **string** | | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { FluxResume } from '@factpulse/sdk';
|
|
22
|
+
|
|
23
|
+
const instance: FluxResume = {
|
|
24
|
+
flow_id,
|
|
25
|
+
tracking_id,
|
|
26
|
+
nom,
|
|
27
|
+
type_flux,
|
|
28
|
+
direction_flux,
|
|
29
|
+
statut_acquittement,
|
|
30
|
+
date_creation,
|
|
31
|
+
date_maj,
|
|
32
|
+
};
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# FormatFacture
|
|
2
|
+
|
|
3
|
+
Formats de facture supportés pour l\'extraction.
|
|
4
|
+
|
|
5
|
+
## Enum
|
|
6
|
+
|
|
7
|
+
* `Cii` (value: `'CII'`)
|
|
8
|
+
|
|
9
|
+
* `Ubl` (value: `'UBL'`)
|
|
10
|
+
|
|
11
|
+
* `FacturX` (value: `'Factur-X'`)
|
|
12
|
+
|
|
13
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|