factpulse 1.0.8
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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +28 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +74 -0
- data/LICENSE +21 -0
- data/README.md +161 -0
- data/Rakefile +10 -0
- data/docs/AFNORPDPPAApi.md +69 -0
- data/docs/AFNORPDPPADirectoryServiceApi.md +196 -0
- data/docs/AFNORPDPPAFlowServiceApi.md +258 -0
- data/docs/AdresseElectronique.md +20 -0
- data/docs/AdressePostale.md +26 -0
- data/docs/BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost.md +22 -0
- data/docs/BodyCompleterFactureApiV1ChorusProFacturesCompleterPost.md +22 -0
- data/docs/BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet.md +20 -0
- data/docs/BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost.md +22 -0
- data/docs/BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost.md +22 -0
- data/docs/BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost.md +22 -0
- data/docs/BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost.md +22 -0
- data/docs/BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost.md +22 -0
- data/docs/BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost.md +22 -0
- data/docs/BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost.md +22 -0
- data/docs/BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost.md +22 -0
- data/docs/CadreDeFacturation.md +22 -0
- data/docs/CategorieTVA.md +15 -0
- data/docs/CertificateInfoResponse.md +40 -0
- data/docs/ChorusProApi.md +1129 -0
- data/docs/ChorusProCredentials.md +26 -0
- data/docs/CodeCadreFacturation.md +15 -0
- data/docs/CodeRaisonReduction.md +15 -0
- data/docs/ConsulterFactureRequest.md +20 -0
- data/docs/ConsulterFactureResponse.md +34 -0
- data/docs/ConsulterStructureRequest.md +22 -0
- data/docs/ConsulterStructureResponse.md +34 -0
- data/docs/CredentialsAFNOR.md +22 -0
- data/docs/CredentialsChorusPro.md +26 -0
- data/docs/Destinataire.md +24 -0
- data/docs/Destination.md +79 -0
- data/docs/DestinationAFNOR.md +24 -0
- data/docs/DestinationChorusPro.md +20 -0
- data/docs/DirectionFlux.md +15 -0
- data/docs/DonneesFactureSimplifiees.md +34 -0
- data/docs/FactureEnrichieInfoInput.md +32 -0
- data/docs/FactureEnrichieInfoOutput.md +32 -0
- data/docs/FactureFacturX.md +44 -0
- data/docs/FluxResume.md +32 -0
- data/docs/FormatSortie.md +15 -0
- data/docs/Fournisseur.md +34 -0
- data/docs/GenerateCertificateRequest.md +38 -0
- data/docs/GenerateCertificateResponse.md +32 -0
- data/docs/HTTPValidationError.md +18 -0
- data/docs/InformationSignatureAPI.md +28 -0
- data/docs/LigneDePoste.md +46 -0
- data/docs/LigneDePosteMontantRemiseHt.md +15 -0
- data/docs/LigneDePosteMontantTotalLigneHt.md +15 -0
- data/docs/LigneDePosteTauxTvaManuel.md +15 -0
- data/docs/LigneDeTVA.md +26 -0
- data/docs/ModeDepot.md +15 -0
- data/docs/ModePaiement.md +15 -0
- data/docs/MontantHtTotal.md +15 -0
- data/docs/MontantTotal.md +30 -0
- data/docs/MontantTotalAcompte.md +15 -0
- data/docs/MontantTotalMontantRemiseGlobaleTtc.md +15 -0
- data/docs/MontantTtcTotal.md +15 -0
- data/docs/MontantTva.md +15 -0
- data/docs/Montantapayer.md +15 -0
- data/docs/Montantbaseht.md +15 -0
- data/docs/Montanthttotal.md +15 -0
- data/docs/Montantttctotal.md +15 -0
- data/docs/Montanttva.md +15 -0
- data/docs/Montanttva1.md +15 -0
- data/docs/Montantunitaireht.md +15 -0
- data/docs/ObtenirIdChorusProRequest.md +22 -0
- data/docs/ObtenirIdChorusProResponse.md +24 -0
- data/docs/OptionsProcessing.md +24 -0
- data/docs/PDFFacturXInfo.md +22 -0
- data/docs/PDPCredentials.md +24 -0
- data/docs/ParametresSignature.md +34 -0
- data/docs/ParametresStructure.md +22 -0
- data/docs/PieceJointeComplementaire.md +26 -0
- data/docs/ProcessingEndpointsUnifisApi.md +147 -0
- data/docs/ProfilAPI.md +15 -0
- data/docs/ProfilFlux.md +15 -0
- data/docs/Quantite.md +15 -0
- data/docs/QuotaInfo.md +26 -0
- data/docs/RechercherServicesResponse.md +24 -0
- data/docs/RechercherStructureRequest.md +26 -0
- data/docs/RechercherStructureResponse.md +24 -0
- data/docs/References.md +32 -0
- data/docs/ReponseHealthcheckAFNOR.md +22 -0
- data/docs/ReponseRechercheFlux.md +24 -0
- data/docs/ReponseSoumissionFlux.md +30 -0
- data/docs/ReponseTache.md +18 -0
- data/docs/ReponseValidationErreur.md +18 -0
- data/docs/ReponseValidationSucces.md +18 -0
- data/docs/RequeteRechercheFlux.md +34 -0
- data/docs/RequeteSoumissionFlux.md +28 -0
- data/docs/ResultatAFNOR.md +26 -0
- data/docs/ResultatChorusPro.md +22 -0
- data/docs/ResultatValidationPDFAPI.md +62 -0
- data/docs/SantApi.md +69 -0
- data/docs/SchemeID.md +15 -0
- data/docs/ServiceStructure.md +24 -0
- data/docs/SignatureInfo.md +22 -0
- data/docs/SignatureLectroniqueApi.md +315 -0
- data/docs/SoumettreFactureCompleteRequest.md +26 -0
- data/docs/SoumettreFactureCompleteResponse.md +34 -0
- data/docs/SoumettreFactureRequest.md +46 -0
- data/docs/SoumettreFactureResponse.md +24 -0
- data/docs/StatutAcquittement.md +15 -0
- data/docs/StatutFacture.md +22 -0
- data/docs/StatutTache.md +22 -0
- data/docs/StructureInfo.md +26 -0
- data/docs/SyntaxeFlux.md +15 -0
- data/docs/Tauxmanuel.md +15 -0
- data/docs/TraitementFactureApi.md +831 -0
- data/docs/TypeFacture.md +15 -0
- data/docs/TypeFlux.md +15 -0
- data/docs/TypeTVA.md +15 -0
- data/docs/Unite.md +15 -0
- data/docs/Utilisateur.md +40 -0
- data/docs/UtilisateurApi.md +74 -0
- data/docs/ValidationError.md +22 -0
- data/docs/ValidationErrorLocInner.md +15 -0
- data/factpulse.gemspec +39 -0
- data/git_push.sh +57 -0
- data/lib/factpulse/api/afnorpdppa_api.rb +79 -0
- data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +199 -0
- data/lib/factpulse/api/afnorpdppa_flow_service_api.rb +256 -0
- data/lib/factpulse/api/chorus_pro_api.rb +1116 -0
- data/lib/factpulse/api/processing_endpoints_unifis_api.rb +158 -0
- data/lib/factpulse/api/sant_api.rb +79 -0
- data/lib/factpulse/api/signature_lectronique_api.rb +333 -0
- data/lib/factpulse/api/traitement_facture_api.rb +835 -0
- data/lib/factpulse/api/utilisateur_api.rb +79 -0
- data/lib/factpulse/api_client.rb +393 -0
- data/lib/factpulse/api_error.rb +58 -0
- data/lib/factpulse/api_model_base.rb +88 -0
- data/lib/factpulse/configuration.rb +308 -0
- data/lib/factpulse/models/adresse_electronique.rb +196 -0
- data/lib/factpulse/models/adresse_postale.rb +189 -0
- data/lib/factpulse/models/body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post.rb +202 -0
- data/lib/factpulse/models/body_completer_facture_api_v1_chorus_pro_factures_completer_post.rb +202 -0
- data/lib/factpulse/models/body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get.rb +174 -0
- data/lib/factpulse/models/body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post.rb +202 -0
- data/lib/factpulse/models/body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post.rb +202 -0
- data/lib/factpulse/models/body_recycler_facture_api_v1_chorus_pro_factures_recycler_post.rb +202 -0
- data/lib/factpulse/models/body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post.rb +202 -0
- data/lib/factpulse/models/body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post.rb +202 -0
- data/lib/factpulse/models/body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post.rb +202 -0
- data/lib/factpulse/models/body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post.rb +202 -0
- data/lib/factpulse/models/body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post.rb +202 -0
- data/lib/factpulse/models/cadre_de_facturation.rb +207 -0
- data/lib/factpulse/models/categorie_tva.rb +47 -0
- data/lib/factpulse/models/certificate_info_response.rb +446 -0
- data/lib/factpulse/models/chorus_pro_credentials.rb +259 -0
- data/lib/factpulse/models/code_cadre_facturation.rb +42 -0
- data/lib/factpulse/models/code_raison_reduction.rb +45 -0
- data/lib/factpulse/models/consulter_facture_request.rb +176 -0
- data/lib/factpulse/models/consulter_facture_response.rb +261 -0
- data/lib/factpulse/models/consulter_structure_request.rb +188 -0
- data/lib/factpulse/models/consulter_structure_response.rb +261 -0
- data/lib/factpulse/models/credentials_afnor.rb +169 -0
- data/lib/factpulse/models/credentials_chorus_pro.rb +191 -0
- data/lib/factpulse/models/destinataire.rb +195 -0
- data/lib/factpulse/models/destination.rb +56 -0
- data/lib/factpulse/models/destination_afnor.rb +228 -0
- data/lib/factpulse/models/destination_chorus_pro.rb +194 -0
- data/lib/factpulse/models/direction_flux.rb +40 -0
- data/lib/factpulse/models/donnees_facture_simplifiees.rb +342 -0
- data/lib/factpulse/models/facture_enrichie_info_input.rb +315 -0
- data/lib/factpulse/models/facture_enrichie_info_output.rb +348 -0
- data/lib/factpulse/models/facture_factur_x.rb +432 -0
- data/lib/factpulse/models/flux_resume.rb +251 -0
- data/lib/factpulse/models/format_sortie.rb +40 -0
- data/lib/factpulse/models/fournisseur.rb +261 -0
- data/lib/factpulse/models/generate_certificate_request.rb +323 -0
- data/lib/factpulse/models/generate_certificate_response.rb +254 -0
- data/lib/factpulse/models/http_validation_error.rb +149 -0
- data/lib/factpulse/models/information_signature_api.rb +216 -0
- data/lib/factpulse/models/ligne_de_poste.rb +391 -0
- data/lib/factpulse/models/ligne_de_poste_montant_remise_ht.rb +104 -0
- data/lib/factpulse/models/ligne_de_poste_montant_total_ligne_ht.rb +104 -0
- data/lib/factpulse/models/ligne_de_poste_taux_tva_manuel.rb +104 -0
- data/lib/factpulse/models/ligne_de_tva.rb +242 -0
- data/lib/factpulse/models/mode_depot.rb +41 -0
- data/lib/factpulse/models/mode_paiement.rb +44 -0
- data/lib/factpulse/models/montant_ht_total.rb +103 -0
- data/lib/factpulse/models/montant_total.rb +273 -0
- data/lib/factpulse/models/montant_total_acompte.rb +104 -0
- data/lib/factpulse/models/montant_total_montant_remise_globale_ttc.rb +104 -0
- data/lib/factpulse/models/montant_ttc_total.rb +103 -0
- data/lib/factpulse/models/montant_tva.rb +103 -0
- data/lib/factpulse/models/montantapayer.rb +104 -0
- data/lib/factpulse/models/montantbaseht.rb +104 -0
- data/lib/factpulse/models/montanthttotal.rb +104 -0
- data/lib/factpulse/models/montantttctotal.rb +104 -0
- data/lib/factpulse/models/montanttva.rb +104 -0
- data/lib/factpulse/models/montanttva1.rb +104 -0
- data/lib/factpulse/models/montantunitaireht.rb +104 -0
- data/lib/factpulse/models/obtenir_id_chorus_pro_request.rb +188 -0
- data/lib/factpulse/models/obtenir_id_chorus_pro_response.rb +230 -0
- data/lib/factpulse/models/options_processing.rb +221 -0
- data/lib/factpulse/models/parametres_signature.rb +235 -0
- data/lib/factpulse/models/parametres_structure.rb +175 -0
- data/lib/factpulse/models/pdf_factur_x_info.rb +205 -0
- data/lib/factpulse/models/pdp_credentials.rb +247 -0
- data/lib/factpulse/models/piece_jointe_complementaire.rb +269 -0
- data/lib/factpulse/models/profil_api.rb +42 -0
- data/lib/factpulse/models/profil_flux.rb +41 -0
- data/lib/factpulse/models/quantite.rb +104 -0
- data/lib/factpulse/models/quota_info.rb +269 -0
- data/lib/factpulse/models/rechercher_services_response.rb +214 -0
- data/lib/factpulse/models/rechercher_structure_request.rb +191 -0
- data/lib/factpulse/models/rechercher_structure_response.rb +216 -0
- data/lib/factpulse/models/references.rb +290 -0
- data/lib/factpulse/models/reponse_healthcheck_afnor.rb +220 -0
- data/lib/factpulse/models/reponse_recherche_flux.rb +249 -0
- data/lib/factpulse/models/reponse_soumission_flux.rb +294 -0
- data/lib/factpulse/models/reponse_tache.rb +165 -0
- data/lib/factpulse/models/reponse_validation_erreur.rb +167 -0
- data/lib/factpulse/models/reponse_validation_succes.rb +165 -0
- data/lib/factpulse/models/requete_recherche_flux.rb +306 -0
- data/lib/factpulse/models/requete_soumission_flux.rb +238 -0
- data/lib/factpulse/models/resultat_afnor.rb +240 -0
- data/lib/factpulse/models/resultat_chorus_pro.rb +186 -0
- data/lib/factpulse/models/resultat_validation_pdfapi.rb +523 -0
- data/lib/factpulse/models/scheme_id.rb +43 -0
- data/lib/factpulse/models/service_structure.rb +247 -0
- data/lib/factpulse/models/signature_info.rb +186 -0
- data/lib/factpulse/models/soumettre_facture_complete_request.rb +239 -0
- data/lib/factpulse/models/soumettre_facture_complete_response.rb +355 -0
- data/lib/factpulse/models/soumettre_facture_request.rb +391 -0
- data/lib/factpulse/models/soumettre_facture_response.rb +213 -0
- data/lib/factpulse/models/statut_acquittement.rb +41 -0
- data/lib/factpulse/models/statut_facture.rb +203 -0
- data/lib/factpulse/models/statut_tache.rb +201 -0
- data/lib/factpulse/models/structure_info.rb +274 -0
- data/lib/factpulse/models/syntaxe_flux.rb +43 -0
- data/lib/factpulse/models/tauxmanuel.rb +104 -0
- data/lib/factpulse/models/type_facture.rb +40 -0
- data/lib/factpulse/models/type_flux.rb +43 -0
- data/lib/factpulse/models/type_tva.rb +42 -0
- data/lib/factpulse/models/unite.rb +44 -0
- data/lib/factpulse/models/utilisateur.rb +328 -0
- data/lib/factpulse/models/validation_error.rb +218 -0
- data/lib/factpulse/models/validation_error_loc_inner.rb +103 -0
- data/lib/factpulse/version.rb +15 -0
- data/lib/factpulse.rb +157 -0
- metadata +382 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#API REST FactPulse
|
|
3
|
+
|
|
4
|
+
# API REST pour la facturation électronique en France : Factur-X, AFNOR PDP/PA, signatures électroniques. ## 🎯 Fonctionnalités principales ### 📄 Génération de factures Factur-X - **Formats** : XML seul ou PDF/A-3 avec XML embarqué - **Profils** : MINIMUM, BASIC, EN16931, EXTENDED - **Normes** : EN 16931 (directive UE 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Format simplifié** : Génération à partir de SIRET + auto-enrichissement (API Chorus Pro + Recherche Entreprises) ### ✅ Validation et conformité - **Validation XML** : Schematron (45 à 210+ règles selon profil) - **Validation PDF** : PDF/A-3, métadonnées XMP Factur-X, signatures électroniques - **VeraPDF** : Validation stricte PDF/A (146+ règles ISO 19005-3) - **Traitement asynchrone** : Support Celery pour validations lourdes (VeraPDF) ### 📡 Intégration AFNOR PDP/PA (XP Z12-013) - **Soumission de flux** : Envoi de factures vers Plateformes de Dématérialisation Partenaires - **Recherche de flux** : Consultation des factures soumises - **Téléchargement** : Récupération des PDF/A-3 avec XML - **Directory Service** : Recherche d'entreprises (SIREN/SIRET) - **Multi-client** : Support de plusieurs configs PDP par utilisateur (stored credentials ou zero-storage) ### ✍️ Signature électronique PDF - **Standards** : PAdES-B-B, PAdES-B-T (horodatage RFC 3161), PAdES-B-LT (archivage long terme) - **Niveaux eIDAS** : SES (auto-signé), AdES (CA commerciale), QES (PSCO) - **Validation** : Vérification intégrité cryptographique et certificats - **Génération de certificats** : Certificats X.509 auto-signés pour tests ### 🔄 Traitement asynchrone - **Celery** : Génération, validation et signature asynchrones - **Polling** : Suivi d'état via `/taches/{id_tache}/statut` - **Pas de timeout** : Idéal pour gros fichiers ou validations lourdes ## 🔒 Authentification Toutes les requêtes nécessitent un **token JWT** dans le header Authorization : ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### Comment obtenir un token JWT ? #### 🔑 Méthode 1 : API `/api/token/` (Recommandée) **URL :** `https://www.factpulse.fr/api/token/` Cette méthode est **recommandée** pour l'intégration dans vos applications et workflows CI/CD. **Prérequis :** Avoir défini un mot de passe sur votre compte **Pour les utilisateurs inscrits via email/password :** - Vous avez déjà un mot de passe, utilisez-le directement **Pour les utilisateurs inscrits via OAuth (Google/GitHub) :** - Vous devez d'abord définir un mot de passe sur : https://www.factpulse.fr/accounts/password/set/ - Une fois le mot de passe créé, vous pourrez utiliser l'API **Exemple de requête :** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d '{ \"username\": \"votre_email@example.com\", \"password\": \"votre_mot_de_passe\" }' ``` **Réponse :** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Token d'accès (validité: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Token de rafraîchissement (validité: 7 jours) } ``` **Avantages :** - ✅ Automatisation complète (CI/CD, scripts) - ✅ Gestion programmatique des tokens - ✅ Support du refresh token pour renouveler automatiquement l'accès - ✅ Intégration facile dans n'importe quel langage/outil #### 🖥️ Méthode 2 : Génération via Dashboard (Alternative) **URL :** https://www.factpulse.fr/dashboard/ Cette méthode convient pour des tests rapides ou une utilisation occasionnelle via l'interface graphique. **Fonctionnement :** - Connectez-vous au dashboard - Utilisez les boutons \"Generate Test Token\" ou \"Generate Production Token\" - Fonctionne pour **tous** les utilisateurs (OAuth et email/password), sans nécessiter de mot de passe **Types de tokens :** - **Token Test** : Validité 24h, quota 1000 appels/jour (gratuit) - **Token Production** : Validité 7 jours, quota selon votre forfait **Avantages :** - ✅ Rapide pour tester l'API - ✅ Aucun mot de passe requis - ✅ Interface visuelle simple **Inconvénients :** - ❌ Nécessite une action manuelle - ❌ Pas de refresh token - ❌ Moins adapté pour l'automatisation ### 📚 Documentation complète Pour plus d'informations sur l'authentification et l'utilisation de l'API : https://www.factpulse.fr/documentation-api/
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
module FactPulse
|
|
14
|
+
VERSION = '1.0.8'
|
|
15
|
+
end
|
data/lib/factpulse.rb
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#API REST FactPulse
|
|
3
|
+
|
|
4
|
+
# API REST pour la facturation électronique en France : Factur-X, AFNOR PDP/PA, signatures électroniques. ## 🎯 Fonctionnalités principales ### 📄 Génération de factures Factur-X - **Formats** : XML seul ou PDF/A-3 avec XML embarqué - **Profils** : MINIMUM, BASIC, EN16931, EXTENDED - **Normes** : EN 16931 (directive UE 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Format simplifié** : Génération à partir de SIRET + auto-enrichissement (API Chorus Pro + Recherche Entreprises) ### ✅ Validation et conformité - **Validation XML** : Schematron (45 à 210+ règles selon profil) - **Validation PDF** : PDF/A-3, métadonnées XMP Factur-X, signatures électroniques - **VeraPDF** : Validation stricte PDF/A (146+ règles ISO 19005-3) - **Traitement asynchrone** : Support Celery pour validations lourdes (VeraPDF) ### 📡 Intégration AFNOR PDP/PA (XP Z12-013) - **Soumission de flux** : Envoi de factures vers Plateformes de Dématérialisation Partenaires - **Recherche de flux** : Consultation des factures soumises - **Téléchargement** : Récupération des PDF/A-3 avec XML - **Directory Service** : Recherche d'entreprises (SIREN/SIRET) - **Multi-client** : Support de plusieurs configs PDP par utilisateur (stored credentials ou zero-storage) ### ✍️ Signature électronique PDF - **Standards** : PAdES-B-B, PAdES-B-T (horodatage RFC 3161), PAdES-B-LT (archivage long terme) - **Niveaux eIDAS** : SES (auto-signé), AdES (CA commerciale), QES (PSCO) - **Validation** : Vérification intégrité cryptographique et certificats - **Génération de certificats** : Certificats X.509 auto-signés pour tests ### 🔄 Traitement asynchrone - **Celery** : Génération, validation et signature asynchrones - **Polling** : Suivi d'état via `/taches/{id_tache}/statut` - **Pas de timeout** : Idéal pour gros fichiers ou validations lourdes ## 🔒 Authentification Toutes les requêtes nécessitent un **token JWT** dans le header Authorization : ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### Comment obtenir un token JWT ? #### 🔑 Méthode 1 : API `/api/token/` (Recommandée) **URL :** `https://www.factpulse.fr/api/token/` Cette méthode est **recommandée** pour l'intégration dans vos applications et workflows CI/CD. **Prérequis :** Avoir défini un mot de passe sur votre compte **Pour les utilisateurs inscrits via email/password :** - Vous avez déjà un mot de passe, utilisez-le directement **Pour les utilisateurs inscrits via OAuth (Google/GitHub) :** - Vous devez d'abord définir un mot de passe sur : https://www.factpulse.fr/accounts/password/set/ - Une fois le mot de passe créé, vous pourrez utiliser l'API **Exemple de requête :** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d '{ \"username\": \"votre_email@example.com\", \"password\": \"votre_mot_de_passe\" }' ``` **Réponse :** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Token d'accès (validité: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Token de rafraîchissement (validité: 7 jours) } ``` **Avantages :** - ✅ Automatisation complète (CI/CD, scripts) - ✅ Gestion programmatique des tokens - ✅ Support du refresh token pour renouveler automatiquement l'accès - ✅ Intégration facile dans n'importe quel langage/outil #### 🖥️ Méthode 2 : Génération via Dashboard (Alternative) **URL :** https://www.factpulse.fr/dashboard/ Cette méthode convient pour des tests rapides ou une utilisation occasionnelle via l'interface graphique. **Fonctionnement :** - Connectez-vous au dashboard - Utilisez les boutons \"Generate Test Token\" ou \"Generate Production Token\" - Fonctionne pour **tous** les utilisateurs (OAuth et email/password), sans nécessiter de mot de passe **Types de tokens :** - **Token Test** : Validité 24h, quota 1000 appels/jour (gratuit) - **Token Production** : Validité 7 jours, quota selon votre forfait **Avantages :** - ✅ Rapide pour tester l'API - ✅ Aucun mot de passe requis - ✅ Interface visuelle simple **Inconvénients :** - ❌ Nécessite une action manuelle - ❌ Pas de refresh token - ❌ Moins adapté pour l'automatisation ### 📚 Documentation complète Pour plus d'informations sur l'authentification et l'utilisation de l'API : https://www.factpulse.fr/documentation-api/
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
# Common files
|
|
14
|
+
require 'factpulse/api_client'
|
|
15
|
+
require 'factpulse/api_error'
|
|
16
|
+
require 'factpulse/api_model_base'
|
|
17
|
+
require 'factpulse/version'
|
|
18
|
+
require 'factpulse/configuration'
|
|
19
|
+
|
|
20
|
+
# Models
|
|
21
|
+
require 'factpulse/models/adresse_electronique'
|
|
22
|
+
require 'factpulse/models/adresse_postale'
|
|
23
|
+
require 'factpulse/models/body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post'
|
|
24
|
+
require 'factpulse/models/body_completer_facture_api_v1_chorus_pro_factures_completer_post'
|
|
25
|
+
require 'factpulse/models/body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get'
|
|
26
|
+
require 'factpulse/models/body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post'
|
|
27
|
+
require 'factpulse/models/body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post'
|
|
28
|
+
require 'factpulse/models/body_recycler_facture_api_v1_chorus_pro_factures_recycler_post'
|
|
29
|
+
require 'factpulse/models/body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post'
|
|
30
|
+
require 'factpulse/models/body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post'
|
|
31
|
+
require 'factpulse/models/body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post'
|
|
32
|
+
require 'factpulse/models/body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post'
|
|
33
|
+
require 'factpulse/models/body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post'
|
|
34
|
+
require 'factpulse/models/cadre_de_facturation'
|
|
35
|
+
require 'factpulse/models/categorie_tva'
|
|
36
|
+
require 'factpulse/models/certificate_info_response'
|
|
37
|
+
require 'factpulse/models/chorus_pro_credentials'
|
|
38
|
+
require 'factpulse/models/code_cadre_facturation'
|
|
39
|
+
require 'factpulse/models/code_raison_reduction'
|
|
40
|
+
require 'factpulse/models/consulter_facture_request'
|
|
41
|
+
require 'factpulse/models/consulter_facture_response'
|
|
42
|
+
require 'factpulse/models/consulter_structure_request'
|
|
43
|
+
require 'factpulse/models/consulter_structure_response'
|
|
44
|
+
require 'factpulse/models/credentials_afnor'
|
|
45
|
+
require 'factpulse/models/credentials_chorus_pro'
|
|
46
|
+
require 'factpulse/models/destinataire'
|
|
47
|
+
require 'factpulse/models/destination'
|
|
48
|
+
require 'factpulse/models/destination_afnor'
|
|
49
|
+
require 'factpulse/models/destination_chorus_pro'
|
|
50
|
+
require 'factpulse/models/direction_flux'
|
|
51
|
+
require 'factpulse/models/donnees_facture_simplifiees'
|
|
52
|
+
require 'factpulse/models/facture_enrichie_info_input'
|
|
53
|
+
require 'factpulse/models/facture_enrichie_info_output'
|
|
54
|
+
require 'factpulse/models/facture_factur_x'
|
|
55
|
+
require 'factpulse/models/flux_resume'
|
|
56
|
+
require 'factpulse/models/format_sortie'
|
|
57
|
+
require 'factpulse/models/fournisseur'
|
|
58
|
+
require 'factpulse/models/generate_certificate_request'
|
|
59
|
+
require 'factpulse/models/generate_certificate_response'
|
|
60
|
+
require 'factpulse/models/http_validation_error'
|
|
61
|
+
require 'factpulse/models/information_signature_api'
|
|
62
|
+
require 'factpulse/models/ligne_de_poste'
|
|
63
|
+
require 'factpulse/models/ligne_de_poste_montant_remise_ht'
|
|
64
|
+
require 'factpulse/models/ligne_de_poste_montant_total_ligne_ht'
|
|
65
|
+
require 'factpulse/models/ligne_de_poste_taux_tva_manuel'
|
|
66
|
+
require 'factpulse/models/ligne_de_tva'
|
|
67
|
+
require 'factpulse/models/mode_depot'
|
|
68
|
+
require 'factpulse/models/mode_paiement'
|
|
69
|
+
require 'factpulse/models/montant_ht_total'
|
|
70
|
+
require 'factpulse/models/montant_total'
|
|
71
|
+
require 'factpulse/models/montant_total_acompte'
|
|
72
|
+
require 'factpulse/models/montant_total_montant_remise_globale_ttc'
|
|
73
|
+
require 'factpulse/models/montant_ttc_total'
|
|
74
|
+
require 'factpulse/models/montant_tva'
|
|
75
|
+
require 'factpulse/models/montantapayer'
|
|
76
|
+
require 'factpulse/models/montantbaseht'
|
|
77
|
+
require 'factpulse/models/montanthttotal'
|
|
78
|
+
require 'factpulse/models/montantttctotal'
|
|
79
|
+
require 'factpulse/models/montanttva'
|
|
80
|
+
require 'factpulse/models/montanttva1'
|
|
81
|
+
require 'factpulse/models/montantunitaireht'
|
|
82
|
+
require 'factpulse/models/obtenir_id_chorus_pro_request'
|
|
83
|
+
require 'factpulse/models/obtenir_id_chorus_pro_response'
|
|
84
|
+
require 'factpulse/models/options_processing'
|
|
85
|
+
require 'factpulse/models/pdf_factur_x_info'
|
|
86
|
+
require 'factpulse/models/pdp_credentials'
|
|
87
|
+
require 'factpulse/models/parametres_signature'
|
|
88
|
+
require 'factpulse/models/parametres_structure'
|
|
89
|
+
require 'factpulse/models/piece_jointe_complementaire'
|
|
90
|
+
require 'factpulse/models/profil_api'
|
|
91
|
+
require 'factpulse/models/profil_flux'
|
|
92
|
+
require 'factpulse/models/quantite'
|
|
93
|
+
require 'factpulse/models/quota_info'
|
|
94
|
+
require 'factpulse/models/rechercher_services_response'
|
|
95
|
+
require 'factpulse/models/rechercher_structure_request'
|
|
96
|
+
require 'factpulse/models/rechercher_structure_response'
|
|
97
|
+
require 'factpulse/models/references'
|
|
98
|
+
require 'factpulse/models/reponse_healthcheck_afnor'
|
|
99
|
+
require 'factpulse/models/reponse_recherche_flux'
|
|
100
|
+
require 'factpulse/models/reponse_soumission_flux'
|
|
101
|
+
require 'factpulse/models/reponse_tache'
|
|
102
|
+
require 'factpulse/models/reponse_validation_erreur'
|
|
103
|
+
require 'factpulse/models/reponse_validation_succes'
|
|
104
|
+
require 'factpulse/models/requete_recherche_flux'
|
|
105
|
+
require 'factpulse/models/requete_soumission_flux'
|
|
106
|
+
require 'factpulse/models/resultat_afnor'
|
|
107
|
+
require 'factpulse/models/resultat_chorus_pro'
|
|
108
|
+
require 'factpulse/models/resultat_validation_pdfapi'
|
|
109
|
+
require 'factpulse/models/scheme_id'
|
|
110
|
+
require 'factpulse/models/service_structure'
|
|
111
|
+
require 'factpulse/models/signature_info'
|
|
112
|
+
require 'factpulse/models/soumettre_facture_complete_request'
|
|
113
|
+
require 'factpulse/models/soumettre_facture_complete_response'
|
|
114
|
+
require 'factpulse/models/soumettre_facture_request'
|
|
115
|
+
require 'factpulse/models/soumettre_facture_response'
|
|
116
|
+
require 'factpulse/models/statut_acquittement'
|
|
117
|
+
require 'factpulse/models/statut_facture'
|
|
118
|
+
require 'factpulse/models/statut_tache'
|
|
119
|
+
require 'factpulse/models/structure_info'
|
|
120
|
+
require 'factpulse/models/syntaxe_flux'
|
|
121
|
+
require 'factpulse/models/tauxmanuel'
|
|
122
|
+
require 'factpulse/models/type_facture'
|
|
123
|
+
require 'factpulse/models/type_flux'
|
|
124
|
+
require 'factpulse/models/type_tva'
|
|
125
|
+
require 'factpulse/models/unite'
|
|
126
|
+
require 'factpulse/models/utilisateur'
|
|
127
|
+
require 'factpulse/models/validation_error'
|
|
128
|
+
require 'factpulse/models/validation_error_loc_inner'
|
|
129
|
+
|
|
130
|
+
# APIs
|
|
131
|
+
require 'factpulse/api/afnorpdppa_api'
|
|
132
|
+
require 'factpulse/api/afnorpdppa_directory_service_api'
|
|
133
|
+
require 'factpulse/api/afnorpdppa_flow_service_api'
|
|
134
|
+
require 'factpulse/api/chorus_pro_api'
|
|
135
|
+
require 'factpulse/api/processing_endpoints_unifis_api'
|
|
136
|
+
require 'factpulse/api/sant_api'
|
|
137
|
+
require 'factpulse/api/signature_lectronique_api'
|
|
138
|
+
require 'factpulse/api/traitement_facture_api'
|
|
139
|
+
require 'factpulse/api/utilisateur_api'
|
|
140
|
+
|
|
141
|
+
module FactPulse
|
|
142
|
+
class << self
|
|
143
|
+
# Customize default settings for the SDK using block.
|
|
144
|
+
# FactPulse.configure do |config|
|
|
145
|
+
# config.username = "xxx"
|
|
146
|
+
# config.password = "xxx"
|
|
147
|
+
# end
|
|
148
|
+
# If no block given, return the default Configuration object.
|
|
149
|
+
def configure
|
|
150
|
+
if block_given?
|
|
151
|
+
yield(Configuration.default)
|
|
152
|
+
else
|
|
153
|
+
Configuration.default
|
|
154
|
+
end
|
|
155
|
+
end
|
|
156
|
+
end
|
|
157
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: factpulse
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.8
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- OpenAPI-Generator
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2025-11-13 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: typhoeus
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '1.0'
|
|
20
|
+
- - ">="
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: 1.0.1
|
|
23
|
+
type: :runtime
|
|
24
|
+
prerelease: false
|
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
26
|
+
requirements:
|
|
27
|
+
- - "~>"
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '1.0'
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 1.0.1
|
|
33
|
+
- !ruby/object:Gem::Dependency
|
|
34
|
+
name: rspec
|
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '3.6'
|
|
40
|
+
- - ">="
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: 3.6.0
|
|
43
|
+
type: :development
|
|
44
|
+
prerelease: false
|
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
46
|
+
requirements:
|
|
47
|
+
- - "~>"
|
|
48
|
+
- !ruby/object:Gem::Version
|
|
49
|
+
version: '3.6'
|
|
50
|
+
- - ">="
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
version: 3.6.0
|
|
53
|
+
description: " API REST pour la facturation électronique en France : Factur-X, AFNOR
|
|
54
|
+
PDP/PA, signatures électroniques. ## \U0001F3AF Fonctionnalités principales ###
|
|
55
|
+
\U0001F4C4 Génération de factures Factur-X - **Formats** : XML seul ou PDF/A-3 avec
|
|
56
|
+
XML embarqué - **Profils** : MINIMUM, BASIC, EN16931, EXTENDED - **Normes** : EN
|
|
57
|
+
16931 (directive UE 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **\U0001F195
|
|
58
|
+
Format simplifié** : Génération à partir de SIRET + auto-enrichissement (API Chorus
|
|
59
|
+
Pro + Recherche Entreprises) ### ✅ Validation et conformité - **Validation XML**
|
|
60
|
+
: Schematron (45 à 210+ règles selon profil) - **Validation PDF** : PDF/A-3, métadonnées
|
|
61
|
+
XMP Factur-X, signatures électroniques - **VeraPDF** : Validation stricte PDF/A
|
|
62
|
+
(146+ règles ISO 19005-3) - **Traitement asynchrone** : Support Celery pour validations
|
|
63
|
+
lourdes (VeraPDF) ### \U0001F4E1 Intégration AFNOR PDP/PA (XP Z12-013) - **Soumission
|
|
64
|
+
de flux** : Envoi de factures vers Plateformes de Dématérialisation Partenaires
|
|
65
|
+
- **Recherche de flux** : Consultation des factures soumises - **Téléchargement**
|
|
66
|
+
: Récupération des PDF/A-3 avec XML - **Directory Service** : Recherche d'entreprises
|
|
67
|
+
(SIREN/SIRET) - **Multi-client** : Support de plusieurs configs PDP par utilisateur
|
|
68
|
+
(stored credentials ou zero-storage) ### ✍️ Signature électronique PDF - **Standards**
|
|
69
|
+
: PAdES-B-B, PAdES-B-T (horodatage RFC 3161), PAdES-B-LT (archivage long terme)
|
|
70
|
+
- **Niveaux eIDAS** : SES (auto-signé), AdES (CA commerciale), QES (PSCO) - **Validation**
|
|
71
|
+
: Vérification intégrité cryptographique et certificats - **Génération de certificats**
|
|
72
|
+
: Certificats X.509 auto-signés pour tests ### \U0001F504 Traitement asynchrone
|
|
73
|
+
- **Celery** : Génération, validation et signature asynchrones - **Polling** : Suivi
|
|
74
|
+
d'état via `/taches/{id_tache}/statut` - **Pas de timeout** : Idéal pour gros fichiers
|
|
75
|
+
ou validations lourdes ## \U0001F512 Authentification Toutes les requêtes nécessitent
|
|
76
|
+
un **token JWT** dans le header Authorization : ``` Authorization: Bearer YOUR_JWT_TOKEN
|
|
77
|
+
``` ### Comment obtenir un token JWT ? #### \U0001F511 Méthode 1 : API `/api/token/`
|
|
78
|
+
(Recommandée) **URL :** `https://www.factpulse.fr/api/token/` Cette méthode est
|
|
79
|
+
**recommandée** pour l'intégration dans vos applications et workflows CI/CD. **Prérequis
|
|
80
|
+
:** Avoir défini un mot de passe sur votre compte **Pour les utilisateurs inscrits
|
|
81
|
+
via email/password :** - Vous avez déjà un mot de passe, utilisez-le directement
|
|
82
|
+
\ **Pour les utilisateurs inscrits via OAuth (Google/GitHub) :** - Vous devez d'abord
|
|
83
|
+
définir un mot de passe sur : https://www.factpulse.fr/accounts/password/set/ -
|
|
84
|
+
Une fois le mot de passe créé, vous pourrez utiliser l'API **Exemple de requête
|
|
85
|
+
:** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type:
|
|
86
|
+
application/json\" \\ -d '{ \"username\": \"votre_email@example.com\", \"password\":
|
|
87
|
+
\"votre_mot_de_passe\" }' ``` **Réponse :** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\",
|
|
88
|
+
\ // Token d'accès (validité: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\"
|
|
89
|
+
\ // Token de rafraîchissement (validité: 7 jours) } ``` **Avantages :** - ✅ Automatisation
|
|
90
|
+
complète (CI/CD, scripts) - ✅ Gestion programmatique des tokens - ✅ Support du refresh
|
|
91
|
+
token pour renouveler automatiquement l'accès - ✅ Intégration facile dans n'importe
|
|
92
|
+
quel langage/outil #### \U0001F5A5️ Méthode 2 : Génération via Dashboard (Alternative)
|
|
93
|
+
\ **URL :** https://www.factpulse.fr/dashboard/ Cette méthode convient pour des
|
|
94
|
+
tests rapides ou une utilisation occasionnelle via l'interface graphique. **Fonctionnement
|
|
95
|
+
:** - Connectez-vous au dashboard - Utilisez les boutons \"Generate Test Token\"
|
|
96
|
+
ou \"Generate Production Token\" - Fonctionne pour **tous** les utilisateurs (OAuth
|
|
97
|
+
et email/password), sans nécessiter de mot de passe **Types de tokens :** - **Token
|
|
98
|
+
Test** : Validité 24h, quota 1000 appels/jour (gratuit) - **Token Production** :
|
|
99
|
+
Validité 7 jours, quota selon votre forfait **Avantages :** - ✅ Rapide pour tester
|
|
100
|
+
l'API - ✅ Aucun mot de passe requis - ✅ Interface visuelle simple **Inconvénients
|
|
101
|
+
:** - ❌ Nécessite une action manuelle - ❌ Pas de refresh token - ❌ Moins adapté
|
|
102
|
+
pour l'automatisation ### \U0001F4DA Documentation complète Pour plus d'informations
|
|
103
|
+
sur l'authentification et l'utilisation de l'API : https://www.factpulse.fr/documentation-api/
|
|
104
|
+
\ "
|
|
105
|
+
email:
|
|
106
|
+
- ''
|
|
107
|
+
executables: []
|
|
108
|
+
extensions: []
|
|
109
|
+
extra_rdoc_files: []
|
|
110
|
+
files:
|
|
111
|
+
- CHANGELOG.md
|
|
112
|
+
- Gemfile
|
|
113
|
+
- Gemfile.lock
|
|
114
|
+
- LICENSE
|
|
115
|
+
- README.md
|
|
116
|
+
- Rakefile
|
|
117
|
+
- docs/AFNORPDPPAApi.md
|
|
118
|
+
- docs/AFNORPDPPADirectoryServiceApi.md
|
|
119
|
+
- docs/AFNORPDPPAFlowServiceApi.md
|
|
120
|
+
- docs/AdresseElectronique.md
|
|
121
|
+
- docs/AdressePostale.md
|
|
122
|
+
- docs/BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost.md
|
|
123
|
+
- docs/BodyCompleterFactureApiV1ChorusProFacturesCompleterPost.md
|
|
124
|
+
- docs/BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet.md
|
|
125
|
+
- docs/BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost.md
|
|
126
|
+
- docs/BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost.md
|
|
127
|
+
- docs/BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost.md
|
|
128
|
+
- docs/BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost.md
|
|
129
|
+
- docs/BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost.md
|
|
130
|
+
- docs/BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost.md
|
|
131
|
+
- docs/BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost.md
|
|
132
|
+
- docs/BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost.md
|
|
133
|
+
- docs/CadreDeFacturation.md
|
|
134
|
+
- docs/CategorieTVA.md
|
|
135
|
+
- docs/CertificateInfoResponse.md
|
|
136
|
+
- docs/ChorusProApi.md
|
|
137
|
+
- docs/ChorusProCredentials.md
|
|
138
|
+
- docs/CodeCadreFacturation.md
|
|
139
|
+
- docs/CodeRaisonReduction.md
|
|
140
|
+
- docs/ConsulterFactureRequest.md
|
|
141
|
+
- docs/ConsulterFactureResponse.md
|
|
142
|
+
- docs/ConsulterStructureRequest.md
|
|
143
|
+
- docs/ConsulterStructureResponse.md
|
|
144
|
+
- docs/CredentialsAFNOR.md
|
|
145
|
+
- docs/CredentialsChorusPro.md
|
|
146
|
+
- docs/Destinataire.md
|
|
147
|
+
- docs/Destination.md
|
|
148
|
+
- docs/DestinationAFNOR.md
|
|
149
|
+
- docs/DestinationChorusPro.md
|
|
150
|
+
- docs/DirectionFlux.md
|
|
151
|
+
- docs/DonneesFactureSimplifiees.md
|
|
152
|
+
- docs/FactureEnrichieInfoInput.md
|
|
153
|
+
- docs/FactureEnrichieInfoOutput.md
|
|
154
|
+
- docs/FactureFacturX.md
|
|
155
|
+
- docs/FluxResume.md
|
|
156
|
+
- docs/FormatSortie.md
|
|
157
|
+
- docs/Fournisseur.md
|
|
158
|
+
- docs/GenerateCertificateRequest.md
|
|
159
|
+
- docs/GenerateCertificateResponse.md
|
|
160
|
+
- docs/HTTPValidationError.md
|
|
161
|
+
- docs/InformationSignatureAPI.md
|
|
162
|
+
- docs/LigneDePoste.md
|
|
163
|
+
- docs/LigneDePosteMontantRemiseHt.md
|
|
164
|
+
- docs/LigneDePosteMontantTotalLigneHt.md
|
|
165
|
+
- docs/LigneDePosteTauxTvaManuel.md
|
|
166
|
+
- docs/LigneDeTVA.md
|
|
167
|
+
- docs/ModeDepot.md
|
|
168
|
+
- docs/ModePaiement.md
|
|
169
|
+
- docs/MontantHtTotal.md
|
|
170
|
+
- docs/MontantTotal.md
|
|
171
|
+
- docs/MontantTotalAcompte.md
|
|
172
|
+
- docs/MontantTotalMontantRemiseGlobaleTtc.md
|
|
173
|
+
- docs/MontantTtcTotal.md
|
|
174
|
+
- docs/MontantTva.md
|
|
175
|
+
- docs/Montantapayer.md
|
|
176
|
+
- docs/Montantbaseht.md
|
|
177
|
+
- docs/Montanthttotal.md
|
|
178
|
+
- docs/Montantttctotal.md
|
|
179
|
+
- docs/Montanttva.md
|
|
180
|
+
- docs/Montanttva1.md
|
|
181
|
+
- docs/Montantunitaireht.md
|
|
182
|
+
- docs/ObtenirIdChorusProRequest.md
|
|
183
|
+
- docs/ObtenirIdChorusProResponse.md
|
|
184
|
+
- docs/OptionsProcessing.md
|
|
185
|
+
- docs/PDFFacturXInfo.md
|
|
186
|
+
- docs/PDPCredentials.md
|
|
187
|
+
- docs/ParametresSignature.md
|
|
188
|
+
- docs/ParametresStructure.md
|
|
189
|
+
- docs/PieceJointeComplementaire.md
|
|
190
|
+
- docs/ProcessingEndpointsUnifisApi.md
|
|
191
|
+
- docs/ProfilAPI.md
|
|
192
|
+
- docs/ProfilFlux.md
|
|
193
|
+
- docs/Quantite.md
|
|
194
|
+
- docs/QuotaInfo.md
|
|
195
|
+
- docs/RechercherServicesResponse.md
|
|
196
|
+
- docs/RechercherStructureRequest.md
|
|
197
|
+
- docs/RechercherStructureResponse.md
|
|
198
|
+
- docs/References.md
|
|
199
|
+
- docs/ReponseHealthcheckAFNOR.md
|
|
200
|
+
- docs/ReponseRechercheFlux.md
|
|
201
|
+
- docs/ReponseSoumissionFlux.md
|
|
202
|
+
- docs/ReponseTache.md
|
|
203
|
+
- docs/ReponseValidationErreur.md
|
|
204
|
+
- docs/ReponseValidationSucces.md
|
|
205
|
+
- docs/RequeteRechercheFlux.md
|
|
206
|
+
- docs/RequeteSoumissionFlux.md
|
|
207
|
+
- docs/ResultatAFNOR.md
|
|
208
|
+
- docs/ResultatChorusPro.md
|
|
209
|
+
- docs/ResultatValidationPDFAPI.md
|
|
210
|
+
- docs/SantApi.md
|
|
211
|
+
- docs/SchemeID.md
|
|
212
|
+
- docs/ServiceStructure.md
|
|
213
|
+
- docs/SignatureInfo.md
|
|
214
|
+
- docs/SignatureLectroniqueApi.md
|
|
215
|
+
- docs/SoumettreFactureCompleteRequest.md
|
|
216
|
+
- docs/SoumettreFactureCompleteResponse.md
|
|
217
|
+
- docs/SoumettreFactureRequest.md
|
|
218
|
+
- docs/SoumettreFactureResponse.md
|
|
219
|
+
- docs/StatutAcquittement.md
|
|
220
|
+
- docs/StatutFacture.md
|
|
221
|
+
- docs/StatutTache.md
|
|
222
|
+
- docs/StructureInfo.md
|
|
223
|
+
- docs/SyntaxeFlux.md
|
|
224
|
+
- docs/Tauxmanuel.md
|
|
225
|
+
- docs/TraitementFactureApi.md
|
|
226
|
+
- docs/TypeFacture.md
|
|
227
|
+
- docs/TypeFlux.md
|
|
228
|
+
- docs/TypeTVA.md
|
|
229
|
+
- docs/Unite.md
|
|
230
|
+
- docs/Utilisateur.md
|
|
231
|
+
- docs/UtilisateurApi.md
|
|
232
|
+
- docs/ValidationError.md
|
|
233
|
+
- docs/ValidationErrorLocInner.md
|
|
234
|
+
- factpulse.gemspec
|
|
235
|
+
- git_push.sh
|
|
236
|
+
- lib/factpulse.rb
|
|
237
|
+
- lib/factpulse/api/afnorpdppa_api.rb
|
|
238
|
+
- lib/factpulse/api/afnorpdppa_directory_service_api.rb
|
|
239
|
+
- lib/factpulse/api/afnorpdppa_flow_service_api.rb
|
|
240
|
+
- lib/factpulse/api/chorus_pro_api.rb
|
|
241
|
+
- lib/factpulse/api/processing_endpoints_unifis_api.rb
|
|
242
|
+
- lib/factpulse/api/sant_api.rb
|
|
243
|
+
- lib/factpulse/api/signature_lectronique_api.rb
|
|
244
|
+
- lib/factpulse/api/traitement_facture_api.rb
|
|
245
|
+
- lib/factpulse/api/utilisateur_api.rb
|
|
246
|
+
- lib/factpulse/api_client.rb
|
|
247
|
+
- lib/factpulse/api_error.rb
|
|
248
|
+
- lib/factpulse/api_model_base.rb
|
|
249
|
+
- lib/factpulse/configuration.rb
|
|
250
|
+
- lib/factpulse/models/adresse_electronique.rb
|
|
251
|
+
- lib/factpulse/models/adresse_postale.rb
|
|
252
|
+
- lib/factpulse/models/body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post.rb
|
|
253
|
+
- lib/factpulse/models/body_completer_facture_api_v1_chorus_pro_factures_completer_post.rb
|
|
254
|
+
- lib/factpulse/models/body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get.rb
|
|
255
|
+
- lib/factpulse/models/body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post.rb
|
|
256
|
+
- lib/factpulse/models/body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post.rb
|
|
257
|
+
- lib/factpulse/models/body_recycler_facture_api_v1_chorus_pro_factures_recycler_post.rb
|
|
258
|
+
- lib/factpulse/models/body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post.rb
|
|
259
|
+
- lib/factpulse/models/body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post.rb
|
|
260
|
+
- lib/factpulse/models/body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post.rb
|
|
261
|
+
- lib/factpulse/models/body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post.rb
|
|
262
|
+
- lib/factpulse/models/body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post.rb
|
|
263
|
+
- lib/factpulse/models/cadre_de_facturation.rb
|
|
264
|
+
- lib/factpulse/models/categorie_tva.rb
|
|
265
|
+
- lib/factpulse/models/certificate_info_response.rb
|
|
266
|
+
- lib/factpulse/models/chorus_pro_credentials.rb
|
|
267
|
+
- lib/factpulse/models/code_cadre_facturation.rb
|
|
268
|
+
- lib/factpulse/models/code_raison_reduction.rb
|
|
269
|
+
- lib/factpulse/models/consulter_facture_request.rb
|
|
270
|
+
- lib/factpulse/models/consulter_facture_response.rb
|
|
271
|
+
- lib/factpulse/models/consulter_structure_request.rb
|
|
272
|
+
- lib/factpulse/models/consulter_structure_response.rb
|
|
273
|
+
- lib/factpulse/models/credentials_afnor.rb
|
|
274
|
+
- lib/factpulse/models/credentials_chorus_pro.rb
|
|
275
|
+
- lib/factpulse/models/destinataire.rb
|
|
276
|
+
- lib/factpulse/models/destination.rb
|
|
277
|
+
- lib/factpulse/models/destination_afnor.rb
|
|
278
|
+
- lib/factpulse/models/destination_chorus_pro.rb
|
|
279
|
+
- lib/factpulse/models/direction_flux.rb
|
|
280
|
+
- lib/factpulse/models/donnees_facture_simplifiees.rb
|
|
281
|
+
- lib/factpulse/models/facture_enrichie_info_input.rb
|
|
282
|
+
- lib/factpulse/models/facture_enrichie_info_output.rb
|
|
283
|
+
- lib/factpulse/models/facture_factur_x.rb
|
|
284
|
+
- lib/factpulse/models/flux_resume.rb
|
|
285
|
+
- lib/factpulse/models/format_sortie.rb
|
|
286
|
+
- lib/factpulse/models/fournisseur.rb
|
|
287
|
+
- lib/factpulse/models/generate_certificate_request.rb
|
|
288
|
+
- lib/factpulse/models/generate_certificate_response.rb
|
|
289
|
+
- lib/factpulse/models/http_validation_error.rb
|
|
290
|
+
- lib/factpulse/models/information_signature_api.rb
|
|
291
|
+
- lib/factpulse/models/ligne_de_poste.rb
|
|
292
|
+
- lib/factpulse/models/ligne_de_poste_montant_remise_ht.rb
|
|
293
|
+
- lib/factpulse/models/ligne_de_poste_montant_total_ligne_ht.rb
|
|
294
|
+
- lib/factpulse/models/ligne_de_poste_taux_tva_manuel.rb
|
|
295
|
+
- lib/factpulse/models/ligne_de_tva.rb
|
|
296
|
+
- lib/factpulse/models/mode_depot.rb
|
|
297
|
+
- lib/factpulse/models/mode_paiement.rb
|
|
298
|
+
- lib/factpulse/models/montant_ht_total.rb
|
|
299
|
+
- lib/factpulse/models/montant_total.rb
|
|
300
|
+
- lib/factpulse/models/montant_total_acompte.rb
|
|
301
|
+
- lib/factpulse/models/montant_total_montant_remise_globale_ttc.rb
|
|
302
|
+
- lib/factpulse/models/montant_ttc_total.rb
|
|
303
|
+
- lib/factpulse/models/montant_tva.rb
|
|
304
|
+
- lib/factpulse/models/montantapayer.rb
|
|
305
|
+
- lib/factpulse/models/montantbaseht.rb
|
|
306
|
+
- lib/factpulse/models/montanthttotal.rb
|
|
307
|
+
- lib/factpulse/models/montantttctotal.rb
|
|
308
|
+
- lib/factpulse/models/montanttva.rb
|
|
309
|
+
- lib/factpulse/models/montanttva1.rb
|
|
310
|
+
- lib/factpulse/models/montantunitaireht.rb
|
|
311
|
+
- lib/factpulse/models/obtenir_id_chorus_pro_request.rb
|
|
312
|
+
- lib/factpulse/models/obtenir_id_chorus_pro_response.rb
|
|
313
|
+
- lib/factpulse/models/options_processing.rb
|
|
314
|
+
- lib/factpulse/models/parametres_signature.rb
|
|
315
|
+
- lib/factpulse/models/parametres_structure.rb
|
|
316
|
+
- lib/factpulse/models/pdf_factur_x_info.rb
|
|
317
|
+
- lib/factpulse/models/pdp_credentials.rb
|
|
318
|
+
- lib/factpulse/models/piece_jointe_complementaire.rb
|
|
319
|
+
- lib/factpulse/models/profil_api.rb
|
|
320
|
+
- lib/factpulse/models/profil_flux.rb
|
|
321
|
+
- lib/factpulse/models/quantite.rb
|
|
322
|
+
- lib/factpulse/models/quota_info.rb
|
|
323
|
+
- lib/factpulse/models/rechercher_services_response.rb
|
|
324
|
+
- lib/factpulse/models/rechercher_structure_request.rb
|
|
325
|
+
- lib/factpulse/models/rechercher_structure_response.rb
|
|
326
|
+
- lib/factpulse/models/references.rb
|
|
327
|
+
- lib/factpulse/models/reponse_healthcheck_afnor.rb
|
|
328
|
+
- lib/factpulse/models/reponse_recherche_flux.rb
|
|
329
|
+
- lib/factpulse/models/reponse_soumission_flux.rb
|
|
330
|
+
- lib/factpulse/models/reponse_tache.rb
|
|
331
|
+
- lib/factpulse/models/reponse_validation_erreur.rb
|
|
332
|
+
- lib/factpulse/models/reponse_validation_succes.rb
|
|
333
|
+
- lib/factpulse/models/requete_recherche_flux.rb
|
|
334
|
+
- lib/factpulse/models/requete_soumission_flux.rb
|
|
335
|
+
- lib/factpulse/models/resultat_afnor.rb
|
|
336
|
+
- lib/factpulse/models/resultat_chorus_pro.rb
|
|
337
|
+
- lib/factpulse/models/resultat_validation_pdfapi.rb
|
|
338
|
+
- lib/factpulse/models/scheme_id.rb
|
|
339
|
+
- lib/factpulse/models/service_structure.rb
|
|
340
|
+
- lib/factpulse/models/signature_info.rb
|
|
341
|
+
- lib/factpulse/models/soumettre_facture_complete_request.rb
|
|
342
|
+
- lib/factpulse/models/soumettre_facture_complete_response.rb
|
|
343
|
+
- lib/factpulse/models/soumettre_facture_request.rb
|
|
344
|
+
- lib/factpulse/models/soumettre_facture_response.rb
|
|
345
|
+
- lib/factpulse/models/statut_acquittement.rb
|
|
346
|
+
- lib/factpulse/models/statut_facture.rb
|
|
347
|
+
- lib/factpulse/models/statut_tache.rb
|
|
348
|
+
- lib/factpulse/models/structure_info.rb
|
|
349
|
+
- lib/factpulse/models/syntaxe_flux.rb
|
|
350
|
+
- lib/factpulse/models/tauxmanuel.rb
|
|
351
|
+
- lib/factpulse/models/type_facture.rb
|
|
352
|
+
- lib/factpulse/models/type_flux.rb
|
|
353
|
+
- lib/factpulse/models/type_tva.rb
|
|
354
|
+
- lib/factpulse/models/unite.rb
|
|
355
|
+
- lib/factpulse/models/utilisateur.rb
|
|
356
|
+
- lib/factpulse/models/validation_error.rb
|
|
357
|
+
- lib/factpulse/models/validation_error_loc_inner.rb
|
|
358
|
+
- lib/factpulse/version.rb
|
|
359
|
+
homepage: https://openapi-generator.tech
|
|
360
|
+
licenses:
|
|
361
|
+
- Unlicense
|
|
362
|
+
metadata: {}
|
|
363
|
+
post_install_message:
|
|
364
|
+
rdoc_options: []
|
|
365
|
+
require_paths:
|
|
366
|
+
- lib
|
|
367
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
368
|
+
requirements:
|
|
369
|
+
- - ">="
|
|
370
|
+
- !ruby/object:Gem::Version
|
|
371
|
+
version: '2.7'
|
|
372
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
373
|
+
requirements:
|
|
374
|
+
- - ">="
|
|
375
|
+
- !ruby/object:Gem::Version
|
|
376
|
+
version: '0'
|
|
377
|
+
requirements: []
|
|
378
|
+
rubygems_version: 3.2.33
|
|
379
|
+
signing_key:
|
|
380
|
+
specification_version: 4
|
|
381
|
+
summary: API REST FactPulse Ruby Gem
|
|
382
|
+
test_files: []
|