factpulse 4.3.0 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -5
- data/Gemfile.lock +15 -13
- data/README.md +7 -1
- data/docs/AFNORContainsOrStartWithOperator.md +15 -0
- data/docs/AFNORContainsOrStrictOrStartWithOperator.md +15 -0
- data/docs/AFNORDirectoryLinePayloadLegalUnitFacilityRoutingCode.md +4 -0
- data/docs/AFNORDirectoryLinePayloadStatusLegalUnitFacilityRoutingCode.md +2 -0
- data/docs/AFNORDirectoryLineSearchPost200Response.md +1 -1
- data/docs/AFNORFacilityPayloadIncluded.md +2 -0
- data/docs/AFNORFlow.md +2 -2
- data/docs/AFNORLegalUnitPayloadIncluded.md +3 -1
- data/docs/AFNORPDPPAFlowServiceApi.md +3 -133
- data/docs/AFNORRoutingCodeSearch.md +2 -2
- data/docs/AFNORRoutingCodeSearchPost200Response.md +1 -1
- data/docs/AFNORSearchDirectoryLine.md +4 -2
- data/docs/AFNORSearchDirectoryLineSortingInner.md +2 -2
- data/docs/AFNORSearchFlowContent.md +3 -1
- data/docs/AFNORSearchFlowParams.md +3 -1
- data/docs/AFNORSearchSiren.md +1 -1
- data/docs/AFNORSearchSirenFiltersBusinessName.md +1 -1
- data/docs/AFNORSearchSirenSortingInner.md +2 -2
- data/docs/AFNORSearchSiret.md +1 -1
- data/docs/AFNORSearchSiretFiltersAddressLines.md +1 -1
- data/docs/AFNORSearchSiretFiltersLocality.md +1 -1
- data/docs/AFNORSearchSiretFiltersName.md +1 -1
- data/docs/AFNORSearchSiretSortingInner.md +2 -2
- data/docs/AFNORSirenSearchPost200Response.md +1 -1
- data/docs/AFNORSiretSearchPost200Response.md +1 -1
- data/docs/AFNORUniqueDirectoryLineStatus.md +15 -0
- data/docs/AFNORWebhook.md +12 -4
- data/docs/AFNORWebhookIdParam.md +5 -1
- data/docs/AFNORWebhookParams.md +8 -4
- data/docs/AllowanceCharge.md +1 -1
- data/docs/{AFNORAlgorithm.md → Amount3.md} +2 -2
- data/docs/{AFNORContainsOperator.md → Amounteur.md} +2 -2
- data/docs/ClientManagementApi.md +383 -0
- data/docs/CreateCDARRequest.md +7 -1
- data/docs/DeliveryParty.md +2 -2
- data/docs/ElectronicAddressInput.md +20 -0
- data/docs/ElectronicAddressOutput.md +20 -0
- data/docs/ElectronicSignatureApi.md +6 -6
- data/docs/EncaisseAmountByRate.md +20 -0
- data/docs/EncaisseeRequest.md +8 -2
- data/docs/FacturXConversionApi.md +2 -2
- data/docs/FacturXPDFXMLVerificationApi.md +4 -4
- data/docs/FacturXValidationApi.md +4 -4
- data/docs/FactureElectroniqueModelsInvoiceTypeCode.md +15 -0
- data/docs/{ChorusProCredentials.md → FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md} +2 -2
- data/docs/{ValidationErrorResponse.md → FactureElectroniqueRestApiSchemasValidationValidationErrorResponse.md} +2 -2
- data/docs/Flux10EReportingApi.md +22 -12
- data/docs/Flux6InvoiceLifecycleCDARApi.md +45 -21
- data/docs/GetChorusProIdRequest.md +1 -1
- data/docs/GetInvoiceRequest.md +1 -1
- data/docs/GetStructureRequest.md +1 -1
- data/docs/IncomingSupplier.md +4 -2
- data/docs/InvoiceGenerationApi.md +16 -10
- data/docs/InvoiceInput.md +4 -0
- data/docs/{AFNORCallbackAuthentication.md → Invoicedata.md} +9 -9
- data/docs/LifecycleEvent.md +2 -0
- data/docs/LifecycleResponse.md +9 -1
- data/docs/ParseApi.md +4 -4
- data/docs/Payee.md +2 -2
- data/docs/PaymentAmountByRate.md +4 -2
- data/docs/PostalAddressInput.md +30 -0
- data/docs/PostalAddressOutput.md +30 -0
- data/docs/ProcessingOptions.md +1 -1
- data/docs/Recipient.md +3 -3
- data/docs/ReportSender.md +2 -0
- data/docs/SearchStructureRequest.md +1 -1
- data/docs/SimplifiedInvoiceData.md +3 -3
- data/docs/SubmitCDARRequest.md +6 -0
- data/docs/SubmitCompleteInvoiceRequest.md +1 -1
- data/docs/SubmitInvoiceRequest.md +1 -1
- data/docs/SuperPDPConnectURLResponse.md +18 -0
- data/docs/SuperPDPDisconnectResponse.md +20 -0
- data/docs/SuperPDPStatusResponse.md +26 -0
- data/docs/SuperPDPVatRegimeResponse.md +20 -0
- data/docs/SuperPDPVatRegimeUpdateRequest.md +20 -0
- data/docs/Supplier.md +5 -3
- data/docs/TaxBreakdownInput.md +7 -1
- data/docs/TaxRepresentative.md +1 -1
- data/docs/Taxamounteur.md +15 -0
- data/docs/ValidateCDARRequest.md +3 -1
- data/docs/ValidationApi.md +3 -3
- data/docs/ValidationError.md +5 -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 +7 -133
- data/lib/factpulse/api/async_tasks_api.rb +1 -1
- data/lib/factpulse/api/chorus_pro_api.rb +1 -1
- data/lib/factpulse/api/client_management_api.rb +333 -1
- data/lib/factpulse/api/downloads_api.rb +1 -1
- data/lib/factpulse/api/electronic_signature_api.rb +7 -7
- data/lib/factpulse/api/factur_x_conversion_api.rb +3 -3
- data/lib/factpulse/api/factur_x_validation_api.rb +5 -5
- data/lib/factpulse/api/factur_xpdfxml_verification_api.rb +5 -5
- data/lib/factpulse/api/flux10_e_reporting_api.rb +14 -5
- data/lib/factpulse/api/flux6_invoice_lifecycle_cdar_api.rb +33 -5
- data/lib/factpulse/api/health_api.rb +1 -1
- data/lib/factpulse/api/invoice_generation_api.rb +11 -5
- data/lib/factpulse/api/parse_api.rb +5 -5
- data/lib/factpulse/api/references_api.rb +1 -1
- data/lib/factpulse/api/validation_api.rb +5 -5
- 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 +42 -5
- 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_read.rb +1 -1
- data/lib/factpulse/models/{afnor_contains_operator.rb → afnor_contains_or_start_with_operator.rb} +6 -5
- data/lib/factpulse/models/afnor_contains_or_strict_operator.rb +1 -1
- data/lib/factpulse/models/{afnor_algorithm.rb → afnor_contains_or_strict_or_start_with_operator.rb} +8 -11
- data/lib/factpulse/models/afnor_core_flow_info.rb +6 -6
- data/lib/factpulse/models/afnor_credentials.rb +1 -1
- data/lib/factpulse/models/afnor_destination.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_routing_code.rb +1 -1
- data/lib/factpulse/models/afnor_directory_line_payload_legal_unit_facility_routing_code.rb +51 -2
- data/lib/factpulse/models/afnor_directory_line_payload_status_legal_unit_facility_routing_code.rb +42 -2
- data/lib/factpulse/models/afnor_directory_line_search_post200_response.rb +4 -2
- data/lib/factpulse/models/afnor_directory_line_status.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_error_detail.rb +1 -1
- data/lib/factpulse/models/afnor_facility_administrative_status.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 +11 -2
- data/lib/factpulse/models/afnor_facility_type.rb +1 -1
- data/lib/factpulse/models/afnor_flow.rb +45 -11
- 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_extension.rb +1 -1
- data/lib/factpulse/models/afnor_flow_info.rb +6 -6
- data/lib/factpulse/models/afnor_flow_info_extension.rb +1 -1
- data/lib/factpulse/models/afnor_flow_profile.rb +3 -2
- data/lib/factpulse/models/afnor_flow_syntax.rb +1 -1
- data/lib/factpulse/models/afnor_flow_type.rb +9 -3
- data/lib/factpulse/models/afnor_full_flow_info.rb +11 -11
- data/lib/factpulse/models/afnor_full_flow_info_extension.rb +7 -7
- 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 +14 -5
- data/lib/factpulse/models/afnor_processing_rule.rb +3 -2
- 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_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 +4 -2
- data/lib/factpulse/models/afnor_routing_code_search_sorting_inner.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line.rb +35 -2
- 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 +8 -8
- data/lib/factpulse/models/afnor_search_flow_content.rb +34 -2
- data/lib/factpulse/models/afnor_search_flow_filters.rb +6 -6
- data/lib/factpulse/models/afnor_search_flow_params.rb +13 -3
- 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 +2 -2
- 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 +8 -8
- 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 +2 -2
- 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 +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_name.rb +2 -2
- 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 +8 -8
- data/lib/factpulse/models/afnor_siren_field.rb +1 -1
- data/lib/factpulse/models/afnor_siren_instructions.rb +1 -1
- data/lib/factpulse/models/afnor_siren_search_post200_response.rb +4 -2
- data/lib/factpulse/models/afnor_siret_field.rb +1 -1
- data/lib/factpulse/models/afnor_siret_instructions.rb +1 -1
- data/lib/factpulse/models/afnor_siret_search_post200_response.rb +4 -2
- 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_strict_or_start_with_operator.rb +1 -1
- data/lib/factpulse/models/afnor_unique_directory_line_status.rb +40 -0
- data/lib/factpulse/models/afnor_webhook.rb +83 -40
- data/lib/factpulse/models/afnor_webhook_id_param.rb +23 -5
- data/lib/factpulse/models/afnor_webhook_params.rb +65 -40
- 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 +2 -2
- data/lib/factpulse/models/amount3.rb +104 -0
- data/lib/factpulse/models/amount_due.rb +1 -1
- data/lib/factpulse/models/amounteur.rb +104 -0
- 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_destination.rb +1 -1
- 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/conversion_error_result.rb +1 -1
- data/lib/factpulse/models/conversion_extraction_info.rb +1 -1
- data/lib/factpulse/models/conversion_pending_input_result.rb +1 -1
- data/lib/factpulse/models/conversion_success_task_result.rb +1 -1
- data/lib/factpulse/models/conversion_task_status.rb +1 -1
- data/lib/factpulse/models/conversion_task_status_result.rb +1 -1
- data/lib/factpulse/models/conversion_validation_failed_result.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 +70 -6
- 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 +3 -3
- 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 +2 -2
- data/lib/factpulse/models/{afnor_callback_signature.rb → electronic_address_input.rb} +29 -44
- data/lib/factpulse/models/{afnor_callback_parameters.rb → electronic_address_output.rb} +51 -46
- data/lib/factpulse/models/{afnor_basic_authentication.rb → encaisse_amount_by_rate.rb} +37 -35
- data/lib/factpulse/models/encaisseamount.rb +2 -2
- data/lib/factpulse/models/encaisseamount1.rb +1 -1
- data/lib/factpulse/models/encaissee_request.rb +54 -23
- 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_models_invoice_type_code.rb +54 -0
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_cdar_validation_error_response.rb +1 -1
- data/lib/factpulse/models/{chorus_pro_credentials.rb → facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb} +4 -4
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_ereporting_invoice_type_code.rb +1 -1
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb +1 -1
- data/lib/factpulse/models/{validation_error_response.rb → facture_electronique_rest_api_schemas_validation_validation_error_response.rb} +4 -4
- 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 +3 -2
- 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 +9 -3
- 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/generation_success_result.rb +1 -1
- data/lib/factpulse/models/generation_task_status.rb +1 -1
- data/lib/factpulse/models/generation_task_status_result.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 +14 -4
- data/lib/factpulse/models/invoice_format.rb +1 -1
- data/lib/factpulse/models/invoice_input.rb +22 -2
- data/lib/factpulse/models/invoice_lifecycle.rb +1 -1
- 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/{afnor_callback_authentication.rb → invoicedata.rb} +5 -5
- 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 +1 -1
- data/lib/factpulse/models/key_rotation_request.rb +1 -1
- data/lib/factpulse/models/key_rotation_response.rb +1 -1
- data/lib/factpulse/models/lifecycle_event.rb +12 -2
- data/lib/factpulse/models/lifecycle_response.rb +49 -5
- 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/parse_factur_x_response.rb +1 -1
- data/lib/factpulse/models/payee.rb +3 -3
- data/lib/factpulse/models/payment_amount_by_rate.rb +15 -5
- data/lib/factpulse/models/payment_card.rb +1 -1
- data/lib/factpulse/models/payment_means.rb +3 -2
- 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 +7 -7
- data/lib/factpulse/models/postal_address_input.rb +209 -0
- data/lib/factpulse/models/postal_address_output.rb +209 -0
- 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 +2 -2
- data/lib/factpulse/models/processing_rule.rb +3 -2
- 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 +4 -4
- data/lib/factpulse/models/recipient_input.rb +1 -1
- data/lib/factpulse/models/refusee_request.rb +1 -1
- data/lib/factpulse/models/report_issuer.rb +1 -1
- data/lib/factpulse/models/report_period.rb +1 -1
- data/lib/factpulse/models/report_sender.rb +12 -2
- 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 +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/signature_success_result.rb +1 -1
- data/lib/factpulse/models/signature_task_status.rb +1 -1
- data/lib/factpulse/models/signature_task_status_result.rb +1 -1
- data/lib/factpulse/models/simplified_cdar_response.rb +1 -1
- data/lib/factpulse/models/simplified_invoice_data.rb +5 -5
- 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 +66 -2
- 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 +2 -3
- 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/{afnor_webhook_patch_payload.rb → super_pdp_connect_url_response.rb} +30 -31
- data/lib/factpulse/models/{afnor_callback_header.rb → super_pdp_disconnect_response.rb} +38 -35
- data/lib/factpulse/models/super_pdp_status_response.rb +208 -0
- data/lib/factpulse/models/super_pdp_vat_regime_response.rb +195 -0
- data/lib/factpulse/models/{afnor_webhook_metadata.rb → super_pdp_vat_regime_update_request.rb} +33 -63
- data/lib/factpulse/models/supplementary_attachment.rb +1 -1
- data/lib/factpulse/models/supplier.rb +15 -5
- data/lib/factpulse/models/task_error_result.rb +1 -1
- data/lib/factpulse/models/task_response.rb +1 -1
- data/lib/factpulse/models/tax_breakdown_input.rb +35 -5
- data/lib/factpulse/models/tax_due_date_type.rb +1 -1
- data/lib/factpulse/models/tax_representative.rb +2 -2
- 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/taxamounteur.rb +104 -0
- 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 +18 -6
- 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 +24 -5
- data/lib/factpulse/models/validation_error_detail.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/validation_success_task_result.rb +1 -1
- data/lib/factpulse/models/validation_task_status.rb +1 -1
- data/lib/factpulse/models/validation_task_status_result.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/vatex_code_info.rb +1 -1
- data/lib/factpulse/models/vatex_codes_response.rb +1 -1
- data/lib/factpulse/models/verification_success_response.rb +1 -1
- data/lib/factpulse/models/verification_success_task_result.rb +1 -1
- data/lib/factpulse/models/verification_typed_task_status.rb +1 -1
- data/lib/factpulse/models/verification_typed_task_status_result.rb +1 -1
- data/lib/factpulse/models/verified_field_schema.rb +1 -1
- data/lib/factpulse/models/webhook_secret_delete_response.rb +1 -1
- data/lib/factpulse/models/webhook_secret_generate_response.rb +1 -1
- data/lib/factpulse/models/webhook_secret_status_response.rb +1 -1
- data/lib/factpulse/version.rb +2 -2
- data/lib/factpulse.rb +21 -13
- metadata +42 -26
- data/docs/AFNORBasicAuthentication.md +0 -20
- data/docs/AFNORCallbackHeader.md +0 -20
- data/docs/AFNORCallbackParameters.md +0 -24
- data/docs/AFNORCallbackSignature.md +0 -20
- data/docs/AFNOROAuth2Authentication.md +0 -22
- data/docs/AFNORWebhookMetadata.md +0 -24
- data/docs/AFNORWebhookPatchPayload.md +0 -22
- data/lib/factpulse/models/afnoro_auth2_authentication.rb +0 -216
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# FactPulse::EncaisseAmountByRate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **rate** | **Float** | Taux de TVA applicable au montant encaissé, en % (MDT-224) | |
|
|
8
|
+
| **amount** | [**Amount1**](Amount1.md) | | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'factpulse'
|
|
14
|
+
|
|
15
|
+
instance = FactPulse::EncaisseAmountByRate.new(
|
|
16
|
+
rate: 20,
|
|
17
|
+
amount: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
data/docs/EncaisseeRequest.md
CHANGED
|
@@ -7,8 +7,11 @@
|
|
|
7
7
|
| **invoice_id** | **String** | Identifiant de la facture (BT-1) | |
|
|
8
8
|
| **invoice_issue_date** | **Date** | Date d'émission de la facture (YYYY-MM-DD) | |
|
|
9
9
|
| **invoice_buyer_siren** | **String** | SIREN de l'acheteur (destinataire du statut) | |
|
|
10
|
-
| **invoice_buyer_electronic_address** | **String** |
|
|
11
|
-
| **amount** | [**
|
|
10
|
+
| **invoice_buyer_electronic_address** | **String** | | [optional] |
|
|
11
|
+
| **amount** | [**Amount2**](Amount2.md) | | [optional] |
|
|
12
|
+
| **vat_rate** | **Float** | Taux de TVA du montant encaissé en % (MDT-224, requis par BR-FR-CDV-14 ; défaut 20). Ignoré avec amountsByRate | [optional][default to 20] |
|
|
13
|
+
| **amounts_by_rate** | [**Array<EncaisseAmountByRate>**](EncaisseAmountByRate.md) | | [optional] |
|
|
14
|
+
| **comment** | **String** | | [optional] |
|
|
12
15
|
| **currency** | **String** | Code devise ISO 4217 | [optional][default to 'EUR'] |
|
|
13
16
|
| **sender_siren** | **String** | | [optional] |
|
|
14
17
|
| **flow_type** | **String** | Type de flux (CustomerInvoiceLC pour facture émise) | [optional][default to 'CustomerInvoiceLC'] |
|
|
@@ -28,6 +31,9 @@ instance = FactPulse::EncaisseeRequest.new(
|
|
|
28
31
|
invoice_buyer_siren: null,
|
|
29
32
|
invoice_buyer_electronic_address: null,
|
|
30
33
|
amount: null,
|
|
34
|
+
vat_rate: null,
|
|
35
|
+
amounts_by_rate: null,
|
|
36
|
+
comment: null,
|
|
31
37
|
currency: null,
|
|
32
38
|
sender_siren: null,
|
|
33
39
|
flow_type: null,
|
|
@@ -37,7 +37,7 @@ FactPulse.configure do |config|
|
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
api_instance = FactPulse::FacturXConversionApi.new
|
|
40
|
-
file =
|
|
40
|
+
file = 'file_example' # String | Document to convert (PDF, DOCX, XLSX, JPG, PNG)
|
|
41
41
|
opts = {
|
|
42
42
|
output: 'output_example', # String | Output format: pdf, xml, both
|
|
43
43
|
callback_url: 'callback_url_example', # String |
|
|
@@ -75,7 +75,7 @@ end
|
|
|
75
75
|
|
|
76
76
|
| Name | Type | Description | Notes |
|
|
77
77
|
| ---- | ---- | ----------- | ----- |
|
|
78
|
-
| **file** | **
|
|
78
|
+
| **file** | **String** | Document to convert (PDF, DOCX, XLSX, JPG, PNG) | |
|
|
79
79
|
| **output** | **String** | Output format: pdf, xml, both | [optional][default to 'pdf'] |
|
|
80
80
|
| **callback_url** | **String** | | [optional] |
|
|
81
81
|
| **webhook_mode** | **String** | Content delivery mode: 'inline' (base64 in webhook) or 'download_url' (temporary URL, 1h TTL) | [optional][default to 'inline'] |
|
|
@@ -183,7 +183,7 @@ FactPulse.configure do |config|
|
|
|
183
183
|
end
|
|
184
184
|
|
|
185
185
|
api_instance = FactPulse::FacturXPDFXMLVerificationApi.new
|
|
186
|
-
pdf_file =
|
|
186
|
+
pdf_file = 'pdf_file_example' # String | Factur-X PDF file to verify
|
|
187
187
|
opts = {
|
|
188
188
|
force_ocr: true, # Boolean | Force OCR usage even if PDF contains native text
|
|
189
189
|
callback_url: 'callback_url_example', # String |
|
|
@@ -221,7 +221,7 @@ end
|
|
|
221
221
|
|
|
222
222
|
| Name | Type | Description | Notes |
|
|
223
223
|
| ---- | ---- | ----------- | ----- |
|
|
224
|
-
| **pdf_file** | **
|
|
224
|
+
| **pdf_file** | **String** | Factur-X PDF file to verify | |
|
|
225
225
|
| **force_ocr** | **Boolean** | Force OCR usage even if PDF contains native text | [optional][default to false] |
|
|
226
226
|
| **callback_url** | **String** | | [optional] |
|
|
227
227
|
| **webhook_mode** | **String** | Webhook content delivery: 'inline' (base64 in payload) or 'download_url' (temporary URL, 1h TTL) | [optional][default to 'inline'] |
|
|
@@ -265,7 +265,7 @@ FactPulse.configure do |config|
|
|
|
265
265
|
end
|
|
266
266
|
|
|
267
267
|
api_instance = FactPulse::FacturXPDFXMLVerificationApi.new
|
|
268
|
-
pdf_file =
|
|
268
|
+
pdf_file = 'pdf_file_example' # String | Factur-X PDF file to verify
|
|
269
269
|
|
|
270
270
|
begin
|
|
271
271
|
# Verify PDF/XML Factur-X compliance (synchronous)
|
|
@@ -298,7 +298,7 @@ end
|
|
|
298
298
|
|
|
299
299
|
| Name | Type | Description | Notes |
|
|
300
300
|
| ---- | ---- | ----------- | ----- |
|
|
301
|
-
| **pdf_file** | **
|
|
301
|
+
| **pdf_file** | **String** | Factur-X PDF file to verify | |
|
|
302
302
|
|
|
303
303
|
### Return type
|
|
304
304
|
|
|
@@ -33,7 +33,7 @@ FactPulse.configure do |config|
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
api_instance = FactPulse::FacturXValidationApi.new
|
|
36
|
-
pdf_file =
|
|
36
|
+
pdf_file = 'pdf_file_example' # String | Factur-X PDF file to validate (.pdf format).
|
|
37
37
|
opts = {
|
|
38
38
|
profile: FactPulse::APIProfile::MINIMUM, # APIProfile |
|
|
39
39
|
use_verapdf: true, # Boolean | Enable strict PDF/A validation with VeraPDF (recommended for production). If False, uses basic metadata validation.
|
|
@@ -71,7 +71,7 @@ end
|
|
|
71
71
|
|
|
72
72
|
| Name | Type | Description | Notes |
|
|
73
73
|
| ---- | ---- | ----------- | ----- |
|
|
74
|
-
| **pdf_file** | **
|
|
74
|
+
| **pdf_file** | **String** | Factur-X PDF file to validate (.pdf format). | |
|
|
75
75
|
| **profile** | [**APIProfile**](APIProfile.md) | | [optional] |
|
|
76
76
|
| **use_verapdf** | **Boolean** | Enable strict PDF/A validation with VeraPDF (recommended for production). If False, uses basic metadata validation. | [optional][default to false] |
|
|
77
77
|
| **skip_br_fr** | **Boolean** | | [optional] |
|
|
@@ -115,7 +115,7 @@ FactPulse.configure do |config|
|
|
|
115
115
|
end
|
|
116
116
|
|
|
117
117
|
api_instance = FactPulse::FacturXValidationApi.new
|
|
118
|
-
pdf_file =
|
|
118
|
+
pdf_file = 'pdf_file_example' # String | Factur-X PDF file to validate (.pdf format).
|
|
119
119
|
opts = {
|
|
120
120
|
profile: FactPulse::APIProfile::MINIMUM, # APIProfile |
|
|
121
121
|
use_verapdf: true, # Boolean | Enable strict PDF/A validation with VeraPDF (recommended for production). May take several seconds.
|
|
@@ -154,7 +154,7 @@ end
|
|
|
154
154
|
|
|
155
155
|
| Name | Type | Description | Notes |
|
|
156
156
|
| ---- | ---- | ----------- | ----- |
|
|
157
|
-
| **pdf_file** | **
|
|
157
|
+
| **pdf_file** | **String** | Factur-X PDF file to validate (.pdf format). | |
|
|
158
158
|
| **profile** | [**APIProfile**](APIProfile.md) | | [optional] |
|
|
159
159
|
| **use_verapdf** | **Boolean** | Enable strict PDF/A validation with VeraPDF (recommended for production). May take several seconds. | [optional][default to false] |
|
|
160
160
|
| **callback_url** | **String** | | [optional] |
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# FactPulse::FactureElectroniqueModelsInvoiceTypeCode
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
|
|
8
|
+
## Example
|
|
9
|
+
|
|
10
|
+
```ruby
|
|
11
|
+
require 'factpulse'
|
|
12
|
+
|
|
13
|
+
instance = FactPulse::FactureElectroniqueModelsInvoiceTypeCode.new()
|
|
14
|
+
```
|
|
15
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# FactPulse::
|
|
1
|
+
# FactPulse::FactureElectroniqueRestApiSchemasChorusProChorusProCredentials
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
```ruby
|
|
16
16
|
require 'factpulse'
|
|
17
17
|
|
|
18
|
-
instance = FactPulse::
|
|
18
|
+
instance = FactPulse::FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.new(
|
|
19
19
|
piste_client_id: null,
|
|
20
20
|
piste_client_secret: null,
|
|
21
21
|
chorus_pro_login: null,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# FactPulse::
|
|
1
|
+
# FactPulse::FactureElectroniqueRestApiSchemasValidationValidationErrorResponse
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
```ruby
|
|
12
12
|
require 'factpulse'
|
|
13
13
|
|
|
14
|
-
instance = FactPulse::
|
|
14
|
+
instance = FactPulse::FactureElectroniqueRestApiSchemasValidationValidationErrorResponse.new(
|
|
15
15
|
detail: null
|
|
16
16
|
)
|
|
17
17
|
```
|
data/docs/Flux10EReportingApi.md
CHANGED
|
@@ -366,7 +366,7 @@ No authorization required
|
|
|
366
366
|
|
|
367
367
|
## submit_aggregated_ereporting_api_v1_ereporting_submit_aggregated_post
|
|
368
368
|
|
|
369
|
-
> <SubmitEReportingResponse> submit_aggregated_ereporting_api_v1_ereporting_submit_aggregated_post(submit_aggregated_report_request)
|
|
369
|
+
> <SubmitEReportingResponse> submit_aggregated_ereporting_api_v1_ereporting_submit_aggregated_post(submit_aggregated_report_request, opts)
|
|
370
370
|
|
|
371
371
|
Submit aggregated e-reporting to PA/PDP
|
|
372
372
|
|
|
@@ -385,10 +385,13 @@ end
|
|
|
385
385
|
|
|
386
386
|
api_instance = FactPulse::Flux10EReportingApi.new
|
|
387
387
|
submit_aggregated_report_request = FactPulse::SubmitAggregatedReportRequest.new({data: FactPulse::CreateAggregatedReportRequest.new({report_id: 'EREPORT-2025-001', sender: FactPulse::ReportSender.new({siren: '123456789', name: 'Ma Société SARL'}), period: FactPulse::ReportPeriod.new({start_date: Date.parse('2025-01-01'), end_date: Date.parse('2025-01-31')})})}) # SubmitAggregatedReportRequest |
|
|
388
|
+
opts = {
|
|
389
|
+
organization_id: 'organization_id_example' # String | Organization ID relayed to the PDP (AFNOR XP Z12-013 delegation / multi-tenancy). Required by some PDPs to select the client space.
|
|
390
|
+
}
|
|
388
391
|
|
|
389
392
|
begin
|
|
390
393
|
# Submit aggregated e-reporting to PA/PDP
|
|
391
|
-
result = api_instance.submit_aggregated_ereporting_api_v1_ereporting_submit_aggregated_post(submit_aggregated_report_request)
|
|
394
|
+
result = api_instance.submit_aggregated_ereporting_api_v1_ereporting_submit_aggregated_post(submit_aggregated_report_request, opts)
|
|
392
395
|
p result
|
|
393
396
|
rescue FactPulse::ApiError => e
|
|
394
397
|
puts "Error when calling Flux10EReportingApi->submit_aggregated_ereporting_api_v1_ereporting_submit_aggregated_post: #{e}"
|
|
@@ -399,12 +402,12 @@ end
|
|
|
399
402
|
|
|
400
403
|
This returns an Array which contains the response data, status code and headers.
|
|
401
404
|
|
|
402
|
-
> <Array(<SubmitEReportingResponse>, Integer, Hash)> submit_aggregated_ereporting_api_v1_ereporting_submit_aggregated_post_with_http_info(submit_aggregated_report_request)
|
|
405
|
+
> <Array(<SubmitEReportingResponse>, Integer, Hash)> submit_aggregated_ereporting_api_v1_ereporting_submit_aggregated_post_with_http_info(submit_aggregated_report_request, opts)
|
|
403
406
|
|
|
404
407
|
```ruby
|
|
405
408
|
begin
|
|
406
409
|
# Submit aggregated e-reporting to PA/PDP
|
|
407
|
-
data, status_code, headers = api_instance.submit_aggregated_ereporting_api_v1_ereporting_submit_aggregated_post_with_http_info(submit_aggregated_report_request)
|
|
410
|
+
data, status_code, headers = api_instance.submit_aggregated_ereporting_api_v1_ereporting_submit_aggregated_post_with_http_info(submit_aggregated_report_request, opts)
|
|
408
411
|
p status_code # => 2xx
|
|
409
412
|
p headers # => { ... }
|
|
410
413
|
p data # => <SubmitEReportingResponse>
|
|
@@ -418,6 +421,7 @@ end
|
|
|
418
421
|
| Name | Type | Description | Notes |
|
|
419
422
|
| ---- | ---- | ----------- | ----- |
|
|
420
423
|
| **submit_aggregated_report_request** | [**SubmitAggregatedReportRequest**](SubmitAggregatedReportRequest.md) | | |
|
|
424
|
+
| **organization_id** | **String** | Organization ID relayed to the PDP (AFNOR XP Z12-013 delegation / multi-tenancy). Required by some PDPs to select the client space. | [optional] |
|
|
421
425
|
|
|
422
426
|
### Return type
|
|
423
427
|
|
|
@@ -435,7 +439,7 @@ end
|
|
|
435
439
|
|
|
436
440
|
## submit_ereporting_api_v1_ereporting_submit_post
|
|
437
441
|
|
|
438
|
-
> <SubmitEReportingResponse> submit_ereporting_api_v1_ereporting_submit_post(submit_e_reporting_request)
|
|
442
|
+
> <SubmitEReportingResponse> submit_ereporting_api_v1_ereporting_submit_post(submit_e_reporting_request, opts)
|
|
439
443
|
|
|
440
444
|
Submit e-reporting to PA/PDP
|
|
441
445
|
|
|
@@ -454,10 +458,13 @@ end
|
|
|
454
458
|
|
|
455
459
|
api_instance = FactPulse::Flux10EReportingApi.new
|
|
456
460
|
submit_e_reporting_request = FactPulse::SubmitEReportingRequest.new({data: FactPulse::CreateEReportingRequest.new({report_id: 'EREPORT-2025-001', flow_type: FactPulse::EReportingFlowType::N10_1, sender: FactPulse::ReportSender.new({siren: '123456789', name: 'Ma Société SARL'}), period: FactPulse::ReportPeriod.new({start_date: Date.parse('2025-01-01'), end_date: Date.parse('2025-01-31')})})}) # SubmitEReportingRequest |
|
|
461
|
+
opts = {
|
|
462
|
+
organization_id: 'organization_id_example' # String | Organization ID relayed to the PDP (AFNOR XP Z12-013 delegation / multi-tenancy). Required by some PDPs to select the client space.
|
|
463
|
+
}
|
|
457
464
|
|
|
458
465
|
begin
|
|
459
466
|
# Submit e-reporting to PA/PDP
|
|
460
|
-
result = api_instance.submit_ereporting_api_v1_ereporting_submit_post(submit_e_reporting_request)
|
|
467
|
+
result = api_instance.submit_ereporting_api_v1_ereporting_submit_post(submit_e_reporting_request, opts)
|
|
461
468
|
p result
|
|
462
469
|
rescue FactPulse::ApiError => e
|
|
463
470
|
puts "Error when calling Flux10EReportingApi->submit_ereporting_api_v1_ereporting_submit_post: #{e}"
|
|
@@ -468,12 +475,12 @@ end
|
|
|
468
475
|
|
|
469
476
|
This returns an Array which contains the response data, status code and headers.
|
|
470
477
|
|
|
471
|
-
> <Array(<SubmitEReportingResponse>, Integer, Hash)> submit_ereporting_api_v1_ereporting_submit_post_with_http_info(submit_e_reporting_request)
|
|
478
|
+
> <Array(<SubmitEReportingResponse>, Integer, Hash)> submit_ereporting_api_v1_ereporting_submit_post_with_http_info(submit_e_reporting_request, opts)
|
|
472
479
|
|
|
473
480
|
```ruby
|
|
474
481
|
begin
|
|
475
482
|
# Submit e-reporting to PA/PDP
|
|
476
|
-
data, status_code, headers = api_instance.submit_ereporting_api_v1_ereporting_submit_post_with_http_info(submit_e_reporting_request)
|
|
483
|
+
data, status_code, headers = api_instance.submit_ereporting_api_v1_ereporting_submit_post_with_http_info(submit_e_reporting_request, opts)
|
|
477
484
|
p status_code # => 2xx
|
|
478
485
|
p headers # => { ... }
|
|
479
486
|
p data # => <SubmitEReportingResponse>
|
|
@@ -487,6 +494,7 @@ end
|
|
|
487
494
|
| Name | Type | Description | Notes |
|
|
488
495
|
| ---- | ---- | ----------- | ----- |
|
|
489
496
|
| **submit_e_reporting_request** | [**SubmitEReportingRequest**](SubmitEReportingRequest.md) | | |
|
|
497
|
+
| **organization_id** | **String** | Organization ID relayed to the PDP (AFNOR XP Z12-013 delegation / multi-tenancy). Required by some PDPs to select the client space. | [optional] |
|
|
490
498
|
|
|
491
499
|
### Return type
|
|
492
500
|
|
|
@@ -522,8 +530,9 @@ FactPulse.configure do |config|
|
|
|
522
530
|
end
|
|
523
531
|
|
|
524
532
|
api_instance = FactPulse::Flux10EReportingApi.new
|
|
525
|
-
xml_file =
|
|
533
|
+
xml_file = 'xml_file_example' # String | E-reporting XML file
|
|
526
534
|
opts = {
|
|
535
|
+
organization_id: 'organization_id_example', # String | Organization ID relayed to the PDP (AFNOR XP Z12-013 delegation / multi-tenancy). Required by some PDPs to select the client space.
|
|
527
536
|
tracking_id: 'tracking_id_example', # String |
|
|
528
537
|
skip_validation: true, # Boolean | Skip XSD validation
|
|
529
538
|
pdp_flow_service_url: 'pdp_flow_service_url_example', # String |
|
|
@@ -563,7 +572,8 @@ end
|
|
|
563
572
|
|
|
564
573
|
| Name | Type | Description | Notes |
|
|
565
574
|
| ---- | ---- | ----------- | ----- |
|
|
566
|
-
| **xml_file** | **
|
|
575
|
+
| **xml_file** | **String** | E-reporting XML file | |
|
|
576
|
+
| **organization_id** | **String** | Organization ID relayed to the PDP (AFNOR XP Z12-013 delegation / multi-tenancy). Required by some PDPs to select the client space. | [optional] |
|
|
567
577
|
| **tracking_id** | **String** | | [optional] |
|
|
568
578
|
| **skip_validation** | **Boolean** | Skip XSD validation | [optional][default to false] |
|
|
569
579
|
| **pdp_flow_service_url** | **String** | | [optional] |
|
|
@@ -758,7 +768,7 @@ FactPulse.configure do |config|
|
|
|
758
768
|
end
|
|
759
769
|
|
|
760
770
|
api_instance = FactPulse::Flux10EReportingApi.new
|
|
761
|
-
xml_file =
|
|
771
|
+
xml_file = 'xml_file_example' # String | E-reporting XML file to validate
|
|
762
772
|
opts = {
|
|
763
773
|
validate_coherence: true, # Boolean | Validate data coherence (REJ_COH)
|
|
764
774
|
validate_period: true # Boolean | Validate period coherence (REJ_PER)
|
|
@@ -795,7 +805,7 @@ end
|
|
|
795
805
|
|
|
796
806
|
| Name | Type | Description | Notes |
|
|
797
807
|
| ---- | ---- | ----------- | ----- |
|
|
798
|
-
| **xml_file** | **
|
|
808
|
+
| **xml_file** | **String** | E-reporting XML file to validate | |
|
|
799
809
|
| **validate_coherence** | **Boolean** | Validate data coherence (REJ_COH) | [optional][default to true] |
|
|
800
810
|
| **validate_period** | **Boolean** | Validate period coherence (REJ_PER) | [optional][default to true] |
|
|
801
811
|
|
|
@@ -158,7 +158,7 @@ No authorization required
|
|
|
158
158
|
|
|
159
159
|
[Simplified] Get lifecycle events for invoices
|
|
160
160
|
|
|
161
|
-
Returns lifecycle events (CDAR) grouped by invoice reference. **How it works (AFNOR XP Z12-013 compliant):** 1. Searches lifecycle flows on the PDP by flowType + flowDirection + date range 2. Downloads and parses each CDAR XML to extract the invoice reference 3. Groups events by invoice, sorted chronologically **Parameters:** - `days`: Number of days to look back (default: 7) - `invoiceId`: Optional filter on a specific invoice reference **Authentication:** JWT Bearer (recommended) or PDP credentials as query parameters.
|
|
161
|
+
Returns lifecycle events (CDAR) grouped by invoice reference. **How it works (AFNOR XP Z12-013 compliant):** 1. Searches lifecycle flows on the PDP by flowType + flowDirection + date range, following the cursor pagination (all pages are read) 2. Downloads and parses each CDAR XML to extract the invoice reference 3. Groups events by invoice, sorted chronologically **Parameters:** - `days`: Number of days to look back (default: 7). Ignored when `dateFrom` is set. - `dateFrom` / `dateTo`: Explicit time window (ISO 8601, UTC if no offset). `dateTo` defaults to now. - `invoiceId`: Optional filter on a specific invoice reference. The filter is applied after reading the window: prefer one call per synchronisation over one call per invoice. **Limits:** at most 1000 status flows are read per call. When the limit is reached, `truncated` is `true` and the response is incomplete: split the window with `dateFrom` / `dateTo`. For incremental synchronisation, request the period since your last successful sync (plus a small margin). - `flowDirection`: `All` (default), `In` (statuses received from the counterparty) or `Out` (statuses issued by you or your PA, e.g. 202/203) **Authentication:** JWT Bearer (recommended) or PDP credentials as query parameters.
|
|
162
162
|
|
|
163
163
|
### Examples
|
|
164
164
|
|
|
@@ -174,11 +174,15 @@ end
|
|
|
174
174
|
api_instance = FactPulse::Flux6InvoiceLifecycleCDARApi.new
|
|
175
175
|
opts = {
|
|
176
176
|
days: 56, # Integer | Number of days to look back
|
|
177
|
+
date_from: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Window start (ISO 8601, UTC if no offset). Overrides days.
|
|
178
|
+
date_to: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Window end (ISO 8601, UTC if no offset). Default: now
|
|
177
179
|
invoice_id: 'invoice_id_example', # String | Filter by invoice reference
|
|
180
|
+
flow_direction: 'In', # String | All (default), In (received statuses) or Out (issued statuses)
|
|
178
181
|
pdp_flow_service_url: 'pdp_flow_service_url_example', # String | PDP Flow Service URL
|
|
179
182
|
pdp_token_url: 'pdp_token_url_example', # String | PDP OAuth token URL
|
|
180
183
|
pdp_client_id: 'pdp_client_id_example', # String | PDP Client ID
|
|
181
|
-
pdp_client_secret: 'pdp_client_secret_example' # String | PDP Client Secret
|
|
184
|
+
pdp_client_secret: 'pdp_client_secret_example', # String | PDP Client Secret
|
|
185
|
+
organization_id: 'organization_id_example' # String | Organization ID relayed to the PDP (AFNOR XP Z12-013 delegation / multi-tenancy). Required by some PDPs to select the client space.
|
|
182
186
|
}
|
|
183
187
|
|
|
184
188
|
begin
|
|
@@ -213,11 +217,15 @@ end
|
|
|
213
217
|
| Name | Type | Description | Notes |
|
|
214
218
|
| ---- | ---- | ----------- | ----- |
|
|
215
219
|
| **days** | **Integer** | Number of days to look back | [optional][default to 7] |
|
|
220
|
+
| **date_from** | **Time** | Window start (ISO 8601, UTC if no offset). Overrides days. | [optional] |
|
|
221
|
+
| **date_to** | **Time** | Window end (ISO 8601, UTC if no offset). Default: now | [optional] |
|
|
216
222
|
| **invoice_id** | **String** | Filter by invoice reference | [optional] |
|
|
223
|
+
| **flow_direction** | **String** | All (default), In (received statuses) or Out (issued statuses) | [optional][default to 'All'] |
|
|
217
224
|
| **pdp_flow_service_url** | **String** | PDP Flow Service URL | [optional] |
|
|
218
225
|
| **pdp_token_url** | **String** | PDP OAuth token URL | [optional] |
|
|
219
226
|
| **pdp_client_id** | **String** | PDP Client ID | [optional] |
|
|
220
227
|
| **pdp_client_secret** | **String** | PDP Client Secret | [optional] |
|
|
228
|
+
| **organization_id** | **String** | Organization ID relayed to the PDP (AFNOR XP Z12-013 delegation / multi-tenancy). Required by some PDPs to select the client space. | [optional] |
|
|
221
229
|
|
|
222
230
|
### Return type
|
|
223
231
|
|
|
@@ -357,7 +365,7 @@ No authorization required
|
|
|
357
365
|
|
|
358
366
|
## submit_cdar_api_v1_cdar_submit_post
|
|
359
367
|
|
|
360
|
-
> <SubmitCDARResponse> submit_cdar_api_v1_cdar_submit_post(submit_cdar_request)
|
|
368
|
+
> <SubmitCDARResponse> submit_cdar_api_v1_cdar_submit_post(submit_cdar_request, opts)
|
|
361
369
|
|
|
362
370
|
Generate and submit a CDAR message
|
|
363
371
|
|
|
@@ -376,10 +384,13 @@ end
|
|
|
376
384
|
|
|
377
385
|
api_instance = FactPulse::Flux6InvoiceLifecycleCDARApi.new
|
|
378
386
|
submit_cdar_request = FactPulse::SubmitCDARRequest.new({document_id: 'document_id_example', sender_siren: 'sender_siren_example', invoice_id: 'invoice_id_example', invoice_issue_date: Date.today, status: 'status_example'}) # SubmitCDARRequest |
|
|
387
|
+
opts = {
|
|
388
|
+
organization_id: 'organization_id_example' # String | Organization ID relayed to the PDP (AFNOR XP Z12-013 delegation / multi-tenancy). Required by some PDPs to select the client space.
|
|
389
|
+
}
|
|
379
390
|
|
|
380
391
|
begin
|
|
381
392
|
# Generate and submit a CDAR message
|
|
382
|
-
result = api_instance.submit_cdar_api_v1_cdar_submit_post(submit_cdar_request)
|
|
393
|
+
result = api_instance.submit_cdar_api_v1_cdar_submit_post(submit_cdar_request, opts)
|
|
383
394
|
p result
|
|
384
395
|
rescue FactPulse::ApiError => e
|
|
385
396
|
puts "Error when calling Flux6InvoiceLifecycleCDARApi->submit_cdar_api_v1_cdar_submit_post: #{e}"
|
|
@@ -390,12 +401,12 @@ end
|
|
|
390
401
|
|
|
391
402
|
This returns an Array which contains the response data, status code and headers.
|
|
392
403
|
|
|
393
|
-
> <Array(<SubmitCDARResponse>, Integer, Hash)> submit_cdar_api_v1_cdar_submit_post_with_http_info(submit_cdar_request)
|
|
404
|
+
> <Array(<SubmitCDARResponse>, Integer, Hash)> submit_cdar_api_v1_cdar_submit_post_with_http_info(submit_cdar_request, opts)
|
|
394
405
|
|
|
395
406
|
```ruby
|
|
396
407
|
begin
|
|
397
408
|
# Generate and submit a CDAR message
|
|
398
|
-
data, status_code, headers = api_instance.submit_cdar_api_v1_cdar_submit_post_with_http_info(submit_cdar_request)
|
|
409
|
+
data, status_code, headers = api_instance.submit_cdar_api_v1_cdar_submit_post_with_http_info(submit_cdar_request, opts)
|
|
399
410
|
p status_code # => 2xx
|
|
400
411
|
p headers # => { ... }
|
|
401
412
|
p data # => <SubmitCDARResponse>
|
|
@@ -409,6 +420,7 @@ end
|
|
|
409
420
|
| Name | Type | Description | Notes |
|
|
410
421
|
| ---- | ---- | ----------- | ----- |
|
|
411
422
|
| **submit_cdar_request** | [**SubmitCDARRequest**](SubmitCDARRequest.md) | | |
|
|
423
|
+
| **organization_id** | **String** | Organization ID relayed to the PDP (AFNOR XP Z12-013 delegation / multi-tenancy). Required by some PDPs to select the client space. | [optional] |
|
|
412
424
|
|
|
413
425
|
### Return type
|
|
414
426
|
|
|
@@ -426,7 +438,7 @@ end
|
|
|
426
438
|
|
|
427
439
|
## submit_cdar_xml_api_v1_cdar_submit_xml_post
|
|
428
440
|
|
|
429
|
-
> <SubmitCDARResponse> submit_cdar_xml_api_v1_cdar_submit_xml_post(submit_cdarxml_request)
|
|
441
|
+
> <SubmitCDARResponse> submit_cdar_xml_api_v1_cdar_submit_xml_post(submit_cdarxml_request, opts)
|
|
430
442
|
|
|
431
443
|
Submit a pre-generated CDAR XML
|
|
432
444
|
|
|
@@ -445,10 +457,13 @@ end
|
|
|
445
457
|
|
|
446
458
|
api_instance = FactPulse::Flux6InvoiceLifecycleCDARApi.new
|
|
447
459
|
submit_cdarxml_request = FactPulse::SubmitCDARXMLRequest.new({xml: 'xml_example'}) # SubmitCDARXMLRequest |
|
|
460
|
+
opts = {
|
|
461
|
+
organization_id: 'organization_id_example' # String | Organization ID relayed to the PDP (AFNOR XP Z12-013 delegation / multi-tenancy). Required by some PDPs to select the client space.
|
|
462
|
+
}
|
|
448
463
|
|
|
449
464
|
begin
|
|
450
465
|
# Submit a pre-generated CDAR XML
|
|
451
|
-
result = api_instance.submit_cdar_xml_api_v1_cdar_submit_xml_post(submit_cdarxml_request)
|
|
466
|
+
result = api_instance.submit_cdar_xml_api_v1_cdar_submit_xml_post(submit_cdarxml_request, opts)
|
|
452
467
|
p result
|
|
453
468
|
rescue FactPulse::ApiError => e
|
|
454
469
|
puts "Error when calling Flux6InvoiceLifecycleCDARApi->submit_cdar_xml_api_v1_cdar_submit_xml_post: #{e}"
|
|
@@ -459,12 +474,12 @@ end
|
|
|
459
474
|
|
|
460
475
|
This returns an Array which contains the response data, status code and headers.
|
|
461
476
|
|
|
462
|
-
> <Array(<SubmitCDARResponse>, Integer, Hash)> submit_cdar_xml_api_v1_cdar_submit_xml_post_with_http_info(submit_cdarxml_request)
|
|
477
|
+
> <Array(<SubmitCDARResponse>, Integer, Hash)> submit_cdar_xml_api_v1_cdar_submit_xml_post_with_http_info(submit_cdarxml_request, opts)
|
|
463
478
|
|
|
464
479
|
```ruby
|
|
465
480
|
begin
|
|
466
481
|
# Submit a pre-generated CDAR XML
|
|
467
|
-
data, status_code, headers = api_instance.submit_cdar_xml_api_v1_cdar_submit_xml_post_with_http_info(submit_cdarxml_request)
|
|
482
|
+
data, status_code, headers = api_instance.submit_cdar_xml_api_v1_cdar_submit_xml_post_with_http_info(submit_cdarxml_request, opts)
|
|
468
483
|
p status_code # => 2xx
|
|
469
484
|
p headers # => { ... }
|
|
470
485
|
p data # => <SubmitCDARResponse>
|
|
@@ -478,6 +493,7 @@ end
|
|
|
478
493
|
| Name | Type | Description | Notes |
|
|
479
494
|
| ---- | ---- | ----------- | ----- |
|
|
480
495
|
| **submit_cdarxml_request** | [**SubmitCDARXMLRequest**](SubmitCDARXMLRequest.md) | | |
|
|
496
|
+
| **organization_id** | **String** | Organization ID relayed to the PDP (AFNOR XP Z12-013 delegation / multi-tenancy). Required by some PDPs to select the client space. | [optional] |
|
|
481
497
|
|
|
482
498
|
### Return type
|
|
483
499
|
|
|
@@ -495,7 +511,7 @@ end
|
|
|
495
511
|
|
|
496
512
|
## submit_encaissee_api_v1_cdar_encaissee_post
|
|
497
513
|
|
|
498
|
-
> <SimplifiedCDARResponse> submit_encaissee_api_v1_cdar_encaissee_post(encaissee_request)
|
|
514
|
+
> <SimplifiedCDARResponse> submit_encaissee_api_v1_cdar_encaissee_post(encaissee_request, opts)
|
|
499
515
|
|
|
500
516
|
[Simplified] Submit PAID status (212) - Issued invoice
|
|
501
517
|
|
|
@@ -513,11 +529,14 @@ FactPulse.configure do |config|
|
|
|
513
529
|
end
|
|
514
530
|
|
|
515
531
|
api_instance = FactPulse::Flux6InvoiceLifecycleCDARApi.new
|
|
516
|
-
encaissee_request = FactPulse::EncaisseeRequest.new({invoice_id: 'invoice_id_example', invoice_issue_date: Date.today, invoice_buyer_siren: 'invoice_buyer_siren_example'
|
|
532
|
+
encaissee_request = FactPulse::EncaisseeRequest.new({invoice_id: 'invoice_id_example', invoice_issue_date: Date.today, invoice_buyer_siren: 'invoice_buyer_siren_example'}) # EncaisseeRequest |
|
|
533
|
+
opts = {
|
|
534
|
+
organization_id: 'organization_id_example' # String | Organization ID relayed to the PDP (AFNOR XP Z12-013 delegation / multi-tenancy). Required by some PDPs to select the client space.
|
|
535
|
+
}
|
|
517
536
|
|
|
518
537
|
begin
|
|
519
538
|
# [Simplified] Submit PAID status (212) - Issued invoice
|
|
520
|
-
result = api_instance.submit_encaissee_api_v1_cdar_encaissee_post(encaissee_request)
|
|
539
|
+
result = api_instance.submit_encaissee_api_v1_cdar_encaissee_post(encaissee_request, opts)
|
|
521
540
|
p result
|
|
522
541
|
rescue FactPulse::ApiError => e
|
|
523
542
|
puts "Error when calling Flux6InvoiceLifecycleCDARApi->submit_encaissee_api_v1_cdar_encaissee_post: #{e}"
|
|
@@ -528,12 +547,12 @@ end
|
|
|
528
547
|
|
|
529
548
|
This returns an Array which contains the response data, status code and headers.
|
|
530
549
|
|
|
531
|
-
> <Array(<SimplifiedCDARResponse>, Integer, Hash)> submit_encaissee_api_v1_cdar_encaissee_post_with_http_info(encaissee_request)
|
|
550
|
+
> <Array(<SimplifiedCDARResponse>, Integer, Hash)> submit_encaissee_api_v1_cdar_encaissee_post_with_http_info(encaissee_request, opts)
|
|
532
551
|
|
|
533
552
|
```ruby
|
|
534
553
|
begin
|
|
535
554
|
# [Simplified] Submit PAID status (212) - Issued invoice
|
|
536
|
-
data, status_code, headers = api_instance.submit_encaissee_api_v1_cdar_encaissee_post_with_http_info(encaissee_request)
|
|
555
|
+
data, status_code, headers = api_instance.submit_encaissee_api_v1_cdar_encaissee_post_with_http_info(encaissee_request, opts)
|
|
537
556
|
p status_code # => 2xx
|
|
538
557
|
p headers # => { ... }
|
|
539
558
|
p data # => <SimplifiedCDARResponse>
|
|
@@ -547,6 +566,7 @@ end
|
|
|
547
566
|
| Name | Type | Description | Notes |
|
|
548
567
|
| ---- | ---- | ----------- | ----- |
|
|
549
568
|
| **encaissee_request** | [**EncaisseeRequest**](EncaisseeRequest.md) | | |
|
|
569
|
+
| **organization_id** | **String** | Organization ID relayed to the PDP (AFNOR XP Z12-013 delegation / multi-tenancy). Required by some PDPs to select the client space. | [optional] |
|
|
550
570
|
|
|
551
571
|
### Return type
|
|
552
572
|
|
|
@@ -564,7 +584,7 @@ end
|
|
|
564
584
|
|
|
565
585
|
## submit_refusee_api_v1_cdar_refusee_post
|
|
566
586
|
|
|
567
|
-
> <SimplifiedCDARResponse> submit_refusee_api_v1_cdar_refusee_post(refusee_request)
|
|
587
|
+
> <SimplifiedCDARResponse> submit_refusee_api_v1_cdar_refusee_post(refusee_request, opts)
|
|
568
588
|
|
|
569
589
|
[Simplified] Submit REFUSED status (210) - Received invoice
|
|
570
590
|
|
|
@@ -583,10 +603,13 @@ end
|
|
|
583
603
|
|
|
584
604
|
api_instance = FactPulse::Flux6InvoiceLifecycleCDARApi.new
|
|
585
605
|
refusee_request = FactPulse::RefuseeRequest.new({invoice_id: 'invoice_id_example', invoice_issue_date: Date.today, invoice_seller_siren: 'invoice_seller_siren_example', invoice_seller_electronic_address: 'invoice_seller_electronic_address_example', reason_code: 'reason_code_example'}) # RefuseeRequest |
|
|
606
|
+
opts = {
|
|
607
|
+
organization_id: 'organization_id_example' # String | Organization ID relayed to the PDP (AFNOR XP Z12-013 delegation / multi-tenancy). Required by some PDPs to select the client space.
|
|
608
|
+
}
|
|
586
609
|
|
|
587
610
|
begin
|
|
588
611
|
# [Simplified] Submit REFUSED status (210) - Received invoice
|
|
589
|
-
result = api_instance.submit_refusee_api_v1_cdar_refusee_post(refusee_request)
|
|
612
|
+
result = api_instance.submit_refusee_api_v1_cdar_refusee_post(refusee_request, opts)
|
|
590
613
|
p result
|
|
591
614
|
rescue FactPulse::ApiError => e
|
|
592
615
|
puts "Error when calling Flux6InvoiceLifecycleCDARApi->submit_refusee_api_v1_cdar_refusee_post: #{e}"
|
|
@@ -597,12 +620,12 @@ end
|
|
|
597
620
|
|
|
598
621
|
This returns an Array which contains the response data, status code and headers.
|
|
599
622
|
|
|
600
|
-
> <Array(<SimplifiedCDARResponse>, Integer, Hash)> submit_refusee_api_v1_cdar_refusee_post_with_http_info(refusee_request)
|
|
623
|
+
> <Array(<SimplifiedCDARResponse>, Integer, Hash)> submit_refusee_api_v1_cdar_refusee_post_with_http_info(refusee_request, opts)
|
|
601
624
|
|
|
602
625
|
```ruby
|
|
603
626
|
begin
|
|
604
627
|
# [Simplified] Submit REFUSED status (210) - Received invoice
|
|
605
|
-
data, status_code, headers = api_instance.submit_refusee_api_v1_cdar_refusee_post_with_http_info(refusee_request)
|
|
628
|
+
data, status_code, headers = api_instance.submit_refusee_api_v1_cdar_refusee_post_with_http_info(refusee_request, opts)
|
|
606
629
|
p status_code # => 2xx
|
|
607
630
|
p headers # => { ... }
|
|
608
631
|
p data # => <SimplifiedCDARResponse>
|
|
@@ -616,6 +639,7 @@ end
|
|
|
616
639
|
| Name | Type | Description | Notes |
|
|
617
640
|
| ---- | ---- | ----------- | ----- |
|
|
618
641
|
| **refusee_request** | [**RefuseeRequest**](RefuseeRequest.md) | | |
|
|
642
|
+
| **organization_id** | **String** | Organization ID relayed to the PDP (AFNOR XP Z12-013 delegation / multi-tenancy). Required by some PDPs to select the client space. | [optional] |
|
|
619
643
|
|
|
620
644
|
### Return type
|
|
621
645
|
|
|
@@ -730,7 +754,7 @@ FactPulse.configure do |config|
|
|
|
730
754
|
end
|
|
731
755
|
|
|
732
756
|
api_instance = FactPulse::Flux6InvoiceLifecycleCDARApi.new
|
|
733
|
-
xml_file =
|
|
757
|
+
xml_file = 'xml_file_example' # String | CDAR XML file to validate
|
|
734
758
|
|
|
735
759
|
begin
|
|
736
760
|
# Validate CDAR XML against XSD and Schematron BR-FR-CDV
|
|
@@ -763,7 +787,7 @@ end
|
|
|
763
787
|
|
|
764
788
|
| Name | Type | Description | Notes |
|
|
765
789
|
| ---- | ---- | ----------- | ----- |
|
|
766
|
-
| **xml_file** | **
|
|
790
|
+
| **xml_file** | **String** | CDAR XML file to validate | |
|
|
767
791
|
|
|
768
792
|
### Return type
|
|
769
793
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **credentials** | [**
|
|
7
|
+
| **credentials** | [**FactureElectroniqueRestApiSchemasChorusProChorusProCredentials**](FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md) | | [optional] |
|
|
8
8
|
| **siret** | **String** | Structure SIRET (14 digits) | |
|
|
9
9
|
| **identifier_type** | **String** | Identifier type (SIRET, SIREN, UE_HORS_FRANCE, etc.) | [optional][default to 'SIRET'] |
|
|
10
10
|
|
data/docs/GetInvoiceRequest.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **credentials** | [**
|
|
7
|
+
| **credentials** | [**FactureElectroniqueRestApiSchemasChorusProChorusProCredentials**](FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md) | | [optional] |
|
|
8
8
|
| **chorus_invoice_id** | **Integer** | Chorus Pro invoice ID | |
|
|
9
9
|
|
|
10
10
|
## Example
|
data/docs/GetStructureRequest.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **credentials** | [**
|
|
7
|
+
| **credentials** | [**FactureElectroniqueRestApiSchemasChorusProChorusProCredentials**](FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md) | | [optional] |
|
|
8
8
|
| **structure_id** | **Integer** | Chorus Pro structure ID | |
|
|
9
9
|
| **language_code** | **String** | Language code (fr, en) | [optional][default to 'fr'] |
|
|
10
10
|
|
data/docs/IncomingSupplier.md
CHANGED
|
@@ -8,8 +8,9 @@
|
|
|
8
8
|
| **siren** | **String** | | [optional] |
|
|
9
9
|
| **siret** | **String** | | [optional] |
|
|
10
10
|
| **vat_number** | **String** | | [optional] |
|
|
11
|
-
| **
|
|
12
|
-
| **
|
|
11
|
+
| **tax_registration_id** | **String** | | [optional] |
|
|
12
|
+
| **postal_address** | [**PostalAddressOutput**](PostalAddressOutput.md) | | [optional] |
|
|
13
|
+
| **electronic_address** | [**ElectronicAddressOutput**](ElectronicAddressOutput.md) | | [optional] |
|
|
13
14
|
| **email** | **String** | | [optional] |
|
|
14
15
|
| **phone** | **String** | | [optional] |
|
|
15
16
|
|
|
@@ -23,6 +24,7 @@ instance = FactPulse::IncomingSupplier.new(
|
|
|
23
24
|
siren: null,
|
|
24
25
|
siret: null,
|
|
25
26
|
vat_number: null,
|
|
27
|
+
tax_registration_id: null,
|
|
26
28
|
postal_address: null,
|
|
27
29
|
electronic_address: null,
|
|
28
30
|
email: null,
|