factpulse 2.0.19 → 2.0.21
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/docs/ChorusProApi.md +65 -69
- data/docs/TraitementFactureApi.md +1 -1
- data/lib/factpulse/api/chorus_pro_api.rb +94 -107
- data/lib/factpulse/api/traitement_facture_api.rb +2 -2
- data/lib/factpulse/helpers/client.rb +66 -15
- data/lib/factpulse/version.rb +1 -1
- data/lib/factpulse.rb +0 -13
- metadata +2 -28
- data/docs/BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost.md +0 -22
- data/docs/BodyCompleterFactureApiV1ChorusProFacturesCompleterPost.md +0 -22
- data/docs/BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet.md +0 -20
- data/docs/BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost.md +0 -22
- data/docs/BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost.md +0 -22
- data/docs/BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost.md +0 -22
- data/docs/BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost.md +0 -22
- data/docs/BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost.md +0 -22
- data/docs/BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost.md +0 -22
- data/docs/BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost.md +0 -22
- data/docs/BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost.md +0 -22
- data/docs/QuotaInfo.md +0 -26
- data/docs/Utilisateur.md +0 -40
- data/lib/factpulse/models/body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post.rb +0 -202
- data/lib/factpulse/models/body_completer_facture_api_v1_chorus_pro_factures_completer_post.rb +0 -202
- data/lib/factpulse/models/body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get.rb +0 -174
- data/lib/factpulse/models/body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post.rb +0 -202
- data/lib/factpulse/models/body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post.rb +0 -202
- data/lib/factpulse/models/body_recycler_facture_api_v1_chorus_pro_factures_recycler_post.rb +0 -202
- data/lib/factpulse/models/body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post.rb +0 -202
- data/lib/factpulse/models/body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post.rb +0 -202
- data/lib/factpulse/models/body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post.rb +0 -202
- data/lib/factpulse/models/body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post.rb +0 -202
- data/lib/factpulse/models/body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post.rb +0 -202
- data/lib/factpulse/models/quota_info.rb +0 -269
- data/lib/factpulse/models/utilisateur.rb +0 -328
|
@@ -21,26 +21,26 @@ module FactPulse
|
|
|
21
21
|
end
|
|
22
22
|
# Ajouter une pièce jointe
|
|
23
23
|
# Ajoute une pièce jointe au compte utilisateur courant. **Taille max** : 10 Mo par fichier **Payload exemple** : ```json { \"pieceJointeFichier\": \"JVBERi0xLjQKJeLjz9MKNSAwIG9iago8P...\", \"pieceJointeNom\": \"bon_commande.pdf\", \"pieceJointeTypeMime\": \"application/pdf\", \"pieceJointeExtension\": \"PDF\" } ``` **Retour** : L'ID de la pièce jointe (`pieceJointeIdFichier`) à utiliser ensuite dans `/factures/completer`. **Extensions acceptées** : PDF, JPG, PNG, ZIP, XML, etc.
|
|
24
|
-
# @param
|
|
24
|
+
# @param request_body [Hash<String, Object>]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @return [Object]
|
|
27
|
-
def ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post(
|
|
28
|
-
data, _status_code, _headers = ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post_with_http_info(
|
|
27
|
+
def ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post(request_body, opts = {})
|
|
28
|
+
data, _status_code, _headers = ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post_with_http_info(request_body, opts)
|
|
29
29
|
data
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
# Ajouter une pièce jointe
|
|
33
33
|
# Ajoute une pièce jointe au compte utilisateur courant. **Taille max** : 10 Mo par fichier **Payload exemple** : ```json { \"pieceJointeFichier\": \"JVBERi0xLjQKJeLjz9MKNSAwIG9iago8P...\", \"pieceJointeNom\": \"bon_commande.pdf\", \"pieceJointeTypeMime\": \"application/pdf\", \"pieceJointeExtension\": \"PDF\" } ``` **Retour** : L'ID de la pièce jointe (`pieceJointeIdFichier`) à utiliser ensuite dans `/factures/completer`. **Extensions acceptées** : PDF, JPG, PNG, ZIP, XML, etc.
|
|
34
|
-
# @param
|
|
34
|
+
# @param request_body [Hash<String, Object>]
|
|
35
35
|
# @param [Hash] opts the optional parameters
|
|
36
36
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
37
|
-
def ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post_with_http_info(
|
|
37
|
+
def ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post_with_http_info(request_body, opts = {})
|
|
38
38
|
if @api_client.config.debugging
|
|
39
39
|
@api_client.config.logger.debug 'Calling API: ChorusProApi.ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post ...'
|
|
40
40
|
end
|
|
41
|
-
# verify the required parameter '
|
|
42
|
-
if @api_client.config.client_side_validation &&
|
|
43
|
-
fail ArgumentError, "Missing the required parameter '
|
|
41
|
+
# verify the required parameter 'request_body' is set
|
|
42
|
+
if @api_client.config.client_side_validation && request_body.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'request_body' when calling ChorusProApi.ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post"
|
|
44
44
|
end
|
|
45
45
|
# resource path
|
|
46
46
|
local_var_path = '/api/v1/chorus-pro/transverses/ajouter-fichier'
|
|
@@ -62,7 +62,7 @@ module FactPulse
|
|
|
62
62
|
form_params = opts[:form_params] || {}
|
|
63
63
|
|
|
64
64
|
# http body (model)
|
|
65
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
65
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(request_body)
|
|
66
66
|
|
|
67
67
|
# return_type
|
|
68
68
|
return_type = opts[:debug_return_type] || 'Object'
|
|
@@ -89,26 +89,26 @@ module FactPulse
|
|
|
89
89
|
|
|
90
90
|
# Compléter une facture suspendue (Fournisseur)
|
|
91
91
|
# Complète une facture au statut SUSPENDUE en ajoutant des pièces jointes ou un commentaire. **Statut requis** : SUSPENDUE **Actions possibles** : - Ajouter des pièces jointes (justificatifs, bons de commande, etc.) - Modifier le commentaire **Payload exemple** : ```json { \"identifiantFactureCPP\": 12345, \"commentaire\": \"Voici les justificatifs demandés\", \"listePiecesJointes\": [ { \"pieceJointeIdFichier\": 98765, \"pieceJointeNom\": \"bon_commande.pdf\" } ] } ``` **Note** : Les pièces jointes doivent d'abord être uploadées via `/transverses/ajouter-fichier`. **Après complétion** : La facture repasse au statut MISE_A_DISPOSITION.
|
|
92
|
-
# @param
|
|
92
|
+
# @param request_body [Hash<String, Object>]
|
|
93
93
|
# @param [Hash] opts the optional parameters
|
|
94
94
|
# @return [Object]
|
|
95
|
-
def completer_facture_api_v1_chorus_pro_factures_completer_post(
|
|
96
|
-
data, _status_code, _headers = completer_facture_api_v1_chorus_pro_factures_completer_post_with_http_info(
|
|
95
|
+
def completer_facture_api_v1_chorus_pro_factures_completer_post(request_body, opts = {})
|
|
96
|
+
data, _status_code, _headers = completer_facture_api_v1_chorus_pro_factures_completer_post_with_http_info(request_body, opts)
|
|
97
97
|
data
|
|
98
98
|
end
|
|
99
99
|
|
|
100
100
|
# Compléter une facture suspendue (Fournisseur)
|
|
101
101
|
# Complète une facture au statut SUSPENDUE en ajoutant des pièces jointes ou un commentaire. **Statut requis** : SUSPENDUE **Actions possibles** : - Ajouter des pièces jointes (justificatifs, bons de commande, etc.) - Modifier le commentaire **Payload exemple** : ```json { \"identifiantFactureCPP\": 12345, \"commentaire\": \"Voici les justificatifs demandés\", \"listePiecesJointes\": [ { \"pieceJointeIdFichier\": 98765, \"pieceJointeNom\": \"bon_commande.pdf\" } ] } ``` **Note** : Les pièces jointes doivent d'abord être uploadées via `/transverses/ajouter-fichier`. **Après complétion** : La facture repasse au statut MISE_A_DISPOSITION.
|
|
102
|
-
# @param
|
|
102
|
+
# @param request_body [Hash<String, Object>]
|
|
103
103
|
# @param [Hash] opts the optional parameters
|
|
104
104
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
105
|
-
def completer_facture_api_v1_chorus_pro_factures_completer_post_with_http_info(
|
|
105
|
+
def completer_facture_api_v1_chorus_pro_factures_completer_post_with_http_info(request_body, opts = {})
|
|
106
106
|
if @api_client.config.debugging
|
|
107
107
|
@api_client.config.logger.debug 'Calling API: ChorusProApi.completer_facture_api_v1_chorus_pro_factures_completer_post ...'
|
|
108
108
|
end
|
|
109
|
-
# verify the required parameter '
|
|
110
|
-
if @api_client.config.client_side_validation &&
|
|
111
|
-
fail ArgumentError, "Missing the required parameter '
|
|
109
|
+
# verify the required parameter 'request_body' is set
|
|
110
|
+
if @api_client.config.client_side_validation && request_body.nil?
|
|
111
|
+
fail ArgumentError, "Missing the required parameter 'request_body' when calling ChorusProApi.completer_facture_api_v1_chorus_pro_factures_completer_post"
|
|
112
112
|
end
|
|
113
113
|
# resource path
|
|
114
114
|
local_var_path = '/api/v1/chorus-pro/factures/completer'
|
|
@@ -130,7 +130,7 @@ module FactPulse
|
|
|
130
130
|
form_params = opts[:form_params] || {}
|
|
131
131
|
|
|
132
132
|
# http body (model)
|
|
133
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
133
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(request_body)
|
|
134
134
|
|
|
135
135
|
# return_type
|
|
136
136
|
return_type = opts[:debug_return_type] || 'Object'
|
|
@@ -294,21 +294,19 @@ module FactPulse
|
|
|
294
294
|
# Lister les services d'une structure
|
|
295
295
|
# Récupère la liste des services actifs d'une structure publique. **Cas d'usage** : - Lister les services disponibles pour une administration - Vérifier qu'un code service existe avant de soumettre une facture **Retour** : - Liste des services avec leur code, libellé et statut (actif/inactif)
|
|
296
296
|
# @param id_structure_cpp [Integer]
|
|
297
|
-
# @param body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get [BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet]
|
|
298
297
|
# @param [Hash] opts the optional parameters
|
|
299
298
|
# @return [RechercherServicesResponse]
|
|
300
|
-
def lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get(id_structure_cpp,
|
|
301
|
-
data, _status_code, _headers = lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get_with_http_info(id_structure_cpp,
|
|
299
|
+
def lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get(id_structure_cpp, opts = {})
|
|
300
|
+
data, _status_code, _headers = lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get_with_http_info(id_structure_cpp, opts)
|
|
302
301
|
data
|
|
303
302
|
end
|
|
304
303
|
|
|
305
304
|
# Lister les services d'une structure
|
|
306
305
|
# Récupère la liste des services actifs d'une structure publique. **Cas d'usage** : - Lister les services disponibles pour une administration - Vérifier qu'un code service existe avant de soumettre une facture **Retour** : - Liste des services avec leur code, libellé et statut (actif/inactif)
|
|
307
306
|
# @param id_structure_cpp [Integer]
|
|
308
|
-
# @param body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get [BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet]
|
|
309
307
|
# @param [Hash] opts the optional parameters
|
|
310
308
|
# @return [Array<(RechercherServicesResponse, Integer, Hash)>] RechercherServicesResponse data, response status code and response headers
|
|
311
|
-
def lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get_with_http_info(id_structure_cpp,
|
|
309
|
+
def lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get_with_http_info(id_structure_cpp, opts = {})
|
|
312
310
|
if @api_client.config.debugging
|
|
313
311
|
@api_client.config.logger.debug 'Calling API: ChorusProApi.lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get ...'
|
|
314
312
|
end
|
|
@@ -316,10 +314,6 @@ module FactPulse
|
|
|
316
314
|
if @api_client.config.client_side_validation && id_structure_cpp.nil?
|
|
317
315
|
fail ArgumentError, "Missing the required parameter 'id_structure_cpp' when calling ChorusProApi.lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get"
|
|
318
316
|
end
|
|
319
|
-
# verify the required parameter 'body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get' is set
|
|
320
|
-
if @api_client.config.client_side_validation && body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get.nil?
|
|
321
|
-
fail ArgumentError, "Missing the required parameter 'body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get' when calling ChorusProApi.lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get"
|
|
322
|
-
end
|
|
323
317
|
# resource path
|
|
324
318
|
local_var_path = '/api/v1/chorus-pro/structures/{id_structure_cpp}/services'.sub('{' + 'id_structure_cpp' + '}', CGI.escape(id_structure_cpp.to_s))
|
|
325
319
|
|
|
@@ -330,17 +324,12 @@ module FactPulse
|
|
|
330
324
|
header_params = opts[:header_params] || {}
|
|
331
325
|
# HTTP header 'Accept' (if needed)
|
|
332
326
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
333
|
-
# HTTP header 'Content-Type'
|
|
334
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
|
335
|
-
if !content_type.nil?
|
|
336
|
-
header_params['Content-Type'] = content_type
|
|
337
|
-
end
|
|
338
327
|
|
|
339
328
|
# form parameters
|
|
340
329
|
form_params = opts[:form_params] || {}
|
|
341
330
|
|
|
342
331
|
# http body (model)
|
|
343
|
-
post_body = opts[:debug_body]
|
|
332
|
+
post_body = opts[:debug_body]
|
|
344
333
|
|
|
345
334
|
# return_type
|
|
346
335
|
return_type = opts[:debug_return_type] || 'RechercherServicesResponse'
|
|
@@ -435,26 +424,26 @@ module FactPulse
|
|
|
435
424
|
|
|
436
425
|
# Rechercher factures reçues (Destinataire)
|
|
437
426
|
# Recherche les factures reçues par le destinataire connecté. **Filtres** : - Téléchargée / non téléchargée - Dates de réception - Statut (MISE_A_DISPOSITION, SUSPENDUE, etc.) - Fournisseur **Indicateur utile** : `factureTelechargeeParDestinataire` permet de savoir si la facture a déjà été téléchargée.
|
|
438
|
-
# @param
|
|
427
|
+
# @param request_body [Hash<String, Object>]
|
|
439
428
|
# @param [Hash] opts the optional parameters
|
|
440
429
|
# @return [Object]
|
|
441
|
-
def rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post(
|
|
442
|
-
data, _status_code, _headers = rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post_with_http_info(
|
|
430
|
+
def rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post(request_body, opts = {})
|
|
431
|
+
data, _status_code, _headers = rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post_with_http_info(request_body, opts)
|
|
443
432
|
data
|
|
444
433
|
end
|
|
445
434
|
|
|
446
435
|
# Rechercher factures reçues (Destinataire)
|
|
447
436
|
# Recherche les factures reçues par le destinataire connecté. **Filtres** : - Téléchargée / non téléchargée - Dates de réception - Statut (MISE_A_DISPOSITION, SUSPENDUE, etc.) - Fournisseur **Indicateur utile** : `factureTelechargeeParDestinataire` permet de savoir si la facture a déjà été téléchargée.
|
|
448
|
-
# @param
|
|
437
|
+
# @param request_body [Hash<String, Object>]
|
|
449
438
|
# @param [Hash] opts the optional parameters
|
|
450
439
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
451
|
-
def rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post_with_http_info(
|
|
440
|
+
def rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post_with_http_info(request_body, opts = {})
|
|
452
441
|
if @api_client.config.debugging
|
|
453
442
|
@api_client.config.logger.debug 'Calling API: ChorusProApi.rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post ...'
|
|
454
443
|
end
|
|
455
|
-
# verify the required parameter '
|
|
456
|
-
if @api_client.config.client_side_validation &&
|
|
457
|
-
fail ArgumentError, "Missing the required parameter '
|
|
444
|
+
# verify the required parameter 'request_body' is set
|
|
445
|
+
if @api_client.config.client_side_validation && request_body.nil?
|
|
446
|
+
fail ArgumentError, "Missing the required parameter 'request_body' when calling ChorusProApi.rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post"
|
|
458
447
|
end
|
|
459
448
|
# resource path
|
|
460
449
|
local_var_path = '/api/v1/chorus-pro/factures/rechercher-destinataire'
|
|
@@ -476,7 +465,7 @@ module FactPulse
|
|
|
476
465
|
form_params = opts[:form_params] || {}
|
|
477
466
|
|
|
478
467
|
# http body (model)
|
|
479
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
468
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(request_body)
|
|
480
469
|
|
|
481
470
|
# return_type
|
|
482
471
|
return_type = opts[:debug_return_type] || 'Object'
|
|
@@ -503,26 +492,26 @@ module FactPulse
|
|
|
503
492
|
|
|
504
493
|
# Rechercher factures émises (Fournisseur)
|
|
505
494
|
# Recherche les factures émises par le fournisseur connecté. **Filtres disponibles** : - Numéro de facture - Dates (début/fin) - Statut - Structure destinataire - Montant **Cas d'usage** : - Suivi des factures émises - Vérification des statuts - Export pour comptabilité
|
|
506
|
-
# @param
|
|
495
|
+
# @param request_body [Hash<String, Object>]
|
|
507
496
|
# @param [Hash] opts the optional parameters
|
|
508
497
|
# @return [Object]
|
|
509
|
-
def rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post(
|
|
510
|
-
data, _status_code, _headers = rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post_with_http_info(
|
|
498
|
+
def rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post(request_body, opts = {})
|
|
499
|
+
data, _status_code, _headers = rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post_with_http_info(request_body, opts)
|
|
511
500
|
data
|
|
512
501
|
end
|
|
513
502
|
|
|
514
503
|
# Rechercher factures émises (Fournisseur)
|
|
515
504
|
# Recherche les factures émises par le fournisseur connecté. **Filtres disponibles** : - Numéro de facture - Dates (début/fin) - Statut - Structure destinataire - Montant **Cas d'usage** : - Suivi des factures émises - Vérification des statuts - Export pour comptabilité
|
|
516
|
-
# @param
|
|
505
|
+
# @param request_body [Hash<String, Object>]
|
|
517
506
|
# @param [Hash] opts the optional parameters
|
|
518
507
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
519
|
-
def rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post_with_http_info(
|
|
508
|
+
def rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post_with_http_info(request_body, opts = {})
|
|
520
509
|
if @api_client.config.debugging
|
|
521
510
|
@api_client.config.logger.debug 'Calling API: ChorusProApi.rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post ...'
|
|
522
511
|
end
|
|
523
|
-
# verify the required parameter '
|
|
524
|
-
if @api_client.config.client_side_validation &&
|
|
525
|
-
fail ArgumentError, "Missing the required parameter '
|
|
512
|
+
# verify the required parameter 'request_body' is set
|
|
513
|
+
if @api_client.config.client_side_validation && request_body.nil?
|
|
514
|
+
fail ArgumentError, "Missing the required parameter 'request_body' when calling ChorusProApi.rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post"
|
|
526
515
|
end
|
|
527
516
|
# resource path
|
|
528
517
|
local_var_path = '/api/v1/chorus-pro/factures/rechercher-fournisseur'
|
|
@@ -544,7 +533,7 @@ module FactPulse
|
|
|
544
533
|
form_params = opts[:form_params] || {}
|
|
545
534
|
|
|
546
535
|
# http body (model)
|
|
547
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
536
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(request_body)
|
|
548
537
|
|
|
549
538
|
# return_type
|
|
550
539
|
return_type = opts[:debug_return_type] || 'Object'
|
|
@@ -639,26 +628,26 @@ module FactPulse
|
|
|
639
628
|
|
|
640
629
|
# Recycler une facture (Fournisseur)
|
|
641
630
|
# Recycle une facture au statut A_RECYCLER en modifiant les données d'acheminement. **Statut requis** : A_RECYCLER **Champs modifiables** : - Destinataire (`idStructureCPP`) - Code service - Numéro d'engagement **Cas d'usage** : - Erreur de destinataire - Changement de service facturation - Mise à jour du numéro d'engagement **Payload exemple** : ```json { \"identifiantFactureCPP\": 12345, \"idStructureCPP\": 67890, \"codeService\": \"SERVICE_01\", \"numeroEngagement\": \"ENG2024001\" } ``` **Note** : La facture conserve son numéro et ses montants, seuls les champs d'acheminement changent.
|
|
642
|
-
# @param
|
|
631
|
+
# @param request_body [Hash<String, Object>]
|
|
643
632
|
# @param [Hash] opts the optional parameters
|
|
644
633
|
# @return [Object]
|
|
645
|
-
def recycler_facture_api_v1_chorus_pro_factures_recycler_post(
|
|
646
|
-
data, _status_code, _headers = recycler_facture_api_v1_chorus_pro_factures_recycler_post_with_http_info(
|
|
634
|
+
def recycler_facture_api_v1_chorus_pro_factures_recycler_post(request_body, opts = {})
|
|
635
|
+
data, _status_code, _headers = recycler_facture_api_v1_chorus_pro_factures_recycler_post_with_http_info(request_body, opts)
|
|
647
636
|
data
|
|
648
637
|
end
|
|
649
638
|
|
|
650
639
|
# Recycler une facture (Fournisseur)
|
|
651
640
|
# Recycle une facture au statut A_RECYCLER en modifiant les données d'acheminement. **Statut requis** : A_RECYCLER **Champs modifiables** : - Destinataire (`idStructureCPP`) - Code service - Numéro d'engagement **Cas d'usage** : - Erreur de destinataire - Changement de service facturation - Mise à jour du numéro d'engagement **Payload exemple** : ```json { \"identifiantFactureCPP\": 12345, \"idStructureCPP\": 67890, \"codeService\": \"SERVICE_01\", \"numeroEngagement\": \"ENG2024001\" } ``` **Note** : La facture conserve son numéro et ses montants, seuls les champs d'acheminement changent.
|
|
652
|
-
# @param
|
|
641
|
+
# @param request_body [Hash<String, Object>]
|
|
653
642
|
# @param [Hash] opts the optional parameters
|
|
654
643
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
655
|
-
def recycler_facture_api_v1_chorus_pro_factures_recycler_post_with_http_info(
|
|
644
|
+
def recycler_facture_api_v1_chorus_pro_factures_recycler_post_with_http_info(request_body, opts = {})
|
|
656
645
|
if @api_client.config.debugging
|
|
657
646
|
@api_client.config.logger.debug 'Calling API: ChorusProApi.recycler_facture_api_v1_chorus_pro_factures_recycler_post ...'
|
|
658
647
|
end
|
|
659
|
-
# verify the required parameter '
|
|
660
|
-
if @api_client.config.client_side_validation &&
|
|
661
|
-
fail ArgumentError, "Missing the required parameter '
|
|
648
|
+
# verify the required parameter 'request_body' is set
|
|
649
|
+
if @api_client.config.client_side_validation && request_body.nil?
|
|
650
|
+
fail ArgumentError, "Missing the required parameter 'request_body' when calling ChorusProApi.recycler_facture_api_v1_chorus_pro_factures_recycler_post"
|
|
662
651
|
end
|
|
663
652
|
# resource path
|
|
664
653
|
local_var_path = '/api/v1/chorus-pro/factures/recycler'
|
|
@@ -680,7 +669,7 @@ module FactPulse
|
|
|
680
669
|
form_params = opts[:form_params] || {}
|
|
681
670
|
|
|
682
671
|
# http body (model)
|
|
683
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
672
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(request_body)
|
|
684
673
|
|
|
685
674
|
# return_type
|
|
686
675
|
return_type = opts[:debug_return_type] || 'Object'
|
|
@@ -775,26 +764,26 @@ module FactPulse
|
|
|
775
764
|
|
|
776
765
|
# Télécharger un groupe de factures
|
|
777
766
|
# Télécharge une ou plusieurs factures (max 10 recommandé) avec leurs pièces jointes. **Formats disponibles** : - PDF : Fichier PDF uniquement - XML : Fichier XML uniquement - ZIP : Archive contenant PDF + XML + pièces jointes **Taille maximale** : 120 Mo par téléchargement **Payload exemple** : ```json { \"listeIdentifiantsFactureCPP\": [12345, 12346], \"inclurePiecesJointes\": true, \"formatFichier\": \"ZIP\" } ``` **Retour** : Le fichier est encodé en base64 dans le champ `fichierBase64`. **Note** : Le flag `factureTelechargeeParDestinataire` est mis à jour automatiquement.
|
|
778
|
-
# @param
|
|
767
|
+
# @param request_body [Hash<String, Object>]
|
|
779
768
|
# @param [Hash] opts the optional parameters
|
|
780
769
|
# @return [Object]
|
|
781
|
-
def telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post(
|
|
782
|
-
data, _status_code, _headers = telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post_with_http_info(
|
|
770
|
+
def telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post(request_body, opts = {})
|
|
771
|
+
data, _status_code, _headers = telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post_with_http_info(request_body, opts)
|
|
783
772
|
data
|
|
784
773
|
end
|
|
785
774
|
|
|
786
775
|
# Télécharger un groupe de factures
|
|
787
776
|
# Télécharge une ou plusieurs factures (max 10 recommandé) avec leurs pièces jointes. **Formats disponibles** : - PDF : Fichier PDF uniquement - XML : Fichier XML uniquement - ZIP : Archive contenant PDF + XML + pièces jointes **Taille maximale** : 120 Mo par téléchargement **Payload exemple** : ```json { \"listeIdentifiantsFactureCPP\": [12345, 12346], \"inclurePiecesJointes\": true, \"formatFichier\": \"ZIP\" } ``` **Retour** : Le fichier est encodé en base64 dans le champ `fichierBase64`. **Note** : Le flag `factureTelechargeeParDestinataire` est mis à jour automatiquement.
|
|
788
|
-
# @param
|
|
777
|
+
# @param request_body [Hash<String, Object>]
|
|
789
778
|
# @param [Hash] opts the optional parameters
|
|
790
779
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
791
|
-
def telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post_with_http_info(
|
|
780
|
+
def telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post_with_http_info(request_body, opts = {})
|
|
792
781
|
if @api_client.config.debugging
|
|
793
782
|
@api_client.config.logger.debug 'Calling API: ChorusProApi.telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post ...'
|
|
794
783
|
end
|
|
795
|
-
# verify the required parameter '
|
|
796
|
-
if @api_client.config.client_side_validation &&
|
|
797
|
-
fail ArgumentError, "Missing the required parameter '
|
|
784
|
+
# verify the required parameter 'request_body' is set
|
|
785
|
+
if @api_client.config.client_side_validation && request_body.nil?
|
|
786
|
+
fail ArgumentError, "Missing the required parameter 'request_body' when calling ChorusProApi.telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post"
|
|
798
787
|
end
|
|
799
788
|
# resource path
|
|
800
789
|
local_var_path = '/api/v1/chorus-pro/factures/telecharger-groupe'
|
|
@@ -816,7 +805,7 @@ module FactPulse
|
|
|
816
805
|
form_params = opts[:form_params] || {}
|
|
817
806
|
|
|
818
807
|
# http body (model)
|
|
819
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
808
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(request_body)
|
|
820
809
|
|
|
821
810
|
# return_type
|
|
822
811
|
return_type = opts[:debug_return_type] || 'Object'
|
|
@@ -843,26 +832,26 @@ module FactPulse
|
|
|
843
832
|
|
|
844
833
|
# Traiter une facture reçue (Destinataire)
|
|
845
834
|
# Change le statut d'une facture reçue. **Statuts possibles** : - MISE_A_DISPOSITION : Facture acceptée - SUSPENDUE : En attente d'informations complémentaires (motif obligatoire) - REJETEE : Facture refusée (motif obligatoire) - MANDATEE : Facture mandatée - MISE_EN_PAIEMENT : Facture en cours de paiement - COMPTABILISEE : Facture comptabilisée - MISE_A_DISPOSITION_COMPTABLE : Mise à disposition comptable - A_RECYCLER : À recycler - COMPLETEE : Complétée - SERVICE-FAIT : Service fait - PRISE_EN_COMPTE_DESTINATAIRE : Prise en compte - TRANSMISE_MOA : Transmise à la MOA **Payload exemple** : ```json { \"identifiantFactureCPP\": 12345, \"nouveauStatut\": \"REJETEE\", \"motifRejet\": \"Facture en double\", \"commentaire\": \"Facture déjà reçue sous la référence ABC123\" } ``` **Règles** : - Un motif est **obligatoire** pour SUSPENDUE et REJETEE - Seuls certains statuts sont autorisés selon le statut actuel de la facture
|
|
846
|
-
# @param
|
|
835
|
+
# @param request_body [Hash<String, Object>]
|
|
847
836
|
# @param [Hash] opts the optional parameters
|
|
848
837
|
# @return [Object]
|
|
849
|
-
def traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post(
|
|
850
|
-
data, _status_code, _headers = traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post_with_http_info(
|
|
838
|
+
def traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post(request_body, opts = {})
|
|
839
|
+
data, _status_code, _headers = traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post_with_http_info(request_body, opts)
|
|
851
840
|
data
|
|
852
841
|
end
|
|
853
842
|
|
|
854
843
|
# Traiter une facture reçue (Destinataire)
|
|
855
844
|
# Change le statut d'une facture reçue. **Statuts possibles** : - MISE_A_DISPOSITION : Facture acceptée - SUSPENDUE : En attente d'informations complémentaires (motif obligatoire) - REJETEE : Facture refusée (motif obligatoire) - MANDATEE : Facture mandatée - MISE_EN_PAIEMENT : Facture en cours de paiement - COMPTABILISEE : Facture comptabilisée - MISE_A_DISPOSITION_COMPTABLE : Mise à disposition comptable - A_RECYCLER : À recycler - COMPLETEE : Complétée - SERVICE-FAIT : Service fait - PRISE_EN_COMPTE_DESTINATAIRE : Prise en compte - TRANSMISE_MOA : Transmise à la MOA **Payload exemple** : ```json { \"identifiantFactureCPP\": 12345, \"nouveauStatut\": \"REJETEE\", \"motifRejet\": \"Facture en double\", \"commentaire\": \"Facture déjà reçue sous la référence ABC123\" } ``` **Règles** : - Un motif est **obligatoire** pour SUSPENDUE et REJETEE - Seuls certains statuts sont autorisés selon le statut actuel de la facture
|
|
856
|
-
# @param
|
|
845
|
+
# @param request_body [Hash<String, Object>]
|
|
857
846
|
# @param [Hash] opts the optional parameters
|
|
858
847
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
859
|
-
def traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post_with_http_info(
|
|
848
|
+
def traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post_with_http_info(request_body, opts = {})
|
|
860
849
|
if @api_client.config.debugging
|
|
861
850
|
@api_client.config.logger.debug 'Calling API: ChorusProApi.traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post ...'
|
|
862
851
|
end
|
|
863
|
-
# verify the required parameter '
|
|
864
|
-
if @api_client.config.client_side_validation &&
|
|
865
|
-
fail ArgumentError, "Missing the required parameter '
|
|
852
|
+
# verify the required parameter 'request_body' is set
|
|
853
|
+
if @api_client.config.client_side_validation && request_body.nil?
|
|
854
|
+
fail ArgumentError, "Missing the required parameter 'request_body' when calling ChorusProApi.traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post"
|
|
866
855
|
end
|
|
867
856
|
# resource path
|
|
868
857
|
local_var_path = '/api/v1/chorus-pro/factures/traiter-facture-recue'
|
|
@@ -884,7 +873,7 @@ module FactPulse
|
|
|
884
873
|
form_params = opts[:form_params] || {}
|
|
885
874
|
|
|
886
875
|
# http body (model)
|
|
887
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
876
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(request_body)
|
|
888
877
|
|
|
889
878
|
# return_type
|
|
890
879
|
return_type = opts[:debug_return_type] || 'Object'
|
|
@@ -910,27 +899,25 @@ module FactPulse
|
|
|
910
899
|
end
|
|
911
900
|
|
|
912
901
|
# Consulter une facture (Valideur)
|
|
913
|
-
#
|
|
914
|
-
# @param body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post [BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost]
|
|
902
|
+
# @param request_body [Hash<String, Object>]
|
|
915
903
|
# @param [Hash] opts the optional parameters
|
|
916
904
|
# @return [Object]
|
|
917
|
-
def valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post(
|
|
918
|
-
data, _status_code, _headers = valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post_with_http_info(
|
|
905
|
+
def valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post(request_body, opts = {})
|
|
906
|
+
data, _status_code, _headers = valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post_with_http_info(request_body, opts)
|
|
919
907
|
data
|
|
920
908
|
end
|
|
921
909
|
|
|
922
910
|
# Consulter une facture (Valideur)
|
|
923
|
-
#
|
|
924
|
-
# @param body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post [BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost]
|
|
911
|
+
# @param request_body [Hash<String, Object>]
|
|
925
912
|
# @param [Hash] opts the optional parameters
|
|
926
913
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
927
|
-
def valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post_with_http_info(
|
|
914
|
+
def valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post_with_http_info(request_body, opts = {})
|
|
928
915
|
if @api_client.config.debugging
|
|
929
916
|
@api_client.config.logger.debug 'Calling API: ChorusProApi.valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post ...'
|
|
930
917
|
end
|
|
931
|
-
# verify the required parameter '
|
|
932
|
-
if @api_client.config.client_side_validation &&
|
|
933
|
-
fail ArgumentError, "Missing the required parameter '
|
|
918
|
+
# verify the required parameter 'request_body' is set
|
|
919
|
+
if @api_client.config.client_side_validation && request_body.nil?
|
|
920
|
+
fail ArgumentError, "Missing the required parameter 'request_body' when calling ChorusProApi.valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post"
|
|
934
921
|
end
|
|
935
922
|
# resource path
|
|
936
923
|
local_var_path = '/api/v1/chorus-pro/factures/valideur/consulter'
|
|
@@ -952,7 +939,7 @@ module FactPulse
|
|
|
952
939
|
form_params = opts[:form_params] || {}
|
|
953
940
|
|
|
954
941
|
# http body (model)
|
|
955
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
942
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(request_body)
|
|
956
943
|
|
|
957
944
|
# return_type
|
|
958
945
|
return_type = opts[:debug_return_type] || 'Object'
|
|
@@ -979,26 +966,26 @@ module FactPulse
|
|
|
979
966
|
|
|
980
967
|
# Rechercher factures à valider (Valideur)
|
|
981
968
|
# Recherche les factures en attente de validation par le valideur connecté. **Rôle** : Valideur dans le circuit de validation interne. **Filtres** : Dates, structure, service, etc.
|
|
982
|
-
# @param
|
|
969
|
+
# @param request_body [Hash<String, Object>]
|
|
983
970
|
# @param [Hash] opts the optional parameters
|
|
984
971
|
# @return [Object]
|
|
985
|
-
def valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post(
|
|
986
|
-
data, _status_code, _headers = valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post_with_http_info(
|
|
972
|
+
def valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post(request_body, opts = {})
|
|
973
|
+
data, _status_code, _headers = valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post_with_http_info(request_body, opts)
|
|
987
974
|
data
|
|
988
975
|
end
|
|
989
976
|
|
|
990
977
|
# Rechercher factures à valider (Valideur)
|
|
991
978
|
# Recherche les factures en attente de validation par le valideur connecté. **Rôle** : Valideur dans le circuit de validation interne. **Filtres** : Dates, structure, service, etc.
|
|
992
|
-
# @param
|
|
979
|
+
# @param request_body [Hash<String, Object>]
|
|
993
980
|
# @param [Hash] opts the optional parameters
|
|
994
981
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
995
|
-
def valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post_with_http_info(
|
|
982
|
+
def valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post_with_http_info(request_body, opts = {})
|
|
996
983
|
if @api_client.config.debugging
|
|
997
984
|
@api_client.config.logger.debug 'Calling API: ChorusProApi.valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post ...'
|
|
998
985
|
end
|
|
999
|
-
# verify the required parameter '
|
|
1000
|
-
if @api_client.config.client_side_validation &&
|
|
1001
|
-
fail ArgumentError, "Missing the required parameter '
|
|
986
|
+
# verify the required parameter 'request_body' is set
|
|
987
|
+
if @api_client.config.client_side_validation && request_body.nil?
|
|
988
|
+
fail ArgumentError, "Missing the required parameter 'request_body' when calling ChorusProApi.valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post"
|
|
1002
989
|
end
|
|
1003
990
|
# resource path
|
|
1004
991
|
local_var_path = '/api/v1/chorus-pro/factures/valideur/rechercher'
|
|
@@ -1020,7 +1007,7 @@ module FactPulse
|
|
|
1020
1007
|
form_params = opts[:form_params] || {}
|
|
1021
1008
|
|
|
1022
1009
|
# http body (model)
|
|
1023
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
1010
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(request_body)
|
|
1024
1011
|
|
|
1025
1012
|
# return_type
|
|
1026
1013
|
return_type = opts[:debug_return_type] || 'Object'
|
|
@@ -1047,26 +1034,26 @@ module FactPulse
|
|
|
1047
1034
|
|
|
1048
1035
|
# Valider ou refuser une facture (Valideur)
|
|
1049
1036
|
# Valide ou refuse une facture en attente de validation. **Actions** : - Valider : La facture passe au statut suivant du circuit - Refuser : La facture est rejetée (motif obligatoire)
|
|
1050
|
-
# @param
|
|
1037
|
+
# @param request_body [Hash<String, Object>]
|
|
1051
1038
|
# @param [Hash] opts the optional parameters
|
|
1052
1039
|
# @return [Object]
|
|
1053
|
-
def valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post(
|
|
1054
|
-
data, _status_code, _headers = valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post_with_http_info(
|
|
1040
|
+
def valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post(request_body, opts = {})
|
|
1041
|
+
data, _status_code, _headers = valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post_with_http_info(request_body, opts)
|
|
1055
1042
|
data
|
|
1056
1043
|
end
|
|
1057
1044
|
|
|
1058
1045
|
# Valider ou refuser une facture (Valideur)
|
|
1059
1046
|
# Valide ou refuse une facture en attente de validation. **Actions** : - Valider : La facture passe au statut suivant du circuit - Refuser : La facture est rejetée (motif obligatoire)
|
|
1060
|
-
# @param
|
|
1047
|
+
# @param request_body [Hash<String, Object>]
|
|
1061
1048
|
# @param [Hash] opts the optional parameters
|
|
1062
1049
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
1063
|
-
def valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post_with_http_info(
|
|
1050
|
+
def valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post_with_http_info(request_body, opts = {})
|
|
1064
1051
|
if @api_client.config.debugging
|
|
1065
1052
|
@api_client.config.logger.debug 'Calling API: ChorusProApi.valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post ...'
|
|
1066
1053
|
end
|
|
1067
|
-
# verify the required parameter '
|
|
1068
|
-
if @api_client.config.client_side_validation &&
|
|
1069
|
-
fail ArgumentError, "Missing the required parameter '
|
|
1054
|
+
# verify the required parameter 'request_body' is set
|
|
1055
|
+
if @api_client.config.client_side_validation && request_body.nil?
|
|
1056
|
+
fail ArgumentError, "Missing the required parameter 'request_body' when calling ChorusProApi.valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post"
|
|
1070
1057
|
end
|
|
1071
1058
|
# resource path
|
|
1072
1059
|
local_var_path = '/api/v1/chorus-pro/factures/valideur/traiter'
|
|
@@ -1088,7 +1075,7 @@ module FactPulse
|
|
|
1088
1075
|
form_params = opts[:form_params] || {}
|
|
1089
1076
|
|
|
1090
1077
|
# http body (model)
|
|
1091
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
1078
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(request_body)
|
|
1092
1079
|
|
|
1093
1080
|
# return_type
|
|
1094
1081
|
return_type = opts[:debug_return_type] || 'Object'
|
|
@@ -232,7 +232,7 @@ module FactPulse
|
|
|
232
232
|
end
|
|
233
233
|
|
|
234
234
|
# Signer un PDF avec le certificat du client (PAdES-B-LT)
|
|
235
|
-
# Signe un PDF uploadé avec le certificat électronique configuré pour le client (via client_uid du JWT). **Standards supportés** : PAdES-B-B, PAdES-B-T (horodatage), PAdES-B-LT (archivage long terme). **Niveaux eIDAS** : SES (auto-signé), AdES (CA commerciale), QES (PSCO - hors scope). **⚠️ Disclaimer légal** : Les signatures générées sont des cachets électroniques au sens du règlement eIDAS. Le niveau de validité juridique dépend du certificat utilisé (SES/AdES/QES). FactPulse ne fournit pas de certificats qualifiés QES - vous devez obtenir un certificat auprès d'un PSCO (Prestataire de Services de Confiance qualifié) pour une validité juridique maximale.
|
|
235
|
+
# Signe un PDF uploadé avec le certificat électronique configuré pour le client (via client_uid du JWT). **Standards supportés** : PAdES-B-B, PAdES-B-T (horodatage), PAdES-B-LT (archivage long terme). **Niveaux eIDAS** : SES (auto-signé), AdES (CA commerciale), QES (PSCO - hors scope). **Sécurité** : Double authentification X-Internal-Secret + JWT Bearer pour récupérer le certificat. **⚠️ Disclaimer légal** : Les signatures générées sont des cachets électroniques au sens du règlement eIDAS. Le niveau de validité juridique dépend du certificat utilisé (SES/AdES/QES). FactPulse ne fournit pas de certificats qualifiés QES - vous devez obtenir un certificat auprès d'un PSCO (Prestataire de Services de Confiance qualifié) pour une validité juridique maximale.
|
|
236
236
|
# @param fichier_pdf [File] Fichier PDF à signer (sera traité puis retourné signé en base64)
|
|
237
237
|
# @param [Hash] opts the optional parameters
|
|
238
238
|
# @option opts [String] :raison
|
|
@@ -248,7 +248,7 @@ module FactPulse
|
|
|
248
248
|
end
|
|
249
249
|
|
|
250
250
|
# Signer un PDF avec le certificat du client (PAdES-B-LT)
|
|
251
|
-
# Signe un PDF uploadé avec le certificat électronique configuré pour le client (via client_uid du JWT). **Standards supportés** : PAdES-B-B, PAdES-B-T (horodatage), PAdES-B-LT (archivage long terme). **Niveaux eIDAS** : SES (auto-signé), AdES (CA commerciale), QES (PSCO - hors scope). **⚠️ Disclaimer légal** : Les signatures générées sont des cachets électroniques au sens du règlement eIDAS. Le niveau de validité juridique dépend du certificat utilisé (SES/AdES/QES). FactPulse ne fournit pas de certificats qualifiés QES - vous devez obtenir un certificat auprès d'un PSCO (Prestataire de Services de Confiance qualifié) pour une validité juridique maximale.
|
|
251
|
+
# Signe un PDF uploadé avec le certificat électronique configuré pour le client (via client_uid du JWT). **Standards supportés** : PAdES-B-B, PAdES-B-T (horodatage), PAdES-B-LT (archivage long terme). **Niveaux eIDAS** : SES (auto-signé), AdES (CA commerciale), QES (PSCO - hors scope). **Sécurité** : Double authentification X-Internal-Secret + JWT Bearer pour récupérer le certificat. **⚠️ Disclaimer légal** : Les signatures générées sont des cachets électroniques au sens du règlement eIDAS. Le niveau de validité juridique dépend du certificat utilisé (SES/AdES/QES). FactPulse ne fournit pas de certificats qualifiés QES - vous devez obtenir un certificat auprès d'un PSCO (Prestataire de Services de Confiance qualifié) pour une validité juridique maximale.
|
|
252
252
|
# @param fichier_pdf [File] Fichier PDF à signer (sera traité puis retourné signé en base64)
|
|
253
253
|
# @param [Hash] opts the optional parameters
|
|
254
254
|
# @option opts [String] :raison
|