factpulse 1.0.6__py3-none-any.whl → 2.0.37__py3-none-any.whl
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.
Potentially problematic release.
This version of factpulse might be problematic. Click here for more details.
- factpulse/__init__.py +54 -54
- factpulse/api/__init__.py +1 -2
- factpulse/api/afnorpdppa_api.py +552 -2
- factpulse/api/afnorpdppa_directory_service_api.py +4312 -65
- factpulse/api/afnorpdppa_flow_service_api.py +1 -1
- factpulse/api/chorus_pro_api.py +152 -194
- factpulse/api/sant_api.py +246 -1
- factpulse/api/traitement_facture_api.py +25 -27
- factpulse/api/utilisateur_api.py +1 -1
- factpulse/api/vrification_pdfxml_api.py +1719 -0
- factpulse/api_client.py +5 -5
- factpulse/configuration.py +5 -3
- factpulse/exceptions.py +7 -4
- factpulse/models/__init__.py +26 -25
- factpulse/models/adresse_electronique.py +1 -1
- factpulse/models/adresse_postale.py +1 -1
- factpulse/models/{body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post.py → api_error.py} +24 -24
- factpulse/models/{body_completer_facture_api_v1_chorus_pro_factures_completer_post.py → bounding_box_schema.py} +23 -27
- factpulse/models/cadre_de_facturation.py +11 -3
- factpulse/models/categorie_tva.py +11 -11
- factpulse/models/certificate_info_response.py +1 -1
- factpulse/models/champ_verifie_schema.py +129 -0
- factpulse/models/chorus_pro_credentials.py +1 -1
- factpulse/models/code_cadre_facturation.py +2 -2
- factpulse/models/code_raison_reduction.py +9 -9
- factpulse/models/consulter_facture_request.py +1 -1
- factpulse/models/consulter_facture_response.py +1 -1
- factpulse/models/consulter_structure_request.py +1 -1
- factpulse/models/consulter_structure_response.py +1 -1
- factpulse/models/credentials_afnor.py +1 -1
- factpulse/models/credentials_chorus_pro.py +1 -1
- factpulse/models/destinataire.py +16 -2
- factpulse/models/destination.py +1 -1
- factpulse/models/destination_afnor.py +1 -1
- factpulse/models/destination_chorus_pro.py +1 -1
- factpulse/models/{quota_info.py → dimension_page_schema.py} +12 -18
- factpulse/models/direction_flux.py +1 -1
- factpulse/models/donnees_facture_simplifiees.py +1 -1
- factpulse/models/error_level.py +37 -0
- factpulse/models/error_source.py +43 -0
- factpulse/models/{facture_enrichie_info_output.py → facture_enrichie_info.py} +4 -4
- factpulse/models/facture_entrante.py +196 -0
- factpulse/models/facture_factur_x.py +12 -2
- factpulse/models/flux_resume.py +1 -1
- factpulse/models/format_facture.py +38 -0
- factpulse/models/format_sortie.py +1 -1
- factpulse/models/fournisseur.py +9 -2
- factpulse/models/fournisseur_entrant.py +144 -0
- factpulse/models/generate_certificate_request.py +1 -1
- factpulse/models/generate_certificate_response.py +1 -1
- factpulse/models/http_validation_error.py +1 -1
- factpulse/models/information_signature_api.py +1 -1
- factpulse/models/ligne_de_poste.py +7 -12
- factpulse/models/ligne_de_poste_montant_remise_ht.py +2 -2
- factpulse/models/ligne_de_poste_taux_tva_manuel.py +2 -2
- factpulse/models/ligne_de_tva.py +24 -10
- factpulse/models/mode_depot.py +1 -1
- factpulse/models/mode_paiement.py +1 -1
- factpulse/models/{montantapayer.py → montant_a_payer.py} +6 -6
- factpulse/models/{montantbaseht.py → montant_base_ht.py} +6 -6
- factpulse/models/montant_ht_total.py +4 -4
- factpulse/models/{montant_total_montant_remise_globale_ttc.py → montant_remise_globale_ttc.py} +7 -13
- factpulse/models/montant_total.py +16 -21
- factpulse/models/montant_total_acompte.py +2 -2
- factpulse/models/{ligne_de_poste_montant_total_ligne_ht.py → montant_total_ligne_ht.py} +7 -13
- factpulse/models/montant_ttc_total.py +4 -4
- factpulse/models/montant_tva.py +2 -2
- factpulse/models/{montanttva1.py → montant_tva_ligne.py} +7 -7
- factpulse/models/{montantttctotal.py → montant_tva_total.py} +7 -7
- factpulse/models/{montantunitaireht.py → montant_unitaire_ht.py} +5 -5
- factpulse/models/nature_operation.py +49 -0
- factpulse/models/{body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post.py → note.py} +14 -24
- factpulse/models/{utilisateur.py → note_obligatoire_schema.py} +40 -44
- factpulse/models/obtenir_id_chorus_pro_request.py +1 -1
- factpulse/models/obtenir_id_chorus_pro_response.py +1 -1
- factpulse/models/options_processing.py +5 -14
- factpulse/models/parametres_signature.py +1 -1
- factpulse/models/parametres_structure.py +1 -1
- factpulse/models/pdf_factur_x_info.py +1 -1
- factpulse/models/pdp_credentials.py +10 -3
- factpulse/models/piece_jointe_complementaire.py +1 -1
- factpulse/models/profil_api.py +1 -1
- factpulse/models/profil_flux.py +1 -1
- factpulse/models/quantite.py +1 -1
- factpulse/models/rechercher_services_response.py +1 -1
- factpulse/models/rechercher_structure_request.py +1 -1
- factpulse/models/rechercher_structure_response.py +1 -1
- factpulse/models/references.py +1 -1
- factpulse/models/reponse_healthcheck_afnor.py +1 -1
- factpulse/models/reponse_recherche_flux.py +1 -1
- factpulse/models/reponse_soumission_flux.py +1 -1
- factpulse/models/reponse_tache.py +1 -1
- factpulse/models/reponse_validation_erreur.py +1 -1
- factpulse/models/reponse_validation_succes.py +1 -1
- factpulse/models/reponse_verification_succes.py +135 -0
- factpulse/models/requete_recherche_flux.py +1 -1
- factpulse/models/requete_soumission_flux.py +1 -1
- factpulse/models/resultat_afnor.py +1 -1
- factpulse/models/resultat_chorus_pro.py +1 -1
- factpulse/models/resultat_validation_pdfapi.py +1 -1
- factpulse/models/scheme_id.py +7 -7
- factpulse/models/service_structure.py +1 -1
- factpulse/models/signature_info.py +1 -1
- factpulse/models/soumettre_facture_complete_request.py +1 -1
- factpulse/models/soumettre_facture_complete_response.py +4 -4
- factpulse/models/soumettre_facture_request.py +19 -7
- factpulse/models/soumettre_facture_response.py +1 -1
- factpulse/models/statut_acquittement.py +1 -1
- factpulse/models/statut_celery.py +40 -0
- factpulse/models/statut_champ_api.py +40 -0
- factpulse/models/statut_facture.py +1 -1
- factpulse/models/statut_tache.py +7 -9
- factpulse/models/structure_info.py +1 -1
- factpulse/models/syntaxe_flux.py +1 -1
- factpulse/models/tauxmanuel.py +2 -2
- factpulse/models/type_document.py +40 -0
- factpulse/models/type_facture.py +1 -1
- factpulse/models/type_flux.py +1 -1
- factpulse/models/type_tva.py +1 -1
- factpulse/models/unite.py +1 -1
- factpulse/models/validation_error.py +1 -1
- factpulse/models/{body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post.py → validation_error_detail.py} +27 -24
- factpulse/models/validation_error_loc_inner.py +1 -1
- factpulse/rest.py +8 -3
- factpulse-2.0.37.dist-info/METADATA +292 -0
- factpulse-2.0.37.dist-info/RECORD +134 -0
- factpulse-2.0.37.dist-info/top_level.txt +2 -0
- factpulse_helpers/__init__.py +96 -0
- factpulse_helpers/client.py +1887 -0
- factpulse_helpers/exceptions.py +253 -0
- factpulse/api/processing_endpoints_unifis_api.py +0 -592
- factpulse/api/signature_lectronique_api.py +0 -1358
- factpulse/models/body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get.py +0 -102
- factpulse/models/body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post.py +0 -104
- factpulse/models/body_recycler_facture_api_v1_chorus_pro_factures_recycler_post.py +0 -104
- factpulse/models/body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post.py +0 -104
- factpulse/models/body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post.py +0 -104
- factpulse/models/body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post.py +0 -104
- factpulse/models/body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post.py +0 -104
- factpulse/models/facture_enrichie_info_input.py +0 -123
- factpulse/models/montanthttotal.py +0 -139
- factpulse/models/montanttva.py +0 -139
- factpulse-1.0.6.dist-info/METADATA +0 -182
- factpulse-1.0.6.dist-info/RECORD +0 -131
- factpulse-1.0.6.dist-info/top_level.txt +0 -1
- {factpulse-1.0.6.dist-info → factpulse-2.0.37.dist-info}/WHEEL +0 -0
- {factpulse-1.0.6.dist-info → factpulse-2.0.37.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
factpulse/__init__.py,sha256=b-FWZLv1Cvo4UfpDlk_yaLe4L_c66SqMFK7iAc-zL_8,19427
|
|
2
|
+
factpulse/api_client.py,sha256=UxDzQh6AAgvykUkKtczmEiat99Evtz7Xd5QHG2hOl8k,32771
|
|
3
|
+
factpulse/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
+
factpulse/configuration.py,sha256=iqYo18_7rhgPyos5PWIpPHsOO9wpCSalH_PJ8qZPjBg,23502
|
|
5
|
+
factpulse/exceptions.py,sha256=0bSMLMpqqe39fwik6qGJQHrhCkdjlNyQczPVttGdgFw,11549
|
|
6
|
+
factpulse/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
factpulse/rest.py,sha256=SnUu0ciJ9kTQnfUFqMEOgmHYt72AzAwyWmcVkMc7I0I,14661
|
|
8
|
+
factpulse/api/__init__.py,sha256=d9mv46Oc1OTHl7IeSf_mHZAs4rhhHcZGExDQrP6Luzo,565
|
|
9
|
+
factpulse/api/afnorpdppa_api.py,sha256=JHdD7UMh_wv1hGH9q3NZeSUuutZGocJvuvJDS0B3uDo,38253
|
|
10
|
+
factpulse/api/afnorpdppa_directory_service_api.py,sha256=k3elxRoRlPrFWxKE7grn5MxKG8WuEDR_R11lJB5v5Qg,204981
|
|
11
|
+
factpulse/api/afnorpdppa_flow_service_api.py,sha256=uG5V7fUt27if7jOGd67UUKZmxNCmdXXaVh88WxK3Ma4,46470
|
|
12
|
+
factpulse/api/chorus_pro_api.py,sha256=gAI2ShJmYYnMktXDup7A2ErQ_6QBIFg67zW2Chfo3ZY,208966
|
|
13
|
+
factpulse/api/sant_api.py,sha256=sWp1SEdcOu0Dy5BYNQs-13gMg5uWqwFFdj6LZr05XaQ,25634
|
|
14
|
+
factpulse/api/traitement_facture_api.py,sha256=d9KqmkMLIGZlp_0hg-TFrJWhB0uYyhOoUmIG0H7Yrf0,226110
|
|
15
|
+
factpulse/api/utilisateur_api.py,sha256=DIIHDh-0Qt-jpA3bh0DS5rzNtn_BtreAe61psvrSTbg,16316
|
|
16
|
+
factpulse/api/vrification_pdfxml_api.py,sha256=7UdC54xh3dpuQL2NyMkIlttxpUf7DYOD3GF8__SFSDM,91822
|
|
17
|
+
factpulse/models/__init__.py,sha256=nr3Imce1WVTMPrcSeZnGfHI4c6XGmqT8NnyR9RhzPGM,12643
|
|
18
|
+
factpulse/models/adresse_electronique.py,sha256=pphiUugyPYuXJBUQMSBKPYW1NUMU-BqxtJmOEfFcGcg,7921
|
|
19
|
+
factpulse/models/adresse_postale.py,sha256=kC6JpnadEBrYzWDHEstehxxRd9lxI-3_CKIfJf489YU,9252
|
|
20
|
+
factpulse/models/api_error.py,sha256=2nASAs1818k8dDlWh6DlwAyeT3Ra8t3wQHu2NCs28CI,8733
|
|
21
|
+
factpulse/models/bounding_box_schema.py,sha256=6TVte8rqm8DyL7zkFMnnjc-Ds6IrxICpLPdbRI__Rh8,8601
|
|
22
|
+
factpulse/models/cadre_de_facturation.py,sha256=537fq5r1f2-poqoChXLMhCmv3KnyyWNouVuiFCbfOZY,9682
|
|
23
|
+
factpulse/models/categorie_tva.py,sha256=IBgtV7j2vB93PcZI-XhPu9eKhedHdqqclXn60yNUs34,6367
|
|
24
|
+
factpulse/models/certificate_info_response.py,sha256=mZjU6I57KedCN086XCBIvfp6H4MjXWMyvbYYsG-LLFo,9164
|
|
25
|
+
factpulse/models/champ_verifie_schema.py,sha256=rrrOZ2iiKt2hV-S7V6wobloXQKz4VZS9TjfED8tdCQA,10073
|
|
26
|
+
factpulse/models/chorus_pro_credentials.py,sha256=2NMazzMO6tQB_XpWHUQUBPt4tiW24pRvxWop0J1HucI,8884
|
|
27
|
+
factpulse/models/code_cadre_facturation.py,sha256=AtevyXn8DL6ipG_-eJ19SYIGRAqpVUhy5qa3unKysl4,6018
|
|
28
|
+
factpulse/models/code_raison_reduction.py,sha256=YI2VmqIDh5iB_1XO7MrPITN7QNX2_dX6IzQ2RIoB4RI,6367
|
|
29
|
+
factpulse/models/consulter_facture_request.py,sha256=v9RFMm_dcPJod4KmQCqlUqPKs4zm7qOnj_Ujs8_S96w,8340
|
|
30
|
+
factpulse/models/consulter_facture_response.py,sha256=xFxnx8PoxcSgDigXMbm7S0CtRaCZAsczSx9R0l5wq1M,10862
|
|
31
|
+
factpulse/models/consulter_structure_request.py,sha256=DP2TRsdfYtLoM2XdS27nrGNnsCnJnw_gRgcpIXVOouc,8557
|
|
32
|
+
factpulse/models/consulter_structure_response.py,sha256=Qcs8ZshvmLwkivhvt4pmfqCe6eyOvYnSksJCcWJFjNw,10634
|
|
33
|
+
factpulse/models/credentials_afnor.py,sha256=5ecIhgOePmnDmxYlIbgvmqX724pZvH475aKzjVfJL6I,8847
|
|
34
|
+
factpulse/models/credentials_chorus_pro.py,sha256=XF5j893pjAetSG2Yq_6M3QV9WHoRBb7PWX_KQXjJCf8,9536
|
|
35
|
+
factpulse/models/destinataire.py,sha256=pC2G1F8nJ_a63tFk9n6Ye-tOCPQqKREri25KC1O7Nlg,10067
|
|
36
|
+
factpulse/models/destination.py,sha256=JI8TbW8WBtwDc3Vn9OwRPkSPgbADHwG1A3peXNtYCNA,10532
|
|
37
|
+
factpulse/models/destination_afnor.py,sha256=_ex6LJlJApc4pYpb3uP-vwzGonNdanccNifb15K9K64,9472
|
|
38
|
+
factpulse/models/destination_chorus_pro.py,sha256=xXI3B6FowqPBidUFJMZsVQZimLrZLcv78wyYIUI2mNU,8618
|
|
39
|
+
factpulse/models/dimension_page_schema.py,sha256=nwrYSgixoDz1N3qsjJHgwnlgMC4XrhxpzDyX8GUmSBE,7744
|
|
40
|
+
factpulse/models/direction_flux.py,sha256=VfU6nUNYOCgoFKtx6hHtTTLxlYIOGsc12gnDBoCzUK8,5753
|
|
41
|
+
factpulse/models/donnees_facture_simplifiees.py,sha256=ArZEBNDxgPhLD-5MtS8Lz3wi72Iw2llMKYztuPzdkVI,9871
|
|
42
|
+
factpulse/models/error_level.py,sha256=mDYwioSCHjLMfh4KGLBkAXPT_ssN7hgB7d1FtP0gw-A,5754
|
|
43
|
+
factpulse/models/error_source.py,sha256=mcwjgiJQ31YoPP4jQx8vW5yY-h253wUpEX6Sr4z298g,5903
|
|
44
|
+
factpulse/models/facture_enrichie_info.py,sha256=PN4bBDSUVIlxYefrvXQRq7fimDoVvHrRGxmvQtCRXhs,9990
|
|
45
|
+
factpulse/models/facture_entrante.py,sha256=M3Ult_ala4rHGU603tp8VyNq6fAHWFnyb8vI9yLNnBA,14370
|
|
46
|
+
factpulse/models/facture_factur_x.py,sha256=EEc0rbGeY7EWaZqVWPIqO701D4KVW368TDDWA_TJlKo,14210
|
|
47
|
+
factpulse/models/flux_resume.py,sha256=_sBAp3RXdAHav_52Nx4u0HrYBMyjCFVMZ853Itk9XsQ,9677
|
|
48
|
+
factpulse/models/format_facture.py,sha256=iUlpHn9Vs0-ACu1vr9W_cOu8fYnhsWbiMBOToMaUn9w,5818
|
|
49
|
+
factpulse/models/format_sortie.py,sha256=Cvd64DRl1SntFGEBVDSYunOo9KwJWoTaHXsgHMdq_mA,5748
|
|
50
|
+
factpulse/models/fournisseur.py,sha256=M0w4pOSPAloTiaR3wP0RTSN_ayp4-i-56qX8UoZeruU,11492
|
|
51
|
+
factpulse/models/fournisseur_entrant.py,sha256=DtE62XjV1XChlM61pRHoqDLHWZSKlQoFtiNtLtJwozg,10827
|
|
52
|
+
factpulse/models/generate_certificate_request.py,sha256=lE2bd5FUHQ5SA4GeyX3N6TRMtyqW17RuU_Gl6UBIllY,10416
|
|
53
|
+
factpulse/models/generate_certificate_response.py,sha256=ZQQ1ed7SuV-J1RNU34U-4IYwF_Ck6ByvJYv2_yGzsPk,9448
|
|
54
|
+
factpulse/models/http_validation_error.py,sha256=6LKZOKsITod_3shkCEUHZxwS6OblbkvS4AsrAXRCj0k,8010
|
|
55
|
+
factpulse/models/information_signature_api.py,sha256=Ec4ylGt4CfA87O6_MNsfHiqFovxJtHRLbomLZHo6Lbg,9325
|
|
56
|
+
factpulse/models/ligne_de_poste.py,sha256=UeZ3f_oMPrebLHQIpS82yKlBYHUIdN99v_AJzprZDbc,13686
|
|
57
|
+
factpulse/models/ligne_de_poste_montant_remise_ht.py,sha256=wV7B-wnv2YSC9Lute5hFJ0x8xH2xZqcwbkyTymuXYGA,10218
|
|
58
|
+
factpulse/models/ligne_de_poste_taux_tva_manuel.py,sha256=QmsuUCqPV9ZgvYWQNMfNwkmqCP7hrPNPpgd8vGGwUfA,10217
|
|
59
|
+
factpulse/models/ligne_de_tva.py,sha256=ZARZX0yuF7awQiQrRtcR-IV5EOARxuAfpPjLY0qSY2w,10372
|
|
60
|
+
factpulse/models/mode_depot.py,sha256=lY7ea0uteVEvQT5R59695KUI8NAt53S0O419yU7sa44,5857
|
|
61
|
+
factpulse/models/mode_paiement.py,sha256=NyOkiTwoO4s65lgaHumXZjbEYxTw7MggAgQZ99lJnDI,5876
|
|
62
|
+
factpulse/models/montant_a_payer.py,sha256=qG23CTYoDyycketAZ5QX_78kbOAiFxyvXj1an90TD08,10039
|
|
63
|
+
factpulse/models/montant_base_ht.py,sha256=kogfoZba1ZcplEtq_5x4qm06Upz5wsfb4sYfUNVD6u4,10068
|
|
64
|
+
factpulse/models/montant_ht_total.py,sha256=YvlLjbYKkhVHe3dmJPSMzM6hOKctB28tuNZPuHnCRFM,10044
|
|
65
|
+
factpulse/models/montant_remise_globale_ttc.py,sha256=Bz9iLvuOC8ULr0cz0Sv1VJjP4OgL7uxHdzrcr2R0kSM,10105
|
|
66
|
+
factpulse/models/montant_total.py,sha256=HSKa4xR2JxHHHQbYjetn9BKhJHjcSVa0Ml54Pm1h8h0,11060
|
|
67
|
+
factpulse/models/montant_total_acompte.py,sha256=jJGAiN-59eMUuoY5UkafBXcJNRTj-vJhPR9Z9RY7oJo,10169
|
|
68
|
+
factpulse/models/montant_total_ligne_ht.py,sha256=0extCgyRDB46lQq0PjYaGRH82a26DEQu5e2soBAcVJ4,10119
|
|
69
|
+
factpulse/models/montant_ttc_total.py,sha256=Ac44jGLY9osaF6cQeT96WM9DGRr3zcu13jqoWGMBeFc,10050
|
|
70
|
+
factpulse/models/montant_tva.py,sha256=NuF7VvESuelLvr9PrYBY70b8aXrbkpmly9ltRksGEP4,9942
|
|
71
|
+
factpulse/models/montant_tva_ligne.py,sha256=Dp3ESFYPIam4vnS5cXsgh2-gJxQxFzdsYd3rS2YWLSo,10067
|
|
72
|
+
factpulse/models/montant_tva_total.py,sha256=eEoqGD6p-GnjqNwtTlsxCQbKUzRM8vEz-j3MIyWJGxU,10056
|
|
73
|
+
factpulse/models/montant_unitaire_ht.py,sha256=Lm1GFH8BlEJzk7aup0E1NSdlW7xrM2e4rTqfiRRihbA,10007
|
|
74
|
+
factpulse/models/nature_operation.py,sha256=nZmEhlhh7fAlDzKgHGO8FThr9udOMN7Xf7uAwg4lYwM,6363
|
|
75
|
+
factpulse/models/note.py,sha256=OOE5ldPBju71z9-VQtqndh35yifCnuSzodeRQG3uZxg,8044
|
|
76
|
+
factpulse/models/note_obligatoire_schema.py,sha256=zPosu7ptz7IkdNxRc4kNPLNLAzBc2bJKTLf_UCU-l0Q,9562
|
|
77
|
+
factpulse/models/obtenir_id_chorus_pro_request.py,sha256=W8DVvkBpGM3UWNSwFL19g8IXsR8DEZtLlFtGxR4MJdU,8575
|
|
78
|
+
factpulse/models/obtenir_id_chorus_pro_response.py,sha256=wToneMFFvpJy3iyjxpKUngmKxq0Kn1aeqn5YtgEKw1g,8373
|
|
79
|
+
factpulse/models/options_processing.py,sha256=M7d6-mFJJK1udO8akNhvGV9VrZDhW9zL2_QDNasvQu8,8565
|
|
80
|
+
factpulse/models/parametres_signature.py,sha256=mB6QbqaLZEgOZPB3KqdVl2eDjPOw3VrFomv7dvc6q_4,10761
|
|
81
|
+
factpulse/models/parametres_structure.py,sha256=rGoxqhg_sV3l0flHBrh--tEInU_XKkoPcDI2iWCta5c,8464
|
|
82
|
+
factpulse/models/pdf_factur_x_info.py,sha256=JesvTfSi68klJk9nEIr3sjmNDG_JZslmiaqKFPqMk1k,7918
|
|
83
|
+
factpulse/models/pdp_credentials.py,sha256=EGTqtvPJP4jgH-aM2c4BgGKCFU-my-hzcABwnlzRbr8,8710
|
|
84
|
+
factpulse/models/piece_jointe_complementaire.py,sha256=uqwhX4qbZAZpS6SHoid0aVPBsguV_xDcbuu5YTvNnH0,7988
|
|
85
|
+
factpulse/models/profil_api.py,sha256=4QCmG1hIOhm72DsVuyW87-s3dvhu1sm5vQzWPp5gKzM,5801
|
|
86
|
+
factpulse/models/profil_flux.py,sha256=PnzSnW0KMW2IoivpiyGQoY8TNtuQ0a_hVnf9Kq0-FEg,5816
|
|
87
|
+
factpulse/models/quantite.py,sha256=4aDJsBt3Lo9SWX77xZUnaO-qAvY3WrkBPx1Ipiq00L8,9958
|
|
88
|
+
factpulse/models/rechercher_services_response.py,sha256=CtjYptPBOgYEBILjw_thIwY6hpdn6hRDn_r4P1MvK-o,8517
|
|
89
|
+
factpulse/models/rechercher_structure_request.py,sha256=HXGmq8K16uNEhFFRDBUxBkks1Id_EIF2UUpqNJp268k,9842
|
|
90
|
+
factpulse/models/rechercher_structure_response.py,sha256=_aH4PQ8v_upvX8QdecAwrG-GzbfP-MoH3X07oxHir24,8631
|
|
91
|
+
factpulse/models/references.py,sha256=Jj6jcSMycmeLeHMvH87YBY39YNjHwd4F3A6Ypa7sEv0,9937
|
|
92
|
+
factpulse/models/reponse_healthcheck_afnor.py,sha256=xbOIZ8cC3ZOSaMIwAc57iDAGGbvm9OJL0C5G5U5lty8,7965
|
|
93
|
+
factpulse/models/reponse_recherche_flux.py,sha256=UqL-0L4i2iXpC04y4m48UQ72kodVlbhF7CH-weTnBbc,8428
|
|
94
|
+
factpulse/models/reponse_soumission_flux.py,sha256=HtFA9j01lVgXPhLxAXIyr2a3IkwLTyG-D7xbkqPyPHc,8799
|
|
95
|
+
factpulse/models/reponse_tache.py,sha256=ZHOSHh2sg5mhlej9q6RX2mJVcv-XNKklY8CT90Gm41s,7544
|
|
96
|
+
factpulse/models/reponse_validation_erreur.py,sha256=0sPudYWOLm5uoA9OzKQpZ90wnD1N2YmsrX-npQho-XY,7608
|
|
97
|
+
factpulse/models/reponse_validation_succes.py,sha256=JuqenpbUFKEQ_GuGWXL0fzahyk5-yr1fj2RucOCuq7c,7603
|
|
98
|
+
factpulse/models/reponse_verification_succes.py,sha256=mWmQs6m4y3C8DIM-82kkp8WnYjanyxkzTWWuB2GDfEs,11603
|
|
99
|
+
factpulse/models/requete_recherche_flux.py,sha256=cgAjthD3iC5f_e5FNPc2WDcnvBku2wXto3MgILYjpho,10641
|
|
100
|
+
factpulse/models/requete_soumission_flux.py,sha256=J_ncq9v7piBBjbpJ8Oy94OMaeH8nQ_BSwxvK2G5foqQ,9639
|
|
101
|
+
factpulse/models/resultat_afnor.py,sha256=7fjd4sPBX-N-tGwLph_4kREsVAl_2REx5DRoTLCZ4z8,8526
|
|
102
|
+
factpulse/models/resultat_chorus_pro.py,sha256=wMW4FHgRZ4YHiZUHV_xyyC1cG-2DR_i-U0wZ1JWBEBI,8436
|
|
103
|
+
factpulse/models/resultat_validation_pdfapi.py,sha256=o6o7S6PTK-gYeEJBBgY7P32lEsUqI0Un-LE6ca3uAOs,13558
|
|
104
|
+
factpulse/models/scheme_id.py,sha256=m2w_zmAiGQdKvEsP6KhoiavNsLxQEcfr5zP0Saz2W2g,6268
|
|
105
|
+
factpulse/models/service_structure.py,sha256=RIbMM_nE48bq4koLaj32E_Y5BewZkRyanXEh6hraaeM,8001
|
|
106
|
+
factpulse/models/signature_info.py,sha256=_d94wVSYXR1k_t3Ien0Vlf3SwjlOnT_CWiYzudFo7GI,8183
|
|
107
|
+
factpulse/models/soumettre_facture_complete_request.py,sha256=TFmVnqXfubvtZjamaQ-Xtc-Q3H1MLBMxw4uoCXfFE_I,9925
|
|
108
|
+
factpulse/models/soumettre_facture_complete_response.py,sha256=5rISAwPqkzgaBxTP6GRV8q3XRxwxMgMZpxZgty381ig,11454
|
|
109
|
+
factpulse/models/soumettre_facture_request.py,sha256=Y_1EcxKlhuqiBngQj49Q1DyxdbkmIF_v1qCdQtkZaZU,13211
|
|
110
|
+
factpulse/models/soumettre_facture_response.py,sha256=vQMwIqOn-5n0dKYPVZeGyFmLUjr93wjygvbektsaxjw,8578
|
|
111
|
+
factpulse/models/statut_acquittement.py,sha256=Cq3h30QD4Byi0yPlA3WKSPIMKYpJ3PpgxxPGxEe7WUU,5803
|
|
112
|
+
factpulse/models/statut_celery.py,sha256=MNgqAZKMItqCu_x1-N2Hd_C65Kq3JGJAP45Az4lsY1U,6249
|
|
113
|
+
factpulse/models/statut_champ_api.py,sha256=6wDPjAdn1ZeYVjN1zAM8_DDUma71dQA_iIGC1ZS0Ayc,5879
|
|
114
|
+
factpulse/models/statut_facture.py,sha256=gzsCUeAdWMM3LehncqTHOINTbczwlE9y5rdHo8O31Mc,8068
|
|
115
|
+
factpulse/models/statut_tache.py,sha256=MyRCmyMOxBEYFpKVipKuCTcNky0A1gF-oO52FVYLEkg,8259
|
|
116
|
+
factpulse/models/structure_info.py,sha256=BkMNW1G5GPKP387wbnwIwgxLe74LCm6YYowZNFPlz_c,8290
|
|
117
|
+
factpulse/models/syntaxe_flux.py,sha256=eOhAeAWBpowiv9yiGptZIVubah84gJQXyYoc6JxKacc,5838
|
|
118
|
+
factpulse/models/tauxmanuel.py,sha256=nzHXNnfeMETx_onZZ8jqINkkLMXOt7e1ZzU8zt8FqbQ,10040
|
|
119
|
+
factpulse/models/type_document.py,sha256=sBXmmgTJhDKVjP66FLlc7Dn-VWw5lWMKjJM_uTHPDKI,5854
|
|
120
|
+
factpulse/models/type_facture.py,sha256=-kkw_aZPJeJogPNSlNEcTWvgCFEnl2_t9BvpZRnqSHA,5782
|
|
121
|
+
factpulse/models/type_flux.py,sha256=fGxtbQHDNzGbuvaKeXNwn_lKfbKFcKj-ISyclY2-6wY,5922
|
|
122
|
+
factpulse/models/type_tva.py,sha256=kPIMmtNGX7IHFGtrC26GB5g1Rk3XvAFXhbD5d3zOPyo,5853
|
|
123
|
+
factpulse/models/unite.py,sha256=uMHlmkfdbqFi_BEOLoPXrReMUWU758FteZpi4ANbJb0,5861
|
|
124
|
+
factpulse/models/validation_error.py,sha256=guq3Jf8nihVG3GwdB48UmLvAoIaeKTg6RCCl62HmV5c,8102
|
|
125
|
+
factpulse/models/validation_error_detail.py,sha256=p3H2VCc2-BgDhQfqEjAAbYWSUsWRuwa36omEku4C-so,8751
|
|
126
|
+
factpulse/models/validation_error_loc_inner.py,sha256=XCQaQMpuAERDwf1Zu_IWtD9n18aPrfTniKkzPCzWkfY,9896
|
|
127
|
+
factpulse-2.0.37.dist-info/licenses/LICENSE,sha256=TOREZ0FjfXTO1zqJjqfiuyBoj79tmdfVAJuWN_KV-i8,1066
|
|
128
|
+
factpulse_helpers/__init__.py,sha256=Wl8KjCOccoo0O_LiVg4wHNP2skslyPxU3P7hgJQTFPo,2614
|
|
129
|
+
factpulse_helpers/client.py,sha256=1CUqmqrJor9uMsfkbTwCh-6dh5yuQgeeDwxj8CdwfhM,73633
|
|
130
|
+
factpulse_helpers/exceptions.py,sha256=4Svz1bMC5Mio4zj5KLKd6fyPINqgZFoqwFAsiJOJ8ao,9334
|
|
131
|
+
factpulse-2.0.37.dist-info/METADATA,sha256=QDzchxVrp-06QKo6Ns2euRKML5Vcj5WjQG-nxJICfS8,7260
|
|
132
|
+
factpulse-2.0.37.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
133
|
+
factpulse-2.0.37.dist-info/top_level.txt,sha256=gG17jwZIkNxBJeHxdyLCU6kkoGMr2Ir2metnQ7eT2xY,28
|
|
134
|
+
factpulse-2.0.37.dist-info/RECORD,,
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"""
|
|
2
|
+
FactPulse Helpers - Client simplifié avec authentification JWT et polling intégrés.
|
|
3
|
+
|
|
4
|
+
Ce module fournit :
|
|
5
|
+
- FactPulseClient : Client avec auth JWT et polling automatique
|
|
6
|
+
- ChorusProCredentials / AFNORCredentials : Dataclasses pour le mode Zero-Trust
|
|
7
|
+
- Helpers montants : montant(), montant_total(), ligne_de_poste(), ligne_de_tva()
|
|
8
|
+
- Helpers JSON : DecimalEncoder, json_dumps_safe() pour sérialiser Decimal/datetime
|
|
9
|
+
|
|
10
|
+
Example:
|
|
11
|
+
>>> from factpulse_helpers import (
|
|
12
|
+
... FactPulseClient,
|
|
13
|
+
... ChorusProCredentials,
|
|
14
|
+
... AFNORCredentials,
|
|
15
|
+
... montant_total,
|
|
16
|
+
... ligne_de_poste,
|
|
17
|
+
... )
|
|
18
|
+
>>>
|
|
19
|
+
>>> client = FactPulseClient(
|
|
20
|
+
... email="user@example.com",
|
|
21
|
+
... password="password",
|
|
22
|
+
... chorus_credentials=ChorusProCredentials(
|
|
23
|
+
... piste_client_id="...",
|
|
24
|
+
... piste_client_secret="...",
|
|
25
|
+
... chorus_pro_login="...",
|
|
26
|
+
... chorus_pro_password="..."
|
|
27
|
+
... )
|
|
28
|
+
... )
|
|
29
|
+
"""
|
|
30
|
+
from .client import (
|
|
31
|
+
FactPulseClient,
|
|
32
|
+
ChorusProCredentials,
|
|
33
|
+
AFNORCredentials,
|
|
34
|
+
montant,
|
|
35
|
+
montant_total,
|
|
36
|
+
ligne_de_poste,
|
|
37
|
+
ligne_de_tva,
|
|
38
|
+
adresse_postale,
|
|
39
|
+
adresse_electronique,
|
|
40
|
+
fournisseur,
|
|
41
|
+
destinataire,
|
|
42
|
+
# Utilitaires JSON
|
|
43
|
+
DecimalEncoder,
|
|
44
|
+
json_dumps_safe,
|
|
45
|
+
)
|
|
46
|
+
from .exceptions import (
|
|
47
|
+
FactPulseError,
|
|
48
|
+
FactPulseAuthError,
|
|
49
|
+
FactPulsePollingTimeout,
|
|
50
|
+
FactPulseValidationError,
|
|
51
|
+
FactPulseNotFoundError,
|
|
52
|
+
FactPulseServiceUnavailableError,
|
|
53
|
+
FactPulseAPIError,
|
|
54
|
+
ValidationErrorDetail,
|
|
55
|
+
parse_api_error,
|
|
56
|
+
api_exception_to_validation_error,
|
|
57
|
+
)
|
|
58
|
+
|
|
59
|
+
__all__ = [
|
|
60
|
+
# Client principal
|
|
61
|
+
"FactPulseClient",
|
|
62
|
+
# Credentials
|
|
63
|
+
"ChorusProCredentials",
|
|
64
|
+
"AFNORCredentials",
|
|
65
|
+
# Helpers montants et lignes
|
|
66
|
+
"montant",
|
|
67
|
+
"montant_total",
|
|
68
|
+
"ligne_de_poste",
|
|
69
|
+
"ligne_de_tva",
|
|
70
|
+
# Helpers parties (fournisseur/destinataire)
|
|
71
|
+
"adresse_postale",
|
|
72
|
+
"adresse_electronique",
|
|
73
|
+
"fournisseur",
|
|
74
|
+
"destinataire",
|
|
75
|
+
# Utilitaires JSON (gestion Decimal, datetime, etc.)
|
|
76
|
+
"DecimalEncoder",
|
|
77
|
+
"json_dumps_safe",
|
|
78
|
+
# Exceptions
|
|
79
|
+
"FactPulseError",
|
|
80
|
+
"FactPulseAuthError",
|
|
81
|
+
"FactPulsePollingTimeout",
|
|
82
|
+
"FactPulseValidationError",
|
|
83
|
+
"FactPulseNotFoundError",
|
|
84
|
+
"FactPulseServiceUnavailableError",
|
|
85
|
+
"FactPulseAPIError",
|
|
86
|
+
"ValidationErrorDetail",
|
|
87
|
+
# Helpers pour parser les erreurs API
|
|
88
|
+
"parse_api_error",
|
|
89
|
+
"api_exception_to_validation_error",
|
|
90
|
+
]
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
# Alias pour rétrocompatibilité
|
|
94
|
+
def format_montant(value) -> str:
|
|
95
|
+
"""Formate un montant pour l'API FactPulse. Alias de montant()."""
|
|
96
|
+
return montant(value)
|