factpulse 1.0.0 → 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 +4 -4
- data/CHANGELOG.md +3 -3
- data/Gemfile.lock +1 -1
- data/README.md +73 -119
- data/docs/AFNORPDPPADirectoryServiceApi.md +31 -1148
- 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/ChorusProApi.md +70 -66
- data/docs/Destinataire.md +0 -4
- data/docs/{MontantAPayer.md → DirectionFlux.md} +2 -2
- data/docs/FactureEnrichieInfoInput.md +32 -0
- data/docs/{FactureEnrichieInfo.md → FactureEnrichieInfoOutput.md} +2 -2
- data/docs/FactureFacturX.md +0 -2
- data/docs/FluxResume.md +32 -0
- data/docs/Fournisseur.md +0 -2
- data/docs/LigneDePoste.md +2 -2
- data/docs/LigneDePosteMontantTotalLigneHt.md +15 -0
- data/docs/LigneDeTVA.md +2 -2
- data/docs/MontantTotal.md +5 -5
- data/docs/MontantTotalMontantRemiseGlobaleTtc.md +15 -0
- data/docs/{MontantBaseHt.md → Montantapayer.md} +2 -2
- data/docs/Montantbaseht.md +15 -0
- data/docs/Montanthttotal.md +15 -0
- data/docs/Montantttctotal.md +15 -0
- data/docs/{ErrorLevel.md → Montanttva.md} +2 -2
- data/docs/{ErrorSource.md → Montanttva1.md} +2 -2
- data/docs/Montantunitaireht.md +15 -0
- data/docs/OptionsProcessing.md +1 -1
- data/docs/PDPCredentials.md +24 -0
- data/docs/ProcessingEndpointsUnifisApi.md +147 -0
- data/docs/{StatutCelery.md → ProfilFlux.md} +2 -2
- data/docs/QuotaInfo.md +26 -0
- data/docs/ReponseHealthcheckAFNOR.md +22 -0
- data/docs/ReponseRechercheFlux.md +24 -0
- data/docs/ReponseSoumissionFlux.md +30 -0
- data/docs/RequeteRechercheFlux.md +34 -0
- data/docs/RequeteSoumissionFlux.md +28 -0
- data/docs/SantApi.md +0 -62
- data/docs/SignatureLectroniqueApi.md +315 -0
- data/docs/SoumettreFactureCompleteResponse.md +1 -1
- data/docs/SoumettreFactureRequest.md +3 -3
- data/docs/StatutAcquittement.md +15 -0
- data/docs/StatutTache.md +2 -2
- data/docs/SyntaxeFlux.md +15 -0
- data/docs/TraitementFactureApi.md +2 -2
- data/docs/TypeFlux.md +15 -0
- data/docs/Utilisateur.md +40 -0
- data/factpulse.gemspec +2 -2
- data/lib/factpulse/api/afnorpdppa_api.rb +1 -1
- data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +30 -1014
- data/lib/factpulse/api/afnorpdppa_flow_service_api.rb +1 -1
- data/lib/factpulse/api/chorus_pro_api.rb +108 -95
- data/lib/factpulse/api/processing_endpoints_unifis_api.rb +158 -0
- data/lib/factpulse/api/sant_api.rb +1 -58
- data/lib/factpulse/api/signature_lectronique_api.rb +333 -0
- data/lib/factpulse/api/traitement_facture_api.rb +5 -5
- data/lib/factpulse/api/utilisateur_api.rb +1 -1
- data/lib/factpulse/api_client.rb +3 -7
- data/lib/factpulse/api_error.rb +1 -1
- data/lib/factpulse/api_model_base.rb +1 -1
- data/lib/factpulse/configuration.rb +1 -1
- data/lib/factpulse/models/adresse_electronique.rb +1 -1
- data/lib/factpulse/models/adresse_postale.rb +1 -1
- 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/{api_error.rb → body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post.rb} +44 -47
- data/lib/factpulse/models/{note.rb → body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post.rb} +55 -28
- 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 +1 -1
- data/lib/factpulse/models/categorie_tva.rb +11 -11
- data/lib/factpulse/models/certificate_info_response.rb +1 -1
- data/lib/factpulse/models/chorus_pro_credentials.rb +1 -1
- data/lib/factpulse/models/code_cadre_facturation.rb +1 -1
- data/lib/factpulse/models/code_raison_reduction.rb +9 -9
- data/lib/factpulse/models/consulter_facture_request.rb +1 -1
- data/lib/factpulse/models/consulter_facture_response.rb +1 -1
- data/lib/factpulse/models/consulter_structure_request.rb +1 -1
- data/lib/factpulse/models/consulter_structure_response.rb +1 -1
- data/lib/factpulse/models/credentials_afnor.rb +1 -1
- data/lib/factpulse/models/credentials_chorus_pro.rb +1 -1
- data/lib/factpulse/models/destinataire.rb +2 -22
- data/lib/factpulse/models/destination.rb +1 -1
- data/lib/factpulse/models/destination_afnor.rb +1 -1
- data/lib/factpulse/models/destination_chorus_pro.rb +1 -1
- data/lib/factpulse/models/{statut_celery.rb → direction_flux.rb} +7 -10
- data/lib/factpulse/models/donnees_facture_simplifiees.rb +1 -1
- data/lib/factpulse/models/facture_enrichie_info_input.rb +315 -0
- data/lib/factpulse/models/{facture_enrichie_info.rb → facture_enrichie_info_output.rb} +4 -4
- data/lib/factpulse/models/facture_factur_x.rb +2 -13
- data/lib/factpulse/models/flux_resume.rb +251 -0
- data/lib/factpulse/models/format_sortie.rb +1 -1
- data/lib/factpulse/models/fournisseur.rb +2 -12
- data/lib/factpulse/models/generate_certificate_request.rb +1 -1
- data/lib/factpulse/models/generate_certificate_response.rb +1 -1
- data/lib/factpulse/models/http_validation_error.rb +1 -1
- data/lib/factpulse/models/information_signature_api.rb +1 -1
- data/lib/factpulse/models/ligne_de_poste.rb +4 -3
- data/lib/factpulse/models/ligne_de_poste_montant_remise_ht.rb +2 -2
- data/lib/factpulse/models/{montant_total_ligne_ht.rb → ligne_de_poste_montant_total_ligne_ht.rb} +3 -3
- data/lib/factpulse/models/ligne_de_poste_taux_tva_manuel.rb +2 -2
- data/lib/factpulse/models/ligne_de_tva.rb +3 -3
- data/lib/factpulse/models/mode_depot.rb +1 -1
- data/lib/factpulse/models/mode_paiement.rb +1 -1
- data/lib/factpulse/models/montant_ht_total.rb +1 -2
- data/lib/factpulse/models/montant_total.rb +7 -6
- data/lib/factpulse/models/montant_total_acompte.rb +2 -2
- data/lib/factpulse/models/{montant_a_payer.rb → montant_total_montant_remise_globale_ttc.rb} +3 -3
- data/lib/factpulse/models/montant_ttc_total.rb +1 -2
- data/lib/factpulse/models/montant_tva.rb +1 -2
- data/lib/factpulse/models/{montant_tva_total.rb → montantapayer.rb} +3 -3
- data/lib/factpulse/models/{montant_tva_ligne.rb → montantbaseht.rb} +3 -3
- 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/{montant_unitaire_ht.rb → montantunitaireht.rb} +2 -2
- data/lib/factpulse/models/obtenir_id_chorus_pro_request.rb +1 -1
- data/lib/factpulse/models/obtenir_id_chorus_pro_response.rb +1 -1
- data/lib/factpulse/models/options_processing.rb +16 -2
- data/lib/factpulse/models/parametres_signature.rb +1 -1
- data/lib/factpulse/models/parametres_structure.rb +1 -1
- data/lib/factpulse/models/pdf_factur_x_info.rb +1 -1
- data/lib/factpulse/models/pdp_credentials.rb +247 -0
- data/lib/factpulse/models/piece_jointe_complementaire.rb +1 -1
- data/lib/factpulse/models/profil_api.rb +1 -1
- data/lib/factpulse/models/profil_flux.rb +41 -0
- data/lib/factpulse/models/quantite.rb +1 -1
- data/lib/factpulse/models/quota_info.rb +269 -0
- data/lib/factpulse/models/rechercher_services_response.rb +1 -1
- data/lib/factpulse/models/rechercher_structure_request.rb +1 -1
- data/lib/factpulse/models/rechercher_structure_response.rb +1 -1
- data/lib/factpulse/models/references.rb +1 -1
- 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 +1 -1
- data/lib/factpulse/models/reponse_validation_erreur.rb +1 -1
- data/lib/factpulse/models/reponse_validation_succes.rb +1 -1
- data/lib/factpulse/models/requete_recherche_flux.rb +306 -0
- data/lib/factpulse/models/{validation_error_detail.rb → requete_soumission_flux.rb} +61 -68
- data/lib/factpulse/models/resultat_afnor.rb +1 -1
- data/lib/factpulse/models/resultat_chorus_pro.rb +1 -1
- data/lib/factpulse/models/resultat_validation_pdfapi.rb +1 -1
- data/lib/factpulse/models/scheme_id.rb +7 -7
- data/lib/factpulse/models/service_structure.rb +1 -1
- data/lib/factpulse/models/signature_info.rb +1 -1
- data/lib/factpulse/models/soumettre_facture_complete_request.rb +1 -1
- data/lib/factpulse/models/soumettre_facture_complete_response.rb +2 -2
- data/lib/factpulse/models/soumettre_facture_request.rb +7 -4
- data/lib/factpulse/models/soumettre_facture_response.rb +1 -1
- data/lib/factpulse/models/{error_level.rb → statut_acquittement.rb} +7 -6
- data/lib/factpulse/models/statut_facture.rb +1 -1
- data/lib/factpulse/models/statut_tache.rb +5 -30
- data/lib/factpulse/models/structure_info.rb +1 -1
- data/lib/factpulse/models/{error_source.rb → syntaxe_flux.rb} +10 -13
- data/lib/factpulse/models/tauxmanuel.rb +2 -2
- data/lib/factpulse/models/type_facture.rb +1 -1
- data/lib/factpulse/models/type_flux.rb +43 -0
- data/lib/factpulse/models/type_tva.rb +1 -1
- data/lib/factpulse/models/unite.rb +1 -1
- data/lib/factpulse/models/utilisateur.rb +328 -0
- data/lib/factpulse/models/validation_error.rb +1 -1
- data/lib/factpulse/models/validation_error_loc_inner.rb +1 -1
- data/lib/factpulse/version.rb +2 -2
- data/lib/factpulse.rb +39 -15
- metadata +79 -42
- data/docs/APIError.md +0 -22
- data/docs/MontantRemiseGlobaleTtc.md +0 -15
- data/docs/MontantTotalLigneHt.md +0 -15
- data/docs/MontantTvaLigne.md +0 -15
- data/docs/MontantTvaTotal.md +0 -15
- data/docs/MontantUnitaireHt.md +0 -15
- data/docs/Note.md +0 -20
- data/docs/ValidationErrorDetail.md +0 -26
- data/lib/factpulse/helpers/client.rb +0 -300
- data/lib/factpulse/helpers/exceptions.rb +0 -21
- data/lib/factpulse/helpers.rb +0 -13
- data/lib/factpulse/models/montant_base_ht.rb +0 -104
- data/lib/factpulse/models/montant_remise_globale_ttc.rb +0 -104
data/docs/ChorusProApi.md
CHANGED
|
@@ -24,7 +24,7 @@ All URIs are relative to *http://localhost*
|
|
|
24
24
|
|
|
25
25
|
## ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post
|
|
26
26
|
|
|
27
|
-
> Object ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post(
|
|
27
|
+
> Object ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post(body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post)
|
|
28
28
|
|
|
29
29
|
Ajouter une pièce jointe
|
|
30
30
|
|
|
@@ -42,11 +42,11 @@ FactPulse.configure do |config|
|
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
api_instance = FactPulse::ChorusProApi.new
|
|
45
|
-
|
|
45
|
+
body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post = FactPulse::BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost.new({payload: { key: 3.56}, user_info: FactPulse::Utilisateur.new({id: 37, username: 'username_example', email: 'email_example', is_active: false})}) # BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost |
|
|
46
46
|
|
|
47
47
|
begin
|
|
48
48
|
# Ajouter une pièce jointe
|
|
49
|
-
result = api_instance.ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post(
|
|
49
|
+
result = api_instance.ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post(body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post)
|
|
50
50
|
p result
|
|
51
51
|
rescue FactPulse::ApiError => e
|
|
52
52
|
puts "Error when calling ChorusProApi->ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post: #{e}"
|
|
@@ -57,12 +57,12 @@ end
|
|
|
57
57
|
|
|
58
58
|
This returns an Array which contains the response data, status code and headers.
|
|
59
59
|
|
|
60
|
-
> <Array(Object, Integer, Hash)> ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post_with_http_info(
|
|
60
|
+
> <Array(Object, Integer, Hash)> ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post_with_http_info(body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post)
|
|
61
61
|
|
|
62
62
|
```ruby
|
|
63
63
|
begin
|
|
64
64
|
# Ajouter une pièce jointe
|
|
65
|
-
data, status_code, headers = api_instance.ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post_with_http_info(
|
|
65
|
+
data, status_code, headers = api_instance.ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post_with_http_info(body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post)
|
|
66
66
|
p status_code # => 2xx
|
|
67
67
|
p headers # => { ... }
|
|
68
68
|
p data # => Object
|
|
@@ -75,7 +75,7 @@ end
|
|
|
75
75
|
|
|
76
76
|
| Name | Type | Description | Notes |
|
|
77
77
|
| ---- | ---- | ----------- | ----- |
|
|
78
|
-
| **
|
|
78
|
+
| **body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post** | [**BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost**](BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost.md) | | |
|
|
79
79
|
|
|
80
80
|
### Return type
|
|
81
81
|
|
|
@@ -93,7 +93,7 @@ end
|
|
|
93
93
|
|
|
94
94
|
## completer_facture_api_v1_chorus_pro_factures_completer_post
|
|
95
95
|
|
|
96
|
-
> Object completer_facture_api_v1_chorus_pro_factures_completer_post(
|
|
96
|
+
> Object completer_facture_api_v1_chorus_pro_factures_completer_post(body_completer_facture_api_v1_chorus_pro_factures_completer_post)
|
|
97
97
|
|
|
98
98
|
Compléter une facture suspendue (Fournisseur)
|
|
99
99
|
|
|
@@ -111,11 +111,11 @@ FactPulse.configure do |config|
|
|
|
111
111
|
end
|
|
112
112
|
|
|
113
113
|
api_instance = FactPulse::ChorusProApi.new
|
|
114
|
-
|
|
114
|
+
body_completer_facture_api_v1_chorus_pro_factures_completer_post = FactPulse::BodyCompleterFactureApiV1ChorusProFacturesCompleterPost.new({payload: { key: 3.56}, user_info: FactPulse::Utilisateur.new({id: 37, username: 'username_example', email: 'email_example', is_active: false})}) # BodyCompleterFactureApiV1ChorusProFacturesCompleterPost |
|
|
115
115
|
|
|
116
116
|
begin
|
|
117
117
|
# Compléter une facture suspendue (Fournisseur)
|
|
118
|
-
result = api_instance.completer_facture_api_v1_chorus_pro_factures_completer_post(
|
|
118
|
+
result = api_instance.completer_facture_api_v1_chorus_pro_factures_completer_post(body_completer_facture_api_v1_chorus_pro_factures_completer_post)
|
|
119
119
|
p result
|
|
120
120
|
rescue FactPulse::ApiError => e
|
|
121
121
|
puts "Error when calling ChorusProApi->completer_facture_api_v1_chorus_pro_factures_completer_post: #{e}"
|
|
@@ -126,12 +126,12 @@ end
|
|
|
126
126
|
|
|
127
127
|
This returns an Array which contains the response data, status code and headers.
|
|
128
128
|
|
|
129
|
-
> <Array(Object, Integer, Hash)> completer_facture_api_v1_chorus_pro_factures_completer_post_with_http_info(
|
|
129
|
+
> <Array(Object, Integer, Hash)> completer_facture_api_v1_chorus_pro_factures_completer_post_with_http_info(body_completer_facture_api_v1_chorus_pro_factures_completer_post)
|
|
130
130
|
|
|
131
131
|
```ruby
|
|
132
132
|
begin
|
|
133
133
|
# Compléter une facture suspendue (Fournisseur)
|
|
134
|
-
data, status_code, headers = api_instance.completer_facture_api_v1_chorus_pro_factures_completer_post_with_http_info(
|
|
134
|
+
data, status_code, headers = api_instance.completer_facture_api_v1_chorus_pro_factures_completer_post_with_http_info(body_completer_facture_api_v1_chorus_pro_factures_completer_post)
|
|
135
135
|
p status_code # => 2xx
|
|
136
136
|
p headers # => { ... }
|
|
137
137
|
p data # => Object
|
|
@@ -144,7 +144,7 @@ end
|
|
|
144
144
|
|
|
145
145
|
| Name | Type | Description | Notes |
|
|
146
146
|
| ---- | ---- | ----------- | ----- |
|
|
147
|
-
| **
|
|
147
|
+
| **body_completer_facture_api_v1_chorus_pro_factures_completer_post** | [**BodyCompleterFactureApiV1ChorusProFacturesCompleterPost**](BodyCompleterFactureApiV1ChorusProFacturesCompleterPost.md) | | |
|
|
148
148
|
|
|
149
149
|
### Return type
|
|
150
150
|
|
|
@@ -300,7 +300,7 @@ end
|
|
|
300
300
|
|
|
301
301
|
## lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get
|
|
302
302
|
|
|
303
|
-
> <RechercherServicesResponse> lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get(id_structure_cpp)
|
|
303
|
+
> <RechercherServicesResponse> lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get(id_structure_cpp, body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get)
|
|
304
304
|
|
|
305
305
|
Lister les services d'une structure
|
|
306
306
|
|
|
@@ -319,10 +319,11 @@ end
|
|
|
319
319
|
|
|
320
320
|
api_instance = FactPulse::ChorusProApi.new
|
|
321
321
|
id_structure_cpp = 56 # Integer |
|
|
322
|
+
body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get = FactPulse::BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet.new({user_info: FactPulse::Utilisateur.new({id: 37, username: 'username_example', email: 'email_example', is_active: false})}) # BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet |
|
|
322
323
|
|
|
323
324
|
begin
|
|
324
325
|
# Lister les services d'une structure
|
|
325
|
-
result = api_instance.lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get(id_structure_cpp)
|
|
326
|
+
result = api_instance.lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get(id_structure_cpp, body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get)
|
|
326
327
|
p result
|
|
327
328
|
rescue FactPulse::ApiError => e
|
|
328
329
|
puts "Error when calling ChorusProApi->lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get: #{e}"
|
|
@@ -333,12 +334,12 @@ end
|
|
|
333
334
|
|
|
334
335
|
This returns an Array which contains the response data, status code and headers.
|
|
335
336
|
|
|
336
|
-
> <Array(<RechercherServicesResponse>, Integer, Hash)> lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get_with_http_info(id_structure_cpp)
|
|
337
|
+
> <Array(<RechercherServicesResponse>, Integer, Hash)> lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get_with_http_info(id_structure_cpp, body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get)
|
|
337
338
|
|
|
338
339
|
```ruby
|
|
339
340
|
begin
|
|
340
341
|
# Lister les services d'une structure
|
|
341
|
-
data, status_code, headers = api_instance.lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get_with_http_info(id_structure_cpp)
|
|
342
|
+
data, status_code, headers = api_instance.lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get_with_http_info(id_structure_cpp, body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get)
|
|
342
343
|
p status_code # => 2xx
|
|
343
344
|
p headers # => { ... }
|
|
344
345
|
p data # => <RechercherServicesResponse>
|
|
@@ -352,6 +353,7 @@ end
|
|
|
352
353
|
| Name | Type | Description | Notes |
|
|
353
354
|
| ---- | ---- | ----------- | ----- |
|
|
354
355
|
| **id_structure_cpp** | **Integer** | | |
|
|
356
|
+
| **body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get** | [**BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet**](BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet.md) | | |
|
|
355
357
|
|
|
356
358
|
### Return type
|
|
357
359
|
|
|
@@ -363,7 +365,7 @@ end
|
|
|
363
365
|
|
|
364
366
|
### HTTP request headers
|
|
365
367
|
|
|
366
|
-
- **Content-Type**:
|
|
368
|
+
- **Content-Type**: application/json
|
|
367
369
|
- **Accept**: application/json
|
|
368
370
|
|
|
369
371
|
|
|
@@ -438,7 +440,7 @@ end
|
|
|
438
440
|
|
|
439
441
|
## rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post
|
|
440
442
|
|
|
441
|
-
> Object rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post(
|
|
443
|
+
> Object rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post(body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post)
|
|
442
444
|
|
|
443
445
|
Rechercher factures reçues (Destinataire)
|
|
444
446
|
|
|
@@ -456,11 +458,11 @@ FactPulse.configure do |config|
|
|
|
456
458
|
end
|
|
457
459
|
|
|
458
460
|
api_instance = FactPulse::ChorusProApi.new
|
|
459
|
-
|
|
461
|
+
body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post = FactPulse::BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost.new({payload: { key: 3.56}, user_info: FactPulse::Utilisateur.new({id: 37, username: 'username_example', email: 'email_example', is_active: false})}) # BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost |
|
|
460
462
|
|
|
461
463
|
begin
|
|
462
464
|
# Rechercher factures reçues (Destinataire)
|
|
463
|
-
result = api_instance.rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post(
|
|
465
|
+
result = api_instance.rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post(body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post)
|
|
464
466
|
p result
|
|
465
467
|
rescue FactPulse::ApiError => e
|
|
466
468
|
puts "Error when calling ChorusProApi->rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post: #{e}"
|
|
@@ -471,12 +473,12 @@ end
|
|
|
471
473
|
|
|
472
474
|
This returns an Array which contains the response data, status code and headers.
|
|
473
475
|
|
|
474
|
-
> <Array(Object, Integer, Hash)> rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post_with_http_info(
|
|
476
|
+
> <Array(Object, Integer, Hash)> rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post_with_http_info(body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post)
|
|
475
477
|
|
|
476
478
|
```ruby
|
|
477
479
|
begin
|
|
478
480
|
# Rechercher factures reçues (Destinataire)
|
|
479
|
-
data, status_code, headers = api_instance.rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post_with_http_info(
|
|
481
|
+
data, status_code, headers = api_instance.rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post_with_http_info(body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post)
|
|
480
482
|
p status_code # => 2xx
|
|
481
483
|
p headers # => { ... }
|
|
482
484
|
p data # => Object
|
|
@@ -489,7 +491,7 @@ end
|
|
|
489
491
|
|
|
490
492
|
| Name | Type | Description | Notes |
|
|
491
493
|
| ---- | ---- | ----------- | ----- |
|
|
492
|
-
| **
|
|
494
|
+
| **body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post** | [**BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost**](BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost.md) | | |
|
|
493
495
|
|
|
494
496
|
### Return type
|
|
495
497
|
|
|
@@ -507,7 +509,7 @@ end
|
|
|
507
509
|
|
|
508
510
|
## rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post
|
|
509
511
|
|
|
510
|
-
> Object rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post(
|
|
512
|
+
> Object rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post(body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post)
|
|
511
513
|
|
|
512
514
|
Rechercher factures émises (Fournisseur)
|
|
513
515
|
|
|
@@ -525,11 +527,11 @@ FactPulse.configure do |config|
|
|
|
525
527
|
end
|
|
526
528
|
|
|
527
529
|
api_instance = FactPulse::ChorusProApi.new
|
|
528
|
-
|
|
530
|
+
body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post = FactPulse::BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost.new({payload: { key: 3.56}, user_info: FactPulse::Utilisateur.new({id: 37, username: 'username_example', email: 'email_example', is_active: false})}) # BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost |
|
|
529
531
|
|
|
530
532
|
begin
|
|
531
533
|
# Rechercher factures émises (Fournisseur)
|
|
532
|
-
result = api_instance.rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post(
|
|
534
|
+
result = api_instance.rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post(body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post)
|
|
533
535
|
p result
|
|
534
536
|
rescue FactPulse::ApiError => e
|
|
535
537
|
puts "Error when calling ChorusProApi->rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post: #{e}"
|
|
@@ -540,12 +542,12 @@ end
|
|
|
540
542
|
|
|
541
543
|
This returns an Array which contains the response data, status code and headers.
|
|
542
544
|
|
|
543
|
-
> <Array(Object, Integer, Hash)> rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post_with_http_info(
|
|
545
|
+
> <Array(Object, Integer, Hash)> rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post_with_http_info(body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post)
|
|
544
546
|
|
|
545
547
|
```ruby
|
|
546
548
|
begin
|
|
547
549
|
# Rechercher factures émises (Fournisseur)
|
|
548
|
-
data, status_code, headers = api_instance.rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post_with_http_info(
|
|
550
|
+
data, status_code, headers = api_instance.rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post_with_http_info(body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post)
|
|
549
551
|
p status_code # => 2xx
|
|
550
552
|
p headers # => { ... }
|
|
551
553
|
p data # => Object
|
|
@@ -558,7 +560,7 @@ end
|
|
|
558
560
|
|
|
559
561
|
| Name | Type | Description | Notes |
|
|
560
562
|
| ---- | ---- | ----------- | ----- |
|
|
561
|
-
| **
|
|
563
|
+
| **body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post** | [**BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost**](BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost.md) | | |
|
|
562
564
|
|
|
563
565
|
### Return type
|
|
564
566
|
|
|
@@ -645,7 +647,7 @@ end
|
|
|
645
647
|
|
|
646
648
|
## recycler_facture_api_v1_chorus_pro_factures_recycler_post
|
|
647
649
|
|
|
648
|
-
> Object recycler_facture_api_v1_chorus_pro_factures_recycler_post(
|
|
650
|
+
> Object recycler_facture_api_v1_chorus_pro_factures_recycler_post(body_recycler_facture_api_v1_chorus_pro_factures_recycler_post)
|
|
649
651
|
|
|
650
652
|
Recycler une facture (Fournisseur)
|
|
651
653
|
|
|
@@ -663,11 +665,11 @@ FactPulse.configure do |config|
|
|
|
663
665
|
end
|
|
664
666
|
|
|
665
667
|
api_instance = FactPulse::ChorusProApi.new
|
|
666
|
-
|
|
668
|
+
body_recycler_facture_api_v1_chorus_pro_factures_recycler_post = FactPulse::BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost.new({payload: { key: 3.56}, user_info: FactPulse::Utilisateur.new({id: 37, username: 'username_example', email: 'email_example', is_active: false})}) # BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost |
|
|
667
669
|
|
|
668
670
|
begin
|
|
669
671
|
# Recycler une facture (Fournisseur)
|
|
670
|
-
result = api_instance.recycler_facture_api_v1_chorus_pro_factures_recycler_post(
|
|
672
|
+
result = api_instance.recycler_facture_api_v1_chorus_pro_factures_recycler_post(body_recycler_facture_api_v1_chorus_pro_factures_recycler_post)
|
|
671
673
|
p result
|
|
672
674
|
rescue FactPulse::ApiError => e
|
|
673
675
|
puts "Error when calling ChorusProApi->recycler_facture_api_v1_chorus_pro_factures_recycler_post: #{e}"
|
|
@@ -678,12 +680,12 @@ end
|
|
|
678
680
|
|
|
679
681
|
This returns an Array which contains the response data, status code and headers.
|
|
680
682
|
|
|
681
|
-
> <Array(Object, Integer, Hash)> recycler_facture_api_v1_chorus_pro_factures_recycler_post_with_http_info(
|
|
683
|
+
> <Array(Object, Integer, Hash)> recycler_facture_api_v1_chorus_pro_factures_recycler_post_with_http_info(body_recycler_facture_api_v1_chorus_pro_factures_recycler_post)
|
|
682
684
|
|
|
683
685
|
```ruby
|
|
684
686
|
begin
|
|
685
687
|
# Recycler une facture (Fournisseur)
|
|
686
|
-
data, status_code, headers = api_instance.recycler_facture_api_v1_chorus_pro_factures_recycler_post_with_http_info(
|
|
688
|
+
data, status_code, headers = api_instance.recycler_facture_api_v1_chorus_pro_factures_recycler_post_with_http_info(body_recycler_facture_api_v1_chorus_pro_factures_recycler_post)
|
|
687
689
|
p status_code # => 2xx
|
|
688
690
|
p headers # => { ... }
|
|
689
691
|
p data # => Object
|
|
@@ -696,7 +698,7 @@ end
|
|
|
696
698
|
|
|
697
699
|
| Name | Type | Description | Notes |
|
|
698
700
|
| ---- | ---- | ----------- | ----- |
|
|
699
|
-
| **
|
|
701
|
+
| **body_recycler_facture_api_v1_chorus_pro_factures_recycler_post** | [**BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost**](BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost.md) | | |
|
|
700
702
|
|
|
701
703
|
### Return type
|
|
702
704
|
|
|
@@ -732,7 +734,7 @@ FactPulse.configure do |config|
|
|
|
732
734
|
end
|
|
733
735
|
|
|
734
736
|
api_instance = FactPulse::ChorusProApi.new
|
|
735
|
-
soumettre_facture_request = FactPulse::SoumettreFactureRequest.new({numero_facture: 'numero_facture_example', date_facture: 'date_facture_example', id_structure_cpp: 37, montant_ht_total:
|
|
737
|
+
soumettre_facture_request = FactPulse::SoumettreFactureRequest.new({numero_facture: 'numero_facture_example', date_facture: 'date_facture_example', id_structure_cpp: 37, montant_ht_total: 'montant_ht_total_example', montant_tva: 'montant_tva_example', montant_ttc_total: 'montant_ttc_total_example'}) # SoumettreFactureRequest |
|
|
736
738
|
|
|
737
739
|
begin
|
|
738
740
|
# Soumettre une facture à Chorus Pro
|
|
@@ -783,7 +785,7 @@ end
|
|
|
783
785
|
|
|
784
786
|
## telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post
|
|
785
787
|
|
|
786
|
-
> Object telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post(
|
|
788
|
+
> Object telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post(body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post)
|
|
787
789
|
|
|
788
790
|
Télécharger un groupe de factures
|
|
789
791
|
|
|
@@ -801,11 +803,11 @@ FactPulse.configure do |config|
|
|
|
801
803
|
end
|
|
802
804
|
|
|
803
805
|
api_instance = FactPulse::ChorusProApi.new
|
|
804
|
-
|
|
806
|
+
body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post = FactPulse::BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost.new({payload: { key: 3.56}, user_info: FactPulse::Utilisateur.new({id: 37, username: 'username_example', email: 'email_example', is_active: false})}) # BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost |
|
|
805
807
|
|
|
806
808
|
begin
|
|
807
809
|
# Télécharger un groupe de factures
|
|
808
|
-
result = api_instance.telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post(
|
|
810
|
+
result = api_instance.telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post(body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post)
|
|
809
811
|
p result
|
|
810
812
|
rescue FactPulse::ApiError => e
|
|
811
813
|
puts "Error when calling ChorusProApi->telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post: #{e}"
|
|
@@ -816,12 +818,12 @@ end
|
|
|
816
818
|
|
|
817
819
|
This returns an Array which contains the response data, status code and headers.
|
|
818
820
|
|
|
819
|
-
> <Array(Object, Integer, Hash)> telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post_with_http_info(
|
|
821
|
+
> <Array(Object, Integer, Hash)> telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post_with_http_info(body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post)
|
|
820
822
|
|
|
821
823
|
```ruby
|
|
822
824
|
begin
|
|
823
825
|
# Télécharger un groupe de factures
|
|
824
|
-
data, status_code, headers = api_instance.telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post_with_http_info(
|
|
826
|
+
data, status_code, headers = api_instance.telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post_with_http_info(body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post)
|
|
825
827
|
p status_code # => 2xx
|
|
826
828
|
p headers # => { ... }
|
|
827
829
|
p data # => Object
|
|
@@ -834,7 +836,7 @@ end
|
|
|
834
836
|
|
|
835
837
|
| Name | Type | Description | Notes |
|
|
836
838
|
| ---- | ---- | ----------- | ----- |
|
|
837
|
-
| **
|
|
839
|
+
| **body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post** | [**BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost**](BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost.md) | | |
|
|
838
840
|
|
|
839
841
|
### Return type
|
|
840
842
|
|
|
@@ -852,7 +854,7 @@ end
|
|
|
852
854
|
|
|
853
855
|
## traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post
|
|
854
856
|
|
|
855
|
-
> Object traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post(
|
|
857
|
+
> Object traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post(body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post)
|
|
856
858
|
|
|
857
859
|
Traiter une facture reçue (Destinataire)
|
|
858
860
|
|
|
@@ -870,11 +872,11 @@ FactPulse.configure do |config|
|
|
|
870
872
|
end
|
|
871
873
|
|
|
872
874
|
api_instance = FactPulse::ChorusProApi.new
|
|
873
|
-
|
|
875
|
+
body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post = FactPulse::BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost.new({payload: { key: 3.56}, user_info: FactPulse::Utilisateur.new({id: 37, username: 'username_example', email: 'email_example', is_active: false})}) # BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost |
|
|
874
876
|
|
|
875
877
|
begin
|
|
876
878
|
# Traiter une facture reçue (Destinataire)
|
|
877
|
-
result = api_instance.traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post(
|
|
879
|
+
result = api_instance.traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post(body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post)
|
|
878
880
|
p result
|
|
879
881
|
rescue FactPulse::ApiError => e
|
|
880
882
|
puts "Error when calling ChorusProApi->traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post: #{e}"
|
|
@@ -885,12 +887,12 @@ end
|
|
|
885
887
|
|
|
886
888
|
This returns an Array which contains the response data, status code and headers.
|
|
887
889
|
|
|
888
|
-
> <Array(Object, Integer, Hash)> traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post_with_http_info(
|
|
890
|
+
> <Array(Object, Integer, Hash)> traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post_with_http_info(body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post)
|
|
889
891
|
|
|
890
892
|
```ruby
|
|
891
893
|
begin
|
|
892
894
|
# Traiter une facture reçue (Destinataire)
|
|
893
|
-
data, status_code, headers = api_instance.traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post_with_http_info(
|
|
895
|
+
data, status_code, headers = api_instance.traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post_with_http_info(body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post)
|
|
894
896
|
p status_code # => 2xx
|
|
895
897
|
p headers # => { ... }
|
|
896
898
|
p data # => Object
|
|
@@ -903,7 +905,7 @@ end
|
|
|
903
905
|
|
|
904
906
|
| Name | Type | Description | Notes |
|
|
905
907
|
| ---- | ---- | ----------- | ----- |
|
|
906
|
-
| **
|
|
908
|
+
| **body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post** | [**BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost**](BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost.md) | | |
|
|
907
909
|
|
|
908
910
|
### Return type
|
|
909
911
|
|
|
@@ -921,10 +923,12 @@ end
|
|
|
921
923
|
|
|
922
924
|
## valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post
|
|
923
925
|
|
|
924
|
-
> Object valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post(
|
|
926
|
+
> Object valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post(body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post)
|
|
925
927
|
|
|
926
928
|
Consulter une facture (Valideur)
|
|
927
929
|
|
|
930
|
+
Consulte facture (valideur).
|
|
931
|
+
|
|
928
932
|
### Examples
|
|
929
933
|
|
|
930
934
|
```ruby
|
|
@@ -937,11 +941,11 @@ FactPulse.configure do |config|
|
|
|
937
941
|
end
|
|
938
942
|
|
|
939
943
|
api_instance = FactPulse::ChorusProApi.new
|
|
940
|
-
|
|
944
|
+
body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post = FactPulse::BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost.new({payload: { key: 3.56}, user_info: FactPulse::Utilisateur.new({id: 37, username: 'username_example', email: 'email_example', is_active: false})}) # BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost |
|
|
941
945
|
|
|
942
946
|
begin
|
|
943
947
|
# Consulter une facture (Valideur)
|
|
944
|
-
result = api_instance.valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post(
|
|
948
|
+
result = api_instance.valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post(body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post)
|
|
945
949
|
p result
|
|
946
950
|
rescue FactPulse::ApiError => e
|
|
947
951
|
puts "Error when calling ChorusProApi->valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post: #{e}"
|
|
@@ -952,12 +956,12 @@ end
|
|
|
952
956
|
|
|
953
957
|
This returns an Array which contains the response data, status code and headers.
|
|
954
958
|
|
|
955
|
-
> <Array(Object, Integer, Hash)> valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post_with_http_info(
|
|
959
|
+
> <Array(Object, Integer, Hash)> valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post_with_http_info(body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post)
|
|
956
960
|
|
|
957
961
|
```ruby
|
|
958
962
|
begin
|
|
959
963
|
# Consulter une facture (Valideur)
|
|
960
|
-
data, status_code, headers = api_instance.valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post_with_http_info(
|
|
964
|
+
data, status_code, headers = api_instance.valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post_with_http_info(body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post)
|
|
961
965
|
p status_code # => 2xx
|
|
962
966
|
p headers # => { ... }
|
|
963
967
|
p data # => Object
|
|
@@ -970,7 +974,7 @@ end
|
|
|
970
974
|
|
|
971
975
|
| Name | Type | Description | Notes |
|
|
972
976
|
| ---- | ---- | ----------- | ----- |
|
|
973
|
-
| **
|
|
977
|
+
| **body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post** | [**BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost**](BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost.md) | | |
|
|
974
978
|
|
|
975
979
|
### Return type
|
|
976
980
|
|
|
@@ -988,7 +992,7 @@ end
|
|
|
988
992
|
|
|
989
993
|
## valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post
|
|
990
994
|
|
|
991
|
-
> Object valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post(
|
|
995
|
+
> Object valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post(body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post)
|
|
992
996
|
|
|
993
997
|
Rechercher factures à valider (Valideur)
|
|
994
998
|
|
|
@@ -1006,11 +1010,11 @@ FactPulse.configure do |config|
|
|
|
1006
1010
|
end
|
|
1007
1011
|
|
|
1008
1012
|
api_instance = FactPulse::ChorusProApi.new
|
|
1009
|
-
|
|
1013
|
+
body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post = FactPulse::BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost.new({payload: { key: 3.56}, user_info: FactPulse::Utilisateur.new({id: 37, username: 'username_example', email: 'email_example', is_active: false})}) # BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost |
|
|
1010
1014
|
|
|
1011
1015
|
begin
|
|
1012
1016
|
# Rechercher factures à valider (Valideur)
|
|
1013
|
-
result = api_instance.valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post(
|
|
1017
|
+
result = api_instance.valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post(body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post)
|
|
1014
1018
|
p result
|
|
1015
1019
|
rescue FactPulse::ApiError => e
|
|
1016
1020
|
puts "Error when calling ChorusProApi->valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post: #{e}"
|
|
@@ -1021,12 +1025,12 @@ end
|
|
|
1021
1025
|
|
|
1022
1026
|
This returns an Array which contains the response data, status code and headers.
|
|
1023
1027
|
|
|
1024
|
-
> <Array(Object, Integer, Hash)> valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post_with_http_info(
|
|
1028
|
+
> <Array(Object, Integer, Hash)> valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post_with_http_info(body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post)
|
|
1025
1029
|
|
|
1026
1030
|
```ruby
|
|
1027
1031
|
begin
|
|
1028
1032
|
# Rechercher factures à valider (Valideur)
|
|
1029
|
-
data, status_code, headers = api_instance.valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post_with_http_info(
|
|
1033
|
+
data, status_code, headers = api_instance.valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post_with_http_info(body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post)
|
|
1030
1034
|
p status_code # => 2xx
|
|
1031
1035
|
p headers # => { ... }
|
|
1032
1036
|
p data # => Object
|
|
@@ -1039,7 +1043,7 @@ end
|
|
|
1039
1043
|
|
|
1040
1044
|
| Name | Type | Description | Notes |
|
|
1041
1045
|
| ---- | ---- | ----------- | ----- |
|
|
1042
|
-
| **
|
|
1046
|
+
| **body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post** | [**BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost**](BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost.md) | | |
|
|
1043
1047
|
|
|
1044
1048
|
### Return type
|
|
1045
1049
|
|
|
@@ -1057,7 +1061,7 @@ end
|
|
|
1057
1061
|
|
|
1058
1062
|
## valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post
|
|
1059
1063
|
|
|
1060
|
-
> Object valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post(
|
|
1064
|
+
> Object valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post(body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post)
|
|
1061
1065
|
|
|
1062
1066
|
Valider ou refuser une facture (Valideur)
|
|
1063
1067
|
|
|
@@ -1075,11 +1079,11 @@ FactPulse.configure do |config|
|
|
|
1075
1079
|
end
|
|
1076
1080
|
|
|
1077
1081
|
api_instance = FactPulse::ChorusProApi.new
|
|
1078
|
-
|
|
1082
|
+
body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post = FactPulse::BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost.new({payload: { key: 3.56}, user_info: FactPulse::Utilisateur.new({id: 37, username: 'username_example', email: 'email_example', is_active: false})}) # BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost |
|
|
1079
1083
|
|
|
1080
1084
|
begin
|
|
1081
1085
|
# Valider ou refuser une facture (Valideur)
|
|
1082
|
-
result = api_instance.valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post(
|
|
1086
|
+
result = api_instance.valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post(body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post)
|
|
1083
1087
|
p result
|
|
1084
1088
|
rescue FactPulse::ApiError => e
|
|
1085
1089
|
puts "Error when calling ChorusProApi->valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post: #{e}"
|
|
@@ -1090,12 +1094,12 @@ end
|
|
|
1090
1094
|
|
|
1091
1095
|
This returns an Array which contains the response data, status code and headers.
|
|
1092
1096
|
|
|
1093
|
-
> <Array(Object, Integer, Hash)> valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post_with_http_info(
|
|
1097
|
+
> <Array(Object, Integer, Hash)> valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post_with_http_info(body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post)
|
|
1094
1098
|
|
|
1095
1099
|
```ruby
|
|
1096
1100
|
begin
|
|
1097
1101
|
# Valider ou refuser une facture (Valideur)
|
|
1098
|
-
data, status_code, headers = api_instance.valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post_with_http_info(
|
|
1102
|
+
data, status_code, headers = api_instance.valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post_with_http_info(body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post)
|
|
1099
1103
|
p status_code # => 2xx
|
|
1100
1104
|
p headers # => { ... }
|
|
1101
1105
|
p data # => Object
|
|
@@ -1108,7 +1112,7 @@ end
|
|
|
1108
1112
|
|
|
1109
1113
|
| Name | Type | Description | Notes |
|
|
1110
1114
|
| ---- | ---- | ----------- | ----- |
|
|
1111
|
-
| **
|
|
1115
|
+
| **body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post** | [**BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost**](BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost.md) | | |
|
|
1112
1116
|
|
|
1113
1117
|
### Return type
|
|
1114
1118
|
|
data/docs/Destinataire.md
CHANGED
|
@@ -7,8 +7,6 @@
|
|
|
7
7
|
| **adresse_electronique** | [**AdresseElectronique**](AdresseElectronique.md) | | |
|
|
8
8
|
| **code_service_executant** | **String** | | [optional] |
|
|
9
9
|
| **nom** | **String** | | [optional] |
|
|
10
|
-
| **siren** | **String** | | [optional] |
|
|
11
|
-
| **siret** | **String** | | [optional] |
|
|
12
10
|
| **adresse_postale** | [**AdressePostale**](AdressePostale.md) | | [optional] |
|
|
13
11
|
|
|
14
12
|
## Example
|
|
@@ -20,8 +18,6 @@ instance = FactPulse::Destinataire.new(
|
|
|
20
18
|
adresse_electronique: null,
|
|
21
19
|
code_service_executant: null,
|
|
22
20
|
nom: null,
|
|
23
|
-
siren: null,
|
|
24
|
-
siret: null,
|
|
25
21
|
adresse_postale: null
|
|
26
22
|
)
|
|
27
23
|
```
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# FactPulse::FactureEnrichieInfoInput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **numero_facture** | **String** | | |
|
|
8
|
+
| **id_emetteur** | **Integer** | | [optional] |
|
|
9
|
+
| **id_destinataire** | **Integer** | | [optional] |
|
|
10
|
+
| **nom_emetteur** | **String** | | |
|
|
11
|
+
| **nom_destinataire** | **String** | | |
|
|
12
|
+
| **montant_ht_total** | [**MontantHtTotal**](MontantHtTotal.md) | | |
|
|
13
|
+
| **montant_tva** | [**MontantTva**](MontantTva.md) | | |
|
|
14
|
+
| **montant_ttc_total** | [**MontantTtcTotal**](MontantTtcTotal.md) | | |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'factpulse'
|
|
20
|
+
|
|
21
|
+
instance = FactPulse::FactureEnrichieInfoInput.new(
|
|
22
|
+
numero_facture: null,
|
|
23
|
+
id_emetteur: null,
|
|
24
|
+
id_destinataire: null,
|
|
25
|
+
nom_emetteur: null,
|
|
26
|
+
nom_destinataire: null,
|
|
27
|
+
montant_ht_total: null,
|
|
28
|
+
montant_tva: null,
|
|
29
|
+
montant_ttc_total: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# FactPulse::
|
|
1
|
+
# FactPulse::FactureEnrichieInfoOutput
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
```ruby
|
|
19
19
|
require 'factpulse'
|
|
20
20
|
|
|
21
|
-
instance = FactPulse::
|
|
21
|
+
instance = FactPulse::FactureEnrichieInfoOutput.new(
|
|
22
22
|
numero_facture: null,
|
|
23
23
|
id_emetteur: null,
|
|
24
24
|
id_destinataire: null,
|
data/docs/FactureFacturX.md
CHANGED
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
| **montant_total** | [**MontantTotal**](MontantTotal.md) | | |
|
|
16
16
|
| **lignes_de_poste** | [**Array<LigneDePoste>**](LigneDePoste.md) | | [optional] |
|
|
17
17
|
| **lignes_de_tva** | [**Array<LigneDeTVA>**](LigneDeTVA.md) | | [optional] |
|
|
18
|
-
| **notes** | [**Array<Note>**](Note.md) | | [optional] |
|
|
19
18
|
| **commentaire** | **String** | | [optional] |
|
|
20
19
|
| **id_utilisateur_courant** | **Integer** | | [optional] |
|
|
21
20
|
| **pieces_jointes_complementaires** | [**Array<PieceJointeComplementaire>**](PieceJointeComplementaire.md) | | [optional] |
|
|
@@ -37,7 +36,6 @@ instance = FactPulse::FactureFacturX.new(
|
|
|
37
36
|
montant_total: null,
|
|
38
37
|
lignes_de_poste: null,
|
|
39
38
|
lignes_de_tva: null,
|
|
40
|
-
notes: null,
|
|
41
39
|
commentaire: null,
|
|
42
40
|
id_utilisateur_courant: null,
|
|
43
41
|
pieces_jointes_complementaires: null
|