factpulse 4.0.0 → 4.0.1
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 +5 -9
- data/Gemfile.lock +1 -1
- data/docs/AllowanceCharge.md +1 -1
- data/docs/{FactureElectroniqueModelsInvoiceTypeCode.md → Amount2.md} +2 -2
- data/docs/CDARCycleDeVieApi.md +154 -30
- data/docs/ClientActivateResponse.md +22 -0
- data/docs/ClientCreateRequest.md +22 -0
- data/docs/ClientDetail.md +38 -0
- data/docs/ClientListResponse.md +24 -0
- data/docs/ClientManagementApi.md +575 -0
- data/docs/ClientSummary.md +38 -0
- data/docs/ClientUpdateRequest.md +22 -0
- data/docs/DownloadsApi.md +0 -144
- data/docs/EncaisseeRequest.md +36 -0
- data/docs/FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.md +15 -0
- data/docs/InvoiceInput.md +1 -1
- data/docs/PDPConfigResponse.md +44 -0
- data/docs/PDPConfigUpdateRequest.md +28 -0
- data/docs/PaymentAmountByRate.md +1 -1
- data/docs/RefuseeRequest.md +36 -0
- data/docs/SecretStatus.md +20 -0
- data/docs/SimplifiedCDARResponse.md +26 -0
- data/docs/SimplifiedInvoiceData.md +1 -1
- data/docs/SubmitCDARRequest.md +9 -1
- data/docs/SubmitCDARXMLRequest.md +9 -1
- data/factpulse.gemspec +1 -1
- data/lib/factpulse/api/afnorpdppa_api.rb +1 -1
- data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +1 -1
- data/lib/factpulse/api/afnorpdppa_flow_service_api.rb +1 -1
- data/lib/factpulse/api/cdar_cycle_de_vie_api.rb +159 -49
- data/lib/factpulse/api/chorus_pro_api.rb +1 -1
- data/lib/factpulse/api/client_management_api.rb +565 -0
- data/lib/factpulse/api/document_conversion_api.rb +1 -1
- data/lib/factpulse/api/downloads_api.rb +1 -130
- data/lib/factpulse/api/e_reporting_api.rb +1 -1
- data/lib/factpulse/api/health_api.rb +1 -1
- data/lib/factpulse/api/invoice_processing_api.rb +1 -1
- data/lib/factpulse/api/pdfxml_verification_api.rb +1 -1
- data/lib/factpulse/api/user_api.rb +1 -1
- data/lib/factpulse/api_client.rb +1 -1
- data/lib/factpulse/api_error.rb +1 -1
- data/lib/factpulse/api_model_base.rb +1 -1
- data/lib/factpulse/configuration.rb +1 -1
- data/lib/factpulse/helpers/client.rb +64 -1
- data/lib/factpulse/models/acknowledgment_status.rb +1 -1
- data/lib/factpulse/models/action_code_info.rb +1 -1
- data/lib/factpulse/models/action_codes_response.rb +1 -1
- data/lib/factpulse/models/additional_document.rb +1 -1
- data/lib/factpulse/models/afnor_acknowledgement.rb +1 -1
- data/lib/factpulse/models/afnor_acknowledgement_detail.rb +1 -1
- data/lib/factpulse/models/afnor_address_edit.rb +1 -1
- data/lib/factpulse/models/afnor_address_patch.rb +1 -1
- data/lib/factpulse/models/afnor_address_put.rb +1 -1
- data/lib/factpulse/models/afnor_address_read.rb +1 -1
- data/lib/factpulse/models/afnor_algorithm.rb +1 -1
- data/lib/factpulse/models/afnor_contains_operator.rb +1 -1
- data/lib/factpulse/models/afnor_create_directory_line_body.rb +1 -1
- data/lib/factpulse/models/afnor_create_directory_line_body_addressing_information.rb +1 -1
- data/lib/factpulse/models/afnor_create_directory_line_body_period.rb +1 -1
- data/lib/factpulse/models/afnor_create_routing_code_body.rb +1 -1
- data/lib/factpulse/models/afnor_credentials.rb +1 -1
- data/lib/factpulse/models/afnor_destination.rb +1 -1
- data/lib/factpulse/models/afnor_diffusion_status.rb +1 -1
- data/lib/factpulse/models/afnor_directory_line_field.rb +1 -1
- data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code.rb +1 -1
- data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code_platform.rb +1 -1
- data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code_routing_code.rb +1 -1
- data/lib/factpulse/models/afnor_directory_line_post201_response.rb +1 -1
- data/lib/factpulse/models/afnor_directory_line_search_post200_response.rb +1 -1
- data/lib/factpulse/models/afnor_entity_type.rb +1 -1
- data/lib/factpulse/models/afnor_error.rb +1 -1
- data/lib/factpulse/models/afnor_facility_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_facility_nature.rb +1 -1
- data/lib/factpulse/models/afnor_facility_payload_history.rb +1 -1
- data/lib/factpulse/models/afnor_facility_payload_history_ule_b2g_additional_data.rb +1 -1
- data/lib/factpulse/models/afnor_facility_payload_included.rb +1 -1
- data/lib/factpulse/models/afnor_facility_type.rb +1 -1
- data/lib/factpulse/models/afnor_flow.rb +1 -1
- data/lib/factpulse/models/afnor_flow_ack_status.rb +1 -1
- data/lib/factpulse/models/afnor_flow_direction.rb +1 -1
- data/lib/factpulse/models/afnor_flow_info.rb +1 -1
- data/lib/factpulse/models/afnor_flow_profile.rb +1 -1
- data/lib/factpulse/models/afnor_flow_syntax.rb +1 -1
- data/lib/factpulse/models/afnor_flow_type.rb +1 -1
- data/lib/factpulse/models/afnor_full_flow_info.rb +1 -1
- data/lib/factpulse/models/afnor_health_check_response.rb +1 -1
- data/lib/factpulse/models/afnor_legal_unit_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_legal_unit_payload_history.rb +1 -1
- data/lib/factpulse/models/afnor_legal_unit_payload_included.rb +1 -1
- data/lib/factpulse/models/afnor_legal_unit_payload_included_no_siren.rb +1 -1
- data/lib/factpulse/models/afnor_platform_status.rb +1 -1
- data/lib/factpulse/models/afnor_processing_rule.rb +1 -1
- data/lib/factpulse/models/afnor_reason_code.rb +1 -1
- data/lib/factpulse/models/afnor_reason_code_enum.rb +1 -1
- data/lib/factpulse/models/afnor_recipient_platform_type.rb +1 -1
- data/lib/factpulse/models/afnor_result.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_field.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_payload_history_legal_unit_facility.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_post201_response.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_filters.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_filters_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_filters_routing_code_name.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_filters_routing_identifier.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_post200_response.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_sorting_inner.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line_filters.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_identifier.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_suffix.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line_sorting_inner.rb +1 -1
- data/lib/factpulse/models/afnor_search_flow_content.rb +1 -1
- data/lib/factpulse/models/afnor_search_flow_filters.rb +1 -1
- data/lib/factpulse/models/afnor_search_flow_params.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_filters.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_filters_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_filters_business_name.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_filters_entity_type.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_filters_siren.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_sorting_inner.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_address_lines.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_country_subdivision.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_facility_type.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_locality.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_name.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_postal_code.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_siret.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_sorting_inner.rb +1 -1
- data/lib/factpulse/models/afnor_siren_field.rb +1 -1
- data/lib/factpulse/models/afnor_siren_search_post200_response.rb +1 -1
- data/lib/factpulse/models/afnor_siret_field.rb +1 -1
- data/lib/factpulse/models/afnor_siret_search_post200_response.rb +1 -1
- data/lib/factpulse/models/afnor_sorting_order.rb +1 -1
- data/lib/factpulse/models/afnor_strict_operator.rb +1 -1
- data/lib/factpulse/models/afnor_update_patch_directory_line_body.rb +1 -1
- data/lib/factpulse/models/afnor_update_patch_routing_code_body.rb +1 -1
- data/lib/factpulse/models/afnor_update_put_routing_code_body.rb +1 -1
- data/lib/factpulse/models/afnor_webhook_callback_content.rb +1 -1
- data/lib/factpulse/models/aggregated_payment_input.rb +1 -1
- data/lib/factpulse/models/aggregated_transaction_input.rb +1 -1
- data/lib/factpulse/models/allowance_charge.rb +2 -2
- data/lib/factpulse/models/allowance_charge_reason_code.rb +1 -1
- data/lib/factpulse/models/allowance_reason_code.rb +1 -1
- data/lib/factpulse/models/allowance_total_amount.rb +1 -1
- data/lib/factpulse/models/amount.rb +2 -2
- data/lib/factpulse/models/amount1.rb +2 -2
- data/lib/factpulse/models/amount2.rb +104 -0
- data/lib/factpulse/models/amount_due.rb +1 -1
- data/lib/factpulse/models/api_error.rb +1 -1
- data/lib/factpulse/models/api_profile.rb +1 -1
- data/lib/factpulse/models/async_task_status.rb +1 -1
- data/lib/factpulse/models/base_amount.rb +1 -1
- data/lib/factpulse/models/bounding_box_schema.rb +1 -1
- data/lib/factpulse/models/buyercountry.rb +1 -1
- data/lib/factpulse/models/celery_status.rb +1 -1
- data/lib/factpulse/models/certificate_info_response.rb +1 -1
- data/lib/factpulse/models/charge_total_amount.rb +1 -1
- data/lib/factpulse/models/chorus_pro_credentials.rb +1 -1
- data/lib/factpulse/models/chorus_pro_destination.rb +1 -1
- data/lib/factpulse/models/chorus_pro_result.rb +1 -1
- data/lib/factpulse/models/{body_submit_cdar_api_v1_cdar_submit_post.rb → client_activate_response.rb} +73 -27
- data/lib/factpulse/models/client_create_request.rb +236 -0
- data/lib/factpulse/models/client_detail.rb +368 -0
- data/lib/factpulse/models/client_list_response.rb +249 -0
- data/lib/factpulse/models/client_summary.rb +368 -0
- data/lib/factpulse/models/client_update_request.rb +225 -0
- data/lib/factpulse/models/contact.rb +1 -1
- data/lib/factpulse/models/convert_resume_request.rb +1 -1
- data/lib/factpulse/models/convert_success_response.rb +1 -1
- data/lib/factpulse/models/convert_validation_failed_response.rb +1 -1
- data/lib/factpulse/models/country_code.rb +1 -1
- data/lib/factpulse/models/create_aggregated_report_request.rb +1 -1
- data/lib/factpulse/models/create_cdar_request.rb +1 -1
- data/lib/factpulse/models/create_e_reporting_request.rb +1 -1
- data/lib/factpulse/models/currency.rb +1 -1
- data/lib/factpulse/models/currency_code.rb +1 -1
- data/lib/factpulse/models/delivery_party.rb +1 -1
- data/lib/factpulse/models/destination.rb +1 -1
- data/lib/factpulse/models/doc_type.rb +1 -1
- data/lib/factpulse/models/document_type_info.rb +1 -1
- data/lib/factpulse/models/e_reporting_flow_type.rb +1 -1
- data/lib/factpulse/models/e_reporting_validation_error.rb +1 -1
- data/lib/factpulse/models/electronic_address.rb +1 -1
- data/lib/factpulse/models/encaisseamount.rb +1 -1
- data/lib/factpulse/models/encaisseamount1.rb +1 -1
- data/lib/factpulse/models/encaissee_request.rb +293 -0
- data/lib/factpulse/models/enriched_invoice_info.rb +1 -1
- data/lib/factpulse/models/error_level.rb +1 -1
- data/lib/factpulse/models/error_source.rb +1 -1
- data/lib/factpulse/models/extraction_info.rb +1 -1
- data/lib/factpulse/models/factur_x_invoice.rb +1 -1
- data/lib/factpulse/models/factur_xpdf_info.rb +1 -1
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_cdar_validation_error_response.rb +1 -1
- data/lib/factpulse/models/{facture_electronique_models_invoice_type_code.rb → facture_electronique_rest_api_schemas_ereporting_invoice_type_code.rb} +10 -21
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb +1 -1
- data/lib/factpulse/models/field_status.rb +1 -1
- data/lib/factpulse/models/file_info.rb +1 -1
- data/lib/factpulse/models/files_info.rb +1 -1
- data/lib/factpulse/models/flow_direction.rb +1 -1
- data/lib/factpulse/models/flow_profile.rb +1 -1
- data/lib/factpulse/models/flow_summary.rb +1 -1
- data/lib/factpulse/models/flow_syntax.rb +1 -1
- data/lib/factpulse/models/flow_type.rb +1 -1
- data/lib/factpulse/models/generate_aggregated_report_response.rb +1 -1
- data/lib/factpulse/models/generate_cdar_response.rb +1 -1
- data/lib/factpulse/models/generate_certificate_request.rb +1 -1
- data/lib/factpulse/models/generate_certificate_response.rb +1 -1
- data/lib/factpulse/models/generate_e_reporting_response.rb +1 -1
- data/lib/factpulse/models/get_chorus_pro_id_request.rb +1 -1
- data/lib/factpulse/models/get_chorus_pro_id_response.rb +1 -1
- data/lib/factpulse/models/get_invoice_request.rb +1 -1
- data/lib/factpulse/models/get_invoice_response.rb +1 -1
- data/lib/factpulse/models/get_structure_request.rb +1 -1
- data/lib/factpulse/models/get_structure_response.rb +1 -1
- data/lib/factpulse/models/global_allowance_amount.rb +1 -1
- data/lib/factpulse/models/gross_unit_price.rb +1 -1
- data/lib/factpulse/models/http_validation_error.rb +1 -1
- data/lib/factpulse/models/incoming_invoice.rb +1 -1
- data/lib/factpulse/models/incoming_supplier.rb +1 -1
- data/lib/factpulse/models/invoice_format.rb +1 -1
- data/lib/factpulse/models/invoice_input.rb +2 -2
- data/lib/factpulse/models/invoice_line.rb +1 -1
- data/lib/factpulse/models/invoice_line_allowance_amount.rb +1 -1
- data/lib/factpulse/models/invoice_note.rb +1 -1
- data/lib/factpulse/models/invoice_payment_input.rb +1 -1
- data/lib/factpulse/models/invoice_references.rb +1 -1
- data/lib/factpulse/models/invoice_status.rb +1 -1
- data/lib/factpulse/models/invoice_totals.rb +1 -1
- data/lib/factpulse/models/invoice_totals_prepayment.rb +1 -1
- data/lib/factpulse/models/invoice_type_code.rb +18 -7
- data/lib/factpulse/models/invoice_type_code_output.rb +1 -1
- data/lib/factpulse/models/invoicing_framework.rb +1 -1
- data/lib/factpulse/models/invoicing_framework_code.rb +1 -1
- data/lib/factpulse/models/line_net_amount.rb +1 -1
- data/lib/factpulse/models/line_sub_type.rb +1 -1
- data/lib/factpulse/models/line_total_amount.rb +1 -1
- data/lib/factpulse/models/location_inner.rb +1 -1
- data/lib/factpulse/models/mandatory_note_schema.rb +1 -1
- data/lib/factpulse/models/manual_rate.rb +1 -1
- data/lib/factpulse/models/manual_vat_rate.rb +1 -1
- data/lib/factpulse/models/missing_field.rb +1 -1
- data/lib/factpulse/models/operation_nature.rb +1 -1
- data/lib/factpulse/models/output_format.rb +1 -1
- data/lib/factpulse/models/page_dimensions_schema.rb +1 -1
- data/lib/factpulse/models/payee.rb +1 -1
- data/lib/factpulse/models/payment_amount_by_rate.rb +2 -2
- data/lib/factpulse/models/payment_card.rb +1 -1
- data/lib/factpulse/models/payment_means.rb +1 -1
- data/lib/factpulse/models/pdf_validation_result_api.rb +1 -1
- data/lib/factpulse/models/pdp_config_response.rb +296 -0
- data/lib/factpulse/models/pdp_config_update_request.rb +271 -0
- data/lib/factpulse/models/pdp_credentials.rb +1 -1
- data/lib/factpulse/models/percentage.rb +1 -1
- data/lib/factpulse/models/postal_address.rb +1 -1
- data/lib/factpulse/models/price_allowance_amount.rb +1 -1
- data/lib/factpulse/models/price_basis_quantity.rb +1 -1
- data/lib/factpulse/models/processing_options.rb +1 -1
- data/lib/factpulse/models/processing_rule.rb +1 -1
- data/lib/factpulse/models/product_characteristic.rb +1 -1
- data/lib/factpulse/models/product_classification.rb +1 -1
- data/lib/factpulse/models/quantity.rb +1 -1
- data/lib/factpulse/models/rate.rb +1 -1
- data/lib/factpulse/models/rate1.rb +1 -1
- data/lib/factpulse/models/reason_code_info.rb +1 -1
- data/lib/factpulse/models/reason_codes_response.rb +1 -1
- data/lib/factpulse/models/recipient.rb +1 -1
- data/lib/factpulse/models/recipient_input.rb +1 -1
- data/lib/factpulse/models/refusee_request.rb +292 -0
- data/lib/factpulse/models/report_period.rb +1 -1
- data/lib/factpulse/models/report_sender.rb +1 -1
- data/lib/factpulse/models/rounding_amount.rb +1 -1
- data/lib/factpulse/models/schematron_validation_error.rb +1 -1
- data/lib/factpulse/models/scheme_id.rb +1 -1
- data/lib/factpulse/models/search_flow_request.rb +1 -1
- data/lib/factpulse/models/search_flow_response.rb +1 -1
- data/lib/factpulse/models/search_services_response.rb +1 -1
- data/lib/factpulse/models/search_structure_request.rb +1 -1
- data/lib/factpulse/models/search_structure_response.rb +1 -1
- data/lib/factpulse/models/{body_submit_cdar_xml_api_v1_cdar_submit_xml_post.rb → secret_status.rb} +46 -27
- data/lib/factpulse/models/sellercountry.rb +1 -1
- data/lib/factpulse/models/signature_info.rb +1 -1
- data/lib/factpulse/models/signature_info_api.rb +1 -1
- data/lib/factpulse/models/signature_parameters.rb +1 -1
- data/lib/factpulse/models/simplified_cdar_response.rb +274 -0
- data/lib/factpulse/models/simplified_invoice_data.rb +2 -2
- data/lib/factpulse/models/status_code_info.rb +1 -1
- data/lib/factpulse/models/status_codes_response.rb +1 -1
- data/lib/factpulse/models/structure_info.rb +1 -1
- data/lib/factpulse/models/structure_parameters.rb +1 -1
- data/lib/factpulse/models/structure_service.rb +1 -1
- data/lib/factpulse/models/submission_mode.rb +1 -1
- data/lib/factpulse/models/submit_aggregated_report_request.rb +1 -1
- data/lib/factpulse/models/submit_cdar_request.rb +45 -5
- data/lib/factpulse/models/submit_cdar_response.rb +1 -1
- data/lib/factpulse/models/submit_cdarxml_request.rb +46 -6
- data/lib/factpulse/models/submit_complete_invoice_request.rb +1 -1
- data/lib/factpulse/models/submit_complete_invoice_response.rb +1 -1
- data/lib/factpulse/models/submit_e_reporting_request.rb +1 -1
- data/lib/factpulse/models/submit_e_reporting_response.rb +1 -1
- data/lib/factpulse/models/submit_flow_request.rb +1 -1
- data/lib/factpulse/models/submit_flow_response.rb +1 -1
- data/lib/factpulse/models/submit_gross_amount.rb +1 -1
- data/lib/factpulse/models/submit_invoice_request.rb +1 -1
- data/lib/factpulse/models/submit_invoice_response.rb +1 -1
- data/lib/factpulse/models/submit_net_amount.rb +1 -1
- data/lib/factpulse/models/submit_vat_amount.rb +1 -1
- data/lib/factpulse/models/supplementary_attachment.rb +1 -1
- data/lib/factpulse/models/supplier.rb +1 -1
- data/lib/factpulse/models/task_response.rb +1 -1
- data/lib/factpulse/models/tax_breakdown_input.rb +1 -1
- data/lib/factpulse/models/tax_due_date_type.rb +1 -1
- data/lib/factpulse/models/tax_representative.rb +1 -1
- data/lib/factpulse/models/taxable_amount.rb +1 -1
- data/lib/factpulse/models/taxableamount.rb +1 -1
- data/lib/factpulse/models/taxamount.rb +1 -1
- data/lib/factpulse/models/taxamount1.rb +1 -1
- data/lib/factpulse/models/taxamount2.rb +1 -1
- data/lib/factpulse/models/taxexclusiveamount.rb +1 -1
- data/lib/factpulse/models/taxexclusiveamount1.rb +1 -1
- data/lib/factpulse/models/total_gross_amount.rb +1 -1
- data/lib/factpulse/models/total_net_amount.rb +1 -1
- data/lib/factpulse/models/total_vat_amount.rb +1 -1
- data/lib/factpulse/models/transaction_category.rb +1 -1
- data/lib/factpulse/models/transmission_type_code.rb +1 -1
- data/lib/factpulse/models/unit_net_price.rb +1 -1
- data/lib/factpulse/models/unit_of_measure.rb +1 -1
- data/lib/factpulse/models/validate_cdar_request.rb +1 -1
- data/lib/factpulse/models/validate_cdar_response.rb +1 -1
- data/lib/factpulse/models/validate_e_reporting_request.rb +1 -1
- data/lib/factpulse/models/validate_e_reporting_response.rb +1 -1
- data/lib/factpulse/models/validation_error.rb +1 -1
- data/lib/factpulse/models/validation_error_detail.rb +1 -1
- data/lib/factpulse/models/validation_error_response.rb +1 -1
- data/lib/factpulse/models/validation_info.rb +1 -1
- data/lib/factpulse/models/validation_success_response.rb +1 -1
- data/lib/factpulse/models/vat_accounting_code.rb +1 -1
- data/lib/factpulse/models/vat_amount.rb +1 -1
- data/lib/factpulse/models/vat_category.rb +1 -1
- data/lib/factpulse/models/vat_line.rb +1 -1
- data/lib/factpulse/models/vat_point_date_code.rb +1 -1
- data/lib/factpulse/models/vat_rate.rb +1 -1
- data/lib/factpulse/models/verification_success_response.rb +1 -1
- data/lib/factpulse/models/verified_field_schema.rb +1 -1
- data/lib/factpulse/version.rb +2 -2
- data/lib/factpulse.rb +16 -4
- metadata +32 -8
- data/docs/BodySubmitCdarApiV1CdarSubmitPost.md +0 -20
- data/docs/BodySubmitCdarXmlApiV1CdarSubmitXmlPost.md +0 -20
data/docs/DownloadsApi.md
CHANGED
|
@@ -5,9 +5,7 @@ All URIs are relative to *https://factpulse.fr*
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
7
7
|
| [**check_file_api_v1_download_download_id_head**](DownloadsApi.md#check_file_api_v1_download_download_id_head) | **HEAD** /api/v1/download/{download_id} | Check if a file exists |
|
|
8
|
-
| [**check_file_api_v1_download_download_id_head_0**](DownloadsApi.md#check_file_api_v1_download_download_id_head_0) | **HEAD** /api/v1/download/{download_id} | Check if a file exists |
|
|
9
8
|
| [**download_file_api_v1_download_download_id_get**](DownloadsApi.md#download_file_api_v1_download_download_id_get) | **GET** /api/v1/download/{download_id} | Download a temporary file |
|
|
10
|
-
| [**download_file_api_v1_download_download_id_get_0**](DownloadsApi.md#download_file_api_v1_download_download_id_get_0) | **GET** /api/v1/download/{download_id} | Download a temporary file |
|
|
11
9
|
|
|
12
10
|
|
|
13
11
|
## check_file_api_v1_download_download_id_head
|
|
@@ -79,75 +77,6 @@ end
|
|
|
79
77
|
- **Accept**: application/json
|
|
80
78
|
|
|
81
79
|
|
|
82
|
-
## check_file_api_v1_download_download_id_head_0
|
|
83
|
-
|
|
84
|
-
> Object check_file_api_v1_download_download_id_head_0(download_id)
|
|
85
|
-
|
|
86
|
-
Check if a file exists
|
|
87
|
-
|
|
88
|
-
Check if a temporary file exists and get its metadata without downloading. Useful for: - Verifying a download URL is still valid - Getting file size before downloading - Checking expiration time **Security**: Requires authentication, only file owner can check.
|
|
89
|
-
|
|
90
|
-
### Examples
|
|
91
|
-
|
|
92
|
-
```ruby
|
|
93
|
-
require 'time'
|
|
94
|
-
require 'factpulse'
|
|
95
|
-
# setup authorization
|
|
96
|
-
FactPulse.configure do |config|
|
|
97
|
-
# Configure Bearer authorization: HTTPBearer
|
|
98
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
99
|
-
end
|
|
100
|
-
|
|
101
|
-
api_instance = FactPulse::DownloadsApi.new
|
|
102
|
-
download_id = 'download_id_example' # String |
|
|
103
|
-
|
|
104
|
-
begin
|
|
105
|
-
# Check if a file exists
|
|
106
|
-
result = api_instance.check_file_api_v1_download_download_id_head_0(download_id)
|
|
107
|
-
p result
|
|
108
|
-
rescue FactPulse::ApiError => e
|
|
109
|
-
puts "Error when calling DownloadsApi->check_file_api_v1_download_download_id_head_0: #{e}"
|
|
110
|
-
end
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
#### Using the check_file_api_v1_download_download_id_head_0_with_http_info variant
|
|
114
|
-
|
|
115
|
-
This returns an Array which contains the response data, status code and headers.
|
|
116
|
-
|
|
117
|
-
> <Array(Object, Integer, Hash)> check_file_api_v1_download_download_id_head_0_with_http_info(download_id)
|
|
118
|
-
|
|
119
|
-
```ruby
|
|
120
|
-
begin
|
|
121
|
-
# Check if a file exists
|
|
122
|
-
data, status_code, headers = api_instance.check_file_api_v1_download_download_id_head_0_with_http_info(download_id)
|
|
123
|
-
p status_code # => 2xx
|
|
124
|
-
p headers # => { ... }
|
|
125
|
-
p data # => Object
|
|
126
|
-
rescue FactPulse::ApiError => e
|
|
127
|
-
puts "Error when calling DownloadsApi->check_file_api_v1_download_download_id_head_0_with_http_info: #{e}"
|
|
128
|
-
end
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
### Parameters
|
|
132
|
-
|
|
133
|
-
| Name | Type | Description | Notes |
|
|
134
|
-
| ---- | ---- | ----------- | ----- |
|
|
135
|
-
| **download_id** | **String** | | |
|
|
136
|
-
|
|
137
|
-
### Return type
|
|
138
|
-
|
|
139
|
-
**Object**
|
|
140
|
-
|
|
141
|
-
### Authorization
|
|
142
|
-
|
|
143
|
-
[HTTPBearer](../README.md#HTTPBearer)
|
|
144
|
-
|
|
145
|
-
### HTTP request headers
|
|
146
|
-
|
|
147
|
-
- **Content-Type**: Not defined
|
|
148
|
-
- **Accept**: application/json
|
|
149
|
-
|
|
150
|
-
|
|
151
80
|
## download_file_api_v1_download_download_id_get
|
|
152
81
|
|
|
153
82
|
> Object download_file_api_v1_download_download_id_get(download_id, opts)
|
|
@@ -220,76 +149,3 @@ end
|
|
|
220
149
|
- **Content-Type**: Not defined
|
|
221
150
|
- **Accept**: application/json, application/pdf, application/xml, application/octet-stream
|
|
222
151
|
|
|
223
|
-
|
|
224
|
-
## download_file_api_v1_download_download_id_get_0
|
|
225
|
-
|
|
226
|
-
> Object download_file_api_v1_download_download_id_get_0(download_id, opts)
|
|
227
|
-
|
|
228
|
-
Download a temporary file
|
|
229
|
-
|
|
230
|
-
Download a file stored temporarily after asynchronous processing. **Usage**: - This URL is provided in webhook notifications when using `webhook_mode: \"download_url\"` - Files are automatically deleted after 1 hour - Each file can only be downloaded until it expires **Security**: - Requires a valid JWT token - Only the user who initiated the task can download the file
|
|
231
|
-
|
|
232
|
-
### Examples
|
|
233
|
-
|
|
234
|
-
```ruby
|
|
235
|
-
require 'time'
|
|
236
|
-
require 'factpulse'
|
|
237
|
-
# setup authorization
|
|
238
|
-
FactPulse.configure do |config|
|
|
239
|
-
# Configure Bearer authorization: HTTPBearer
|
|
240
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
241
|
-
end
|
|
242
|
-
|
|
243
|
-
api_instance = FactPulse::DownloadsApi.new
|
|
244
|
-
download_id = 'download_id_example' # String |
|
|
245
|
-
opts = {
|
|
246
|
-
delete_after: true # Boolean | If true, delete the file after download (one-time download)
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
begin
|
|
250
|
-
# Download a temporary file
|
|
251
|
-
result = api_instance.download_file_api_v1_download_download_id_get_0(download_id, opts)
|
|
252
|
-
p result
|
|
253
|
-
rescue FactPulse::ApiError => e
|
|
254
|
-
puts "Error when calling DownloadsApi->download_file_api_v1_download_download_id_get_0: #{e}"
|
|
255
|
-
end
|
|
256
|
-
```
|
|
257
|
-
|
|
258
|
-
#### Using the download_file_api_v1_download_download_id_get_0_with_http_info variant
|
|
259
|
-
|
|
260
|
-
This returns an Array which contains the response data, status code and headers.
|
|
261
|
-
|
|
262
|
-
> <Array(Object, Integer, Hash)> download_file_api_v1_download_download_id_get_0_with_http_info(download_id, opts)
|
|
263
|
-
|
|
264
|
-
```ruby
|
|
265
|
-
begin
|
|
266
|
-
# Download a temporary file
|
|
267
|
-
data, status_code, headers = api_instance.download_file_api_v1_download_download_id_get_0_with_http_info(download_id, opts)
|
|
268
|
-
p status_code # => 2xx
|
|
269
|
-
p headers # => { ... }
|
|
270
|
-
p data # => Object
|
|
271
|
-
rescue FactPulse::ApiError => e
|
|
272
|
-
puts "Error when calling DownloadsApi->download_file_api_v1_download_download_id_get_0_with_http_info: #{e}"
|
|
273
|
-
end
|
|
274
|
-
```
|
|
275
|
-
|
|
276
|
-
### Parameters
|
|
277
|
-
|
|
278
|
-
| Name | Type | Description | Notes |
|
|
279
|
-
| ---- | ---- | ----------- | ----- |
|
|
280
|
-
| **download_id** | **String** | | |
|
|
281
|
-
| **delete_after** | **Boolean** | If true, delete the file after download (one-time download) | [optional][default to false] |
|
|
282
|
-
|
|
283
|
-
### Return type
|
|
284
|
-
|
|
285
|
-
**Object**
|
|
286
|
-
|
|
287
|
-
### Authorization
|
|
288
|
-
|
|
289
|
-
[HTTPBearer](../README.md#HTTPBearer)
|
|
290
|
-
|
|
291
|
-
### HTTP request headers
|
|
292
|
-
|
|
293
|
-
- **Content-Type**: Not defined
|
|
294
|
-
- **Accept**: application/json, application/pdf, application/xml, application/octet-stream
|
|
295
|
-
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# FactPulse::EncaisseeRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **invoice_id** | **String** | Identifiant de la facture (BT-1) | |
|
|
8
|
+
| **invoice_issue_date** | **Date** | Date d'émission de la facture (YYYY-MM-DD) | |
|
|
9
|
+
| **sender_siren** | **String** | | [optional] |
|
|
10
|
+
| **flow_type** | **String** | Type de flux: SupplierInvoiceLC (acheteur) ou CustomerInvoiceLC (vendeur) | [optional][default to 'SupplierInvoiceLC'] |
|
|
11
|
+
| **pdp_flow_service_url** | **String** | | [optional] |
|
|
12
|
+
| **pdp_token_url** | **String** | | [optional] |
|
|
13
|
+
| **pdp_client_id** | **String** | | [optional] |
|
|
14
|
+
| **pdp_client_secret** | **String** | | [optional] |
|
|
15
|
+
| **amount** | [**Amount**](Amount.md) | | |
|
|
16
|
+
| **currency** | **String** | Code devise ISO 4217 | [optional][default to 'EUR'] |
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```ruby
|
|
21
|
+
require 'factpulse'
|
|
22
|
+
|
|
23
|
+
instance = FactPulse::EncaisseeRequest.new(
|
|
24
|
+
invoice_id: null,
|
|
25
|
+
invoice_issue_date: null,
|
|
26
|
+
sender_siren: null,
|
|
27
|
+
flow_type: null,
|
|
28
|
+
pdp_flow_service_url: null,
|
|
29
|
+
pdp_token_url: null,
|
|
30
|
+
pdp_client_id: null,
|
|
31
|
+
pdp_client_secret: null,
|
|
32
|
+
amount: null,
|
|
33
|
+
currency: null
|
|
34
|
+
)
|
|
35
|
+
```
|
|
36
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# FactPulse::FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
|
|
8
|
+
## Example
|
|
9
|
+
|
|
10
|
+
```ruby
|
|
11
|
+
require 'factpulse'
|
|
12
|
+
|
|
13
|
+
instance = FactPulse::FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.new()
|
|
14
|
+
```
|
|
15
|
+
|
data/docs/InvoiceInput.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **invoice_id** | **String** | Invoice identifier | |
|
|
8
8
|
| **issue_date** | **Date** | Invoice issue date | |
|
|
9
|
-
| **type_code** | [**
|
|
9
|
+
| **type_code** | [**FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode**](FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.md) | Invoice type code | [optional] |
|
|
10
10
|
| **currency** | [**Currency**](Currency.md) | | [optional] |
|
|
11
11
|
| **due_date** | **Date** | | [optional] |
|
|
12
12
|
| **seller_siren** | **String** | Seller SIREN/SIRET | |
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# FactPulse::PDPConfigResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **is_configured** | **Boolean** | Whether PDP config exists | |
|
|
8
|
+
| **id** | **Integer** | | [optional] |
|
|
9
|
+
| **is_active** | **Boolean** | | [optional] |
|
|
10
|
+
| **mode_sandbox** | **Boolean** | | [optional] |
|
|
11
|
+
| **flow_service_url** | **String** | | [optional] |
|
|
12
|
+
| **token_url** | **String** | | [optional] |
|
|
13
|
+
| **oauth_client_id** | **String** | | [optional] |
|
|
14
|
+
| **secret_status** | [**SecretStatus**](SecretStatus.md) | | [optional] |
|
|
15
|
+
| **last_test_at** | **Time** | | [optional] |
|
|
16
|
+
| **last_test_success** | **Boolean** | | [optional] |
|
|
17
|
+
| **last_test_error** | **String** | | [optional] |
|
|
18
|
+
| **created_at** | **Time** | | [optional] |
|
|
19
|
+
| **updated_at** | **Time** | | [optional] |
|
|
20
|
+
| **message** | **String** | | [optional] |
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```ruby
|
|
25
|
+
require 'factpulse'
|
|
26
|
+
|
|
27
|
+
instance = FactPulse::PDPConfigResponse.new(
|
|
28
|
+
is_configured: null,
|
|
29
|
+
id: null,
|
|
30
|
+
is_active: null,
|
|
31
|
+
mode_sandbox: null,
|
|
32
|
+
flow_service_url: null,
|
|
33
|
+
token_url: null,
|
|
34
|
+
oauth_client_id: null,
|
|
35
|
+
secret_status: null,
|
|
36
|
+
last_test_at: null,
|
|
37
|
+
last_test_success: null,
|
|
38
|
+
last_test_error: null,
|
|
39
|
+
created_at: null,
|
|
40
|
+
updated_at: null,
|
|
41
|
+
message: null
|
|
42
|
+
)
|
|
43
|
+
```
|
|
44
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# FactPulse::PDPConfigUpdateRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **is_active** | **Boolean** | Whether config is active | [optional][default to true] |
|
|
8
|
+
| **mode_sandbox** | **Boolean** | Sandbox mode | [optional][default to false] |
|
|
9
|
+
| **flow_service_url** | **String** | PDP Flow Service URL | |
|
|
10
|
+
| **token_url** | **String** | PDP OAuth token URL | |
|
|
11
|
+
| **oauth_client_id** | **String** | OAuth Client ID | |
|
|
12
|
+
| **client_secret** | **String** | OAuth Client Secret (sent but never returned) | |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'factpulse'
|
|
18
|
+
|
|
19
|
+
instance = FactPulse::PDPConfigUpdateRequest.new(
|
|
20
|
+
is_active: null,
|
|
21
|
+
mode_sandbox: null,
|
|
22
|
+
flow_service_url: null,
|
|
23
|
+
token_url: null,
|
|
24
|
+
oauth_client_id: null,
|
|
25
|
+
client_secret: null
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|
data/docs/PaymentAmountByRate.md
CHANGED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# FactPulse::RefuseeRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **invoice_id** | **String** | Identifiant de la facture (BT-1) | |
|
|
8
|
+
| **invoice_issue_date** | **Date** | Date d'émission de la facture (YYYY-MM-DD) | |
|
|
9
|
+
| **sender_siren** | **String** | | [optional] |
|
|
10
|
+
| **flow_type** | **String** | Type de flux: SupplierInvoiceLC (acheteur) ou CustomerInvoiceLC (vendeur) | [optional][default to 'SupplierInvoiceLC'] |
|
|
11
|
+
| **pdp_flow_service_url** | **String** | | [optional] |
|
|
12
|
+
| **pdp_token_url** | **String** | | [optional] |
|
|
13
|
+
| **pdp_client_id** | **String** | | [optional] |
|
|
14
|
+
| **pdp_client_secret** | **String** | | [optional] |
|
|
15
|
+
| **reason_code** | **String** | Code motif du refus (obligatoire). Valeurs autorisées: TX_TVA_ERR, MONTANTTOTAL_ERR, CALCUL_ERR, NON_CONFORME, DOUBLON, DEST_ERR, TRANSAC_INC, EMMET_INC, CONTRAT_TERM, DOUBLE_FACT, CMD_ERR, ADR_ERR, REF_CT_ABSENT | |
|
|
16
|
+
| **reason_text** | **String** | | [optional] |
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```ruby
|
|
21
|
+
require 'factpulse'
|
|
22
|
+
|
|
23
|
+
instance = FactPulse::RefuseeRequest.new(
|
|
24
|
+
invoice_id: null,
|
|
25
|
+
invoice_issue_date: null,
|
|
26
|
+
sender_siren: null,
|
|
27
|
+
flow_type: null,
|
|
28
|
+
pdp_flow_service_url: null,
|
|
29
|
+
pdp_token_url: null,
|
|
30
|
+
pdp_client_id: null,
|
|
31
|
+
pdp_client_secret: null,
|
|
32
|
+
reason_code: null,
|
|
33
|
+
reason_text: null
|
|
34
|
+
)
|
|
35
|
+
```
|
|
36
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# FactPulse::SecretStatus
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **status** | **String** | Secret status: 'active', 'missing', etc. | |
|
|
8
|
+
| **message** | **String** | Descriptive status message | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'factpulse'
|
|
14
|
+
|
|
15
|
+
instance = FactPulse::SecretStatus.new(
|
|
16
|
+
status: null,
|
|
17
|
+
message: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# FactPulse::SimplifiedCDARResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **flow_id** | **String** | Identifiant du flux AFNOR | |
|
|
8
|
+
| **document_id** | **String** | Identifiant du message CDAR généré | |
|
|
9
|
+
| **status** | **String** | Code statut soumis (210 ou 212) | |
|
|
10
|
+
| **invoice_id** | **String** | Identifiant de la facture | |
|
|
11
|
+
| **message** | **String** | Message de confirmation | |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'factpulse'
|
|
17
|
+
|
|
18
|
+
instance = FactPulse::SimplifiedCDARResponse.new(
|
|
19
|
+
flow_id: null,
|
|
20
|
+
document_id: null,
|
|
21
|
+
status: null,
|
|
22
|
+
invoice_id: null,
|
|
23
|
+
message: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
| **comment** | **String** | | [optional] |
|
|
14
14
|
| **purchase_order_reference** | **String** | | [optional] |
|
|
15
15
|
| **contract_reference** | **String** | | [optional] |
|
|
16
|
-
| **invoice_type** | [**
|
|
16
|
+
| **invoice_type** | [**InvoiceTypeCode**](InvoiceTypeCode.md) | Document type (UNTDID 1001). Default: 380 (Invoice). | [optional] |
|
|
17
17
|
| **preceding_invoice_reference** | **String** | | [optional] |
|
|
18
18
|
| **operation_nature** | [**OperationNature**](OperationNature.md) | | [optional] |
|
|
19
19
|
| **invoicing_framework** | [**InvoicingFrameworkCode**](InvoicingFrameworkCode.md) | | [optional] |
|
data/docs/SubmitCDARRequest.md
CHANGED
|
@@ -23,6 +23,10 @@
|
|
|
23
23
|
| **action_code** | **String** | | [optional] |
|
|
24
24
|
| **encaisse_amount** | [**Encaisseamount**](Encaisseamount.md) | | [optional] |
|
|
25
25
|
| **flow_type** | **String** | Type de flux AFNOR (CustomerInvoiceLC, SupplierInvoiceLC, etc.) | [optional][default to 'CustomerInvoiceLC'] |
|
|
26
|
+
| **pdp_flow_service_url** | **String** | | [optional] |
|
|
27
|
+
| **pdp_token_url** | **String** | | [optional] |
|
|
28
|
+
| **pdp_client_id** | **String** | | [optional] |
|
|
29
|
+
| **pdp_client_secret** | **String** | | [optional] |
|
|
26
30
|
|
|
27
31
|
## Example
|
|
28
32
|
|
|
@@ -48,7 +52,11 @@ instance = FactPulse::SubmitCDARRequest.new(
|
|
|
48
52
|
reason_text: null,
|
|
49
53
|
action_code: null,
|
|
50
54
|
encaisse_amount: null,
|
|
51
|
-
flow_type: null
|
|
55
|
+
flow_type: null,
|
|
56
|
+
pdp_flow_service_url: null,
|
|
57
|
+
pdp_token_url: null,
|
|
58
|
+
pdp_client_id: null,
|
|
59
|
+
pdp_client_secret: null
|
|
52
60
|
)
|
|
53
61
|
```
|
|
54
62
|
|
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
| **xml** | **String** | XML CDAR à soumettre | |
|
|
8
8
|
| **flow_type** | **String** | Type de flux AFNOR | [optional][default to 'CustomerInvoiceLC'] |
|
|
9
9
|
| **filename** | **String** | | [optional] |
|
|
10
|
+
| **pdp_flow_service_url** | **String** | | [optional] |
|
|
11
|
+
| **pdp_token_url** | **String** | | [optional] |
|
|
12
|
+
| **pdp_client_id** | **String** | | [optional] |
|
|
13
|
+
| **pdp_client_secret** | **String** | | [optional] |
|
|
10
14
|
|
|
11
15
|
## Example
|
|
12
16
|
|
|
@@ -16,7 +20,11 @@ require 'factpulse'
|
|
|
16
20
|
instance = FactPulse::SubmitCDARXMLRequest.new(
|
|
17
21
|
xml: null,
|
|
18
22
|
flow_type: null,
|
|
19
|
-
filename: null
|
|
23
|
+
filename: null,
|
|
24
|
+
pdp_flow_service_url: null,
|
|
25
|
+
pdp_token_url: null,
|
|
26
|
+
pdp_client_id: null,
|
|
27
|
+
pdp_client_secret: null
|
|
20
28
|
)
|
|
21
29
|
```
|
|
22
30
|
|
data/factpulse.gemspec
CHANGED