nordlet 0.3.9 → 0.4.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/lib/nordlet/account/types/me_account_response_billing.rb +6 -0
- data/lib/nordlet/bank/client.rb +96 -0
- data/lib/nordlet/bank/types/accounts_create_bank_request.rb +2 -0
- data/lib/nordlet/bank/types/accounts_create_bank_request_type.rb +15 -0
- data/lib/nordlet/bank/types/accounts_create_bank_response.rb +2 -0
- data/lib/nordlet/bank/types/accounts_create_bank_response_type.rb +15 -0
- data/lib/nordlet/bank/types/accounts_list_bank_response_rows_item.rb +2 -0
- data/lib/nordlet/bank/types/accounts_list_bank_response_rows_item_type.rb +15 -0
- data/lib/nordlet/bank/types/accounts_update_bank_request.rb +2 -0
- data/lib/nordlet/bank/types/accounts_update_bank_request_type.rb +15 -0
- data/lib/nordlet/bank/types/accounts_update_bank_response.rb +2 -0
- data/lib/nordlet/bank/types/accounts_update_bank_response_type.rb +15 -0
- data/lib/nordlet/bank/types/securities_get_bank_request.rb +11 -0
- data/lib/nordlet/bank/types/securities_get_bank_response.rb +35 -0
- data/lib/nordlet/bank/types/securities_get_bank_response_operations_item.rb +51 -0
- data/lib/nordlet/bank/types/securities_get_bank_response_operations_item_status.rb +14 -0
- data/lib/nordlet/bank/types/securities_import_bank_request.rb +15 -0
- data/lib/nordlet/bank/types/securities_import_bank_response.rb +33 -0
- data/lib/nordlet/bank/types/securities_list_bank_request.rb +19 -0
- data/lib/nordlet/bank/types/securities_list_bank_request_filter_item.rb +15 -0
- data/lib/nordlet/bank/types/securities_list_bank_request_filter_item_op.rb +18 -0
- data/lib/nordlet/bank/types/securities_list_bank_request_filter_item_value.rb +19 -0
- data/lib/nordlet/bank/types/securities_list_bank_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/bank/types/securities_list_bank_request_sort_item.rb +13 -0
- data/lib/nordlet/bank/types/securities_list_bank_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/bank/types/securities_list_bank_response.rb +21 -0
- data/lib/nordlet/bank/types/securities_list_bank_response_rows_item.rb +33 -0
- data/lib/nordlet/bank/types/settlements_commission_bank_response.rb +8 -0
- data/lib/nordlet/bank/types/settlements_get_bank_response.rb +6 -0
- data/lib/nordlet/bank/types/settlements_get_bank_response_lines_item.rb +8 -0
- data/lib/nordlet/bank/types/settlements_import_bank_response_batches_item.rb +6 -0
- data/lib/nordlet/bank/types/settlements_link_bank_response.rb +6 -0
- data/lib/nordlet/bank/types/settlements_list_bank_response_rows_item.rb +6 -0
- data/lib/nordlet/bank/types/settlements_match_bank_response.rb +8 -0
- data/lib/nordlet/bank/types/settlements_post_bank_response.rb +6 -0
- data/lib/nordlet/bank/types/settlements_post_bank_response_summary.rb +2 -0
- data/lib/nordlet/bank/types/settlements_unlink_bank_response.rb +6 -0
- data/lib/nordlet/bank/types/transactions_match_bank_request_document_type.rb +1 -0
- data/lib/nordlet/bank/types/transactions_match_many_bank_request_allocations_item_document_type.rb +1 -0
- data/lib/nordlet/bank/types/transactions_record_bank_request_document_type.rb +1 -0
- data/lib/nordlet/bank/types/transactions_suggest_matches_bank_response_suggestions_item_document_type.rb +1 -0
- data/lib/nordlet/billing/client.rb +192 -0
- data/lib/nordlet/billing/types/account_get_billing_response.rb +10 -0
- data/lib/nordlet/billing/types/account_get_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/account_get_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/account_get_billing_response_month_to_date.rb +2 -0
- data/lib/nordlet/billing/types/account_get_billing_response_plans_value.rb +2 -2
- data/lib/nordlet/billing/types/account_set_account_type_billing_request.rb +11 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_request_account_type.rb +14 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response.rb +49 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_month_to_date.rb +27 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_plan.rb +15 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_plans_value.rb +19 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_status.rb +15 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_top_up.rb +13 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_request.rb +13 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response.rb +49 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_month_to_date.rb +27 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_plan.rb +15 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_plans_value.rb +19 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_status.rb +15 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_top_up.rb +13 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_request.rb +11 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response.rb +49 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_month_to_date.rb +27 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_plan.rb +15 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_plans_value.rb +19 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_status.rb +15 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_top_up.rb +13 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response.rb +10 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response_month_to_date.rb +2 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response_plans_value.rb +2 -2
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_request.rb +11 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response.rb +49 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_month_to_date.rb +27 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_plan.rb +15 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_plans_value.rb +19 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_status.rb +15 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_top_up.rb +13 -0
- data/lib/nordlet/billing/types/flat_rate_create_billing_request.rb +13 -0
- data/lib/nordlet/billing/types/flat_rate_create_billing_request_locale.rb +15 -0
- data/lib/nordlet/billing/types/flat_rate_create_billing_request_plan.rb +15 -0
- data/lib/nordlet/billing/types/flat_rate_create_billing_response.rb +13 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_request.rb +11 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response.rb +49 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_month_to_date.rb +27 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_plan.rb +15 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_plans_value.rb +19 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_status.rb +15 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_top_up.rb +13 -0
- data/lib/nordlet/billing/types/topup_create_billing_request.rb +2 -0
- data/lib/nordlet/billing/types/topup_create_billing_request_return_to.rb +14 -0
- data/lib/nordlet/billing/types/usage_list_billing_response_rows_item_metric.rb +1 -0
- data/lib/nordlet/capture/client.rb +5 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_request.rb +6 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_request_opposite_lines_item.rb +35 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_request_opposite_lines_item_quantity.rb +15 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_request_type.rb +14 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response.rb +2 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_capture.rb +2 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_capture_extraction.rb +4 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_capture_extraction_document_type.rb +14 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_capture_extraction_opposite_lines_item.rb +25 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice.rb +65 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice_lines_item.rb +45 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice_payment_status.rb +15 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice_status.rb +14 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice_type.rb +14 -0
- data/lib/nordlet/capture/types/documents_extract_capture_response.rb +2 -0
- data/lib/nordlet/capture/types/documents_extract_capture_response_extraction.rb +4 -0
- data/lib/nordlet/capture/types/documents_extract_capture_response_extraction_document_type.rb +14 -0
- data/lib/nordlet/capture/types/documents_extract_capture_response_extraction_opposite_lines_item.rb +25 -0
- data/lib/nordlet/capture/types/documents_get_capture_response.rb +2 -0
- data/lib/nordlet/capture/types/documents_get_capture_response_extraction.rb +4 -0
- data/lib/nordlet/capture/types/documents_get_capture_response_extraction_document_type.rb +14 -0
- data/lib/nordlet/capture/types/documents_get_capture_response_extraction_opposite_lines_item.rb +25 -0
- data/lib/nordlet/capture/types/documents_list_capture_response_rows_item.rb +2 -0
- data/lib/nordlet/capture/types/documents_list_capture_response_rows_item_extraction.rb +4 -0
- data/lib/nordlet/capture/types/documents_list_capture_response_rows_item_extraction_document_type.rb +14 -0
- data/lib/nordlet/capture/types/documents_list_capture_response_rows_item_extraction_opposite_lines_item.rb +25 -0
- data/lib/nordlet/capture/types/documents_upload_capture_response.rb +2 -0
- data/lib/nordlet/capture/types/documents_upload_capture_response_extraction.rb +4 -0
- data/lib/nordlet/capture/types/documents_upload_capture_response_extraction_document_type.rb +14 -0
- data/lib/nordlet/capture/types/documents_upload_capture_response_extraction_opposite_lines_item.rb +25 -0
- data/lib/nordlet/client.rb +10 -0
- data/lib/nordlet/declarations/client.rb +133 -1
- data/lib/nordlet/declarations/types/eu_dac7preview_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/eu_dac7preview_declarations_response.rb +27 -0
- data/lib/nordlet/declarations/types/eu_dac7preview_declarations_response_sellers_item.rb +23 -0
- data/lib/nordlet/declarations/types/eu_dac7xml_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/eu_dac7xml_declarations_response.rb +17 -0
- data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_request.rb +13 -0
- data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_response.rb +23 -0
- data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_response_transactions_item.rb +49 -0
- data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_response_transactions_item_article.rb +16 -0
- data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_response_transactions_item_direction.rb +14 -0
- data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_response_transactions_item_document_type.rb +14 -0
- data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_response_transactions_item_lines_item.rb +23 -0
- data/lib/nordlet/declarations/types/eu_own_goods_transfers_compute_declarations_request.rb +13 -0
- data/lib/nordlet/declarations/types/eu_own_goods_transfers_compute_declarations_response.rb +33 -0
- data/lib/nordlet/declarations/types/eu_own_goods_transfers_compute_declarations_response_rows_item.rb +17 -0
- data/lib/nordlet/declarations/types/eu_own_goods_transfers_compute_declarations_response_transfers_item.rb +25 -0
- data/lib/nordlet/inventory/client.rb +32 -0
- data/lib/nordlet/inventory/types/landed_costs_create_inventory_response.rb +2 -0
- data/lib/nordlet/inventory/types/landed_costs_get_inventory_response.rb +2 -0
- data/lib/nordlet/inventory/types/warehouses_create_inventory_request.rb +2 -0
- data/lib/nordlet/inventory/types/warehouses_create_inventory_response.rb +2 -0
- data/lib/nordlet/inventory/types/warehouses_list_inventory_response_rows_item.rb +2 -0
- data/lib/nordlet/inventory/types/warehouses_update_inventory_request.rb +15 -0
- data/lib/nordlet/inventory/types/warehouses_update_inventory_response.rb +21 -0
- data/lib/nordlet/ledger/types/journal_transactions_create_ledger_request.rb +2 -0
- data/lib/nordlet/ledger/types/posting_rules_update_ledger_request_rules_item_key.rb +8 -0
- data/lib/nordlet/partners/types/create_partners_request.rb +0 -4
- data/lib/nordlet/partners/types/create_partners_response.rb +0 -4
- data/lib/nordlet/partners/types/find_or_create_partners_request.rb +0 -4
- data/lib/nordlet/partners/types/find_or_create_partners_response_partner.rb +0 -4
- data/lib/nordlet/partners/types/get_partners_response.rb +0 -4
- data/lib/nordlet/partners/types/list_partners_response_rows_item.rb +0 -4
- data/lib/nordlet/partners/types/update_partners_request.rb +0 -4
- data/lib/nordlet/partners/types/update_partners_response.rb +0 -4
- data/lib/nordlet/payroll/types/runs_approve_payroll_response.rb +2 -0
- data/lib/nordlet/payroll/types/runs_create_payroll_response.rb +2 -0
- data/lib/nordlet/payroll/types/runs_get_payroll_response.rb +2 -0
- data/lib/nordlet/payroll/types/runs_list_payroll_response_rows_item.rb +2 -0
- data/lib/nordlet/payroll/types/runs_reverse_payroll_response.rb +2 -0
- data/lib/nordlet/peppol/client.rb +83 -0
- data/lib/nordlet/peppol/types/participants_lookup_peppol_request.rb +13 -0
- data/lib/nordlet/peppol/types/participants_lookup_peppol_response.rb +23 -0
- data/lib/nordlet/peppol/types/webhooks_peppol_request.rb +13 -0
- data/lib/nordlet/peppol/types/webhooks_peppol_request_provider.rb +15 -0
- data/lib/nordlet/peppol/types/webhooks_peppol_response.rb +11 -0
- data/lib/nordlet/platform_sellers/client.rb +177 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_request.rb +47 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_activities_item.rb +31 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_activities_item_activity.rb +16 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_activities_item_property_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_activities_item_property_type.rb +22 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_kind.rb +14 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_tax_residences_item.rb +13 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_response.rb +53 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_activities_item.rb +33 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_activities_item_activity.rb +16 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_activities_item_property_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_activities_item_property_type.rb +22 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_kind.rb +14 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_tax_residences_item.rb +13 -0
- data/lib/nordlet/platform_sellers/types/delete_platform_sellers_request.rb +11 -0
- data/lib/nordlet/platform_sellers/types/delete_platform_sellers_response.rb +13 -0
- data/lib/nordlet/platform_sellers/types/get_platform_sellers_request.rb +11 -0
- data/lib/nordlet/platform_sellers/types/get_platform_sellers_response.rb +53 -0
- data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_activities_item.rb +33 -0
- data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_activities_item_activity.rb +16 -0
- data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_activities_item_property_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_activities_item_property_type.rb +22 -0
- data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_kind.rb +14 -0
- data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_tax_residences_item.rb +13 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_request.rb +19 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_request_filter_item.rb +15 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_request_filter_item_op.rb +18 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_request_filter_item_value.rb +19 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_request_sort_item.rb +13 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_response.rb +21 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_response_rows_item.rb +51 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_response_rows_item_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_response_rows_item_kind.rb +14 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_response_rows_item_tax_residences_item.rb +13 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_request.rb +49 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_activities_item.rb +31 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_activities_item_activity.rb +16 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_activities_item_property_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_activities_item_property_type.rb +22 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_kind.rb +14 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_tax_residences_item.rb +13 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_response.rb +53 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_activities_item.rb +33 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_activities_item_activity.rb +16 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_activities_item_property_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_activities_item_property_type.rb +22 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_kind.rb +14 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_tax_residences_item.rb +13 -0
- data/lib/nordlet/purchases/types/invoices_register_purchases_request.rb +2 -0
- data/lib/nordlet/reference/types/vat_resolve_reference_request.rb +12 -0
- data/lib/nordlet/reference/types/vat_resolve_reference_request_goods_kind.rb +14 -0
- data/lib/nordlet/reference/types/vat_resolve_reference_request_service_kind.rb +14 -0
- data/lib/nordlet/reports/types/online_sales_reports_response_rows_item.rb +2 -0
- data/lib/nordlet/sales/client.rb +205 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request.rb +57 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request_document_type.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request_lines_item.rb +25 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request_supply_type.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request_vat_scheme.rb +21 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_response.rb +63 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_response_document_type.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_response_lines_item.rb +25 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_response_supply_type.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_delete_sales_request.rb +11 -0
- data/lib/nordlet/sales/types/invoice_templates_delete_sales_response.rb +11 -0
- data/lib/nordlet/sales/types/invoice_templates_get_sales_request.rb +11 -0
- data/lib/nordlet/sales/types/invoice_templates_get_sales_response.rb +63 -0
- data/lib/nordlet/sales/types/invoice_templates_get_sales_response_document_type.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_get_sales_response_lines_item.rb +25 -0
- data/lib/nordlet/sales/types/invoice_templates_get_sales_response_supply_type.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request.rb +19 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request_filter_item.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request_filter_item_op.rb +18 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request_filter_item_value.rb +19 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request_sort_item.rb +13 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_response.rb +21 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_response_rows_item.rb +63 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_response_rows_item_document_type.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_response_rows_item_lines_item.rb +25 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_response_rows_item_supply_type.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request.rb +59 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request_document_type.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request_lines_item.rb +25 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request_supply_type.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request_vat_scheme.rb +21 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_response.rb +63 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_response_document_type.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_response_lines_item.rb +25 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_response_supply_type.rb +15 -0
- data/lib/nordlet/sales/types/invoices_apply_advance_sales_request.rb +2 -0
- data/lib/nordlet/sales/types/invoices_apply_advance_sales_response.rb +12 -0
- data/lib/nordlet/sales/types/invoices_create_sales_response.rb +12 -0
- data/lib/nordlet/sales/types/invoices_get_sales_response.rb +12 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response.rb +12 -0
- data/lib/nordlet/sales/types/invoices_list_sales_response_rows_item.rb +10 -0
- data/lib/nordlet/sales/types/invoices_lock_sales_response.rb +12 -0
- data/lib/nordlet/sales/types/invoices_peppol_send_sales_response.rb +4 -0
- data/lib/nordlet/sales/types/invoices_peppol_send_sales_response_status.rb +16 -0
- data/lib/nordlet/sales/types/invoices_peppol_status_sales_request.rb +11 -0
- data/lib/nordlet/sales/types/invoices_peppol_status_sales_response.rb +17 -0
- data/lib/nordlet/sales/types/invoices_peppol_status_sales_response_status.rb +16 -0
- data/lib/nordlet/sales/types/invoices_unlock_sales_response.rb +12 -0
- data/lib/nordlet/sales/types/invoices_update_sales_response.rb +12 -0
- data/lib/nordlet/version.rb +1 -1
- data/lib/nordlet/webhooks/types/subscriptions_create_webhooks_request_events_item.rb +4 -0
- data/lib/nordlet/webhooks/types/subscriptions_update_webhooks_request_events_item.rb +4 -0
- data/lib/nordlet.rb +216 -0
- data/reference.md +5692 -3356
- metadata +218 -2
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class FlatRateCreateBillingRequest < Internal::Types::Model
|
|
7
|
+
field :locale, -> { Nordlet::Billing::Types::FlatRateCreateBillingRequestLocale }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :plan, -> { Nordlet::Billing::Types::FlatRateCreateBillingRequestPlan }, optional: true, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
module FlatRateCreateBillingRequestPlan
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
STARTER = "starter"
|
|
10
|
+
BUSINESS = "business"
|
|
11
|
+
SCALE = "scale"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class FlatRateCreateBillingResponse < Internal::Types::Model
|
|
7
|
+
field :url, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :session_id, -> { String }, optional: false, nullable: false, api_name: "sessionId"
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class TopupConfirmBillingResponse < Internal::Types::Model
|
|
7
|
+
field :plan, -> { Nordlet::Billing::Types::TopupConfirmBillingResponsePlan }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :account_type, -> { Nordlet::Billing::Types::TopupConfirmBillingResponseAccountType }, optional: false, nullable: false, api_name: "accountType"
|
|
10
|
+
|
|
11
|
+
field :status, -> { Nordlet::Billing::Types::TopupConfirmBillingResponseStatus }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :balance_cents, -> { Integer }, optional: false, nullable: false, api_name: "balanceCents"
|
|
14
|
+
|
|
15
|
+
field :trial_ends_at, -> { String }, optional: false, nullable: true, api_name: "trialEndsAt"
|
|
16
|
+
|
|
17
|
+
field :first_top_up_at, -> { String }, optional: false, nullable: true, api_name: "firstTopUpAt"
|
|
18
|
+
|
|
19
|
+
field :last_charged_date, -> { String }, optional: false, nullable: true, api_name: "lastChargedDate"
|
|
20
|
+
|
|
21
|
+
field :payments_configured, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "paymentsConfigured"
|
|
22
|
+
|
|
23
|
+
field :has_payment_account, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasPaymentAccount"
|
|
24
|
+
|
|
25
|
+
field :has_subscription, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasSubscription"
|
|
26
|
+
|
|
27
|
+
field :payment_failed_at, -> { String }, optional: false, nullable: true, api_name: "paymentFailedAt"
|
|
28
|
+
|
|
29
|
+
field :payment_failed_invoice_url, -> { String }, optional: false, nullable: true, api_name: "paymentFailedInvoiceUrl"
|
|
30
|
+
|
|
31
|
+
field :month_to_date, -> { Nordlet::Billing::Types::TopupConfirmBillingResponseMonthToDate }, optional: false, nullable: false, api_name: "monthToDate"
|
|
32
|
+
|
|
33
|
+
field :plans, -> { Internal::Types::Hash[String, Nordlet::Billing::Types::TopupConfirmBillingResponsePlansValue] }, optional: false, nullable: false
|
|
34
|
+
|
|
35
|
+
field :api_request_eur, -> { String }, optional: false, nullable: false, api_name: "apiRequestEur"
|
|
36
|
+
|
|
37
|
+
field :top_up, -> { Nordlet::Billing::Types::TopupConfirmBillingResponseTopUp }, optional: false, nullable: false, api_name: "topUp"
|
|
38
|
+
|
|
39
|
+
field :auto_top_up, -> { Nordlet::Billing::Types::TopupConfirmBillingResponseAutoTopUp }, optional: false, nullable: false, api_name: "autoTopUp"
|
|
40
|
+
|
|
41
|
+
field :overdraft_cap_cents, -> { Integer }, optional: false, nullable: false, api_name: "overdraftCapCents"
|
|
42
|
+
|
|
43
|
+
field :overdraft_cap_max_cents, -> { Integer }, optional: false, nullable: false, api_name: "overdraftCapMaxCents"
|
|
44
|
+
|
|
45
|
+
field :trial_days, -> { Integer }, optional: false, nullable: false, api_name: "trialDays"
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
module TopupConfirmBillingResponseAccountType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
FLAT_RATE = "flat_rate"
|
|
10
|
+
PER_REQUEST = "per_request"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class TopupConfirmBillingResponseAutoTopUp < Internal::Types::Model
|
|
7
|
+
field :enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :amount_cents, -> { Integer }, optional: false, nullable: false, api_name: "amountCents"
|
|
10
|
+
|
|
11
|
+
field :pending, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class TopupConfirmBillingResponseMonthToDate < Internal::Types::Model
|
|
7
|
+
field :from, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :to, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :api_requests, -> { Integer }, optional: false, nullable: false, api_name: "apiRequests"
|
|
12
|
+
|
|
13
|
+
field :sale_invoices, -> { Integer }, optional: false, nullable: false, api_name: "saleInvoices"
|
|
14
|
+
|
|
15
|
+
field :ocr_pages, -> { Integer }, optional: false, nullable: false, api_name: "ocrPages"
|
|
16
|
+
|
|
17
|
+
field :file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "fileBytes"
|
|
18
|
+
|
|
19
|
+
field :database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "databaseBytes"
|
|
20
|
+
|
|
21
|
+
field :archived_companies, -> { Integer }, optional: false, nullable: false, api_name: "archivedCompanies"
|
|
22
|
+
|
|
23
|
+
field :estimated_today_cents, -> { Integer }, optional: false, nullable: false, api_name: "estimatedTodayCents"
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
module TopupConfirmBillingResponsePlan
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
STARTER = "starter"
|
|
10
|
+
BUSINESS = "business"
|
|
11
|
+
SCALE = "scale"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class TopupConfirmBillingResponsePlansValue < Internal::Types::Model
|
|
7
|
+
field :monthly_fee_eur, -> { String }, optional: false, nullable: false, api_name: "monthlyFeeEur"
|
|
8
|
+
|
|
9
|
+
field :included_invoices, -> { Integer }, optional: false, nullable: false, api_name: "includedInvoices"
|
|
10
|
+
|
|
11
|
+
field :invoice_overage_eur, -> { String }, optional: false, nullable: false, api_name: "invoiceOverageEur"
|
|
12
|
+
|
|
13
|
+
field :included_database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "includedDatabaseBytes"
|
|
14
|
+
|
|
15
|
+
field :included_file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "includedFileBytes"
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
module TopupConfirmBillingResponseStatus
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
TRIAL = "trial"
|
|
10
|
+
ACTIVE = "active"
|
|
11
|
+
SUSPENDED = "suspended"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class TopupConfirmBillingResponseTopUp < Internal::Types::Model
|
|
7
|
+
field :min_cents, -> { Integer }, optional: false, nullable: false, api_name: "minCents"
|
|
8
|
+
|
|
9
|
+
field :max_cents, -> { Integer }, optional: false, nullable: false, api_name: "maxCents"
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -7,6 +7,8 @@ module Nordlet
|
|
|
7
7
|
field :amount_cents, -> { Integer }, optional: false, nullable: false, api_name: "amountCents"
|
|
8
8
|
|
|
9
9
|
field :locale, -> { Nordlet::Billing::Types::TopupCreateBillingRequestLocale }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :return_to, -> { Nordlet::Billing::Types::TopupCreateBillingRequestReturnTo }, optional: true, nullable: false, api_name: "returnTo"
|
|
10
12
|
end
|
|
11
13
|
end
|
|
12
14
|
end
|
|
@@ -298,6 +298,11 @@ module Nordlet
|
|
|
298
298
|
end
|
|
299
299
|
end
|
|
300
300
|
|
|
301
|
+
# Creates the purchase invoice (or credit note, see `type`) from `lines`. Lines with the opposite sign go in
|
|
302
|
+
# `oppositeLines` and are saved as a second document of the opposite type for the same supplier: a purchase credit
|
|
303
|
+
# note against the new invoice, or a purchase invoice next to the new credit note. It is numbered
|
|
304
|
+
# `oppositeDocumentNumber`, by default the document number followed by "-CR" (credit note) or "-INV" (invoice).
|
|
305
|
+
#
|
|
301
306
|
# @param request_options [Hash]
|
|
302
307
|
# @param params [Nordlet::Capture::Types::DocumentsConfirmCaptureRequest]
|
|
303
308
|
# @option request_options [String] :base_url
|
|
@@ -10,6 +10,8 @@ module Nordlet
|
|
|
10
10
|
|
|
11
11
|
field :new_supplier, -> { Nordlet::Capture::Types::DocumentsConfirmCaptureRequestNewSupplier }, optional: true, nullable: false, api_name: "newSupplier"
|
|
12
12
|
|
|
13
|
+
field :type, -> { Nordlet::Capture::Types::DocumentsConfirmCaptureRequestType }, optional: true, nullable: false
|
|
14
|
+
|
|
13
15
|
field :document_number, -> { String }, optional: false, nullable: false, api_name: "documentNumber"
|
|
14
16
|
|
|
15
17
|
field :document_date, -> { String }, optional: false, nullable: false, api_name: "documentDate"
|
|
@@ -21,6 +23,10 @@ module Nordlet
|
|
|
21
23
|
field :notes, -> { String }, optional: true, nullable: false
|
|
22
24
|
|
|
23
25
|
field :lines, -> { Internal::Types::Array[Nordlet::Capture::Types::DocumentsConfirmCaptureRequestLinesItem] }, optional: false, nullable: false
|
|
26
|
+
|
|
27
|
+
field :opposite_lines, -> { Internal::Types::Array[Nordlet::Capture::Types::DocumentsConfirmCaptureRequestOppositeLinesItem] }, optional: true, nullable: false, api_name: "oppositeLines"
|
|
28
|
+
|
|
29
|
+
field :opposite_document_number, -> { String }, optional: true, nullable: false, api_name: "oppositeDocumentNumber"
|
|
24
30
|
end
|
|
25
31
|
end
|
|
26
32
|
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Capture
|
|
5
|
+
module Types
|
|
6
|
+
class DocumentsConfirmCaptureRequestOppositeLinesItem < Internal::Types::Model
|
|
7
|
+
field :item_id, -> { String }, optional: true, nullable: false, api_name: "itemId"
|
|
8
|
+
|
|
9
|
+
field :description, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :unit, -> { String }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :quantity, -> { Nordlet::Capture::Types::DocumentsConfirmCaptureRequestOppositeLinesItemQuantity }, optional: true, nullable: false
|
|
14
|
+
|
|
15
|
+
field :unit_price_excl_vat, -> { String }, optional: true, nullable: false, api_name: "unitPriceExclVat"
|
|
16
|
+
|
|
17
|
+
field :unit_price_incl_vat, -> { String }, optional: true, nullable: false, api_name: "unitPriceInclVat"
|
|
18
|
+
|
|
19
|
+
field :vat_rate_percent, -> { String }, optional: true, nullable: false, api_name: "vatRatePercent"
|
|
20
|
+
|
|
21
|
+
field :vat_classifier_code, -> { String }, optional: true, nullable: false, api_name: "vatClassifierCode"
|
|
22
|
+
|
|
23
|
+
field :cost_center_id, -> { String }, optional: true, nullable: false, api_name: "costCenterId"
|
|
24
|
+
|
|
25
|
+
field :project_id, -> { String }, optional: true, nullable: false, api_name: "projectId"
|
|
26
|
+
|
|
27
|
+
field :account_code, -> { String }, optional: true, nullable: false, api_name: "accountCode"
|
|
28
|
+
|
|
29
|
+
field :deferral_start_date, -> { String }, optional: true, nullable: false, api_name: "deferralStartDate"
|
|
30
|
+
|
|
31
|
+
field :deferral_end_date, -> { String }, optional: true, nullable: false, api_name: "deferralEndDate"
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
data/lib/nordlet/capture/types/documents_confirm_capture_request_opposite_lines_item_quantity.rb
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Capture
|
|
5
|
+
module Types
|
|
6
|
+
class DocumentsConfirmCaptureRequestOppositeLinesItemQuantity < Internal::Types::Model
|
|
7
|
+
extend Nordlet::Internal::Types::Union
|
|
8
|
+
|
|
9
|
+
member -> { Integer }
|
|
10
|
+
|
|
11
|
+
member -> { String }
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -7,6 +7,8 @@ module Nordlet
|
|
|
7
7
|
field :capture, -> { Nordlet::Capture::Types::DocumentsConfirmCaptureResponseCapture }, optional: false, nullable: false
|
|
8
8
|
|
|
9
9
|
field :invoice, -> { Nordlet::Capture::Types::DocumentsConfirmCaptureResponseInvoice }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :opposite_invoice, -> { Nordlet::Capture::Types::DocumentsConfirmCaptureResponseOppositeInvoice }, optional: false, nullable: true, api_name: "oppositeInvoice"
|
|
10
12
|
end
|
|
11
13
|
end
|
|
12
14
|
end
|
|
@@ -30,6 +30,8 @@ module Nordlet
|
|
|
30
30
|
|
|
31
31
|
field :error, -> { String }, optional: false, nullable: true
|
|
32
32
|
|
|
33
|
+
field :sender_id, -> { String }, optional: false, nullable: true, api_name: "senderId"
|
|
34
|
+
|
|
33
35
|
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
34
36
|
|
|
35
37
|
field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt"
|
|
@@ -4,6 +4,8 @@ module Nordlet
|
|
|
4
4
|
module Capture
|
|
5
5
|
module Types
|
|
6
6
|
class DocumentsConfirmCaptureResponseCaptureExtraction < Internal::Types::Model
|
|
7
|
+
field :document_type, -> { Nordlet::Capture::Types::DocumentsConfirmCaptureResponseCaptureExtractionDocumentType }, optional: true, nullable: false, api_name: "documentType"
|
|
8
|
+
|
|
7
9
|
field :supplier, -> { Nordlet::Capture::Types::DocumentsConfirmCaptureResponseCaptureExtractionSupplier }, optional: false, nullable: false
|
|
8
10
|
|
|
9
11
|
field :document_number, -> { String }, optional: false, nullable: true, api_name: "documentNumber"
|
|
@@ -23,6 +25,8 @@ module Nordlet
|
|
|
23
25
|
field :notes, -> { String }, optional: false, nullable: true
|
|
24
26
|
|
|
25
27
|
field :lines, -> { Internal::Types::Array[Nordlet::Capture::Types::DocumentsConfirmCaptureResponseCaptureExtractionLinesItem] }, optional: false, nullable: false
|
|
28
|
+
|
|
29
|
+
field :opposite_lines, -> { Internal::Types::Array[Nordlet::Capture::Types::DocumentsConfirmCaptureResponseCaptureExtractionOppositeLinesItem] }, optional: true, nullable: false, api_name: "oppositeLines"
|
|
26
30
|
end
|
|
27
31
|
end
|
|
28
32
|
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Capture
|
|
5
|
+
module Types
|
|
6
|
+
module DocumentsConfirmCaptureResponseCaptureExtractionDocumentType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
INVOICE = "invoice"
|
|
10
|
+
CREDIT_NOTE = "credit_note"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Capture
|
|
5
|
+
module Types
|
|
6
|
+
class DocumentsConfirmCaptureResponseCaptureExtractionOppositeLinesItem < Internal::Types::Model
|
|
7
|
+
field :description, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :quantity, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :unit, -> { String }, optional: false, nullable: true
|
|
12
|
+
|
|
13
|
+
field :unit_price_excl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceExclVat"
|
|
14
|
+
|
|
15
|
+
field :vat_rate_percent, -> { String }, optional: false, nullable: true, api_name: "vatRatePercent"
|
|
16
|
+
|
|
17
|
+
field :line_net, -> { String }, optional: false, nullable: true, api_name: "lineNet"
|
|
18
|
+
|
|
19
|
+
field :line_vat, -> { String }, optional: false, nullable: true, api_name: "lineVat"
|
|
20
|
+
|
|
21
|
+
field :line_gross, -> { String }, optional: false, nullable: true, api_name: "lineGross"
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Capture
|
|
5
|
+
module Types
|
|
6
|
+
class DocumentsConfirmCaptureResponseOppositeInvoice < Internal::Types::Model
|
|
7
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :partner_id, -> { String }, optional: false, nullable: false, api_name: "partnerId"
|
|
10
|
+
|
|
11
|
+
field :type, -> { Nordlet::Capture::Types::DocumentsConfirmCaptureResponseOppositeInvoiceType }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :status, -> { Nordlet::Capture::Types::DocumentsConfirmCaptureResponseOppositeInvoiceStatus }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :payment_status, -> { Nordlet::Capture::Types::DocumentsConfirmCaptureResponseOppositeInvoicePaymentStatus }, optional: false, nullable: false, api_name: "paymentStatus"
|
|
16
|
+
|
|
17
|
+
field :document_number, -> { String }, optional: false, nullable: false, api_name: "documentNumber"
|
|
18
|
+
|
|
19
|
+
field :document_date, -> { String }, optional: false, nullable: false, api_name: "documentDate"
|
|
20
|
+
|
|
21
|
+
field :due_date, -> { String }, optional: false, nullable: true, api_name: "dueDate"
|
|
22
|
+
|
|
23
|
+
field :registration_date, -> { String }, optional: false, nullable: true, api_name: "registrationDate"
|
|
24
|
+
|
|
25
|
+
field :currency, -> { String }, optional: false, nullable: false
|
|
26
|
+
|
|
27
|
+
field :net_total, -> { String }, optional: false, nullable: false, api_name: "netTotal"
|
|
28
|
+
|
|
29
|
+
field :vat_total, -> { String }, optional: false, nullable: false, api_name: "vatTotal"
|
|
30
|
+
|
|
31
|
+
field :gross_total, -> { String }, optional: false, nullable: false, api_name: "grossTotal"
|
|
32
|
+
|
|
33
|
+
field :paid_amount, -> { String }, optional: false, nullable: false, api_name: "paidAmount"
|
|
34
|
+
|
|
35
|
+
field :journal_transaction_id, -> { String }, optional: false, nullable: true, api_name: "journalTransactionId"
|
|
36
|
+
|
|
37
|
+
field :credited_invoice_id, -> { String }, optional: false, nullable: true, api_name: "creditedInvoiceId"
|
|
38
|
+
|
|
39
|
+
field :purchase_order_id, -> { String }, optional: false, nullable: true, api_name: "purchaseOrderId"
|
|
40
|
+
|
|
41
|
+
field :operation_type_id, -> { String }, optional: false, nullable: true, api_name: "operationTypeId"
|
|
42
|
+
|
|
43
|
+
field :notes, -> { String }, optional: false, nullable: true
|
|
44
|
+
|
|
45
|
+
field :intrastat_transport_mode, -> { String }, optional: false, nullable: true, api_name: "intrastatTransportMode"
|
|
46
|
+
|
|
47
|
+
field :intrastat_delivery_terms, -> { String }, optional: false, nullable: true, api_name: "intrastatDeliveryTerms"
|
|
48
|
+
|
|
49
|
+
field :intrastat_region, -> { String }, optional: false, nullable: true, api_name: "intrastatRegion"
|
|
50
|
+
|
|
51
|
+
field :intrastat_nature_of_transaction, -> { String }, optional: false, nullable: true, api_name: "intrastatNatureOfTransaction"
|
|
52
|
+
|
|
53
|
+
field :einvoice_number, -> { String }, optional: false, nullable: true, api_name: "einvoiceNumber"
|
|
54
|
+
|
|
55
|
+
field :document_ref, -> { String }, optional: false, nullable: true, api_name: "documentRef"
|
|
56
|
+
|
|
57
|
+
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
58
|
+
|
|
59
|
+
field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt"
|
|
60
|
+
|
|
61
|
+
field :lines, -> { Internal::Types::Array[Nordlet::Capture::Types::DocumentsConfirmCaptureResponseOppositeInvoiceLinesItem] }, optional: false, nullable: false
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice_lines_item.rb
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Capture
|
|
5
|
+
module Types
|
|
6
|
+
class DocumentsConfirmCaptureResponseOppositeInvoiceLinesItem < Internal::Types::Model
|
|
7
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :item_id, -> { String }, optional: false, nullable: true, api_name: "itemId"
|
|
10
|
+
|
|
11
|
+
field :description, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :unit, -> { String }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :quantity, -> { String }, optional: false, nullable: false
|
|
16
|
+
|
|
17
|
+
field :unit_price_excl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceExclVat"
|
|
18
|
+
|
|
19
|
+
field :unit_price_incl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceInclVat"
|
|
20
|
+
|
|
21
|
+
field :vat_rate_percent, -> { String }, optional: false, nullable: false, api_name: "vatRatePercent"
|
|
22
|
+
|
|
23
|
+
field :vat_classifier_code, -> { String }, optional: false, nullable: true, api_name: "vatClassifierCode"
|
|
24
|
+
|
|
25
|
+
field :cost_center_id, -> { String }, optional: false, nullable: true, api_name: "costCenterId"
|
|
26
|
+
|
|
27
|
+
field :project_id, -> { String }, optional: false, nullable: true, api_name: "projectId"
|
|
28
|
+
|
|
29
|
+
field :account_code, -> { String }, optional: false, nullable: true, api_name: "accountCode"
|
|
30
|
+
|
|
31
|
+
field :deferral_start_date, -> { String }, optional: false, nullable: true, api_name: "deferralStartDate"
|
|
32
|
+
|
|
33
|
+
field :deferral_end_date, -> { String }, optional: false, nullable: true, api_name: "deferralEndDate"
|
|
34
|
+
|
|
35
|
+
field :line_net, -> { String }, optional: false, nullable: false, api_name: "lineNet"
|
|
36
|
+
|
|
37
|
+
field :line_vat, -> { String }, optional: false, nullable: false, api_name: "lineVat"
|
|
38
|
+
|
|
39
|
+
field :line_gross, -> { String }, optional: false, nullable: false, api_name: "lineGross"
|
|
40
|
+
|
|
41
|
+
field :sort_order, -> { Integer }, optional: false, nullable: false, api_name: "sortOrder"
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice_payment_status.rb
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Capture
|
|
5
|
+
module Types
|
|
6
|
+
module DocumentsConfirmCaptureResponseOppositeInvoicePaymentStatus
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
UNPAID = "unpaid"
|
|
10
|
+
PARTIAL = "partial"
|
|
11
|
+
PAID = "paid"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Capture
|
|
5
|
+
module Types
|
|
6
|
+
module DocumentsConfirmCaptureResponseOppositeInvoiceStatus
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
DRAFT = "draft"
|
|
10
|
+
REGISTERED = "registered"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Capture
|
|
5
|
+
module Types
|
|
6
|
+
module DocumentsConfirmCaptureResponseOppositeInvoiceType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
INVOICE = "invoice"
|
|
10
|
+
CREDIT_NOTE = "credit_note"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -30,6 +30,8 @@ module Nordlet
|
|
|
30
30
|
|
|
31
31
|
field :error, -> { String }, optional: false, nullable: true
|
|
32
32
|
|
|
33
|
+
field :sender_id, -> { String }, optional: false, nullable: true, api_name: "senderId"
|
|
34
|
+
|
|
33
35
|
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
34
36
|
|
|
35
37
|
field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt"
|