factpulse 4.0.1 → 4.0.2
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 +4 -4
- data/Gemfile.lock +1 -1
- data/docs/AFNORPDPPAApi.md +5 -72
- data/docs/AsyncTasksApi.md +77 -0
- data/docs/ChorusProCredentials.md +8 -8
- data/docs/ChorusProDestination.md +1 -1
- data/docs/CreateAggregatedReportRequest.md +3 -1
- data/docs/CreateEReportingRequest.md +3 -1
- data/docs/ElectronicSignatureApi.md +319 -0
- data/docs/EncaisseeRequest.md +10 -6
- data/docs/{DocumentConversionApi.md → FacturXConversionApi.md} +39 -39
- data/docs/FacturXGenerationApi.md +239 -0
- data/docs/FacturXInvoice.md +1 -1
- data/docs/FacturXPDFXMLVerificationApi.md +225 -0
- data/docs/FacturXValidationApi.md +241 -0
- data/docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md +26 -0
- data/docs/{EReportingApi.md → Flux10EReportingApi.md} +53 -51
- data/docs/{CDARCycleDeVieApi.md → Flux6InvoiceLifecycleCDARApi.md} +145 -75
- data/docs/GetChorusProIdRequest.md +1 -1
- data/docs/GetInvoiceRequest.md +1 -1
- data/docs/GetStructureRequest.md +1 -1
- data/docs/HealthApi.md +67 -0
- data/docs/InvoiceInput.md +4 -2
- data/docs/IssuerRoleCode.md +15 -0
- data/docs/RefuseeRequest.md +10 -6
- data/docs/ReportIssuer.md +24 -0
- data/docs/ReportSender.md +1 -1
- data/docs/SearchStructureRequest.md +1 -1
- data/docs/SubmitInvoiceRequest.md +1 -1
- data/factpulse.gemspec +2 -2
- data/lib/factpulse/api/afnorpdppa_api.rb +5 -62
- 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/async_tasks_api.rb +85 -0
- data/lib/factpulse/api/chorus_pro_api.rb +1 -1
- data/lib/factpulse/api/client_management_api.rb +1 -1
- data/lib/factpulse/api/downloads_api.rb +1 -1
- data/lib/factpulse/api/electronic_signature_api.rb +339 -0
- data/lib/factpulse/api/{document_conversion_api.rb → factur_x_conversion_api.rb} +42 -42
- data/lib/factpulse/api/factur_x_generation_api.rb +254 -0
- data/lib/factpulse/api/factur_x_validation_api.rb +256 -0
- data/lib/factpulse/api/factur_xpdfxml_verification_api.rb +232 -0
- data/lib/factpulse/api/{e_reporting_api.rb → flux10_e_reporting_api.rb} +54 -51
- data/lib/factpulse/api/flux6_invoice_lifecycle_cdar_api.rb +670 -0
- data/lib/factpulse/api/health_api.rb +58 -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/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 +1 -1
- 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 +1 -1
- data/lib/factpulse/models/amount1.rb +1 -1
- data/lib/factpulse/models/amount2.rb +1 -1
- 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 +2 -2
- 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 +27 -95
- data/lib/factpulse/models/chorus_pro_destination.rb +2 -2
- data/lib/factpulse/models/chorus_pro_result.rb +1 -1
- data/lib/factpulse/models/client_activate_response.rb +1 -1
- data/lib/factpulse/models/client_create_request.rb +1 -1
- data/lib/factpulse/models/client_detail.rb +1 -1
- data/lib/factpulse/models/client_list_response.rb +1 -1
- data/lib/factpulse/models/client_summary.rb +1 -1
- data/lib/factpulse/models/client_update_request.rb +1 -1
- 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 +13 -3
- data/lib/factpulse/models/create_cdar_request.rb +1 -1
- data/lib/factpulse/models/create_e_reporting_request.rb +13 -3
- 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 +86 -32
- 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 +3 -2
- data/lib/factpulse/models/extraction_info.rb +1 -1
- data/lib/factpulse/models/factur_x_invoice.rb +1 -18
- 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_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb +259 -0
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_ereporting_invoice_type_code.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 +2 -2
- data/lib/factpulse/models/get_chorus_pro_id_response.rb +1 -1
- data/lib/factpulse/models/get_invoice_request.rb +2 -2
- data/lib/factpulse/models/get_invoice_response.rb +1 -1
- data/lib/factpulse/models/get_structure_request.rb +2 -2
- 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 +14 -21
- 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 +1 -1
- 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/issuer_role_code.rb +40 -0
- 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 +1 -1
- 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 +1 -1
- data/lib/factpulse/models/pdp_config_update_request.rb +1 -1
- 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 +84 -30
- data/lib/factpulse/models/report_issuer.rb +236 -0
- data/lib/factpulse/models/report_period.rb +1 -1
- data/lib/factpulse/models/report_sender.rb +3 -3
- 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 +2 -2
- data/lib/factpulse/models/search_structure_response.rb +1 -1
- data/lib/factpulse/models/secret_status.rb +1 -1
- data/lib/factpulse/models/sellercountry.rb +2 -2
- 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 +1 -1
- data/lib/factpulse/models/simplified_invoice_data.rb +1 -1
- 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 +1 -1
- data/lib/factpulse/models/submit_cdar_response.rb +1 -1
- data/lib/factpulse/models/submit_cdarxml_request.rb +1 -1
- 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 +2 -2
- 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 +12 -8
- metadata +46 -37
- data/docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md +0 -26
- data/docs/InvoiceProcessingApi.md +0 -855
- data/docs/PDFXMLVerificationApi.md +0 -443
- data/docs/UserApi.md +0 -74
- data/lib/factpulse/api/cdar_cycle_de_vie_api.rb +0 -601
- data/lib/factpulse/api/invoice_processing_api.rb +0 -868
- data/lib/factpulse/api/pdfxml_verification_api.rb +0 -442
- data/lib/factpulse/api/user_api.rb +0 -79
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb +0 -191
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#FactPulse REST API
|
|
3
3
|
|
|
4
|
-
# REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X
|
|
4
|
+
# REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X - Generation - **Formats**: XML only or PDF/A-3 with embedded XML - **Profiles**: MINIMUM, BASIC, EN16931, EXTENDED - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### ✅ Factur-X - Validation - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) ### ✍️ Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification ### 📋 Flux 6 - Invoice Lifecycle (CDAR) - **CDAR Messages**: Acknowledgements, invoice statuses - **PPF Statuses**: REFUSED (210), PAID (212) ### 📊 Flux 10 - E-Reporting - **Tax Declarations**: International B2B, B2C - **Flow Types**: 10.1 (B2B transactions), 10.2 (B2B payments), 10.3 (B2C transactions), 10.4 (B2C payments) ### 📡 AFNOR PDP/PA (XP Z12-013) - **Flow Service**: Submit and search flows to PDPs - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user ### 🏛️ Chorus Pro - **Public Sector Invoicing**: Complete API for Chorus Pro ### ⏳ Async Tasks - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **Webhooks**: Automatic notifications when tasks complete ## 🔒 Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### 🔑 Method 1: `/api/token/` API (Recommended) **URL:** `https://factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d '{ \"username\": \"your_email@example.com\", \"password\": \"your_password\" }' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d '{ \"username\": \"your_email@example.com\", \"password\": \"your_password\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Access token (validity: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Refresh token (validity: 7 days) } ``` **Advantages:** - ✅ Full automation (CI/CD, scripts) - ✅ Programmatic token management - ✅ Refresh token support for automatic access renewal - ✅ Easy integration in any language/tool #### 🖥️ Method 2: Dashboard Generation (Alternative) **URL:** https://factpulse.fr/api/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the \"Generate Test Token\" or \"Generate Production Token\" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - ✅ Quick for API testing - ✅ No password required - ✅ Simple visual interface **Disadvantages:** - ❌ Requires manual action - ❌ No refresh token - ❌ Less suited for automation ### 📚 Full Documentation For more information on authentication and API usage: https://factpulse.fr/documentation-api/
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: contact@factpulse.fr
|
|
@@ -13,7 +13,7 @@ Generator version: 7.20.0-SNAPSHOT
|
|
|
13
13
|
require 'cgi'
|
|
14
14
|
|
|
15
15
|
module FactPulse
|
|
16
|
-
class
|
|
16
|
+
class Flux10EReportingApi
|
|
17
17
|
attr_accessor :api_client
|
|
18
18
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
@@ -36,11 +36,11 @@ module FactPulse
|
|
|
36
36
|
# @return [Array<(GenerateAggregatedReportResponse, Integer, Hash)>] GenerateAggregatedReportResponse data, response status code and response headers
|
|
37
37
|
def generate_aggregated_ereporting_api_v1_ereporting_generate_aggregated_post_with_http_info(create_aggregated_report_request, opts = {})
|
|
38
38
|
if @api_client.config.debugging
|
|
39
|
-
@api_client.config.logger.debug 'Calling API:
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: Flux10EReportingApi.generate_aggregated_ereporting_api_v1_ereporting_generate_aggregated_post ...'
|
|
40
40
|
end
|
|
41
41
|
# verify the required parameter 'create_aggregated_report_request' is set
|
|
42
42
|
if @api_client.config.client_side_validation && create_aggregated_report_request.nil?
|
|
43
|
-
fail ArgumentError, "Missing the required parameter 'create_aggregated_report_request' when calling
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'create_aggregated_report_request' when calling Flux10EReportingApi.generate_aggregated_ereporting_api_v1_ereporting_generate_aggregated_post"
|
|
44
44
|
end
|
|
45
45
|
# resource path
|
|
46
46
|
local_var_path = '/api/v1/ereporting/generate-aggregated'
|
|
@@ -71,7 +71,7 @@ module FactPulse
|
|
|
71
71
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
72
72
|
|
|
73
73
|
new_options = opts.merge(
|
|
74
|
-
:operation => :"
|
|
74
|
+
:operation => :"Flux10EReportingApi.generate_aggregated_ereporting_api_v1_ereporting_generate_aggregated_post",
|
|
75
75
|
:header_params => header_params,
|
|
76
76
|
:query_params => query_params,
|
|
77
77
|
:form_params => form_params,
|
|
@@ -82,7 +82,7 @@ module FactPulse
|
|
|
82
82
|
|
|
83
83
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
84
84
|
if @api_client.config.debugging
|
|
85
|
-
@api_client.config.logger.debug "API called:
|
|
85
|
+
@api_client.config.logger.debug "API called: Flux10EReportingApi#generate_aggregated_ereporting_api_v1_ereporting_generate_aggregated_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
86
86
|
end
|
|
87
87
|
return data, status_code, headers
|
|
88
88
|
end
|
|
@@ -104,11 +104,11 @@ module FactPulse
|
|
|
104
104
|
# @return [Array<(GenerateEReportingResponse, Integer, Hash)>] GenerateEReportingResponse data, response status code and response headers
|
|
105
105
|
def generate_ereporting_api_v1_ereporting_generate_post_with_http_info(create_e_reporting_request, opts = {})
|
|
106
106
|
if @api_client.config.debugging
|
|
107
|
-
@api_client.config.logger.debug 'Calling API:
|
|
107
|
+
@api_client.config.logger.debug 'Calling API: Flux10EReportingApi.generate_ereporting_api_v1_ereporting_generate_post ...'
|
|
108
108
|
end
|
|
109
109
|
# verify the required parameter 'create_e_reporting_request' is set
|
|
110
110
|
if @api_client.config.client_side_validation && create_e_reporting_request.nil?
|
|
111
|
-
fail ArgumentError, "Missing the required parameter 'create_e_reporting_request' when calling
|
|
111
|
+
fail ArgumentError, "Missing the required parameter 'create_e_reporting_request' when calling Flux10EReportingApi.generate_ereporting_api_v1_ereporting_generate_post"
|
|
112
112
|
end
|
|
113
113
|
# resource path
|
|
114
114
|
local_var_path = '/api/v1/ereporting/generate'
|
|
@@ -139,7 +139,7 @@ module FactPulse
|
|
|
139
139
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
140
140
|
|
|
141
141
|
new_options = opts.merge(
|
|
142
|
-
:operation => :"
|
|
142
|
+
:operation => :"Flux10EReportingApi.generate_ereporting_api_v1_ereporting_generate_post",
|
|
143
143
|
:header_params => header_params,
|
|
144
144
|
:query_params => query_params,
|
|
145
145
|
:form_params => form_params,
|
|
@@ -150,7 +150,7 @@ module FactPulse
|
|
|
150
150
|
|
|
151
151
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
152
152
|
if @api_client.config.debugging
|
|
153
|
-
@api_client.config.logger.debug "API called:
|
|
153
|
+
@api_client.config.logger.debug "API called: Flux10EReportingApi#generate_ereporting_api_v1_ereporting_generate_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
154
154
|
end
|
|
155
155
|
return data, status_code, headers
|
|
156
156
|
end
|
|
@@ -174,11 +174,11 @@ module FactPulse
|
|
|
174
174
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
175
175
|
def generate_ereporting_download_api_v1_ereporting_generate_download_post_with_http_info(create_e_reporting_request, opts = {})
|
|
176
176
|
if @api_client.config.debugging
|
|
177
|
-
@api_client.config.logger.debug 'Calling API:
|
|
177
|
+
@api_client.config.logger.debug 'Calling API: Flux10EReportingApi.generate_ereporting_download_api_v1_ereporting_generate_download_post ...'
|
|
178
178
|
end
|
|
179
179
|
# verify the required parameter 'create_e_reporting_request' is set
|
|
180
180
|
if @api_client.config.client_side_validation && create_e_reporting_request.nil?
|
|
181
|
-
fail ArgumentError, "Missing the required parameter 'create_e_reporting_request' when calling
|
|
181
|
+
fail ArgumentError, "Missing the required parameter 'create_e_reporting_request' when calling Flux10EReportingApi.generate_ereporting_download_api_v1_ereporting_generate_download_post"
|
|
182
182
|
end
|
|
183
183
|
# resource path
|
|
184
184
|
local_var_path = '/api/v1/ereporting/generate/download'
|
|
@@ -210,7 +210,7 @@ module FactPulse
|
|
|
210
210
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
211
211
|
|
|
212
212
|
new_options = opts.merge(
|
|
213
|
-
:operation => :"
|
|
213
|
+
:operation => :"Flux10EReportingApi.generate_ereporting_download_api_v1_ereporting_generate_download_post",
|
|
214
214
|
:header_params => header_params,
|
|
215
215
|
:query_params => query_params,
|
|
216
216
|
:form_params => form_params,
|
|
@@ -221,7 +221,7 @@ module FactPulse
|
|
|
221
221
|
|
|
222
222
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
223
223
|
if @api_client.config.debugging
|
|
224
|
-
@api_client.config.logger.debug "API called:
|
|
224
|
+
@api_client.config.logger.debug "API called: Flux10EReportingApi#generate_ereporting_download_api_v1_ereporting_generate_download_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
225
225
|
end
|
|
226
226
|
return data, status_code, headers
|
|
227
227
|
end
|
|
@@ -241,7 +241,7 @@ module FactPulse
|
|
|
241
241
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
242
242
|
def list_category_codes_api_v1_ereporting_category_codes_get_with_http_info(opts = {})
|
|
243
243
|
if @api_client.config.debugging
|
|
244
|
-
@api_client.config.logger.debug 'Calling API:
|
|
244
|
+
@api_client.config.logger.debug 'Calling API: Flux10EReportingApi.list_category_codes_api_v1_ereporting_category_codes_get ...'
|
|
245
245
|
end
|
|
246
246
|
# resource path
|
|
247
247
|
local_var_path = '/api/v1/ereporting/category-codes'
|
|
@@ -267,7 +267,7 @@ module FactPulse
|
|
|
267
267
|
auth_names = opts[:debug_auth_names] || []
|
|
268
268
|
|
|
269
269
|
new_options = opts.merge(
|
|
270
|
-
:operation => :"
|
|
270
|
+
:operation => :"Flux10EReportingApi.list_category_codes_api_v1_ereporting_category_codes_get",
|
|
271
271
|
:header_params => header_params,
|
|
272
272
|
:query_params => query_params,
|
|
273
273
|
:form_params => form_params,
|
|
@@ -278,7 +278,7 @@ module FactPulse
|
|
|
278
278
|
|
|
279
279
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
280
280
|
if @api_client.config.debugging
|
|
281
|
-
@api_client.config.logger.debug "API called:
|
|
281
|
+
@api_client.config.logger.debug "API called: Flux10EReportingApi#list_category_codes_api_v1_ereporting_category_codes_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
282
282
|
end
|
|
283
283
|
return data, status_code, headers
|
|
284
284
|
end
|
|
@@ -298,7 +298,7 @@ module FactPulse
|
|
|
298
298
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
299
299
|
def list_flow_types_api_v1_ereporting_flow_types_get_with_http_info(opts = {})
|
|
300
300
|
if @api_client.config.debugging
|
|
301
|
-
@api_client.config.logger.debug 'Calling API:
|
|
301
|
+
@api_client.config.logger.debug 'Calling API: Flux10EReportingApi.list_flow_types_api_v1_ereporting_flow_types_get ...'
|
|
302
302
|
end
|
|
303
303
|
# resource path
|
|
304
304
|
local_var_path = '/api/v1/ereporting/flow-types'
|
|
@@ -324,7 +324,7 @@ module FactPulse
|
|
|
324
324
|
auth_names = opts[:debug_auth_names] || []
|
|
325
325
|
|
|
326
326
|
new_options = opts.merge(
|
|
327
|
-
:operation => :"
|
|
327
|
+
:operation => :"Flux10EReportingApi.list_flow_types_api_v1_ereporting_flow_types_get",
|
|
328
328
|
:header_params => header_params,
|
|
329
329
|
:query_params => query_params,
|
|
330
330
|
:form_params => form_params,
|
|
@@ -335,7 +335,7 @@ module FactPulse
|
|
|
335
335
|
|
|
336
336
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
337
337
|
if @api_client.config.debugging
|
|
338
|
-
@api_client.config.logger.debug "API called:
|
|
338
|
+
@api_client.config.logger.debug "API called: Flux10EReportingApi#list_flow_types_api_v1_ereporting_flow_types_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
339
339
|
end
|
|
340
340
|
return data, status_code, headers
|
|
341
341
|
end
|
|
@@ -357,11 +357,11 @@ module FactPulse
|
|
|
357
357
|
# @return [Array<(SubmitEReportingResponse, Integer, Hash)>] SubmitEReportingResponse data, response status code and response headers
|
|
358
358
|
def submit_aggregated_ereporting_api_v1_ereporting_submit_aggregated_post_with_http_info(submit_aggregated_report_request, opts = {})
|
|
359
359
|
if @api_client.config.debugging
|
|
360
|
-
@api_client.config.logger.debug 'Calling API:
|
|
360
|
+
@api_client.config.logger.debug 'Calling API: Flux10EReportingApi.submit_aggregated_ereporting_api_v1_ereporting_submit_aggregated_post ...'
|
|
361
361
|
end
|
|
362
362
|
# verify the required parameter 'submit_aggregated_report_request' is set
|
|
363
363
|
if @api_client.config.client_side_validation && submit_aggregated_report_request.nil?
|
|
364
|
-
fail ArgumentError, "Missing the required parameter 'submit_aggregated_report_request' when calling
|
|
364
|
+
fail ArgumentError, "Missing the required parameter 'submit_aggregated_report_request' when calling Flux10EReportingApi.submit_aggregated_ereporting_api_v1_ereporting_submit_aggregated_post"
|
|
365
365
|
end
|
|
366
366
|
# resource path
|
|
367
367
|
local_var_path = '/api/v1/ereporting/submit-aggregated'
|
|
@@ -392,7 +392,7 @@ module FactPulse
|
|
|
392
392
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
393
393
|
|
|
394
394
|
new_options = opts.merge(
|
|
395
|
-
:operation => :"
|
|
395
|
+
:operation => :"Flux10EReportingApi.submit_aggregated_ereporting_api_v1_ereporting_submit_aggregated_post",
|
|
396
396
|
:header_params => header_params,
|
|
397
397
|
:query_params => query_params,
|
|
398
398
|
:form_params => form_params,
|
|
@@ -403,7 +403,7 @@ module FactPulse
|
|
|
403
403
|
|
|
404
404
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
405
405
|
if @api_client.config.debugging
|
|
406
|
-
@api_client.config.logger.debug "API called:
|
|
406
|
+
@api_client.config.logger.debug "API called: Flux10EReportingApi#submit_aggregated_ereporting_api_v1_ereporting_submit_aggregated_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
407
407
|
end
|
|
408
408
|
return data, status_code, headers
|
|
409
409
|
end
|
|
@@ -425,11 +425,11 @@ module FactPulse
|
|
|
425
425
|
# @return [Array<(SubmitEReportingResponse, Integer, Hash)>] SubmitEReportingResponse data, response status code and response headers
|
|
426
426
|
def submit_ereporting_api_v1_ereporting_submit_post_with_http_info(submit_e_reporting_request, opts = {})
|
|
427
427
|
if @api_client.config.debugging
|
|
428
|
-
@api_client.config.logger.debug 'Calling API:
|
|
428
|
+
@api_client.config.logger.debug 'Calling API: Flux10EReportingApi.submit_ereporting_api_v1_ereporting_submit_post ...'
|
|
429
429
|
end
|
|
430
430
|
# verify the required parameter 'submit_e_reporting_request' is set
|
|
431
431
|
if @api_client.config.client_side_validation && submit_e_reporting_request.nil?
|
|
432
|
-
fail ArgumentError, "Missing the required parameter 'submit_e_reporting_request' when calling
|
|
432
|
+
fail ArgumentError, "Missing the required parameter 'submit_e_reporting_request' when calling Flux10EReportingApi.submit_ereporting_api_v1_ereporting_submit_post"
|
|
433
433
|
end
|
|
434
434
|
# resource path
|
|
435
435
|
local_var_path = '/api/v1/ereporting/submit'
|
|
@@ -460,7 +460,7 @@ module FactPulse
|
|
|
460
460
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
461
461
|
|
|
462
462
|
new_options = opts.merge(
|
|
463
|
-
:operation => :"
|
|
463
|
+
:operation => :"Flux10EReportingApi.submit_ereporting_api_v1_ereporting_submit_post",
|
|
464
464
|
:header_params => header_params,
|
|
465
465
|
:query_params => query_params,
|
|
466
466
|
:form_params => form_params,
|
|
@@ -471,7 +471,7 @@ module FactPulse
|
|
|
471
471
|
|
|
472
472
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
473
473
|
if @api_client.config.debugging
|
|
474
|
-
@api_client.config.logger.debug "API called:
|
|
474
|
+
@api_client.config.logger.debug "API called: Flux10EReportingApi#submit_ereporting_api_v1_ereporting_submit_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
475
475
|
end
|
|
476
476
|
return data, status_code, headers
|
|
477
477
|
end
|
|
@@ -505,11 +505,11 @@ module FactPulse
|
|
|
505
505
|
# @return [Array<(SubmitEReportingResponse, Integer, Hash)>] SubmitEReportingResponse data, response status code and response headers
|
|
506
506
|
def submit_xml_ereporting_api_v1_ereporting_submit_xml_post_with_http_info(xml_file, opts = {})
|
|
507
507
|
if @api_client.config.debugging
|
|
508
|
-
@api_client.config.logger.debug 'Calling API:
|
|
508
|
+
@api_client.config.logger.debug 'Calling API: Flux10EReportingApi.submit_xml_ereporting_api_v1_ereporting_submit_xml_post ...'
|
|
509
509
|
end
|
|
510
510
|
# verify the required parameter 'xml_file' is set
|
|
511
511
|
if @api_client.config.client_side_validation && xml_file.nil?
|
|
512
|
-
fail ArgumentError, "Missing the required parameter 'xml_file' when calling
|
|
512
|
+
fail ArgumentError, "Missing the required parameter 'xml_file' when calling Flux10EReportingApi.submit_xml_ereporting_api_v1_ereporting_submit_xml_post"
|
|
513
513
|
end
|
|
514
514
|
# resource path
|
|
515
515
|
local_var_path = '/api/v1/ereporting/submit-xml'
|
|
@@ -547,7 +547,7 @@ module FactPulse
|
|
|
547
547
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
548
548
|
|
|
549
549
|
new_options = opts.merge(
|
|
550
|
-
:operation => :"
|
|
550
|
+
:operation => :"Flux10EReportingApi.submit_xml_ereporting_api_v1_ereporting_submit_xml_post",
|
|
551
551
|
:header_params => header_params,
|
|
552
552
|
:query_params => query_params,
|
|
553
553
|
:form_params => form_params,
|
|
@@ -558,7 +558,7 @@ module FactPulse
|
|
|
558
558
|
|
|
559
559
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
560
560
|
if @api_client.config.debugging
|
|
561
|
-
@api_client.config.logger.debug "API called:
|
|
561
|
+
@api_client.config.logger.debug "API called: Flux10EReportingApi#submit_xml_ereporting_api_v1_ereporting_submit_xml_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
562
562
|
end
|
|
563
563
|
return data, status_code, headers
|
|
564
564
|
end
|
|
@@ -580,11 +580,11 @@ module FactPulse
|
|
|
580
580
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
581
581
|
def validate_aggregated_ereporting_api_v1_ereporting_validate_aggregated_post_with_http_info(create_aggregated_report_request, opts = {})
|
|
582
582
|
if @api_client.config.debugging
|
|
583
|
-
@api_client.config.logger.debug 'Calling API:
|
|
583
|
+
@api_client.config.logger.debug 'Calling API: Flux10EReportingApi.validate_aggregated_ereporting_api_v1_ereporting_validate_aggregated_post ...'
|
|
584
584
|
end
|
|
585
585
|
# verify the required parameter 'create_aggregated_report_request' is set
|
|
586
586
|
if @api_client.config.client_side_validation && create_aggregated_report_request.nil?
|
|
587
|
-
fail ArgumentError, "Missing the required parameter 'create_aggregated_report_request' when calling
|
|
587
|
+
fail ArgumentError, "Missing the required parameter 'create_aggregated_report_request' when calling Flux10EReportingApi.validate_aggregated_ereporting_api_v1_ereporting_validate_aggregated_post"
|
|
588
588
|
end
|
|
589
589
|
# resource path
|
|
590
590
|
local_var_path = '/api/v1/ereporting/validate-aggregated'
|
|
@@ -615,7 +615,7 @@ module FactPulse
|
|
|
615
615
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
616
616
|
|
|
617
617
|
new_options = opts.merge(
|
|
618
|
-
:operation => :"
|
|
618
|
+
:operation => :"Flux10EReportingApi.validate_aggregated_ereporting_api_v1_ereporting_validate_aggregated_post",
|
|
619
619
|
:header_params => header_params,
|
|
620
620
|
:query_params => query_params,
|
|
621
621
|
:form_params => form_params,
|
|
@@ -626,7 +626,7 @@ module FactPulse
|
|
|
626
626
|
|
|
627
627
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
628
628
|
if @api_client.config.debugging
|
|
629
|
-
@api_client.config.logger.debug "API called:
|
|
629
|
+
@api_client.config.logger.debug "API called: Flux10EReportingApi#validate_aggregated_ereporting_api_v1_ereporting_validate_aggregated_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
630
630
|
end
|
|
631
631
|
return data, status_code, headers
|
|
632
632
|
end
|
|
@@ -648,11 +648,11 @@ module FactPulse
|
|
|
648
648
|
# @return [Array<(ValidateEReportingResponse, Integer, Hash)>] ValidateEReportingResponse data, response status code and response headers
|
|
649
649
|
def validate_ereporting_api_v1_ereporting_validate_post_with_http_info(validate_e_reporting_request, opts = {})
|
|
650
650
|
if @api_client.config.debugging
|
|
651
|
-
@api_client.config.logger.debug 'Calling API:
|
|
651
|
+
@api_client.config.logger.debug 'Calling API: Flux10EReportingApi.validate_ereporting_api_v1_ereporting_validate_post ...'
|
|
652
652
|
end
|
|
653
653
|
# verify the required parameter 'validate_e_reporting_request' is set
|
|
654
654
|
if @api_client.config.client_side_validation && validate_e_reporting_request.nil?
|
|
655
|
-
fail ArgumentError, "Missing the required parameter 'validate_e_reporting_request' when calling
|
|
655
|
+
fail ArgumentError, "Missing the required parameter 'validate_e_reporting_request' when calling Flux10EReportingApi.validate_ereporting_api_v1_ereporting_validate_post"
|
|
656
656
|
end
|
|
657
657
|
# resource path
|
|
658
658
|
local_var_path = '/api/v1/ereporting/validate'
|
|
@@ -683,7 +683,7 @@ module FactPulse
|
|
|
683
683
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
684
684
|
|
|
685
685
|
new_options = opts.merge(
|
|
686
|
-
:operation => :"
|
|
686
|
+
:operation => :"Flux10EReportingApi.validate_ereporting_api_v1_ereporting_validate_post",
|
|
687
687
|
:header_params => header_params,
|
|
688
688
|
:query_params => query_params,
|
|
689
689
|
:form_params => form_params,
|
|
@@ -694,42 +694,45 @@ module FactPulse
|
|
|
694
694
|
|
|
695
695
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
696
696
|
if @api_client.config.debugging
|
|
697
|
-
@api_client.config.logger.debug "API called:
|
|
697
|
+
@api_client.config.logger.debug "API called: Flux10EReportingApi#validate_ereporting_api_v1_ereporting_validate_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
698
698
|
end
|
|
699
699
|
return data, status_code, headers
|
|
700
700
|
end
|
|
701
701
|
|
|
702
|
-
# Validate e-reporting XML
|
|
703
|
-
# Validates an e-reporting XML file against: 1. **XSD
|
|
702
|
+
# Validate e-reporting XML (PPF Annexe 6 v1.9 compliant)
|
|
703
|
+
# Validates an e-reporting XML file against PPF specifications (Annexe 6 v1.9): **Validation levels:** 1. **XSD (REJ_SEMAN)**: Structure, types, cardinality 2. **Semantic (REJ_SEMAN)**: Authorized values from codelists 3. **Coherence (REJ_COH)**: Data consistency (totals = sum of breakdowns) 4. **Period (REJ_PER)**: Transaction dates within declared period **Validated codes:** - SchemeID (ISO 6523): 0002=SIREN, 0009=SIRET, 0224=RoutingCode, etc. - RoleCode (UNCL 3035): SE=Seller, BY=Buyer, WK=Working party - CategoryCode (TT-81): TLB1, TPS1, TNT1, TMA1 - TaxCategoryCode (UNTDID 5305): S, Z, E, AE, K, G, O - Currency (ISO 4217), Country (ISO 3166-1) Returns structured validation errors with PPF rejection codes.
|
|
704
704
|
# @param xml_file [File] E-reporting XML file to validate
|
|
705
705
|
# @param [Hash] opts the optional parameters
|
|
706
|
-
# @option opts [Boolean] :
|
|
706
|
+
# @option opts [Boolean] :validate_coherence Validate data coherence (REJ_COH) (default to true)
|
|
707
|
+
# @option opts [Boolean] :validate_period Validate period coherence (REJ_PER) (default to true)
|
|
707
708
|
# @return [Hash<String, Object>]
|
|
708
709
|
def validate_xml_ereporting_api_v1_ereporting_validate_xml_post(xml_file, opts = {})
|
|
709
710
|
data, _status_code, _headers = validate_xml_ereporting_api_v1_ereporting_validate_xml_post_with_http_info(xml_file, opts)
|
|
710
711
|
data
|
|
711
712
|
end
|
|
712
713
|
|
|
713
|
-
# Validate e-reporting XML
|
|
714
|
-
# Validates an e-reporting XML file against: 1. **XSD
|
|
714
|
+
# Validate e-reporting XML (PPF Annexe 6 v1.9 compliant)
|
|
715
|
+
# Validates an e-reporting XML file against PPF specifications (Annexe 6 v1.9): **Validation levels:** 1. **XSD (REJ_SEMAN)**: Structure, types, cardinality 2. **Semantic (REJ_SEMAN)**: Authorized values from codelists 3. **Coherence (REJ_COH)**: Data consistency (totals = sum of breakdowns) 4. **Period (REJ_PER)**: Transaction dates within declared period **Validated codes:** - SchemeID (ISO 6523): 0002=SIREN, 0009=SIRET, 0224=RoutingCode, etc. - RoleCode (UNCL 3035): SE=Seller, BY=Buyer, WK=Working party - CategoryCode (TT-81): TLB1, TPS1, TNT1, TMA1 - TaxCategoryCode (UNTDID 5305): S, Z, E, AE, K, G, O - Currency (ISO 4217), Country (ISO 3166-1) Returns structured validation errors with PPF rejection codes.
|
|
715
716
|
# @param xml_file [File] E-reporting XML file to validate
|
|
716
717
|
# @param [Hash] opts the optional parameters
|
|
717
|
-
# @option opts [Boolean] :
|
|
718
|
+
# @option opts [Boolean] :validate_coherence Validate data coherence (REJ_COH) (default to true)
|
|
719
|
+
# @option opts [Boolean] :validate_period Validate period coherence (REJ_PER) (default to true)
|
|
718
720
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
719
721
|
def validate_xml_ereporting_api_v1_ereporting_validate_xml_post_with_http_info(xml_file, opts = {})
|
|
720
722
|
if @api_client.config.debugging
|
|
721
|
-
@api_client.config.logger.debug 'Calling API:
|
|
723
|
+
@api_client.config.logger.debug 'Calling API: Flux10EReportingApi.validate_xml_ereporting_api_v1_ereporting_validate_xml_post ...'
|
|
722
724
|
end
|
|
723
725
|
# verify the required parameter 'xml_file' is set
|
|
724
726
|
if @api_client.config.client_side_validation && xml_file.nil?
|
|
725
|
-
fail ArgumentError, "Missing the required parameter 'xml_file' when calling
|
|
727
|
+
fail ArgumentError, "Missing the required parameter 'xml_file' when calling Flux10EReportingApi.validate_xml_ereporting_api_v1_ereporting_validate_xml_post"
|
|
726
728
|
end
|
|
727
729
|
# resource path
|
|
728
730
|
local_var_path = '/api/v1/ereporting/validate-xml'
|
|
729
731
|
|
|
730
732
|
# query parameters
|
|
731
733
|
query_params = opts[:query_params] || {}
|
|
732
|
-
query_params[:'
|
|
734
|
+
query_params[:'validate_coherence'] = opts[:'validate_coherence'] if !opts[:'validate_coherence'].nil?
|
|
735
|
+
query_params[:'validate_period'] = opts[:'validate_period'] if !opts[:'validate_period'].nil?
|
|
733
736
|
|
|
734
737
|
# header parameters
|
|
735
738
|
header_params = opts[:header_params] || {}
|
|
@@ -755,7 +758,7 @@ module FactPulse
|
|
|
755
758
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
756
759
|
|
|
757
760
|
new_options = opts.merge(
|
|
758
|
-
:operation => :"
|
|
761
|
+
:operation => :"Flux10EReportingApi.validate_xml_ereporting_api_v1_ereporting_validate_xml_post",
|
|
759
762
|
:header_params => header_params,
|
|
760
763
|
:query_params => query_params,
|
|
761
764
|
:form_params => form_params,
|
|
@@ -766,7 +769,7 @@ module FactPulse
|
|
|
766
769
|
|
|
767
770
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
768
771
|
if @api_client.config.debugging
|
|
769
|
-
@api_client.config.logger.debug "API called:
|
|
772
|
+
@api_client.config.logger.debug "API called: Flux10EReportingApi#validate_xml_ereporting_api_v1_ereporting_validate_xml_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
770
773
|
end
|
|
771
774
|
return data, status_code, headers
|
|
772
775
|
end
|