factpulse 0.1.0 → 1.0.0
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 +15 -4
- data/Gemfile.lock +7 -7
- data/LICENSE +1 -1
- data/README.md +146 -159
- data/docs/AFNORPDPPAApi.md +6 -87
- data/docs/AFNORPDPPADirectoryServiceApi.md +238 -148
- data/docs/AFNORPDPPAFlowServiceApi.md +40 -52
- data/docs/APIError.md +2 -2
- data/docs/AdresseElectronique.md +20 -0
- data/docs/AdressePostale.md +26 -0
- data/docs/CadreDeFacturation.md +22 -0
- data/docs/CategorieTVA.md +15 -0
- data/docs/CertificateInfoResponse.md +20 -20
- data/docs/ChorusProApi.md +142 -224
- data/docs/ChorusProCredentials.md +5 -5
- data/docs/{AFNORDiffusionStatus.md → CodeCadreFacturation.md} +2 -2
- data/docs/{AFNORFacilityType.md → CodeRaisonReduction.md} +2 -2
- data/docs/{GetInvoiceRequest.md → ConsulterFactureRequest.md} +4 -4
- data/docs/ConsulterFactureResponse.md +34 -0
- data/docs/ConsulterStructureRequest.md +22 -0
- data/docs/ConsulterStructureResponse.md +34 -0
- data/docs/{AFNORCredentials.md → CredentialsAFNOR.md} +2 -2
- data/docs/{FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md → CredentialsChorusPro.md} +4 -4
- data/docs/Destinataire.md +28 -0
- data/docs/Destination.md +7 -7
- data/docs/DestinationAFNOR.md +24 -0
- data/docs/DestinationChorusPro.md +20 -0
- data/docs/DonneesFactureSimplifiees.md +34 -0
- data/docs/FactureEnrichieInfo.md +32 -0
- data/docs/FactureFacturX.md +46 -0
- data/docs/FormatSortie.md +15 -0
- data/docs/Fournisseur.md +36 -0
- data/docs/GenerateCertificateRequest.md +19 -19
- data/docs/GenerateCertificateResponse.md +8 -8
- data/docs/InformationSignatureAPI.md +28 -0
- data/docs/LigneDePoste.md +46 -0
- data/docs/LigneDePosteMontantRemiseHt.md +15 -0
- data/docs/LigneDePosteTauxTvaManuel.md +15 -0
- data/docs/LigneDeTVA.md +26 -0
- data/docs/{AmountDue.md → ModeDepot.md} +2 -2
- data/docs/ModePaiement.md +15 -0
- data/docs/{AFNORFlowType.md → MontantAPayer.md} +2 -2
- data/docs/MontantBaseHt.md +15 -0
- data/docs/{AFNORAlgorithm.md → MontantHtTotal.md} +2 -2
- data/docs/{AFNORContainsOperator.md → MontantRemiseGlobaleTtc.md} +2 -2
- data/docs/MontantTotal.md +30 -0
- data/docs/{AFNORFacilityNature.md → MontantTotalAcompte.md} +2 -2
- data/docs/MontantTotalLigneHt.md +15 -0
- data/docs/{AFNORFlowSyntax.md → MontantTtcTotal.md} +2 -2
- data/docs/{APIProfile.md → MontantTva.md} +2 -2
- data/docs/{AFNOREntityType.md → MontantTvaLigne.md} +2 -2
- data/docs/MontantTvaTotal.md +15 -0
- data/docs/{AFNORFlowProfile.md → MontantUnitaireHt.md} +2 -2
- data/docs/{InvoiceNote.md → Note.md} +3 -3
- data/docs/ObtenirIdChorusProRequest.md +22 -0
- data/docs/ObtenirIdChorusProResponse.md +24 -0
- data/docs/OptionsProcessing.md +24 -0
- data/docs/PDFFacturXInfo.md +22 -0
- data/docs/ParametresSignature.md +34 -0
- data/docs/ParametresStructure.md +22 -0
- data/docs/PieceJointeComplementaire.md +26 -0
- data/docs/{Amount.md → ProfilAPI.md} +2 -2
- data/docs/{Amount2.md → Quantite.md} +2 -2
- data/docs/RechercherServicesResponse.md +24 -0
- data/docs/RechercherStructureRequest.md +26 -0
- data/docs/RechercherStructureResponse.md +24 -0
- data/docs/References.md +32 -0
- data/docs/ReponseTache.md +18 -0
- data/docs/ReponseValidationErreur.md +18 -0
- data/docs/ReponseValidationSucces.md +18 -0
- data/docs/ResultatAFNOR.md +26 -0
- data/docs/ResultatChorusPro.md +22 -0
- data/docs/ResultatValidationPDFAPI.md +62 -0
- data/docs/SantApi.md +131 -0
- data/docs/ServiceStructure.md +24 -0
- data/docs/SignatureInfo.md +2 -2
- data/docs/SoumettreFactureCompleteRequest.md +26 -0
- data/docs/SoumettreFactureCompleteResponse.md +34 -0
- data/docs/SoumettreFactureRequest.md +46 -0
- data/docs/SoumettreFactureResponse.md +24 -0
- data/docs/StatutCelery.md +15 -0
- data/docs/{InvoiceStatus.md → StatutFacture.md} +5 -5
- data/docs/StatutTache.md +22 -0
- data/docs/StructureInfo.md +10 -10
- data/docs/Tauxmanuel.md +15 -0
- data/docs/TraitementFactureApi.md +831 -0
- data/docs/TypeFacture.md +15 -0
- data/docs/{Amount1.md → TypeTVA.md} +2 -2
- data/docs/{Rate.md → Unite.md} +2 -2
- data/docs/UtilisateurApi.md +74 -0
- data/docs/ValidationError.md +1 -1
- data/docs/ValidationErrorDetail.md +3 -3
- data/docs/{AFNORDirectoryLineField.md → ValidationErrorLocInner.md} +2 -2
- data/factpulse.gemspec +7 -7
- data/lib/factpulse/api/afnorpdppa_api.rb +8 -77
- data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +143 -143
- data/lib/factpulse/api/afnorpdppa_flow_service_api.rb +34 -67
- data/lib/factpulse/api/chorus_pro_api.rb +147 -149
- data/lib/factpulse/api/sant_api.rb +136 -0
- data/lib/factpulse/api/traitement_facture_api.rb +835 -0
- data/lib/factpulse/api/utilisateur_api.rb +79 -0
- data/lib/factpulse/api_client.rb +4 -4
- data/lib/factpulse/api_error.rb +4 -4
- data/lib/factpulse/api_model_base.rb +4 -4
- data/lib/factpulse/configuration.rb +8 -19
- data/lib/factpulse/helpers/client.rb +246 -218
- data/lib/factpulse/helpers/exceptions.rb +14 -38
- data/lib/factpulse/helpers.rb +13 -0
- data/lib/factpulse/models/adresse_electronique.rb +196 -0
- data/lib/factpulse/models/adresse_postale.rb +189 -0
- data/lib/factpulse/models/api_error.rb +7 -7
- data/lib/factpulse/models/cadre_de_facturation.rb +207 -0
- data/lib/factpulse/models/categorie_tva.rb +47 -0
- data/lib/factpulse/models/certificate_info_response.rb +166 -166
- data/lib/factpulse/models/chorus_pro_credentials.rb +14 -14
- data/lib/factpulse/models/code_cadre_facturation.rb +42 -0
- data/lib/factpulse/models/code_raison_reduction.rb +45 -0
- data/lib/factpulse/models/consulter_facture_request.rb +176 -0
- data/lib/factpulse/models/consulter_facture_response.rb +261 -0
- data/lib/factpulse/models/consulter_structure_request.rb +188 -0
- data/lib/factpulse/models/consulter_structure_response.rb +261 -0
- data/lib/factpulse/models/credentials_afnor.rb +169 -0
- data/lib/factpulse/models/credentials_chorus_pro.rb +191 -0
- data/lib/factpulse/models/destinataire.rb +215 -0
- data/lib/factpulse/models/destination.rb +9 -9
- data/lib/factpulse/models/destination_afnor.rb +228 -0
- data/lib/factpulse/models/destination_chorus_pro.rb +194 -0
- data/lib/factpulse/models/donnees_facture_simplifiees.rb +342 -0
- data/lib/factpulse/models/error_level.rb +4 -4
- data/lib/factpulse/models/error_source.rb +5 -6
- data/lib/factpulse/models/facture_enrichie_info.rb +348 -0
- data/lib/factpulse/models/facture_factur_x.rb +443 -0
- data/lib/factpulse/models/format_sortie.rb +40 -0
- data/lib/factpulse/models/fournisseur.rb +271 -0
- data/lib/factpulse/models/generate_certificate_request.rb +108 -108
- data/lib/factpulse/models/generate_certificate_response.rb +49 -49
- data/lib/factpulse/models/http_validation_error.rb +4 -4
- data/lib/factpulse/models/information_signature_api.rb +216 -0
- data/lib/factpulse/models/ligne_de_poste.rb +390 -0
- data/lib/factpulse/models/ligne_de_poste_montant_remise_ht.rb +104 -0
- data/lib/factpulse/models/ligne_de_poste_taux_tva_manuel.rb +104 -0
- data/lib/factpulse/models/ligne_de_tva.rb +242 -0
- data/lib/factpulse/models/mode_depot.rb +41 -0
- data/lib/factpulse/models/mode_paiement.rb +44 -0
- data/lib/factpulse/models/montant_a_payer.rb +104 -0
- data/lib/factpulse/models/montant_base_ht.rb +104 -0
- data/lib/factpulse/models/montant_ht_total.rb +104 -0
- data/lib/factpulse/models/montant_remise_globale_ttc.rb +104 -0
- data/lib/factpulse/models/montant_total.rb +272 -0
- data/lib/factpulse/models/montant_total_acompte.rb +104 -0
- data/lib/factpulse/models/montant_total_ligne_ht.rb +104 -0
- data/lib/factpulse/models/montant_ttc_total.rb +104 -0
- data/lib/factpulse/models/montant_tva.rb +104 -0
- data/lib/factpulse/models/montant_tva_ligne.rb +104 -0
- data/lib/factpulse/models/montant_tva_total.rb +104 -0
- data/lib/factpulse/models/montant_unitaire_ht.rb +104 -0
- data/lib/factpulse/models/note.rb +175 -0
- data/lib/factpulse/models/obtenir_id_chorus_pro_request.rb +188 -0
- data/lib/factpulse/models/obtenir_id_chorus_pro_response.rb +230 -0
- data/lib/factpulse/models/options_processing.rb +207 -0
- data/lib/factpulse/models/parametres_signature.rb +235 -0
- data/lib/factpulse/models/parametres_structure.rb +175 -0
- data/lib/factpulse/models/pdf_factur_x_info.rb +205 -0
- data/lib/factpulse/models/piece_jointe_complementaire.rb +269 -0
- data/lib/factpulse/models/profil_api.rb +42 -0
- data/lib/factpulse/models/quantite.rb +104 -0
- data/lib/factpulse/models/rechercher_services_response.rb +214 -0
- data/lib/factpulse/models/rechercher_structure_request.rb +191 -0
- data/lib/factpulse/models/rechercher_structure_response.rb +216 -0
- data/lib/factpulse/models/references.rb +290 -0
- data/lib/factpulse/models/reponse_tache.rb +165 -0
- data/lib/factpulse/models/reponse_validation_erreur.rb +167 -0
- data/lib/factpulse/models/reponse_validation_succes.rb +165 -0
- data/lib/factpulse/models/resultat_afnor.rb +240 -0
- data/lib/factpulse/models/resultat_chorus_pro.rb +186 -0
- data/lib/factpulse/models/resultat_validation_pdfapi.rb +523 -0
- data/lib/factpulse/models/scheme_id.rb +7 -20
- data/lib/factpulse/models/service_structure.rb +247 -0
- data/lib/factpulse/models/signature_info.rb +22 -22
- data/lib/factpulse/models/soumettre_facture_complete_request.rb +239 -0
- data/lib/factpulse/models/soumettre_facture_complete_response.rb +355 -0
- data/lib/factpulse/models/soumettre_facture_request.rb +388 -0
- data/lib/factpulse/models/soumettre_facture_response.rb +213 -0
- data/lib/factpulse/models/statut_celery.rb +43 -0
- data/lib/factpulse/models/statut_facture.rb +203 -0
- data/lib/factpulse/models/statut_tache.rb +226 -0
- data/lib/factpulse/models/structure_info.rb +86 -86
- data/lib/factpulse/models/tauxmanuel.rb +104 -0
- data/lib/factpulse/models/type_facture.rb +40 -0
- data/lib/factpulse/models/type_tva.rb +42 -0
- data/lib/factpulse/models/unite.rb +44 -0
- data/lib/factpulse/models/validation_error.rb +5 -5
- data/lib/factpulse/models/validation_error_detail.rb +8 -8
- data/lib/factpulse/models/validation_error_loc_inner.rb +103 -0
- data/lib/factpulse/version.rb +5 -5
- data/lib/factpulse.rb +79 -315
- metadata +215 -676
- data/docs/AFNORAcknowledgement.md +0 -20
- data/docs/AFNORAcknowledgementDetail.md +0 -24
- data/docs/AFNORAddressEdit.md +0 -30
- data/docs/AFNORAddressPatch.md +0 -30
- data/docs/AFNORAddressPut.md +0 -30
- data/docs/AFNORAddressRead.md +0 -32
- data/docs/AFNORCreateDirectoryLineBody.md +0 -20
- data/docs/AFNORCreateDirectoryLineBodyAddressingInformation.md +0 -24
- data/docs/AFNORCreateDirectoryLineBodyPeriod.md +0 -20
- data/docs/AFNORCreateRoutingCodeBody.md +0 -32
- data/docs/AFNORDestination.md +0 -26
- data/docs/AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode.md +0 -32
- data/docs/AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCodePlatform.md +0 -20
- data/docs/AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCodeRoutingCode.md +0 -28
- data/docs/AFNORDirectoryLinePost201Response.md +0 -22
- data/docs/AFNORDirectoryLineSearchPost200Response.md +0 -22
- data/docs/AFNORError.md +0 -26
- data/docs/AFNORFacilityAdministrativeStatus.md +0 -15
- data/docs/AFNORFacilityPayloadHistory.md +0 -34
- data/docs/AFNORFacilityPayloadHistoryUleB2gAdditionalData.md +0 -28
- data/docs/AFNORFacilityPayloadIncluded.md +0 -32
- data/docs/AFNORFlow.md +0 -38
- data/docs/AFNORFlowAckStatus.md +0 -15
- data/docs/AFNORFlowDirection.md +0 -15
- data/docs/AFNORFlowInfo.md +0 -28
- data/docs/AFNORFullFlowInfo.md +0 -32
- data/docs/AFNORHealthCheckResponse.md +0 -22
- data/docs/AFNORLegalUnitAdministrativeStatus.md +0 -15
- data/docs/AFNORLegalUnitPayloadHistory.md +0 -24
- data/docs/AFNORLegalUnitPayloadIncluded.md +0 -24
- data/docs/AFNORLegalUnitPayloadIncludedNoSiren.md +0 -22
- data/docs/AFNORPlatformStatus.md +0 -15
- data/docs/AFNORProcessingRule.md +0 -15
- data/docs/AFNORReasonCode.md +0 -49
- data/docs/AFNORReasonCodeEnum.md +0 -15
- data/docs/AFNORRecipientPlatformType.md +0 -15
- data/docs/AFNORResult.md +0 -32
- data/docs/AFNORRoutingCodeAdministrativeStatus.md +0 -15
- data/docs/AFNORRoutingCodeField.md +0 -15
- data/docs/AFNORRoutingCodePayloadHistoryLegalUnitFacility.md +0 -34
- data/docs/AFNORRoutingCodePost201Response.md +0 -22
- data/docs/AFNORRoutingCodeSearch.md +0 -28
- data/docs/AFNORRoutingCodeSearchFilters.md +0 -30
- data/docs/AFNORRoutingCodeSearchFiltersAdministrativeStatus.md +0 -20
- data/docs/AFNORRoutingCodeSearchFiltersRoutingCodeName.md +0 -20
- data/docs/AFNORRoutingCodeSearchFiltersRoutingIdentifier.md +0 -20
- data/docs/AFNORRoutingCodeSearchPost200Response.md +0 -22
- data/docs/AFNORRoutingCodeSearchSortingInner.md +0 -20
- data/docs/AFNORSearchDirectoryLine.md +0 -26
- data/docs/AFNORSearchDirectoryLineFilters.md +0 -26
- data/docs/AFNORSearchDirectoryLineFiltersAddressingIdentifier.md +0 -20
- data/docs/AFNORSearchDirectoryLineFiltersAddressingSuffix.md +0 -20
- data/docs/AFNORSearchDirectoryLineSortingInner.md +0 -20
- data/docs/AFNORSearchFlowContent.md +0 -22
- data/docs/AFNORSearchFlowFilters.md +0 -30
- data/docs/AFNORSearchFlowParams.md +0 -20
- data/docs/AFNORSearchSiren.md +0 -26
- data/docs/AFNORSearchSirenFilters.md +0 -24
- data/docs/AFNORSearchSirenFiltersAdministrativeStatus.md +0 -20
- data/docs/AFNORSearchSirenFiltersBusinessName.md +0 -20
- data/docs/AFNORSearchSirenFiltersEntityType.md +0 -20
- data/docs/AFNORSearchSirenFiltersSiren.md +0 -20
- data/docs/AFNORSearchSirenSortingInner.md +0 -20
- data/docs/AFNORSearchSiret.md +0 -28
- data/docs/AFNORSearchSiretFilters.md +0 -34
- data/docs/AFNORSearchSiretFiltersAddressLines.md +0 -20
- data/docs/AFNORSearchSiretFiltersAdministrativeStatus.md +0 -20
- data/docs/AFNORSearchSiretFiltersCountrySubdivision.md +0 -20
- data/docs/AFNORSearchSiretFiltersFacilityType.md +0 -20
- data/docs/AFNORSearchSiretFiltersLocality.md +0 -20
- data/docs/AFNORSearchSiretFiltersName.md +0 -20
- data/docs/AFNORSearchSiretFiltersPostalCode.md +0 -20
- data/docs/AFNORSearchSiretFiltersSiret.md +0 -20
- data/docs/AFNORSearchSiretSortingInner.md +0 -20
- data/docs/AFNORSirenField.md +0 -15
- data/docs/AFNORSirenSearchPost200Response.md +0 -22
- data/docs/AFNORSiretField.md +0 -15
- data/docs/AFNORSiretSearchPost200Response.md +0 -22
- data/docs/AFNORSortingOrder.md +0 -15
- data/docs/AFNORStrictOperator.md +0 -15
- data/docs/AFNORUpdatePatchDirectoryLineBody.md +0 -18
- data/docs/AFNORUpdatePatchRoutingCodeBody.md +0 -24
- data/docs/AFNORUpdatePutRoutingCodeBody.md +0 -24
- data/docs/AFNORWebhookCallbackContent.md +0 -18
- data/docs/AcknowledgmentStatus.md +0 -15
- data/docs/ActionCodeInfo.md +0 -22
- data/docs/ActionCodesResponse.md +0 -22
- data/docs/AdditionalDocument.md +0 -26
- data/docs/AggregatedPaymentInput.md +0 -22
- data/docs/AggregatedTransactionInput.md +0 -32
- data/docs/AllowanceCharge.md +0 -32
- data/docs/AllowanceChargeReasonCode.md +0 -15
- data/docs/AllowanceReasonCode.md +0 -15
- data/docs/AllowanceTotalAmount.md +0 -15
- data/docs/AsyncTaskStatus.md +0 -22
- data/docs/AsyncTasksApi.md +0 -82
- data/docs/BaseAmount.md +0 -15
- data/docs/BoundingBoxSchema.md +0 -30
- data/docs/Buyercountry.md +0 -15
- data/docs/CeleryStatus.md +0 -15
- data/docs/ChargeTotalAmount.md +0 -15
- data/docs/ChorusProDestination.md +0 -20
- data/docs/ChorusProResult.md +0 -22
- data/docs/ClientActivateResponse.md +0 -22
- data/docs/ClientCreateRequest.md +0 -22
- data/docs/ClientDetail.md +0 -38
- data/docs/ClientListResponse.md +0 -24
- data/docs/ClientManagementApi.md +0 -921
- data/docs/ClientSummary.md +0 -38
- data/docs/ClientUpdateRequest.md +0 -22
- data/docs/Contact.md +0 -24
- data/docs/ConvertResumeRequest.md +0 -18
- data/docs/ConvertSuccessResponse.md +0 -36
- data/docs/ConvertValidationFailedResponse.md +0 -34
- data/docs/CountryCode.md +0 -15
- data/docs/CreateAggregatedReportRequest.md +0 -36
- data/docs/CreateCDARRequest.md +0 -52
- data/docs/CreateEReportingRequest.md +0 -38
- data/docs/Currency.md +0 -15
- data/docs/CurrencyCode.md +0 -15
- data/docs/DeliveryParty.md +0 -24
- data/docs/DocType.md +0 -15
- data/docs/DocumentTypeInfo.md +0 -22
- data/docs/DownloadsApi.md +0 -161
- data/docs/EReportingFlowType.md +0 -15
- data/docs/EReportingValidationError.md +0 -22
- data/docs/ElectronicAddress.md +0 -20
- data/docs/ElectronicSignatureApi.md +0 -339
- data/docs/Encaisseamount.md +0 -15
- data/docs/Encaisseamount1.md +0 -15
- data/docs/EncaisseeRequest.md +0 -40
- data/docs/EnrichedInvoiceInfo.md +0 -32
- data/docs/ExtractionInfo.md +0 -24
- data/docs/FacturXConversionApi.md +0 -319
- data/docs/FacturXGenerationApi.md +0 -254
- data/docs/FacturXInvoice.md +0 -76
- data/docs/FacturXPDFInfo.md +0 -22
- data/docs/FacturXPDFXMLVerificationApi.md +0 -240
- data/docs/FacturXValidationApi.md +0 -256
- data/docs/FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.md +0 -15
- data/docs/FactureElectroniqueRestApiSchemasValidationValidationErrorResponse.md +0 -18
- data/docs/FieldStatus.md +0 -15
- data/docs/FileInfo.md +0 -20
- data/docs/FilesInfo.md +0 -20
- data/docs/FlowDirection.md +0 -15
- data/docs/FlowProfile.md +0 -15
- data/docs/FlowSummary.md +0 -32
- data/docs/FlowSyntax.md +0 -15
- data/docs/FlowType.md +0 -15
- data/docs/Flux10EReportingApi.md +0 -814
- data/docs/Flux6InvoiceLifecycleCDARApi.md +0 -698
- data/docs/GenerateAggregatedReportResponse.md +0 -30
- data/docs/GenerateCDARResponse.md +0 -26
- data/docs/GenerateEReportingResponse.md +0 -26
- data/docs/GetChorusProIdRequest.md +0 -22
- data/docs/GetChorusProIdResponse.md +0 -24
- data/docs/GetInvoiceResponse.md +0 -34
- data/docs/GetStructureRequest.md +0 -22
- data/docs/GetStructureResponse.md +0 -34
- data/docs/GlobalAllowanceAmount.md +0 -15
- data/docs/GrossUnitPrice.md +0 -15
- data/docs/HealthApi.md +0 -203
- data/docs/IncomingInvoice.md +0 -54
- data/docs/IncomingSupplier.md +0 -32
- data/docs/InvoiceFormat.md +0 -15
- data/docs/InvoiceInput.md +0 -50
- data/docs/InvoiceLine.md +0 -84
- data/docs/InvoiceLineAllowanceAmount.md +0 -15
- data/docs/InvoicePaymentInput.md +0 -26
- data/docs/InvoiceReferences.md +0 -52
- data/docs/InvoiceTotals.md +0 -38
- data/docs/InvoiceTotalsPrepayment.md +0 -15
- data/docs/InvoiceTypeCode.md +0 -15
- data/docs/InvoiceTypeCodeOutput.md +0 -15
- data/docs/InvoicingFramework.md +0 -24
- data/docs/InvoicingFrameworkCode.md +0 -15
- data/docs/IssuerRoleCode.md +0 -15
- data/docs/KeyRotationRequest.md +0 -20
- data/docs/KeyRotationResponse.md +0 -24
- data/docs/LineNetAmount.md +0 -15
- data/docs/LineSubType.md +0 -15
- data/docs/LineTotalAmount.md +0 -15
- data/docs/LocationInner.md +0 -15
- data/docs/MandatoryNoteSchema.md +0 -30
- data/docs/ManualRate.md +0 -15
- data/docs/ManualVatRate.md +0 -15
- data/docs/MissingField.md +0 -28
- data/docs/OperationNature.md +0 -15
- data/docs/OutputFormat.md +0 -15
- data/docs/PDFValidationResultAPI.md +0 -62
- data/docs/PDPConfigResponse.md +0 -46
- data/docs/PDPConfigUpdateRequest.md +0 -30
- data/docs/PDPCredentials.md +0 -26
- data/docs/PageDimensionsSchema.md +0 -20
- data/docs/Payee.md +0 -32
- data/docs/PaymentAmountByRate.md +0 -20
- data/docs/PaymentCard.md +0 -20
- data/docs/PaymentMeans.md +0 -15
- data/docs/Percentage.md +0 -15
- data/docs/PostalAddress.md +0 -30
- data/docs/PriceAllowanceAmount.md +0 -15
- data/docs/PriceBasisQuantity.md +0 -15
- data/docs/ProcessingOptions.md +0 -24
- data/docs/ProcessingRule.md +0 -15
- data/docs/ProductCharacteristic.md +0 -20
- data/docs/ProductClassification.md +0 -22
- data/docs/Quantity.md +0 -15
- data/docs/Rate1.md +0 -15
- data/docs/ReasonCodeInfo.md +0 -22
- data/docs/ReasonCodesResponse.md +0 -22
- data/docs/Recipient.md +0 -34
- data/docs/RecipientInput.md +0 -26
- data/docs/RefuseeRequest.md +0 -40
- data/docs/ReportIssuer.md +0 -24
- data/docs/ReportPeriod.md +0 -20
- data/docs/ReportSender.md +0 -22
- data/docs/RoundingAmount.md +0 -15
- data/docs/SchematronValidationError.md +0 -32
- data/docs/SearchFlowRequest.md +0 -34
- data/docs/SearchFlowResponse.md +0 -24
- data/docs/SearchServicesResponse.md +0 -24
- data/docs/SearchStructureRequest.md +0 -26
- data/docs/SearchStructureResponse.md +0 -24
- data/docs/SecretStatus.md +0 -24
- data/docs/Sellercountry.md +0 -15
- data/docs/SignatureInfoAPI.md +0 -28
- data/docs/SignatureParameters.md +0 -34
- data/docs/SimplifiedCDARResponse.md +0 -26
- data/docs/SimplifiedInvoiceData.md +0 -42
- data/docs/StatusCodeInfo.md +0 -22
- data/docs/StatusCodesResponse.md +0 -22
- data/docs/StructureParameters.md +0 -22
- data/docs/StructureService.md +0 -24
- data/docs/SubmissionMode.md +0 -15
- data/docs/SubmitAggregatedReportRequest.md +0 -28
- data/docs/SubmitCDARRequest.md +0 -62
- data/docs/SubmitCDARResponse.md +0 -24
- data/docs/SubmitCDARXMLRequest.md +0 -30
- data/docs/SubmitCompleteInvoiceRequest.md +0 -26
- data/docs/SubmitCompleteInvoiceResponse.md +0 -34
- data/docs/SubmitEReportingRequest.md +0 -28
- data/docs/SubmitEReportingResponse.md +0 -32
- data/docs/SubmitFlowRequest.md +0 -28
- data/docs/SubmitFlowResponse.md +0 -30
- data/docs/SubmitGrossAmount.md +0 -15
- data/docs/SubmitInvoiceRequest.md +0 -46
- data/docs/SubmitInvoiceResponse.md +0 -24
- data/docs/SubmitNetAmount.md +0 -15
- data/docs/SubmitVatAmount.md +0 -15
- data/docs/SupplementaryAttachment.md +0 -26
- data/docs/Supplier.md +0 -52
- data/docs/TaskResponse.md +0 -18
- data/docs/TaxBreakdownInput.md +0 -22
- data/docs/TaxDueDateType.md +0 -15
- data/docs/TaxRepresentative.md +0 -22
- data/docs/TaxableAmount.md +0 -15
- data/docs/Taxableamount.md +0 -15
- data/docs/Taxamount.md +0 -15
- data/docs/Taxamount1.md +0 -15
- data/docs/Taxamount2.md +0 -15
- data/docs/Taxexclusiveamount.md +0 -15
- data/docs/Taxexclusiveamount1.md +0 -15
- data/docs/TotalGrossAmount.md +0 -15
- data/docs/TotalNetAmount.md +0 -15
- data/docs/TotalVATAmount.md +0 -15
- data/docs/TransactionCategory.md +0 -15
- data/docs/TransmissionTypeCode.md +0 -15
- data/docs/UnitNetPrice.md +0 -15
- data/docs/UnitOfMeasure.md +0 -15
- data/docs/VATAccountingCode.md +0 -15
- data/docs/VATAmount.md +0 -15
- data/docs/VATCategory.md +0 -15
- data/docs/VATLine.md +0 -32
- data/docs/VATPointDateCode.md +0 -15
- data/docs/ValidateCDARRequest.md +0 -32
- data/docs/ValidateCDARResponse.md +0 -22
- data/docs/ValidateEReportingRequest.md +0 -18
- data/docs/ValidateEReportingResponse.md +0 -28
- data/docs/ValidationErrorResponse.md +0 -24
- data/docs/ValidationInfo.md +0 -28
- data/docs/ValidationSuccessResponse.md +0 -18
- data/docs/VatRate.md +0 -15
- data/docs/VerificationSuccessResponse.md +0 -36
- data/docs/VerifiedFieldSchema.md +0 -34
- data/docs/WebhookSecretDeleteResponse.md +0 -20
- data/docs/WebhookSecretGenerateResponse.md +0 -24
- data/docs/WebhookSecretStatusResponse.md +0 -20
- data/lib/factpulse/api/async_tasks_api.rb +0 -85
- data/lib/factpulse/api/client_management_api.rb +0 -831
- data/lib/factpulse/api/downloads_api.rb +0 -151
- data/lib/factpulse/api/electronic_signature_api.rb +0 -339
- data/lib/factpulse/api/factur_x_conversion_api.rb +0 -306
- data/lib/factpulse/api/factur_x_generation_api.rb +0 -254
- data/lib/factpulse/api/factur_x_validation_api.rb +0 -256
- data/lib/factpulse/api/factur_xpdfxml_verification_api.rb +0 -232
- data/lib/factpulse/api/flux10_e_reporting_api.rb +0 -777
- data/lib/factpulse/api/flux6_invoice_lifecycle_cdar_api.rb +0 -670
- data/lib/factpulse/api/health_api.rb +0 -193
- data/lib/factpulse/helpers/helpers.rb +0 -14
- data/lib/factpulse/models/acknowledgment_status.rb +0 -41
- data/lib/factpulse/models/action_code_info.rb +0 -220
- data/lib/factpulse/models/action_codes_response.rb +0 -207
- data/lib/factpulse/models/additional_document.rb +0 -206
- data/lib/factpulse/models/afnor_acknowledgement.rb +0 -216
- data/lib/factpulse/models/afnor_acknowledgement_detail.rb +0 -267
- data/lib/factpulse/models/afnor_address_edit.rb +0 -353
- data/lib/factpulse/models/afnor_address_patch.rb +0 -386
- data/lib/factpulse/models/afnor_address_put.rb +0 -435
- data/lib/factpulse/models/afnor_address_read.rb +0 -382
- data/lib/factpulse/models/afnor_algorithm.rb +0 -43
- data/lib/factpulse/models/afnor_contains_operator.rb +0 -39
- data/lib/factpulse/models/afnor_create_directory_line_body.rb +0 -156
- data/lib/factpulse/models/afnor_create_directory_line_body_addressing_information.rb +0 -294
- data/lib/factpulse/models/afnor_create_directory_line_body_period.rb +0 -175
- data/lib/factpulse/models/afnor_create_routing_code_body.rb +0 -412
- data/lib/factpulse/models/afnor_credentials.rb +0 -169
- data/lib/factpulse/models/afnor_destination.rb +0 -224
- data/lib/factpulse/models/afnor_diffusion_status.rb +0 -40
- data/lib/factpulse/models/afnor_directory_line_field.rb +0 -44
- data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code.rb +0 -312
- data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code_platform.rb +0 -178
- data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code_routing_code.rb +0 -308
- data/lib/factpulse/models/afnor_directory_line_post201_response.rb +0 -187
- data/lib/factpulse/models/afnor_directory_line_search_post200_response.rb +0 -168
- data/lib/factpulse/models/afnor_entity_type.rb +0 -40
- data/lib/factpulse/models/afnor_error.rb +0 -214
- data/lib/factpulse/models/afnor_facility_administrative_status.rb +0 -40
- data/lib/factpulse/models/afnor_facility_nature.rb +0 -40
- data/lib/factpulse/models/afnor_facility_payload_history.rb +0 -323
- data/lib/factpulse/models/afnor_facility_payload_history_ule_b2g_additional_data.rb +0 -198
- data/lib/factpulse/models/afnor_facility_payload_included.rb +0 -314
- data/lib/factpulse/models/afnor_facility_type.rb +0 -40
- data/lib/factpulse/models/afnor_flow.rb +0 -315
- data/lib/factpulse/models/afnor_flow_ack_status.rb +0 -41
- data/lib/factpulse/models/afnor_flow_direction.rb +0 -40
- data/lib/factpulse/models/afnor_flow_info.rb +0 -293
- data/lib/factpulse/models/afnor_flow_profile.rb +0 -41
- data/lib/factpulse/models/afnor_flow_syntax.rb +0 -43
- data/lib/factpulse/models/afnor_flow_type.rb +0 -51
- data/lib/factpulse/models/afnor_full_flow_info.rb +0 -339
- data/lib/factpulse/models/afnor_health_check_response.rb +0 -220
- data/lib/factpulse/models/afnor_legal_unit_administrative_status.rb +0 -40
- data/lib/factpulse/models/afnor_legal_unit_payload_history.rb +0 -247
- data/lib/factpulse/models/afnor_legal_unit_payload_included.rb +0 -247
- data/lib/factpulse/models/afnor_legal_unit_payload_included_no_siren.rb +0 -207
- data/lib/factpulse/models/afnor_platform_status.rb +0 -40
- data/lib/factpulse/models/afnor_processing_rule.rb +0 -44
- data/lib/factpulse/models/afnor_reason_code.rb +0 -105
- data/lib/factpulse/models/afnor_reason_code_enum.rb +0 -53
- data/lib/factpulse/models/afnor_recipient_platform_type.rb +0 -40
- data/lib/factpulse/models/afnor_result.rb +0 -270
- data/lib/factpulse/models/afnor_routing_code_administrative_status.rb +0 -40
- data/lib/factpulse/models/afnor_routing_code_field.rb +0 -46
- data/lib/factpulse/models/afnor_routing_code_payload_history_legal_unit_facility.rb +0 -366
- data/lib/factpulse/models/afnor_routing_code_post201_response.rb +0 -228
- data/lib/factpulse/models/afnor_routing_code_search.rb +0 -224
- data/lib/factpulse/models/afnor_routing_code_search_filters.rb +0 -201
- data/lib/factpulse/models/afnor_routing_code_search_filters_administrative_status.rb +0 -178
- data/lib/factpulse/models/afnor_routing_code_search_filters_routing_code_name.rb +0 -209
- data/lib/factpulse/models/afnor_routing_code_search_filters_routing_identifier.rb +0 -209
- data/lib/factpulse/models/afnor_routing_code_search_post200_response.rb +0 -168
- data/lib/factpulse/models/afnor_routing_code_search_sorting_inner.rb +0 -179
- data/lib/factpulse/models/afnor_search_directory_line.rb +0 -191
- data/lib/factpulse/models/afnor_search_directory_line_filters.rb +0 -183
- data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_identifier.rb +0 -198
- data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_suffix.rb +0 -198
- data/lib/factpulse/models/afnor_search_directory_line_sorting_inner.rb +0 -179
- data/lib/factpulse/models/afnor_search_flow_content.rb +0 -168
- data/lib/factpulse/models/afnor_search_flow_filters.rb +0 -250
- data/lib/factpulse/models/afnor_search_flow_params.rb +0 -195
- data/lib/factpulse/models/afnor_search_siren.rb +0 -191
- data/lib/factpulse/models/afnor_search_siren_filters.rb +0 -174
- data/lib/factpulse/models/afnor_search_siren_filters_administrative_status.rb +0 -178
- data/lib/factpulse/models/afnor_search_siren_filters_business_name.rb +0 -198
- data/lib/factpulse/models/afnor_search_siren_filters_entity_type.rb +0 -178
- data/lib/factpulse/models/afnor_search_siren_filters_siren.rb +0 -209
- data/lib/factpulse/models/afnor_search_siren_sorting_inner.rb +0 -179
- data/lib/factpulse/models/afnor_search_siret.rb +0 -224
- data/lib/factpulse/models/afnor_search_siret_filters.rb +0 -219
- data/lib/factpulse/models/afnor_search_siret_filters_address_lines.rb +0 -198
- data/lib/factpulse/models/afnor_search_siret_filters_administrative_status.rb +0 -178
- data/lib/factpulse/models/afnor_search_siret_filters_country_subdivision.rb +0 -198
- data/lib/factpulse/models/afnor_search_siret_filters_facility_type.rb +0 -178
- data/lib/factpulse/models/afnor_search_siret_filters_locality.rb +0 -198
- data/lib/factpulse/models/afnor_search_siret_filters_name.rb +0 -198
- data/lib/factpulse/models/afnor_search_siret_filters_postal_code.rb +0 -209
- data/lib/factpulse/models/afnor_search_siret_filters_siret.rb +0 -209
- data/lib/factpulse/models/afnor_search_siret_sorting_inner.rb +0 -179
- data/lib/factpulse/models/afnor_siren_field.rb +0 -43
- data/lib/factpulse/models/afnor_siren_search_post200_response.rb +0 -168
- data/lib/factpulse/models/afnor_siret_field.rb +0 -52
- data/lib/factpulse/models/afnor_siret_search_post200_response.rb +0 -168
- data/lib/factpulse/models/afnor_sorting_order.rb +0 -40
- data/lib/factpulse/models/afnor_strict_operator.rb +0 -39
- data/lib/factpulse/models/afnor_update_patch_directory_line_body.rb +0 -148
- data/lib/factpulse/models/afnor_update_patch_routing_code_body.rb +0 -258
- data/lib/factpulse/models/afnor_update_put_routing_code_body.rb +0 -289
- data/lib/factpulse/models/afnor_webhook_callback_content.rb +0 -148
- data/lib/factpulse/models/aggregated_payment_input.rb +0 -213
- data/lib/factpulse/models/aggregated_transaction_input.rb +0 -349
- data/lib/factpulse/models/allowance_charge.rb +0 -274
- data/lib/factpulse/models/allowance_charge_reason_code.rb +0 -76
- data/lib/factpulse/models/allowance_reason_code.rb +0 -45
- data/lib/factpulse/models/allowance_total_amount.rb +0 -104
- data/lib/factpulse/models/amount.rb +0 -104
- data/lib/factpulse/models/amount1.rb +0 -104
- data/lib/factpulse/models/amount2.rb +0 -104
- data/lib/factpulse/models/amount_due.rb +0 -104
- data/lib/factpulse/models/api_profile.rb +0 -43
- data/lib/factpulse/models/async_task_status.rb +0 -227
- data/lib/factpulse/models/base_amount.rb +0 -104
- data/lib/factpulse/models/bounding_box_schema.rb +0 -332
- data/lib/factpulse/models/buyercountry.rb +0 -104
- data/lib/factpulse/models/celery_status.rb +0 -43
- data/lib/factpulse/models/charge_total_amount.rb +0 -104
- data/lib/factpulse/models/chorus_pro_destination.rb +0 -194
- data/lib/factpulse/models/chorus_pro_result.rb +0 -186
- data/lib/factpulse/models/client_activate_response.rb +0 -220
- data/lib/factpulse/models/client_create_request.rb +0 -236
- data/lib/factpulse/models/client_detail.rb +0 -368
- data/lib/factpulse/models/client_list_response.rb +0 -249
- data/lib/factpulse/models/client_summary.rb +0 -368
- data/lib/factpulse/models/client_update_request.rb +0 -225
- data/lib/factpulse/models/contact.rb +0 -179
- data/lib/factpulse/models/convert_resume_request.rb +0 -151
- data/lib/factpulse/models/convert_success_response.rb +0 -360
- data/lib/factpulse/models/convert_validation_failed_response.rb +0 -339
- data/lib/factpulse/models/country_code.rb +0 -208
- data/lib/factpulse/models/create_aggregated_report_request.rb +0 -320
- data/lib/factpulse/models/create_cdar_request.rb +0 -414
- data/lib/factpulse/models/create_e_reporting_request.rb +0 -347
- data/lib/factpulse/models/currency.rb +0 -104
- data/lib/factpulse/models/currency_code.rb +0 -91
- data/lib/factpulse/models/delivery_party.rb +0 -179
- data/lib/factpulse/models/doc_type.rb +0 -42
- data/lib/factpulse/models/document_type_info.rb +0 -220
- data/lib/factpulse/models/e_reporting_flow_type.rb +0 -42
- data/lib/factpulse/models/e_reporting_validation_error.rb +0 -203
- data/lib/factpulse/models/electronic_address.rb +0 -198
- data/lib/factpulse/models/encaisseamount.rb +0 -104
- data/lib/factpulse/models/encaisseamount1.rb +0 -103
- data/lib/factpulse/models/encaissee_request.rb +0 -347
- data/lib/factpulse/models/enriched_invoice_info.rb +0 -354
- data/lib/factpulse/models/extraction_info.rb +0 -217
- data/lib/factpulse/models/factur_x_invoice.rb +0 -580
- data/lib/factpulse/models/factur_xpdf_info.rb +0 -205
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_ereporting_invoice_type_code.rb +0 -43
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb +0 -191
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_validation_validation_error_response.rb +0 -168
- data/lib/factpulse/models/field_status.rb +0 -43
- data/lib/factpulse/models/file_info.rb +0 -161
- data/lib/factpulse/models/files_info.rb +0 -159
- data/lib/factpulse/models/flow_direction.rb +0 -40
- data/lib/factpulse/models/flow_profile.rb +0 -41
- data/lib/factpulse/models/flow_summary.rb +0 -253
- data/lib/factpulse/models/flow_syntax.rb +0 -43
- data/lib/factpulse/models/flow_type.rb +0 -51
- data/lib/factpulse/models/generate_aggregated_report_response.rb +0 -330
- data/lib/factpulse/models/generate_cdar_response.rb +0 -273
- data/lib/factpulse/models/generate_e_reporting_response.rb +0 -274
- data/lib/factpulse/models/get_chorus_pro_id_request.rb +0 -188
- data/lib/factpulse/models/get_chorus_pro_id_response.rb +0 -230
- data/lib/factpulse/models/get_invoice_request.rb +0 -176
- data/lib/factpulse/models/get_invoice_response.rb +0 -263
- data/lib/factpulse/models/get_structure_request.rb +0 -188
- data/lib/factpulse/models/get_structure_response.rb +0 -263
- data/lib/factpulse/models/global_allowance_amount.rb +0 -104
- data/lib/factpulse/models/gross_unit_price.rb +0 -104
- data/lib/factpulse/models/incoming_invoice.rb +0 -489
- data/lib/factpulse/models/incoming_supplier.rb +0 -236
- data/lib/factpulse/models/invoice_format.rb +0 -41
- data/lib/factpulse/models/invoice_input.rb +0 -439
- data/lib/factpulse/models/invoice_line.rb +0 -593
- data/lib/factpulse/models/invoice_line_allowance_amount.rb +0 -104
- data/lib/factpulse/models/invoice_note.rb +0 -176
- data/lib/factpulse/models/invoice_payment_input.rb +0 -267
- data/lib/factpulse/models/invoice_references.rb +0 -393
- data/lib/factpulse/models/invoice_status.rb +0 -203
- data/lib/factpulse/models/invoice_totals.rb +0 -312
- data/lib/factpulse/models/invoice_totals_prepayment.rb +0 -104
- data/lib/factpulse/models/invoice_type_code.rb +0 -54
- data/lib/factpulse/models/invoice_type_code_output.rb +0 -54
- data/lib/factpulse/models/invoicing_framework.rb +0 -218
- data/lib/factpulse/models/invoicing_framework_code.rb +0 -42
- data/lib/factpulse/models/issuer_role_code.rb +0 -40
- data/lib/factpulse/models/key_rotation_request.rb +0 -211
- data/lib/factpulse/models/key_rotation_response.rb +0 -232
- data/lib/factpulse/models/line_net_amount.rb +0 -104
- data/lib/factpulse/models/line_sub_type.rb +0 -41
- data/lib/factpulse/models/line_total_amount.rb +0 -104
- data/lib/factpulse/models/location_inner.rb +0 -103
- data/lib/factpulse/models/mandatory_note_schema.rb +0 -265
- data/lib/factpulse/models/manual_rate.rb +0 -104
- data/lib/factpulse/models/manual_vat_rate.rb +0 -104
- data/lib/factpulse/models/missing_field.rb +0 -269
- data/lib/factpulse/models/operation_nature.rb +0 -52
- data/lib/factpulse/models/output_format.rb +0 -40
- data/lib/factpulse/models/page_dimensions_schema.rb +0 -193
- data/lib/factpulse/models/payee.rb +0 -281
- data/lib/factpulse/models/payment_amount_by_rate.rb +0 -191
- data/lib/factpulse/models/payment_card.rb +0 -159
- data/lib/factpulse/models/payment_means.rb +0 -44
- data/lib/factpulse/models/pdf_validation_result_api.rb +0 -523
- data/lib/factpulse/models/pdp_config_response.rb +0 -306
- data/lib/factpulse/models/pdp_config_update_request.rb +0 -315
- data/lib/factpulse/models/pdp_credentials.rb +0 -257
- data/lib/factpulse/models/percentage.rb +0 -104
- data/lib/factpulse/models/postal_address.rb +0 -209
- data/lib/factpulse/models/price_allowance_amount.rb +0 -104
- data/lib/factpulse/models/price_basis_quantity.rb +0 -104
- data/lib/factpulse/models/processing_options.rb +0 -207
- data/lib/factpulse/models/processing_rule.rb +0 -44
- data/lib/factpulse/models/product_characteristic.rb +0 -193
- data/lib/factpulse/models/product_classification.rb +0 -186
- data/lib/factpulse/models/quantity.rb +0 -104
- data/lib/factpulse/models/rate.rb +0 -104
- data/lib/factpulse/models/rate1.rb +0 -104
- data/lib/factpulse/models/reason_code_info.rb +0 -220
- data/lib/factpulse/models/reason_codes_response.rb +0 -207
- data/lib/factpulse/models/recipient.rb +0 -231
- data/lib/factpulse/models/recipient_input.rb +0 -191
- data/lib/factpulse/models/refusee_request.rb +0 -346
- data/lib/factpulse/models/report_issuer.rb +0 -236
- data/lib/factpulse/models/report_period.rb +0 -193
- data/lib/factpulse/models/report_sender.rb +0 -221
- data/lib/factpulse/models/rounding_amount.rb +0 -104
- data/lib/factpulse/models/schematron_validation_error.rb +0 -294
- data/lib/factpulse/models/search_flow_request.rb +0 -306
- data/lib/factpulse/models/search_flow_response.rb +0 -249
- data/lib/factpulse/models/search_services_response.rb +0 -217
- data/lib/factpulse/models/search_structure_request.rb +0 -191
- data/lib/factpulse/models/search_structure_response.rb +0 -216
- data/lib/factpulse/models/secret_status.rb +0 -213
- data/lib/factpulse/models/sellercountry.rb +0 -104
- data/lib/factpulse/models/signature_info_api.rb +0 -216
- data/lib/factpulse/models/signature_parameters.rb +0 -235
- data/lib/factpulse/models/simplified_cdar_response.rb +0 -274
- data/lib/factpulse/models/simplified_invoice_data.rb +0 -404
- data/lib/factpulse/models/status_code_info.rb +0 -220
- data/lib/factpulse/models/status_codes_response.rb +0 -207
- data/lib/factpulse/models/structure_parameters.rb +0 -175
- data/lib/factpulse/models/structure_service.rb +0 -247
- data/lib/factpulse/models/submission_mode.rb +0 -41
- data/lib/factpulse/models/submit_aggregated_report_request.rb +0 -216
- data/lib/factpulse/models/submit_cdar_request.rb +0 -466
- data/lib/factpulse/models/submit_cdar_response.rb +0 -213
- data/lib/factpulse/models/submit_cdarxml_request.rb +0 -228
- data/lib/factpulse/models/submit_complete_invoice_request.rb +0 -239
- data/lib/factpulse/models/submit_complete_invoice_response.rb +0 -355
- data/lib/factpulse/models/submit_e_reporting_request.rb +0 -216
- data/lib/factpulse/models/submit_e_reporting_response.rb +0 -306
- data/lib/factpulse/models/submit_flow_request.rb +0 -238
- data/lib/factpulse/models/submit_flow_response.rb +0 -294
- data/lib/factpulse/models/submit_gross_amount.rb +0 -104
- data/lib/factpulse/models/submit_invoice_request.rb +0 -388
- data/lib/factpulse/models/submit_invoice_response.rb +0 -213
- data/lib/factpulse/models/submit_net_amount.rb +0 -104
- data/lib/factpulse/models/submit_vat_amount.rb +0 -104
- data/lib/factpulse/models/supplementary_attachment.rb +0 -274
- data/lib/factpulse/models/supplier.rb +0 -337
- data/lib/factpulse/models/task_response.rb +0 -166
- data/lib/factpulse/models/tax_breakdown_input.rb +0 -217
- data/lib/factpulse/models/tax_due_date_type.rb +0 -44
- data/lib/factpulse/models/tax_representative.rb +0 -220
- data/lib/factpulse/models/taxable_amount.rb +0 -104
- data/lib/factpulse/models/taxableamount.rb +0 -104
- data/lib/factpulse/models/taxamount.rb +0 -104
- data/lib/factpulse/models/taxamount1.rb +0 -104
- data/lib/factpulse/models/taxamount2.rb +0 -104
- data/lib/factpulse/models/taxexclusiveamount.rb +0 -104
- data/lib/factpulse/models/taxexclusiveamount1.rb +0 -104
- data/lib/factpulse/models/total_gross_amount.rb +0 -104
- data/lib/factpulse/models/total_net_amount.rb +0 -104
- data/lib/factpulse/models/total_vat_amount.rb +0 -104
- data/lib/factpulse/models/transaction_category.rb +0 -42
- data/lib/factpulse/models/transmission_type_code.rb +0 -40
- data/lib/factpulse/models/unit_net_price.rb +0 -104
- data/lib/factpulse/models/unit_of_measure.rb +0 -44
- data/lib/factpulse/models/validate_cdar_request.rb +0 -219
- data/lib/factpulse/models/validate_cdar_response.rb +0 -190
- data/lib/factpulse/models/validate_e_reporting_request.rb +0 -166
- data/lib/factpulse/models/validate_e_reporting_response.rb +0 -271
- data/lib/factpulse/models/validation_error_response.rb +0 -215
- data/lib/factpulse/models/validation_info.rb +0 -255
- data/lib/factpulse/models/validation_success_response.rb +0 -166
- data/lib/factpulse/models/vat_accounting_code.rb +0 -42
- data/lib/factpulse/models/vat_amount.rb +0 -104
- data/lib/factpulse/models/vat_category.rb +0 -47
- data/lib/factpulse/models/vat_line.rb +0 -272
- data/lib/factpulse/models/vat_point_date_code.rb +0 -41
- data/lib/factpulse/models/vat_rate.rb +0 -104
- data/lib/factpulse/models/verification_success_response.rb +0 -343
- data/lib/factpulse/models/verified_field_schema.rb +0 -334
- data/lib/factpulse/models/webhook_secret_delete_response.rb +0 -193
- data/lib/factpulse/models/webhook_secret_generate_response.rb +0 -247
- data/lib/factpulse/models/webhook_secret_status_response.rb +0 -176
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#API REST FactPulse
|
|
3
3
|
|
|
4
|
-
# REST
|
|
4
|
+
# API REST pour la facturation électronique en France : Factur-X, AFNOR PDP/PA, signatures électroniques. ## 🎯 Fonctionnalités principales ### 📄 Génération de factures Factur-X - **Formats** : XML seul ou PDF/A-3 avec XML embarqué - **Profils** : MINIMUM, BASIC, EN16931, EXTENDED - **Normes** : EN 16931 (directive UE 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Format simplifié** : Génération à partir de SIRET + auto-enrichissement (API Chorus Pro + Recherche Entreprises) ### ✅ Validation et conformité - **Validation XML** : Schematron (45 à 210+ règles selon profil) - **Validation PDF** : PDF/A-3, métadonnées XMP Factur-X, signatures électroniques - **VeraPDF** : Validation stricte PDF/A (146+ règles ISO 19005-3) - **Traitement asynchrone** : Support Celery pour validations lourdes (VeraPDF) ### 📡 Intégration AFNOR PDP/PA (XP Z12-013) - **Soumission de flux** : Envoi de factures vers Plateformes de Dématérialisation Partenaires - **Recherche de flux** : Consultation des factures soumises - **Téléchargement** : Récupération des PDF/A-3 avec XML - **Directory Service** : Recherche d'entreprises (SIREN/SIRET) - **Multi-client** : Support de plusieurs configs PDP par utilisateur (stored credentials ou zero-storage) ### ✍️ Signature électronique PDF - **Standards** : PAdES-B-B, PAdES-B-T (horodatage RFC 3161), PAdES-B-LT (archivage long terme) - **Niveaux eIDAS** : SES (auto-signé), AdES (CA commerciale), QES (PSCO) - **Validation** : Vérification intégrité cryptographique et certificats - **Génération de certificats** : Certificats X.509 auto-signés pour tests ### 🔄 Traitement asynchrone - **Celery** : Génération, validation et signature asynchrones - **Polling** : Suivi d'état via `/taches/{id_tache}/statut` - **Pas de timeout** : Idéal pour gros fichiers ou validations lourdes ## 🔒 Authentification Toutes les requêtes nécessitent un **token JWT** dans le header Authorization : ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### Comment obtenir un token JWT ? #### 🔑 Méthode 1 : API `/api/token/` (Recommandée) **URL :** `https://www.factpulse.fr/api/token/` Cette méthode est **recommandée** pour l'intégration dans vos applications et workflows CI/CD. **Prérequis :** Avoir défini un mot de passe sur votre compte **Pour les utilisateurs inscrits via email/password :** - Vous avez déjà un mot de passe, utilisez-le directement **Pour les utilisateurs inscrits via OAuth (Google/GitHub) :** - Vous devez d'abord définir un mot de passe sur : https://www.factpulse.fr/accounts/password/set/ - Une fois le mot de passe créé, vous pourrez utiliser l'API **Exemple de requête :** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d '{ \"username\": \"votre_email@example.com\", \"password\": \"votre_mot_de_passe\" }' ``` **Paramètre optionnel `client_uid` :** Pour sélectionner les credentials d'un client spécifique (PA/PDP, Chorus Pro, certificats de signature), ajoutez `client_uid` : ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d '{ \"username\": \"votre_email@example.com\", \"password\": \"votre_mot_de_passe\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }' ``` Le `client_uid` sera inclus dans le JWT et permettra à l'API d'utiliser automatiquement : - Les credentials AFNOR/PDP configurés pour ce client - Les credentials Chorus Pro configurés pour ce client - Les certificats de signature électronique configurés pour ce client **Réponse :** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Token d'accès (validité: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Token de rafraîchissement (validité: 7 jours) } ``` **Avantages :** - ✅ Automatisation complète (CI/CD, scripts) - ✅ Gestion programmatique des tokens - ✅ Support du refresh token pour renouveler automatiquement l'accès - ✅ Intégration facile dans n'importe quel langage/outil #### 🖥️ Méthode 2 : Génération via Dashboard (Alternative) **URL :** https://www.factpulse.fr/dashboard/ Cette méthode convient pour des tests rapides ou une utilisation occasionnelle via l'interface graphique. **Fonctionnement :** - Connectez-vous au dashboard - Utilisez les boutons \"Generate Test Token\" ou \"Generate Production Token\" - Fonctionne pour **tous** les utilisateurs (OAuth et email/password), sans nécessiter de mot de passe **Types de tokens :** - **Token Test** : Validité 24h, quota 1000 appels/jour (gratuit) - **Token Production** : Validité 7 jours, quota selon votre forfait **Avantages :** - ✅ Rapide pour tester l'API - ✅ Aucun mot de passe requis - ✅ Interface visuelle simple **Inconvénients :** - ❌ Nécessite une action manuelle - ❌ Pas de refresh token - ❌ Moins adapté pour l'automatisation ### 📚 Documentation complète Pour plus d'informations sur l'authentification et l'utilisation de l'API : https://www.factpulse.fr/documentation-api/
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
|
-
|
|
7
|
+
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.18.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -19,8 +19,8 @@ module FactPulse
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
-
#
|
|
23
|
-
#
|
|
22
|
+
# Ajouter une pièce jointe
|
|
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
24
|
# @param request_body [Hash<String, Object>]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @return [Object]
|
|
@@ -29,8 +29,8 @@ module FactPulse
|
|
|
29
29
|
data
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
#
|
|
33
|
-
#
|
|
32
|
+
# Ajouter une pièce jointe
|
|
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
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
|
|
@@ -68,7 +68,7 @@ module FactPulse
|
|
|
68
68
|
return_type = opts[:debug_return_type] || 'Object'
|
|
69
69
|
|
|
70
70
|
# auth_names
|
|
71
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
71
|
+
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
72
72
|
|
|
73
73
|
new_options = opts.merge(
|
|
74
74
|
:operation => :"ChorusProApi.ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post",
|
|
@@ -87,8 +87,8 @@ module FactPulse
|
|
|
87
87
|
return data, status_code, headers
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
#
|
|
91
|
-
#
|
|
90
|
+
# Compléter une facture suspendue (Fournisseur)
|
|
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
92
|
# @param request_body [Hash<String, Object>]
|
|
93
93
|
# @param [Hash] opts the optional parameters
|
|
94
94
|
# @return [Object]
|
|
@@ -97,8 +97,8 @@ module FactPulse
|
|
|
97
97
|
data
|
|
98
98
|
end
|
|
99
99
|
|
|
100
|
-
#
|
|
101
|
-
#
|
|
100
|
+
# Compléter une facture suspendue (Fournisseur)
|
|
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
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
|
|
@@ -136,7 +136,7 @@ module FactPulse
|
|
|
136
136
|
return_type = opts[:debug_return_type] || 'Object'
|
|
137
137
|
|
|
138
138
|
# auth_names
|
|
139
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
139
|
+
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
140
140
|
|
|
141
141
|
new_options = opts.merge(
|
|
142
142
|
:operation => :"ChorusProApi.completer_facture_api_v1_chorus_pro_factures_completer_post",
|
|
@@ -155,28 +155,28 @@ module FactPulse
|
|
|
155
155
|
return data, status_code, headers
|
|
156
156
|
end
|
|
157
157
|
|
|
158
|
-
#
|
|
159
|
-
#
|
|
160
|
-
# @param
|
|
158
|
+
# Consulter le statut d'une facture
|
|
159
|
+
# Récupère les informations et le statut actuel d'une facture soumise à Chorus Pro. **Retour** : - Numéro et date de facture - Montant TTC - **Statut courant** : SOUMISE, VALIDEE, REJETEE, SUSPENDUE, MANDATEE, MISE_EN_PAIEMENT, etc. - Structure destinataire **Cas d'usage** : - Suivre l'évolution du traitement d'une facture - Vérifier si une facture a été validée ou rejetée - Obtenir la date de mise en paiement **Polling** : Appelez cet endpoint régulièrement pour suivre l'évolution du statut.
|
|
160
|
+
# @param consulter_facture_request [ConsulterFactureRequest]
|
|
161
161
|
# @param [Hash] opts the optional parameters
|
|
162
|
-
# @return [
|
|
163
|
-
def consulter_facture_api_v1_chorus_pro_factures_consulter_post(
|
|
164
|
-
data, _status_code, _headers = consulter_facture_api_v1_chorus_pro_factures_consulter_post_with_http_info(
|
|
162
|
+
# @return [ConsulterFactureResponse]
|
|
163
|
+
def consulter_facture_api_v1_chorus_pro_factures_consulter_post(consulter_facture_request, opts = {})
|
|
164
|
+
data, _status_code, _headers = consulter_facture_api_v1_chorus_pro_factures_consulter_post_with_http_info(consulter_facture_request, opts)
|
|
165
165
|
data
|
|
166
166
|
end
|
|
167
167
|
|
|
168
|
-
#
|
|
169
|
-
#
|
|
170
|
-
# @param
|
|
168
|
+
# Consulter le statut d'une facture
|
|
169
|
+
# Récupère les informations et le statut actuel d'une facture soumise à Chorus Pro. **Retour** : - Numéro et date de facture - Montant TTC - **Statut courant** : SOUMISE, VALIDEE, REJETEE, SUSPENDUE, MANDATEE, MISE_EN_PAIEMENT, etc. - Structure destinataire **Cas d'usage** : - Suivre l'évolution du traitement d'une facture - Vérifier si une facture a été validée ou rejetée - Obtenir la date de mise en paiement **Polling** : Appelez cet endpoint régulièrement pour suivre l'évolution du statut.
|
|
170
|
+
# @param consulter_facture_request [ConsulterFactureRequest]
|
|
171
171
|
# @param [Hash] opts the optional parameters
|
|
172
|
-
# @return [Array<(
|
|
173
|
-
def consulter_facture_api_v1_chorus_pro_factures_consulter_post_with_http_info(
|
|
172
|
+
# @return [Array<(ConsulterFactureResponse, Integer, Hash)>] ConsulterFactureResponse data, response status code and response headers
|
|
173
|
+
def consulter_facture_api_v1_chorus_pro_factures_consulter_post_with_http_info(consulter_facture_request, opts = {})
|
|
174
174
|
if @api_client.config.debugging
|
|
175
175
|
@api_client.config.logger.debug 'Calling API: ChorusProApi.consulter_facture_api_v1_chorus_pro_factures_consulter_post ...'
|
|
176
176
|
end
|
|
177
|
-
# verify the required parameter '
|
|
178
|
-
if @api_client.config.client_side_validation &&
|
|
179
|
-
fail ArgumentError, "Missing the required parameter '
|
|
177
|
+
# verify the required parameter 'consulter_facture_request' is set
|
|
178
|
+
if @api_client.config.client_side_validation && consulter_facture_request.nil?
|
|
179
|
+
fail ArgumentError, "Missing the required parameter 'consulter_facture_request' when calling ChorusProApi.consulter_facture_api_v1_chorus_pro_factures_consulter_post"
|
|
180
180
|
end
|
|
181
181
|
# resource path
|
|
182
182
|
local_var_path = '/api/v1/chorus-pro/factures/consulter'
|
|
@@ -198,13 +198,13 @@ module FactPulse
|
|
|
198
198
|
form_params = opts[:form_params] || {}
|
|
199
199
|
|
|
200
200
|
# http body (model)
|
|
201
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
201
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(consulter_facture_request)
|
|
202
202
|
|
|
203
203
|
# return_type
|
|
204
|
-
return_type = opts[:debug_return_type] || '
|
|
204
|
+
return_type = opts[:debug_return_type] || 'ConsulterFactureResponse'
|
|
205
205
|
|
|
206
206
|
# auth_names
|
|
207
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
207
|
+
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
208
208
|
|
|
209
209
|
new_options = opts.merge(
|
|
210
210
|
:operation => :"ChorusProApi.consulter_facture_api_v1_chorus_pro_factures_consulter_post",
|
|
@@ -223,28 +223,28 @@ module FactPulse
|
|
|
223
223
|
return data, status_code, headers
|
|
224
224
|
end
|
|
225
225
|
|
|
226
|
-
#
|
|
227
|
-
#
|
|
228
|
-
# @param
|
|
226
|
+
# Consulter les détails d'une structure
|
|
227
|
+
# Récupère les informations détaillées d'une structure Chorus Pro. **Retour** : - Raison sociale - Numéro de TVA intracommunautaire - Email de contact - **Paramètres obligatoires** : Indique si le code service et/ou numéro d'engagement sont requis pour soumettre une facture **Étape typique** : Appelée après `rechercher-structures` pour savoir quels champs sont obligatoires avant de soumettre une facture.
|
|
228
|
+
# @param consulter_structure_request [ConsulterStructureRequest]
|
|
229
229
|
# @param [Hash] opts the optional parameters
|
|
230
|
-
# @return [
|
|
231
|
-
def consulter_structure_api_v1_chorus_pro_structures_consulter_post(
|
|
232
|
-
data, _status_code, _headers = consulter_structure_api_v1_chorus_pro_structures_consulter_post_with_http_info(
|
|
230
|
+
# @return [ConsulterStructureResponse]
|
|
231
|
+
def consulter_structure_api_v1_chorus_pro_structures_consulter_post(consulter_structure_request, opts = {})
|
|
232
|
+
data, _status_code, _headers = consulter_structure_api_v1_chorus_pro_structures_consulter_post_with_http_info(consulter_structure_request, opts)
|
|
233
233
|
data
|
|
234
234
|
end
|
|
235
235
|
|
|
236
|
-
#
|
|
237
|
-
#
|
|
238
|
-
# @param
|
|
236
|
+
# Consulter les détails d'une structure
|
|
237
|
+
# Récupère les informations détaillées d'une structure Chorus Pro. **Retour** : - Raison sociale - Numéro de TVA intracommunautaire - Email de contact - **Paramètres obligatoires** : Indique si le code service et/ou numéro d'engagement sont requis pour soumettre une facture **Étape typique** : Appelée après `rechercher-structures` pour savoir quels champs sont obligatoires avant de soumettre une facture.
|
|
238
|
+
# @param consulter_structure_request [ConsulterStructureRequest]
|
|
239
239
|
# @param [Hash] opts the optional parameters
|
|
240
|
-
# @return [Array<(
|
|
241
|
-
def consulter_structure_api_v1_chorus_pro_structures_consulter_post_with_http_info(
|
|
240
|
+
# @return [Array<(ConsulterStructureResponse, Integer, Hash)>] ConsulterStructureResponse data, response status code and response headers
|
|
241
|
+
def consulter_structure_api_v1_chorus_pro_structures_consulter_post_with_http_info(consulter_structure_request, opts = {})
|
|
242
242
|
if @api_client.config.debugging
|
|
243
243
|
@api_client.config.logger.debug 'Calling API: ChorusProApi.consulter_structure_api_v1_chorus_pro_structures_consulter_post ...'
|
|
244
244
|
end
|
|
245
|
-
# verify the required parameter '
|
|
246
|
-
if @api_client.config.client_side_validation &&
|
|
247
|
-
fail ArgumentError, "Missing the required parameter '
|
|
245
|
+
# verify the required parameter 'consulter_structure_request' is set
|
|
246
|
+
if @api_client.config.client_side_validation && consulter_structure_request.nil?
|
|
247
|
+
fail ArgumentError, "Missing the required parameter 'consulter_structure_request' when calling ChorusProApi.consulter_structure_api_v1_chorus_pro_structures_consulter_post"
|
|
248
248
|
end
|
|
249
249
|
# resource path
|
|
250
250
|
local_var_path = '/api/v1/chorus-pro/structures/consulter'
|
|
@@ -266,13 +266,13 @@ module FactPulse
|
|
|
266
266
|
form_params = opts[:form_params] || {}
|
|
267
267
|
|
|
268
268
|
# http body (model)
|
|
269
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
269
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(consulter_structure_request)
|
|
270
270
|
|
|
271
271
|
# return_type
|
|
272
|
-
return_type = opts[:debug_return_type] || '
|
|
272
|
+
return_type = opts[:debug_return_type] || 'ConsulterStructureResponse'
|
|
273
273
|
|
|
274
274
|
# auth_names
|
|
275
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
275
|
+
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
276
276
|
|
|
277
277
|
new_options = opts.merge(
|
|
278
278
|
:operation => :"ChorusProApi.consulter_structure_api_v1_chorus_pro_structures_consulter_post",
|
|
@@ -291,21 +291,21 @@ module FactPulse
|
|
|
291
291
|
return data, status_code, headers
|
|
292
292
|
end
|
|
293
293
|
|
|
294
|
-
#
|
|
295
|
-
#
|
|
296
|
-
# @param id_structure_cpp [Integer]
|
|
294
|
+
# Lister les services d'une structure
|
|
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
|
+
# @param id_structure_cpp [Integer]
|
|
297
297
|
# @param [Hash] opts the optional parameters
|
|
298
|
-
# @return [
|
|
298
|
+
# @return [RechercherServicesResponse]
|
|
299
299
|
def lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get(id_structure_cpp, opts = {})
|
|
300
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)
|
|
301
301
|
data
|
|
302
302
|
end
|
|
303
303
|
|
|
304
|
-
#
|
|
305
|
-
#
|
|
306
|
-
# @param id_structure_cpp [Integer]
|
|
304
|
+
# Lister les services d'une structure
|
|
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)
|
|
306
|
+
# @param id_structure_cpp [Integer]
|
|
307
307
|
# @param [Hash] opts the optional parameters
|
|
308
|
-
# @return [Array<(
|
|
308
|
+
# @return [Array<(RechercherServicesResponse, Integer, Hash)>] RechercherServicesResponse data, response status code and response headers
|
|
309
309
|
def lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get_with_http_info(id_structure_cpp, opts = {})
|
|
310
310
|
if @api_client.config.debugging
|
|
311
311
|
@api_client.config.logger.debug 'Calling API: ChorusProApi.lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get ...'
|
|
@@ -332,10 +332,10 @@ module FactPulse
|
|
|
332
332
|
post_body = opts[:debug_body]
|
|
333
333
|
|
|
334
334
|
# return_type
|
|
335
|
-
return_type = opts[:debug_return_type] || '
|
|
335
|
+
return_type = opts[:debug_return_type] || 'RechercherServicesResponse'
|
|
336
336
|
|
|
337
337
|
# auth_names
|
|
338
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
338
|
+
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
339
339
|
|
|
340
340
|
new_options = opts.merge(
|
|
341
341
|
:operation => :"ChorusProApi.lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get",
|
|
@@ -354,28 +354,28 @@ module FactPulse
|
|
|
354
354
|
return data, status_code, headers
|
|
355
355
|
end
|
|
356
356
|
|
|
357
|
-
#
|
|
358
|
-
# **
|
|
359
|
-
# @param
|
|
357
|
+
# Utilitaire : Obtenir l'ID Chorus Pro depuis un SIRET
|
|
358
|
+
# **Utilitaire pratique** pour obtenir l'ID Chorus Pro d'une structure à partir de son SIRET. Cette fonction wrapper combine : 1. Recherche de la structure par SIRET 2. Extraction de l'`id_structure_cpp` si une seule structure est trouvée **Retour** : - `id_structure_cpp` : ID Chorus Pro (0 si non trouvé ou si plusieurs résultats) - `designation_structure` : Nom de la structure (si trouvée) - `message` : Message explicatif **Cas d'usage** : - Raccourci pour obtenir directement l'ID Chorus Pro avant de soumettre une facture - Alternative simplifiée à `rechercher-structures` + extraction manuelle de l'ID **Note** : Si plusieurs structures correspondent au SIRET (rare), retourne 0 et un message d'erreur.
|
|
359
|
+
# @param obtenir_id_chorus_pro_request [ObtenirIdChorusProRequest]
|
|
360
360
|
# @param [Hash] opts the optional parameters
|
|
361
|
-
# @return [
|
|
362
|
-
def obtenir_id_chorus_pro_depuis_siret_api_v1_chorus_pro_structures_obtenir_id_depuis_siret_post(
|
|
363
|
-
data, _status_code, _headers = obtenir_id_chorus_pro_depuis_siret_api_v1_chorus_pro_structures_obtenir_id_depuis_siret_post_with_http_info(
|
|
361
|
+
# @return [ObtenirIdChorusProResponse]
|
|
362
|
+
def obtenir_id_chorus_pro_depuis_siret_api_v1_chorus_pro_structures_obtenir_id_depuis_siret_post(obtenir_id_chorus_pro_request, opts = {})
|
|
363
|
+
data, _status_code, _headers = obtenir_id_chorus_pro_depuis_siret_api_v1_chorus_pro_structures_obtenir_id_depuis_siret_post_with_http_info(obtenir_id_chorus_pro_request, opts)
|
|
364
364
|
data
|
|
365
365
|
end
|
|
366
366
|
|
|
367
|
-
#
|
|
368
|
-
# **
|
|
369
|
-
# @param
|
|
367
|
+
# Utilitaire : Obtenir l'ID Chorus Pro depuis un SIRET
|
|
368
|
+
# **Utilitaire pratique** pour obtenir l'ID Chorus Pro d'une structure à partir de son SIRET. Cette fonction wrapper combine : 1. Recherche de la structure par SIRET 2. Extraction de l'`id_structure_cpp` si une seule structure est trouvée **Retour** : - `id_structure_cpp` : ID Chorus Pro (0 si non trouvé ou si plusieurs résultats) - `designation_structure` : Nom de la structure (si trouvée) - `message` : Message explicatif **Cas d'usage** : - Raccourci pour obtenir directement l'ID Chorus Pro avant de soumettre une facture - Alternative simplifiée à `rechercher-structures` + extraction manuelle de l'ID **Note** : Si plusieurs structures correspondent au SIRET (rare), retourne 0 et un message d'erreur.
|
|
369
|
+
# @param obtenir_id_chorus_pro_request [ObtenirIdChorusProRequest]
|
|
370
370
|
# @param [Hash] opts the optional parameters
|
|
371
|
-
# @return [Array<(
|
|
372
|
-
def obtenir_id_chorus_pro_depuis_siret_api_v1_chorus_pro_structures_obtenir_id_depuis_siret_post_with_http_info(
|
|
371
|
+
# @return [Array<(ObtenirIdChorusProResponse, Integer, Hash)>] ObtenirIdChorusProResponse data, response status code and response headers
|
|
372
|
+
def obtenir_id_chorus_pro_depuis_siret_api_v1_chorus_pro_structures_obtenir_id_depuis_siret_post_with_http_info(obtenir_id_chorus_pro_request, opts = {})
|
|
373
373
|
if @api_client.config.debugging
|
|
374
374
|
@api_client.config.logger.debug 'Calling API: ChorusProApi.obtenir_id_chorus_pro_depuis_siret_api_v1_chorus_pro_structures_obtenir_id_depuis_siret_post ...'
|
|
375
375
|
end
|
|
376
|
-
# verify the required parameter '
|
|
377
|
-
if @api_client.config.client_side_validation &&
|
|
378
|
-
fail ArgumentError, "Missing the required parameter '
|
|
376
|
+
# verify the required parameter 'obtenir_id_chorus_pro_request' is set
|
|
377
|
+
if @api_client.config.client_side_validation && obtenir_id_chorus_pro_request.nil?
|
|
378
|
+
fail ArgumentError, "Missing the required parameter 'obtenir_id_chorus_pro_request' when calling ChorusProApi.obtenir_id_chorus_pro_depuis_siret_api_v1_chorus_pro_structures_obtenir_id_depuis_siret_post"
|
|
379
379
|
end
|
|
380
380
|
# resource path
|
|
381
381
|
local_var_path = '/api/v1/chorus-pro/structures/obtenir-id-depuis-siret'
|
|
@@ -397,13 +397,13 @@ module FactPulse
|
|
|
397
397
|
form_params = opts[:form_params] || {}
|
|
398
398
|
|
|
399
399
|
# http body (model)
|
|
400
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
400
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(obtenir_id_chorus_pro_request)
|
|
401
401
|
|
|
402
402
|
# return_type
|
|
403
|
-
return_type = opts[:debug_return_type] || '
|
|
403
|
+
return_type = opts[:debug_return_type] || 'ObtenirIdChorusProResponse'
|
|
404
404
|
|
|
405
405
|
# auth_names
|
|
406
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
406
|
+
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
407
407
|
|
|
408
408
|
new_options = opts.merge(
|
|
409
409
|
:operation => :"ChorusProApi.obtenir_id_chorus_pro_depuis_siret_api_v1_chorus_pro_structures_obtenir_id_depuis_siret_post",
|
|
@@ -422,8 +422,8 @@ module FactPulse
|
|
|
422
422
|
return data, status_code, headers
|
|
423
423
|
end
|
|
424
424
|
|
|
425
|
-
#
|
|
426
|
-
#
|
|
425
|
+
# Rechercher factures reçues (Destinataire)
|
|
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.
|
|
427
427
|
# @param request_body [Hash<String, Object>]
|
|
428
428
|
# @param [Hash] opts the optional parameters
|
|
429
429
|
# @return [Object]
|
|
@@ -432,8 +432,8 @@ module FactPulse
|
|
|
432
432
|
data
|
|
433
433
|
end
|
|
434
434
|
|
|
435
|
-
#
|
|
436
|
-
#
|
|
435
|
+
# Rechercher factures reçues (Destinataire)
|
|
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.
|
|
437
437
|
# @param request_body [Hash<String, Object>]
|
|
438
438
|
# @param [Hash] opts the optional parameters
|
|
439
439
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
@@ -471,7 +471,7 @@ module FactPulse
|
|
|
471
471
|
return_type = opts[:debug_return_type] || 'Object'
|
|
472
472
|
|
|
473
473
|
# auth_names
|
|
474
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
474
|
+
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
475
475
|
|
|
476
476
|
new_options = opts.merge(
|
|
477
477
|
:operation => :"ChorusProApi.rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post",
|
|
@@ -490,8 +490,8 @@ module FactPulse
|
|
|
490
490
|
return data, status_code, headers
|
|
491
491
|
end
|
|
492
492
|
|
|
493
|
-
#
|
|
494
|
-
#
|
|
493
|
+
# Rechercher factures émises (Fournisseur)
|
|
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é
|
|
495
495
|
# @param request_body [Hash<String, Object>]
|
|
496
496
|
# @param [Hash] opts the optional parameters
|
|
497
497
|
# @return [Object]
|
|
@@ -500,8 +500,8 @@ module FactPulse
|
|
|
500
500
|
data
|
|
501
501
|
end
|
|
502
502
|
|
|
503
|
-
#
|
|
504
|
-
#
|
|
503
|
+
# Rechercher factures émises (Fournisseur)
|
|
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é
|
|
505
505
|
# @param request_body [Hash<String, Object>]
|
|
506
506
|
# @param [Hash] opts the optional parameters
|
|
507
507
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
@@ -539,7 +539,7 @@ module FactPulse
|
|
|
539
539
|
return_type = opts[:debug_return_type] || 'Object'
|
|
540
540
|
|
|
541
541
|
# auth_names
|
|
542
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
542
|
+
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
543
543
|
|
|
544
544
|
new_options = opts.merge(
|
|
545
545
|
:operation => :"ChorusProApi.rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post",
|
|
@@ -558,28 +558,28 @@ module FactPulse
|
|
|
558
558
|
return data, status_code, headers
|
|
559
559
|
end
|
|
560
560
|
|
|
561
|
-
#
|
|
562
|
-
#
|
|
563
|
-
# @param
|
|
561
|
+
# Rechercher des structures Chorus Pro
|
|
562
|
+
# Recherche des structures (entreprises, administrations) enregistrées sur Chorus Pro. **Cas d'usage** : - Trouver l'ID Chorus Pro d'une structure à partir de son SIRET - Vérifier si une structure est enregistrée sur Chorus Pro - Lister les structures correspondant à des critères **Filtres disponibles** : - Identifiant (SIRET, SIREN, etc.) - Raison sociale - Type d'identifiant - Structures privées uniquement **Étape typique** : Appelée avant `soumettre-facture` pour obtenir l'`id_structure_cpp` du destinataire.
|
|
563
|
+
# @param rechercher_structure_request [RechercherStructureRequest]
|
|
564
564
|
# @param [Hash] opts the optional parameters
|
|
565
|
-
# @return [
|
|
566
|
-
def rechercher_structures_api_v1_chorus_pro_structures_rechercher_post(
|
|
567
|
-
data, _status_code, _headers = rechercher_structures_api_v1_chorus_pro_structures_rechercher_post_with_http_info(
|
|
565
|
+
# @return [RechercherStructureResponse]
|
|
566
|
+
def rechercher_structures_api_v1_chorus_pro_structures_rechercher_post(rechercher_structure_request, opts = {})
|
|
567
|
+
data, _status_code, _headers = rechercher_structures_api_v1_chorus_pro_structures_rechercher_post_with_http_info(rechercher_structure_request, opts)
|
|
568
568
|
data
|
|
569
569
|
end
|
|
570
570
|
|
|
571
|
-
#
|
|
572
|
-
#
|
|
573
|
-
# @param
|
|
571
|
+
# Rechercher des structures Chorus Pro
|
|
572
|
+
# Recherche des structures (entreprises, administrations) enregistrées sur Chorus Pro. **Cas d'usage** : - Trouver l'ID Chorus Pro d'une structure à partir de son SIRET - Vérifier si une structure est enregistrée sur Chorus Pro - Lister les structures correspondant à des critères **Filtres disponibles** : - Identifiant (SIRET, SIREN, etc.) - Raison sociale - Type d'identifiant - Structures privées uniquement **Étape typique** : Appelée avant `soumettre-facture` pour obtenir l'`id_structure_cpp` du destinataire.
|
|
573
|
+
# @param rechercher_structure_request [RechercherStructureRequest]
|
|
574
574
|
# @param [Hash] opts the optional parameters
|
|
575
|
-
# @return [Array<(
|
|
576
|
-
def rechercher_structures_api_v1_chorus_pro_structures_rechercher_post_with_http_info(
|
|
575
|
+
# @return [Array<(RechercherStructureResponse, Integer, Hash)>] RechercherStructureResponse data, response status code and response headers
|
|
576
|
+
def rechercher_structures_api_v1_chorus_pro_structures_rechercher_post_with_http_info(rechercher_structure_request, opts = {})
|
|
577
577
|
if @api_client.config.debugging
|
|
578
578
|
@api_client.config.logger.debug 'Calling API: ChorusProApi.rechercher_structures_api_v1_chorus_pro_structures_rechercher_post ...'
|
|
579
579
|
end
|
|
580
|
-
# verify the required parameter '
|
|
581
|
-
if @api_client.config.client_side_validation &&
|
|
582
|
-
fail ArgumentError, "Missing the required parameter '
|
|
580
|
+
# verify the required parameter 'rechercher_structure_request' is set
|
|
581
|
+
if @api_client.config.client_side_validation && rechercher_structure_request.nil?
|
|
582
|
+
fail ArgumentError, "Missing the required parameter 'rechercher_structure_request' when calling ChorusProApi.rechercher_structures_api_v1_chorus_pro_structures_rechercher_post"
|
|
583
583
|
end
|
|
584
584
|
# resource path
|
|
585
585
|
local_var_path = '/api/v1/chorus-pro/structures/rechercher'
|
|
@@ -601,13 +601,13 @@ module FactPulse
|
|
|
601
601
|
form_params = opts[:form_params] || {}
|
|
602
602
|
|
|
603
603
|
# http body (model)
|
|
604
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
604
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(rechercher_structure_request)
|
|
605
605
|
|
|
606
606
|
# return_type
|
|
607
|
-
return_type = opts[:debug_return_type] || '
|
|
607
|
+
return_type = opts[:debug_return_type] || 'RechercherStructureResponse'
|
|
608
608
|
|
|
609
609
|
# auth_names
|
|
610
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
610
|
+
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
611
611
|
|
|
612
612
|
new_options = opts.merge(
|
|
613
613
|
:operation => :"ChorusProApi.rechercher_structures_api_v1_chorus_pro_structures_rechercher_post",
|
|
@@ -626,8 +626,8 @@ module FactPulse
|
|
|
626
626
|
return data, status_code, headers
|
|
627
627
|
end
|
|
628
628
|
|
|
629
|
-
#
|
|
630
|
-
# Recycle
|
|
629
|
+
# Recycler une facture (Fournisseur)
|
|
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.
|
|
631
631
|
# @param request_body [Hash<String, Object>]
|
|
632
632
|
# @param [Hash] opts the optional parameters
|
|
633
633
|
# @return [Object]
|
|
@@ -636,8 +636,8 @@ module FactPulse
|
|
|
636
636
|
data
|
|
637
637
|
end
|
|
638
638
|
|
|
639
|
-
#
|
|
640
|
-
# Recycle
|
|
639
|
+
# Recycler une facture (Fournisseur)
|
|
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.
|
|
641
641
|
# @param request_body [Hash<String, Object>]
|
|
642
642
|
# @param [Hash] opts the optional parameters
|
|
643
643
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
@@ -675,7 +675,7 @@ module FactPulse
|
|
|
675
675
|
return_type = opts[:debug_return_type] || 'Object'
|
|
676
676
|
|
|
677
677
|
# auth_names
|
|
678
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
678
|
+
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
679
679
|
|
|
680
680
|
new_options = opts.merge(
|
|
681
681
|
:operation => :"ChorusProApi.recycler_facture_api_v1_chorus_pro_factures_recycler_post",
|
|
@@ -694,28 +694,28 @@ module FactPulse
|
|
|
694
694
|
return data, status_code, headers
|
|
695
695
|
end
|
|
696
696
|
|
|
697
|
-
#
|
|
698
|
-
#
|
|
699
|
-
# @param
|
|
697
|
+
# Soumettre une facture à Chorus Pro
|
|
698
|
+
# Soumet une facture électronique à une structure publique via Chorus Pro. **📋 Workflow complet** : 1. **Uploader le PDF Factur-X** via `/transverses/ajouter-fichier` → récupérer `pieceJointeId` 2. **Obtenir l'ID structure** via `/structures/rechercher` ou `/structures/obtenir-id-depuis-siret` 3. **Vérifier les paramètres obligatoires** via `/structures/consulter` 4. **Soumettre la facture** avec le `piece_jointe_principale_id` obtenu à l'étape 1 **Pré-requis** : 1. Avoir l'`id_structure_cpp` du destinataire (via `/structures/rechercher`) 2. Connaître les paramètres obligatoires (via `/structures/consulter`) : - Code service si `code_service_doit_etre_renseigne=true` - Numéro d'engagement si `numero_ej_doit_etre_renseigne=true` 3. Avoir uploadé le PDF Factur-X (via `/transverses/ajouter-fichier`) **Format attendu** : - `piece_jointe_principale_id` : ID retourné par `/transverses/ajouter-fichier` - Montants : Chaînes de caractères avec 2 décimales (ex: \"1250.50\") - Dates : Format ISO 8601 (YYYY-MM-DD) **Retour** : - `identifiant_facture_cpp` : ID Chorus Pro de la facture créée - `numero_flux_depot` : Numéro de suivi du dépôt **Statuts possibles après soumission** : - SOUMISE : En attente de validation - VALIDEE : Validée par le destinataire - REJETEE : Rejetée (erreur de données ou refus métier) - SUSPENDUE : En attente d'informations complémentaires **Note** : Utilisez `/factures/consulter` pour suivre l'évolution du statut.
|
|
699
|
+
# @param soumettre_facture_request [SoumettreFactureRequest]
|
|
700
700
|
# @param [Hash] opts the optional parameters
|
|
701
|
-
# @return [
|
|
702
|
-
def soumettre_facture_api_v1_chorus_pro_factures_soumettre_post(
|
|
703
|
-
data, _status_code, _headers = soumettre_facture_api_v1_chorus_pro_factures_soumettre_post_with_http_info(
|
|
701
|
+
# @return [SoumettreFactureResponse]
|
|
702
|
+
def soumettre_facture_api_v1_chorus_pro_factures_soumettre_post(soumettre_facture_request, opts = {})
|
|
703
|
+
data, _status_code, _headers = soumettre_facture_api_v1_chorus_pro_factures_soumettre_post_with_http_info(soumettre_facture_request, opts)
|
|
704
704
|
data
|
|
705
705
|
end
|
|
706
706
|
|
|
707
|
-
#
|
|
708
|
-
#
|
|
709
|
-
# @param
|
|
707
|
+
# Soumettre une facture à Chorus Pro
|
|
708
|
+
# Soumet une facture électronique à une structure publique via Chorus Pro. **📋 Workflow complet** : 1. **Uploader le PDF Factur-X** via `/transverses/ajouter-fichier` → récupérer `pieceJointeId` 2. **Obtenir l'ID structure** via `/structures/rechercher` ou `/structures/obtenir-id-depuis-siret` 3. **Vérifier les paramètres obligatoires** via `/structures/consulter` 4. **Soumettre la facture** avec le `piece_jointe_principale_id` obtenu à l'étape 1 **Pré-requis** : 1. Avoir l'`id_structure_cpp` du destinataire (via `/structures/rechercher`) 2. Connaître les paramètres obligatoires (via `/structures/consulter`) : - Code service si `code_service_doit_etre_renseigne=true` - Numéro d'engagement si `numero_ej_doit_etre_renseigne=true` 3. Avoir uploadé le PDF Factur-X (via `/transverses/ajouter-fichier`) **Format attendu** : - `piece_jointe_principale_id` : ID retourné par `/transverses/ajouter-fichier` - Montants : Chaînes de caractères avec 2 décimales (ex: \"1250.50\") - Dates : Format ISO 8601 (YYYY-MM-DD) **Retour** : - `identifiant_facture_cpp` : ID Chorus Pro de la facture créée - `numero_flux_depot` : Numéro de suivi du dépôt **Statuts possibles après soumission** : - SOUMISE : En attente de validation - VALIDEE : Validée par le destinataire - REJETEE : Rejetée (erreur de données ou refus métier) - SUSPENDUE : En attente d'informations complémentaires **Note** : Utilisez `/factures/consulter` pour suivre l'évolution du statut.
|
|
709
|
+
# @param soumettre_facture_request [SoumettreFactureRequest]
|
|
710
710
|
# @param [Hash] opts the optional parameters
|
|
711
|
-
# @return [Array<(
|
|
712
|
-
def soumettre_facture_api_v1_chorus_pro_factures_soumettre_post_with_http_info(
|
|
711
|
+
# @return [Array<(SoumettreFactureResponse, Integer, Hash)>] SoumettreFactureResponse data, response status code and response headers
|
|
712
|
+
def soumettre_facture_api_v1_chorus_pro_factures_soumettre_post_with_http_info(soumettre_facture_request, opts = {})
|
|
713
713
|
if @api_client.config.debugging
|
|
714
714
|
@api_client.config.logger.debug 'Calling API: ChorusProApi.soumettre_facture_api_v1_chorus_pro_factures_soumettre_post ...'
|
|
715
715
|
end
|
|
716
|
-
# verify the required parameter '
|
|
717
|
-
if @api_client.config.client_side_validation &&
|
|
718
|
-
fail ArgumentError, "Missing the required parameter '
|
|
716
|
+
# verify the required parameter 'soumettre_facture_request' is set
|
|
717
|
+
if @api_client.config.client_side_validation && soumettre_facture_request.nil?
|
|
718
|
+
fail ArgumentError, "Missing the required parameter 'soumettre_facture_request' when calling ChorusProApi.soumettre_facture_api_v1_chorus_pro_factures_soumettre_post"
|
|
719
719
|
end
|
|
720
720
|
# resource path
|
|
721
721
|
local_var_path = '/api/v1/chorus-pro/factures/soumettre'
|
|
@@ -737,13 +737,13 @@ module FactPulse
|
|
|
737
737
|
form_params = opts[:form_params] || {}
|
|
738
738
|
|
|
739
739
|
# http body (model)
|
|
740
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
740
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(soumettre_facture_request)
|
|
741
741
|
|
|
742
742
|
# return_type
|
|
743
|
-
return_type = opts[:debug_return_type] || '
|
|
743
|
+
return_type = opts[:debug_return_type] || 'SoumettreFactureResponse'
|
|
744
744
|
|
|
745
745
|
# auth_names
|
|
746
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
746
|
+
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
747
747
|
|
|
748
748
|
new_options = opts.merge(
|
|
749
749
|
:operation => :"ChorusProApi.soumettre_facture_api_v1_chorus_pro_factures_soumettre_post",
|
|
@@ -762,8 +762,8 @@ module FactPulse
|
|
|
762
762
|
return data, status_code, headers
|
|
763
763
|
end
|
|
764
764
|
|
|
765
|
-
#
|
|
766
|
-
#
|
|
765
|
+
# Télécharger un groupe de factures
|
|
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.
|
|
767
767
|
# @param request_body [Hash<String, Object>]
|
|
768
768
|
# @param [Hash] opts the optional parameters
|
|
769
769
|
# @return [Object]
|
|
@@ -772,8 +772,8 @@ module FactPulse
|
|
|
772
772
|
data
|
|
773
773
|
end
|
|
774
774
|
|
|
775
|
-
#
|
|
776
|
-
#
|
|
775
|
+
# Télécharger un groupe de factures
|
|
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.
|
|
777
777
|
# @param request_body [Hash<String, Object>]
|
|
778
778
|
# @param [Hash] opts the optional parameters
|
|
779
779
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
@@ -811,7 +811,7 @@ module FactPulse
|
|
|
811
811
|
return_type = opts[:debug_return_type] || 'Object'
|
|
812
812
|
|
|
813
813
|
# auth_names
|
|
814
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
814
|
+
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
815
815
|
|
|
816
816
|
new_options = opts.merge(
|
|
817
817
|
:operation => :"ChorusProApi.telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post",
|
|
@@ -830,8 +830,8 @@ module FactPulse
|
|
|
830
830
|
return data, status_code, headers
|
|
831
831
|
end
|
|
832
832
|
|
|
833
|
-
#
|
|
834
|
-
# Change
|
|
833
|
+
# Traiter une facture reçue (Destinataire)
|
|
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
|
|
835
835
|
# @param request_body [Hash<String, Object>]
|
|
836
836
|
# @param [Hash] opts the optional parameters
|
|
837
837
|
# @return [Object]
|
|
@@ -840,8 +840,8 @@ module FactPulse
|
|
|
840
840
|
data
|
|
841
841
|
end
|
|
842
842
|
|
|
843
|
-
#
|
|
844
|
-
# Change
|
|
843
|
+
# Traiter une facture reçue (Destinataire)
|
|
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
|
|
845
845
|
# @param request_body [Hash<String, Object>]
|
|
846
846
|
# @param [Hash] opts the optional parameters
|
|
847
847
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
@@ -879,7 +879,7 @@ module FactPulse
|
|
|
879
879
|
return_type = opts[:debug_return_type] || 'Object'
|
|
880
880
|
|
|
881
881
|
# auth_names
|
|
882
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
882
|
+
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
883
883
|
|
|
884
884
|
new_options = opts.merge(
|
|
885
885
|
:operation => :"ChorusProApi.traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post",
|
|
@@ -898,8 +898,7 @@ module FactPulse
|
|
|
898
898
|
return data, status_code, headers
|
|
899
899
|
end
|
|
900
900
|
|
|
901
|
-
#
|
|
902
|
-
# Retrieves detailed information about an invoice for validators. **Use case**: Called by validators (public sector) to consult invoice details before approving or rejecting it. **Required payload**: ```json { \"idFacture\": 123456789 } ``` **Returns**: Complete invoice details including amounts, dates, attachments, and current status.
|
|
901
|
+
# Consulter une facture (Valideur)
|
|
903
902
|
# @param request_body [Hash<String, Object>]
|
|
904
903
|
# @param [Hash] opts the optional parameters
|
|
905
904
|
# @return [Object]
|
|
@@ -908,8 +907,7 @@ module FactPulse
|
|
|
908
907
|
data
|
|
909
908
|
end
|
|
910
909
|
|
|
911
|
-
#
|
|
912
|
-
# Retrieves detailed information about an invoice for validators. **Use case**: Called by validators (public sector) to consult invoice details before approving or rejecting it. **Required payload**: ```json { \"idFacture\": 123456789 } ``` **Returns**: Complete invoice details including amounts, dates, attachments, and current status.
|
|
910
|
+
# Consulter une facture (Valideur)
|
|
913
911
|
# @param request_body [Hash<String, Object>]
|
|
914
912
|
# @param [Hash] opts the optional parameters
|
|
915
913
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
@@ -947,7 +945,7 @@ module FactPulse
|
|
|
947
945
|
return_type = opts[:debug_return_type] || 'Object'
|
|
948
946
|
|
|
949
947
|
# auth_names
|
|
950
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
948
|
+
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
951
949
|
|
|
952
950
|
new_options = opts.merge(
|
|
953
951
|
:operation => :"ChorusProApi.valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post",
|
|
@@ -966,8 +964,8 @@ module FactPulse
|
|
|
966
964
|
return data, status_code, headers
|
|
967
965
|
end
|
|
968
966
|
|
|
969
|
-
#
|
|
970
|
-
#
|
|
967
|
+
# Rechercher factures à valider (Valideur)
|
|
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.
|
|
971
969
|
# @param request_body [Hash<String, Object>]
|
|
972
970
|
# @param [Hash] opts the optional parameters
|
|
973
971
|
# @return [Object]
|
|
@@ -976,8 +974,8 @@ module FactPulse
|
|
|
976
974
|
data
|
|
977
975
|
end
|
|
978
976
|
|
|
979
|
-
#
|
|
980
|
-
#
|
|
977
|
+
# Rechercher factures à valider (Valideur)
|
|
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.
|
|
981
979
|
# @param request_body [Hash<String, Object>]
|
|
982
980
|
# @param [Hash] opts the optional parameters
|
|
983
981
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
@@ -1015,7 +1013,7 @@ module FactPulse
|
|
|
1015
1013
|
return_type = opts[:debug_return_type] || 'Object'
|
|
1016
1014
|
|
|
1017
1015
|
# auth_names
|
|
1018
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
1016
|
+
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
1019
1017
|
|
|
1020
1018
|
new_options = opts.merge(
|
|
1021
1019
|
:operation => :"ChorusProApi.valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post",
|
|
@@ -1034,8 +1032,8 @@ module FactPulse
|
|
|
1034
1032
|
return data, status_code, headers
|
|
1035
1033
|
end
|
|
1036
1034
|
|
|
1037
|
-
#
|
|
1038
|
-
#
|
|
1035
|
+
# Valider ou refuser une facture (Valideur)
|
|
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)
|
|
1039
1037
|
# @param request_body [Hash<String, Object>]
|
|
1040
1038
|
# @param [Hash] opts the optional parameters
|
|
1041
1039
|
# @return [Object]
|
|
@@ -1044,8 +1042,8 @@ module FactPulse
|
|
|
1044
1042
|
data
|
|
1045
1043
|
end
|
|
1046
1044
|
|
|
1047
|
-
#
|
|
1048
|
-
#
|
|
1045
|
+
# Valider ou refuser une facture (Valideur)
|
|
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)
|
|
1049
1047
|
# @param request_body [Hash<String, Object>]
|
|
1050
1048
|
# @param [Hash] opts the optional parameters
|
|
1051
1049
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
@@ -1083,7 +1081,7 @@ module FactPulse
|
|
|
1083
1081
|
return_type = opts[:debug_return_type] || 'Object'
|
|
1084
1082
|
|
|
1085
1083
|
# auth_names
|
|
1086
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
1084
|
+
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
1087
1085
|
|
|
1088
1086
|
new_options = opts.merge(
|
|
1089
1087
|
:operation => :"ChorusProApi.valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post",
|