@factpulse/sdk 2.0.10 → 2.0.11

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.
Files changed (119) hide show
  1. package/.openapi-generator/FILES +22 -10
  2. package/CHANGELOG.md +3 -3
  3. package/README.md +118 -75
  4. package/api/sant-api.ts +61 -0
  5. package/dist/api/sant-api.d.ts +28 -0
  6. package/dist/api/sant-api.js +59 -0
  7. package/dist/esm/api/sant-api.d.ts +28 -0
  8. package/dist/esm/api/sant-api.js +59 -0
  9. package/dist/esm/models/{facture-enrichie-info-output.d.ts → facture-enrichie-info.d.ts} +1 -1
  10. package/dist/esm/models/index.d.ts +11 -5
  11. package/dist/esm/models/index.js +11 -5
  12. package/dist/esm/models/ligne-de-poste-montant-remise-ht.d.ts +16 -0
  13. package/dist/esm/models/ligne-de-poste-taux-tva-manuel.d.ts +16 -0
  14. package/dist/esm/models/ligne-de-poste.d.ts +6 -12
  15. package/dist/esm/models/ligne-de-tva.d.ts +6 -12
  16. package/dist/esm/models/{montant-ht-total1.d.ts → montant-apayer.d.ts} +2 -2
  17. package/dist/esm/models/montant-base-ht.d.ts +16 -0
  18. package/dist/esm/models/montant-ht-total.d.ts +3 -0
  19. package/dist/esm/models/montant-remise-globale-ttc.d.ts +16 -0
  20. package/dist/esm/models/montant-remise-globale-ttc.js +14 -0
  21. package/dist/esm/models/{montant-tva1.d.ts → montant-total-acompte.d.ts} +2 -2
  22. package/dist/esm/models/montant-total-acompte.js +14 -0
  23. package/dist/esm/models/montant-total-ligne-ht.d.ts +16 -0
  24. package/dist/esm/models/montant-total-ligne-ht.js +14 -0
  25. package/dist/esm/models/montant-total.d.ts +12 -24
  26. package/dist/esm/models/montant-ttc-total.d.ts +3 -0
  27. package/dist/esm/models/montant-tva-ligne.d.ts +16 -0
  28. package/dist/esm/models/montant-tva-ligne.js +14 -0
  29. package/dist/esm/models/montant-tva-total.d.ts +16 -0
  30. package/dist/esm/models/montant-tva-total.js +14 -0
  31. package/dist/esm/models/montant-tva.d.ts +3 -0
  32. package/dist/esm/models/soumettre-facture-complete-response.d.ts +2 -2
  33. package/dist/esm/models/soumettre-facture-request.d.ts +6 -6
  34. package/dist/esm/models/tauxmanuel.d.ts +16 -0
  35. package/dist/esm/models/tauxmanuel.js +14 -0
  36. package/dist/models/{facture-enrichie-info-output.d.ts → facture-enrichie-info.d.ts} +1 -1
  37. package/dist/models/index.d.ts +11 -5
  38. package/dist/models/index.js +11 -5
  39. package/dist/models/ligne-de-poste-montant-remise-ht.d.ts +16 -0
  40. package/dist/models/ligne-de-poste-taux-tva-manuel.d.ts +16 -0
  41. package/dist/models/ligne-de-poste.d.ts +6 -12
  42. package/dist/models/ligne-de-tva.d.ts +6 -12
  43. package/dist/{esm/models/montant-ttc-total1.d.ts → models/montant-apayer.d.ts} +2 -2
  44. package/dist/models/montant-base-ht.d.ts +16 -0
  45. package/dist/models/montant-ht-total.d.ts +3 -0
  46. package/dist/models/montant-remise-globale-ttc.d.ts +16 -0
  47. package/dist/models/montant-remise-globale-ttc.js +15 -0
  48. package/dist/models/{montant-ht-total1.d.ts → montant-total-acompte.d.ts} +2 -2
  49. package/dist/models/montant-total-acompte.js +15 -0
  50. package/dist/models/montant-total-ligne-ht.d.ts +16 -0
  51. package/dist/models/montant-total-ligne-ht.js +15 -0
  52. package/dist/models/montant-total.d.ts +12 -24
  53. package/dist/models/montant-ttc-total.d.ts +3 -0
  54. package/dist/models/montant-tva-ligne.d.ts +16 -0
  55. package/dist/models/montant-tva-ligne.js +15 -0
  56. package/dist/models/montant-tva-total.d.ts +16 -0
  57. package/dist/models/montant-tva-total.js +15 -0
  58. package/dist/models/montant-tva.d.ts +3 -0
  59. package/dist/models/soumettre-facture-complete-response.d.ts +2 -2
  60. package/dist/models/soumettre-facture-request.d.ts +6 -6
  61. package/dist/models/tauxmanuel.d.ts +16 -0
  62. package/dist/models/tauxmanuel.js +15 -0
  63. package/docs/{FactureEnrichieInfoOutput.md → FactureEnrichieInfo.md} +3 -3
  64. package/docs/LigneDePoste.md +3 -3
  65. package/docs/LigneDePosteMontantRemiseHt.md +19 -0
  66. package/docs/LigneDePosteTauxTvaManuel.md +19 -0
  67. package/docs/LigneDeTVA.md +3 -3
  68. package/docs/{MontantHtTotal1.md → MontantAPayer.md} +4 -4
  69. package/docs/MontantBaseHt.md +19 -0
  70. package/docs/MontantHtTotal.md +1 -0
  71. package/docs/MontantRemiseGlobaleTtc.md +19 -0
  72. package/docs/MontantTotal.md +6 -6
  73. package/docs/MontantTotalAcompte.md +19 -0
  74. package/docs/MontantTotalLigneHt.md +19 -0
  75. package/docs/MontantTtcTotal.md +1 -0
  76. package/docs/MontantTva.md +1 -0
  77. package/docs/MontantTvaLigne.md +19 -0
  78. package/docs/{MontantTva1.md → MontantTvaTotal.md} +4 -4
  79. package/docs/SantApi.md +45 -0
  80. package/docs/SoumettreFactureCompleteResponse.md +1 -1
  81. package/docs/SoumettreFactureRequest.md +3 -3
  82. package/docs/{MontantTtcTotal1.md → Tauxmanuel.md} +4 -4
  83. package/models/{facture-enrichie-info-output.ts → facture-enrichie-info.ts} +1 -1
  84. package/models/index.ts +11 -5
  85. package/models/ligne-de-poste-montant-remise-ht.ts +22 -0
  86. package/models/ligne-de-poste-taux-tva-manuel.ts +22 -0
  87. package/models/ligne-de-poste.ts +12 -12
  88. package/models/ligne-de-tva.ts +12 -12
  89. package/models/{montant-ht-total1.ts → montant-apayer.ts} +2 -2
  90. package/models/montant-base-ht.ts +22 -0
  91. package/models/montant-ht-total.ts +3 -0
  92. package/models/montant-remise-globale-ttc.ts +22 -0
  93. package/models/{montant-ttc-total1.ts → montant-total-acompte.ts} +2 -2
  94. package/models/montant-total-ligne-ht.ts +22 -0
  95. package/models/montant-total.ts +24 -24
  96. package/models/montant-ttc-total.ts +3 -0
  97. package/models/montant-tva-ligne.ts +22 -0
  98. package/models/{montant-tva1.ts → montant-tva-total.ts} +2 -2
  99. package/models/montant-tva.ts +3 -0
  100. package/models/soumettre-facture-complete-response.ts +2 -2
  101. package/models/soumettre-facture-request.ts +6 -6
  102. package/models/tauxmanuel.ts +22 -0
  103. package/package.json +1 -1
  104. package/dist/esm/models/facture-enrichie-info-input.d.ts +0 -27
  105. package/dist/models/facture-enrichie-info-input.d.ts +0 -27
  106. package/dist/models/montant-ttc-total1.d.ts +0 -16
  107. package/dist/models/montant-tva1.d.ts +0 -16
  108. package/docs/FactureEnrichieInfoInput.md +0 -35
  109. package/models/facture-enrichie-info-input.ts +0 -39
  110. /package/dist/esm/models/{facture-enrichie-info-input.js → facture-enrichie-info.js} +0 -0
  111. /package/dist/esm/models/{facture-enrichie-info-output.js → ligne-de-poste-montant-remise-ht.js} +0 -0
  112. /package/dist/esm/models/{montant-ht-total1.js → ligne-de-poste-taux-tva-manuel.js} +0 -0
  113. /package/dist/esm/models/{montant-ttc-total1.js → montant-apayer.js} +0 -0
  114. /package/dist/esm/models/{montant-tva1.js → montant-base-ht.js} +0 -0
  115. /package/dist/models/{facture-enrichie-info-input.js → facture-enrichie-info.js} +0 -0
  116. /package/dist/models/{facture-enrichie-info-output.js → ligne-de-poste-montant-remise-ht.js} +0 -0
  117. /package/dist/models/{montant-ht-total1.js → ligne-de-poste-taux-tva-manuel.js} +0 -0
  118. /package/dist/models/{montant-ttc-total1.js → montant-apayer.js} +0 -0
  119. /package/dist/models/{montant-tva1.js → montant-base-ht.js} +0 -0
@@ -9,33 +9,21 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { MontantAPayer } from './montant-apayer';
13
+ import type { MontantHtTotal } from './montant-ht-total';
14
+ import type { MontantRemiseGlobaleTtc } from './montant-remise-globale-ttc';
15
+ import type { MontantTotalAcompte } from './montant-total-acompte';
16
+ import type { MontantTtcTotal } from './montant-ttc-total';
17
+ import type { MontantTvaTotal } from './montant-tva-total';
12
18
  /**
13
19
  * Contient tous les montants totaux de la facture.
14
20
  */
15
21
  export interface MontantTotal {
16
- /**
17
- * Montant total HT.
18
- */
19
- 'montantHtTotal': string;
20
- /**
21
- * Montant total de la TVA.
22
- */
23
- 'montantTva': string;
24
- /**
25
- * Montant total TTC.
26
- */
27
- 'montantTtcTotal': string;
28
- /**
29
- * Montant à payer.
30
- */
31
- 'montantAPayer': string;
32
- /**
33
- * Acompte versé.
34
- */
35
- 'acompte'?: string | null;
36
- /**
37
- * Montant de la remise globale TTC.
38
- */
39
- 'montantRemiseGlobaleTtc'?: string;
22
+ 'montantHtTotal': MontantHtTotal;
23
+ 'montantTva': MontantTvaTotal;
24
+ 'montantTtcTotal': MontantTtcTotal;
25
+ 'montantAPayer': MontantAPayer;
26
+ 'acompte'?: MontantTotalAcompte | null;
27
+ 'montantRemiseGlobaleTtc'?: MontantRemiseGlobaleTtc;
40
28
  'motifRemiseGlobaleTtc'?: string | null;
41
29
  }
@@ -9,5 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ * Montant total TTC. (Accepte number, string ou integer)
14
+ */
12
15
  export interface MontantTtcTotal {
13
16
  }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * API REST FactPulse
3
+ * 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\" }\' ``` **Paramètre optionnel `client_uid` :** Pour sélectionner les credentials d\'un client spécifique (PA/PDP, Chorus Pro, certificats de signature), ajoutez `client_uid` : ```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\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` Le `client_uid` sera inclus dans le JWT et permettra à l\'API d\'utiliser automatiquement : - Les credentials AFNOR/PDP configurés pour ce client - Les credentials Chorus Pro configurés pour ce client - Les certificats de signature électronique configurés pour ce client **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/
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Montant de la TVA pour cette ligne. (Accepte number, string ou integer)
14
+ */
15
+ export interface MontantTvaLigne {
16
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * API REST FactPulse
6
+ * 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\" }\' ``` **Paramètre optionnel `client_uid` :** Pour sélectionner les credentials d\'un client spécifique (PA/PDP, Chorus Pro, certificats de signature), ajoutez `client_uid` : ```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\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` Le `client_uid` sera inclus dans le JWT et permettra à l\'API d\'utiliser automatiquement : - Les credentials AFNOR/PDP configurés pour ce client - Les credentials Chorus Pro configurés pour ce client - Les certificats de signature électronique configurés pour ce client **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/
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * API REST FactPulse
3
+ * 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\" }\' ``` **Paramètre optionnel `client_uid` :** Pour sélectionner les credentials d\'un client spécifique (PA/PDP, Chorus Pro, certificats de signature), ajoutez `client_uid` : ```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\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` Le `client_uid` sera inclus dans le JWT et permettra à l\'API d\'utiliser automatiquement : - Les credentials AFNOR/PDP configurés pour ce client - Les credentials Chorus Pro configurés pour ce client - Les certificats de signature électronique configurés pour ce client **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/
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Montant total de la TVA. (Accepte number, string ou integer)
14
+ */
15
+ export interface MontantTvaTotal {
16
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * API REST FactPulse
6
+ * 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\" }\' ``` **Paramètre optionnel `client_uid` :** Pour sélectionner les credentials d\'un client spécifique (PA/PDP, Chorus Pro, certificats de signature), ajoutez `client_uid` : ```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\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` Le `client_uid` sera inclus dans le JWT et permettra à l\'API d\'utiliser automatiquement : - Les credentials AFNOR/PDP configurés pour ce client - Les credentials Chorus Pro configurés pour ce client - Les certificats de signature électronique configurés pour ce client **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/
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,5 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ * Montant TVA
14
+ */
12
15
  export interface MontantTva {
13
16
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { FactureEnrichieInfoOutput } from './facture-enrichie-info-output';
12
+ import type { FactureEnrichieInfo } from './facture-enrichie-info';
13
13
  import type { PDFFacturXInfo } from './pdffactur-xinfo';
14
14
  import type { ResultatAFNOR } from './resultat-afnor';
15
15
  import type { ResultatChorusPro } from './resultat-chorus-pro';
@@ -31,7 +31,7 @@ export interface SoumettreFactureCompleteResponse {
31
31
  /**
32
32
  * Données de la facture enrichie
33
33
  */
34
- 'facture_enrichie': FactureEnrichieInfoOutput;
34
+ 'facture_enrichie': FactureEnrichieInfo;
35
35
  /**
36
36
  * Informations sur le PDF généré
37
37
  */
@@ -10,9 +10,9 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { ChorusProCredentials } from './chorus-pro-credentials';
13
- import type { MontantHtTotal1 } from './montant-ht-total1';
14
- import type { MontantTtcTotal1 } from './montant-ttc-total1';
15
- import type { MontantTva1 } from './montant-tva1';
13
+ import type { MontantHtTotal } from './montant-ht-total';
14
+ import type { MontantTtcTotal } from './montant-ttc-total';
15
+ import type { MontantTva } from './montant-tva';
16
16
  /**
17
17
  * Soumission d\'une facture Chorus Pro.
18
18
  */
@@ -33,9 +33,9 @@ export interface SoumettreFactureRequest {
33
33
  'id_structure_cpp': number;
34
34
  'code_service'?: string | null;
35
35
  'numero_engagement'?: string | null;
36
- 'montant_ht_total': MontantHtTotal1;
37
- 'montant_tva': MontantTva1;
38
- 'montant_ttc_total': MontantTtcTotal1;
36
+ 'montant_ht_total': MontantHtTotal;
37
+ 'montant_tva': MontantTva;
38
+ 'montant_ttc_total': MontantTtcTotal;
39
39
  'piece_jointe_principale_id'?: number | null;
40
40
  'piece_jointe_principale_designation'?: string | null;
41
41
  'commentaire'?: string | null;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * API REST FactPulse
3
+ * 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\" }\' ``` **Paramètre optionnel `client_uid` :** Pour sélectionner les credentials d\'un client spécifique (PA/PDP, Chorus Pro, certificats de signature), ajoutez `client_uid` : ```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\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` Le `client_uid` sera inclus dans le JWT et permettra à l\'API d\'utiliser automatiquement : - Les credentials AFNOR/PDP configurés pour ce client - Les credentials Chorus Pro configurés pour ce client - Les certificats de signature électronique configurés pour ce client **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/
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Taux de TVA avec valeur manuelle. (Accepte number, string ou integer)
14
+ */
15
+ export interface Tauxmanuel {
16
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * API REST FactPulse
6
+ * 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\" }\' ``` **Paramètre optionnel `client_uid` :** Pour sélectionner les credentials d\'un client spécifique (PA/PDP, Chorus Pro, certificats de signature), ajoutez `client_uid` : ```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\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` Le `client_uid` sera inclus dans le JWT et permettra à l\'API d\'utiliser automatiquement : - Les credentials AFNOR/PDP configurés pour ce client - Les credentials Chorus Pro configurés pour ce client - Les certificats de signature électronique configurés pour ce client **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/
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- # FactureEnrichieInfoOutput
1
+ # FactureEnrichieInfo
2
2
 
3
3
  Informations sur la facture enrichie.
4
4
 
@@ -18,9 +18,9 @@ Name | Type | Description | Notes
18
18
  ## Example
19
19
 
20
20
  ```typescript
21
- import { FactureEnrichieInfoOutput } from '@factpulse/sdk';
21
+ import { FactureEnrichieInfo } from '@factpulse/sdk';
22
22
 
23
- const instance: FactureEnrichieInfoOutput = {
23
+ const instance: FactureEnrichieInfo = {
24
24
  numero_facture,
25
25
  id_emetteur,
26
26
  id_destinataire,
@@ -12,10 +12,10 @@ Name | Type | Description | Notes
12
12
  **quantite** | [**Quantite**](Quantite.md) | | [default to undefined]
13
13
  **unite** | [**Unite**](Unite.md) | | [default to undefined]
14
14
  **montantUnitaireHt** | [**MontantUnitaireHt**](MontantUnitaireHt.md) | | [default to undefined]
15
- **montantRemiseHt** | **string** | Montant de la remise HT. | [optional] [default to undefined]
16
- **montantTotalLigneHt** | **string** | Montant total HT de la ligne (quantité × prix unitaire - remise). | [optional] [default to undefined]
15
+ **montantRemiseHt** | [**LigneDePosteMontantRemiseHt**](LigneDePosteMontantRemiseHt.md) | | [optional] [default to undefined]
16
+ **montantTotalLigneHt** | [**MontantTotalLigneHt**](MontantTotalLigneHt.md) | | [optional] [default to undefined]
17
17
  **tauxTva** | **string** | | [optional] [default to undefined]
18
- **tauxTvaManuel** | **string** | Taux de TVA avec valeur manuelle. | [optional] [default to undefined]
18
+ **tauxTvaManuel** | [**LigneDePosteTauxTvaManuel**](LigneDePosteTauxTvaManuel.md) | | [optional] [default to undefined]
19
19
  **categorieTva** | [**CategorieTVA**](CategorieTVA.md) | | [optional] [default to undefined]
20
20
  **dateDebutPeriode** | **string** | | [optional] [default to undefined]
21
21
  **dateFinPeriode** | **string** | | [optional] [default to undefined]
@@ -0,0 +1,19 @@
1
+ # LigneDePosteMontantRemiseHt
2
+
3
+ Montant de la remise HT. (Accepte number, string ou integer)
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { LigneDePosteMontantRemiseHt } from '@factpulse/sdk';
14
+
15
+ const instance: LigneDePosteMontantRemiseHt = {
16
+ };
17
+ ```
18
+
19
+ [[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,19 @@
1
+ # LigneDePosteTauxTvaManuel
2
+
3
+ Taux de TVA avec valeur manuelle. (Accepte number, string ou integer)
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { LigneDePosteTauxTvaManuel } from '@factpulse/sdk';
14
+
15
+ const instance: LigneDePosteTauxTvaManuel = {
16
+ };
17
+ ```
18
+
19
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -6,10 +6,10 @@ Représente une ligne de totalisation par taux de TVA.
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **montantBaseHt** | **string** | Montant de la base HT pour cette ligne de TVA. | [default to undefined]
10
- **montantTva** | **string** | Montant de la TVA pour cette ligne. | [default to undefined]
9
+ **montantBaseHt** | [**MontantBaseHt**](MontantBaseHt.md) | | [default to undefined]
10
+ **montantTva** | [**MontantTvaLigne**](MontantTvaLigne.md) | | [default to undefined]
11
11
  **taux** | **string** | | [optional] [default to undefined]
12
- **tauxManuel** | **string** | Taux de TVA avec valeur manuelle. | [optional] [default to undefined]
12
+ **tauxManuel** | [**Tauxmanuel**](Tauxmanuel.md) | | [optional] [default to undefined]
13
13
  **categorie** | [**CategorieTVA**](CategorieTVA.md) | | [optional] [default to undefined]
14
14
 
15
15
  ## Example
@@ -1,6 +1,6 @@
1
- # MontantHtTotal1
1
+ # MontantAPayer
2
2
 
3
- Montant HT total
3
+ Montant à payer. (Accepte number, string ou integer)
4
4
 
5
5
  ## Properties
6
6
 
@@ -10,9 +10,9 @@ Name | Type | Description | Notes
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import { MontantHtTotal1 } from '@factpulse/sdk';
13
+ import { MontantAPayer } from '@factpulse/sdk';
14
14
 
15
- const instance: MontantHtTotal1 = {
15
+ const instance: MontantAPayer = {
16
16
  };
17
17
  ```
18
18
 
@@ -0,0 +1,19 @@
1
+ # MontantBaseHt
2
+
3
+ Montant de la base HT pour cette ligne de TVA. (Accepte number, string ou integer)
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { MontantBaseHt } from '@factpulse/sdk';
14
+
15
+ const instance: MontantBaseHt = {
16
+ };
17
+ ```
18
+
19
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,5 +1,6 @@
1
1
  # MontantHtTotal
2
2
 
3
+ Montant total HT. (Accepte number, string ou integer)
3
4
 
4
5
  ## Properties
5
6
 
@@ -0,0 +1,19 @@
1
+ # MontantRemiseGlobaleTtc
2
+
3
+ Montant de la remise globale TTC. (Accepte number, string ou integer)
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { MontantRemiseGlobaleTtc } from '@factpulse/sdk';
14
+
15
+ const instance: MontantRemiseGlobaleTtc = {
16
+ };
17
+ ```
18
+
19
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -6,12 +6,12 @@ Contient tous les montants totaux de la facture.
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **montantHtTotal** | **string** | Montant total HT. | [default to undefined]
10
- **montantTva** | **string** | Montant total de la TVA. | [default to undefined]
11
- **montantTtcTotal** | **string** | Montant total TTC. | [default to undefined]
12
- **montantAPayer** | **string** | Montant à payer. | [default to undefined]
13
- **acompte** | **string** | Acompte versé. | [optional] [default to undefined]
14
- **montantRemiseGlobaleTtc** | **string** | Montant de la remise globale TTC. | [optional] [default to undefined]
9
+ **montantHtTotal** | [**MontantHtTotal**](MontantHtTotal.md) | | [default to undefined]
10
+ **montantTva** | [**MontantTvaTotal**](MontantTvaTotal.md) | | [default to undefined]
11
+ **montantTtcTotal** | [**MontantTtcTotal**](MontantTtcTotal.md) | | [default to undefined]
12
+ **montantAPayer** | [**MontantAPayer**](MontantAPayer.md) | | [default to undefined]
13
+ **acompte** | [**MontantTotalAcompte**](MontantTotalAcompte.md) | | [optional] [default to undefined]
14
+ **montantRemiseGlobaleTtc** | [**MontantRemiseGlobaleTtc**](MontantRemiseGlobaleTtc.md) | | [optional] [default to undefined]
15
15
  **motifRemiseGlobaleTtc** | **string** | | [optional] [default to undefined]
16
16
 
17
17
  ## Example
@@ -0,0 +1,19 @@
1
+ # MontantTotalAcompte
2
+
3
+ Acompte versé. (Accepte number, string ou integer)
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { MontantTotalAcompte } from '@factpulse/sdk';
14
+
15
+ const instance: MontantTotalAcompte = {
16
+ };
17
+ ```
18
+
19
+ [[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,19 @@
1
+ # MontantTotalLigneHt
2
+
3
+ Montant total HT de la ligne (quantité × prix unitaire - remise). (Accepte number, string ou integer)
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { MontantTotalLigneHt } from '@factpulse/sdk';
14
+
15
+ const instance: MontantTotalLigneHt = {
16
+ };
17
+ ```
18
+
19
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,5 +1,6 @@
1
1
  # MontantTtcTotal
2
2
 
3
+ Montant total TTC. (Accepte number, string ou integer)
3
4
 
4
5
  ## Properties
5
6
 
@@ -1,5 +1,6 @@
1
1
  # MontantTva
2
2
 
3
+ Montant TVA
3
4
 
4
5
  ## Properties
5
6
 
@@ -0,0 +1,19 @@
1
+ # MontantTvaLigne
2
+
3
+ Montant de la TVA pour cette ligne. (Accepte number, string ou integer)
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { MontantTvaLigne } from '@factpulse/sdk';
14
+
15
+ const instance: MontantTvaLigne = {
16
+ };
17
+ ```
18
+
19
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,6 +1,6 @@
1
- # MontantTva1
1
+ # MontantTvaTotal
2
2
 
3
- Montant TVA
3
+ Montant total de la TVA. (Accepte number, string ou integer)
4
4
 
5
5
  ## Properties
6
6
 
@@ -10,9 +10,9 @@ Name | Type | Description | Notes
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import { MontantTva1 } from '@factpulse/sdk';
13
+ import { MontantTvaTotal } from '@factpulse/sdk';
14
14
 
15
- const instance: MontantTva1 = {
15
+ const instance: MontantTvaTotal = {
16
16
  };
17
17
  ```
18
18
 
package/docs/SantApi.md CHANGED
@@ -4,8 +4,53 @@ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
+ |[**healthcheckHealthcheckGet**](#healthcheckhealthcheckget) | **GET** /healthcheck | Endpoint de healthcheck pour Docker|
7
8
  |[**racineGet**](#racineget) | **GET** / | Vérifier l\'état de l\'API|
8
9
 
10
+ # **healthcheckHealthcheckGet**
11
+ > any healthcheckHealthcheckGet()
12
+
13
+ Endpoint de healthcheck pour Docker et les load balancers. Utile pour : - Docker healthcheck - Kubernetes liveness/readiness probes - Load balancers (Nginx, HAProxy) - Monitoring de disponibilité - Déploiement zero downtime Retourne un code 200 si l\'API est opérationnelle.
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ SantApi,
20
+ Configuration
21
+ } from '@factpulse/sdk';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new SantApi(configuration);
25
+
26
+ const { status, data } = await apiInstance.healthcheckHealthcheckGet();
27
+ ```
28
+
29
+ ### Parameters
30
+ This endpoint does not have any parameters.
31
+
32
+
33
+ ### Return type
34
+
35
+ **any**
36
+
37
+ ### Authorization
38
+
39
+ No authorization required
40
+
41
+ ### HTTP request headers
42
+
43
+ - **Content-Type**: Not defined
44
+ - **Accept**: application/json
45
+
46
+
47
+ ### HTTP response details
48
+ | Status code | Description | Response headers |
49
+ |-------------|-------------|------------------|
50
+ |**200** | L\'API est en bonne santé | - |
51
+
52
+ [[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)
53
+
9
54
  # **racineGet**
10
55
  > any racineGet()
11
56
 
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
  **destination_type** | **string** | Type de destination | [default to undefined]
11
11
  **resultat_chorus** | [**ResultatChorusPro**](ResultatChorusPro.md) | | [optional] [default to undefined]
12
12
  **resultat_afnor** | [**ResultatAFNOR**](ResultatAFNOR.md) | | [optional] [default to undefined]
13
- **facture_enrichie** | [**FactureEnrichieInfoOutput**](FactureEnrichieInfoOutput.md) | Données de la facture enrichie | [default to undefined]
13
+ **facture_enrichie** | [**FactureEnrichieInfo**](FactureEnrichieInfo.md) | Données de la facture enrichie | [default to undefined]
14
14
  **pdf_facturx** | [**PDFFacturXInfo**](PDFFacturXInfo.md) | Informations sur le PDF généré | [default to undefined]
15
15
  **signature** | [**SignatureInfo**](SignatureInfo.md) | | [optional] [default to undefined]
16
16
  **pdf_base64** | **string** | PDF Factur-X généré (et signé si demandé) encodé en base64 | [default to undefined]
@@ -13,9 +13,9 @@ Name | Type | Description | Notes
13
13
  **id_structure_cpp** | **number** | ID Chorus Pro de la structure destinataire | [default to undefined]
14
14
  **code_service** | **string** | | [optional] [default to undefined]
15
15
  **numero_engagement** | **string** | | [optional] [default to undefined]
16
- **montant_ht_total** | [**MontantHtTotal1**](MontantHtTotal1.md) | | [default to undefined]
17
- **montant_tva** | [**MontantTva1**](MontantTva1.md) | | [default to undefined]
18
- **montant_ttc_total** | [**MontantTtcTotal1**](MontantTtcTotal1.md) | | [default to undefined]
16
+ **montant_ht_total** | [**MontantHtTotal**](MontantHtTotal.md) | | [default to undefined]
17
+ **montant_tva** | [**MontantTva**](MontantTva.md) | | [default to undefined]
18
+ **montant_ttc_total** | [**MontantTtcTotal**](MontantTtcTotal.md) | | [default to undefined]
19
19
  **piece_jointe_principale_id** | **number** | | [optional] [default to undefined]
20
20
  **piece_jointe_principale_designation** | **string** | | [optional] [default to undefined]
21
21
  **commentaire** | **string** | | [optional] [default to undefined]