nordlet 0.6.10 → 0.7.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/client.rb +55 -7
- data/lib/nordlet/account/types/companies_context_account_request.rb +9 -0
- data/lib/nordlet/account/types/companies_context_account_response.rb +23 -0
- data/lib/nordlet/account/types/companies_context_account_response_bank_accounts_item.rb +23 -0
- data/lib/nordlet/account/types/companies_context_account_response_filings_item.rb +27 -0
- data/lib/nordlet/account/types/companies_context_account_response_filings_item_missing_settings.rb +17 -0
- data/lib/nordlet/account/types/companies_context_account_response_filings_item_missing_settings_operation.rb +13 -0
- data/lib/nordlet/account/types/companies_context_account_response_payroll.rb +15 -0
- data/lib/nordlet/account/types/companies_context_account_response_payroll_employee_fields_item.rb +17 -0
- data/lib/nordlet/account/types/companies_context_account_response_payroll_employee_fields_item_kind.rb +15 -0
- data/lib/nordlet/account/types/companies_context_account_response_periods.rb +13 -0
- data/lib/nordlet/account/types/companies_context_account_response_periods_locked_item.rb +13 -0
- data/lib/nordlet/account/types/companies_context_account_response_periods_open_item.rb +13 -0
- data/lib/nordlet/account/types/companies_context_account_response_profile.rb +105 -0
- data/lib/nordlet/account/types/companies_context_account_response_profile_accounts_kept_by.rb +14 -0
- data/lib/nordlet/account/types/companies_context_account_response_profile_address.rb +19 -0
- data/lib/nordlet/account/types/companies_context_account_response_profile_fiscal_year_week_rule.rb +14 -0
- data/lib/nordlet/account/types/companies_context_account_response_profile_status.rb +15 -0
- data/lib/nordlet/account/types/companies_context_account_response_profile_vat_period.rb +17 -0
- data/lib/nordlet/account/types/companies_context_account_response_vat_types_used_item.rb +19 -0
- data/lib/nordlet/account/types/companies_create_account_request.rb +10 -0
- data/lib/nordlet/account/types/companies_create_account_request_address.rb +2 -0
- data/lib/nordlet/account/types/companies_create_account_request_country_code.rb +4 -221
- data/lib/nordlet/account/types/companies_create_account_request_fiscal_year_week_rule.rb +14 -0
- data/lib/nordlet/account/types/companies_profile_account_response.rb +11 -1
- data/lib/nordlet/account/types/companies_profile_account_response_address.rb +2 -0
- data/lib/nordlet/account/types/companies_profile_account_response_fiscal_year_week_rule.rb +14 -0
- data/lib/nordlet/account/types/companies_update_account_request.rb +10 -0
- data/lib/nordlet/account/types/companies_update_account_request_address.rb +2 -0
- data/lib/nordlet/account/types/companies_update_account_request_fiscal_year_week_rule.rb +14 -0
- data/lib/nordlet/account/types/companies_update_account_response.rb +11 -1
- data/lib/nordlet/account/types/companies_update_account_response_address.rb +2 -0
- data/lib/nordlet/account/types/companies_update_account_response_fiscal_year_week_rule.rb +14 -0
- data/lib/nordlet/agreements/client.rb +3 -1
- data/lib/nordlet/assets/client.rb +9 -2
- data/lib/nordlet/assets/types/assets_create_assets_response.rb +2 -0
- data/lib/nordlet/assets/types/assets_dispose_assets_request.rb +2 -0
- data/lib/nordlet/assets/types/assets_dispose_assets_response.rb +2 -0
- data/lib/nordlet/assets/types/assets_get_assets_response.rb +2 -0
- data/lib/nordlet/assets/types/assets_input_vat_assets_response.rb +2 -0
- data/lib/nordlet/assets/types/assets_list_assets_response_rows_item.rb +2 -0
- data/lib/nordlet/assets/types/assets_modernize_assets_response.rb +2 -0
- data/lib/nordlet/assets/types/assets_update_assets_response.rb +2 -0
- data/lib/nordlet/audit/client.rb +3 -2
- data/lib/nordlet/bank/client.rb +127 -47
- data/lib/nordlet/bank/types/accounts_create_bank_request.rb +6 -0
- data/lib/nordlet/bank/types/accounts_create_bank_request_payment_file_settings.rb +27 -0
- data/lib/nordlet/bank/types/accounts_create_bank_response.rb +6 -0
- data/lib/nordlet/bank/types/accounts_create_bank_response_payment_file_settings.rb +25 -0
- data/lib/nordlet/bank/types/accounts_list_bank_response_rows_item.rb +6 -0
- data/lib/nordlet/bank/types/accounts_list_bank_response_rows_item_payment_file_settings.rb +25 -0
- data/lib/nordlet/bank/types/accounts_update_bank_request.rb +6 -0
- data/lib/nordlet/bank/types/accounts_update_bank_request_payment_file_settings.rb +27 -0
- data/lib/nordlet/bank/types/accounts_update_bank_response.rb +6 -0
- data/lib/nordlet/bank/types/accounts_update_bank_response_payment_file_settings.rb +25 -0
- data/lib/nordlet/bank/types/direct_debits_export_bank_response.rb +7 -1
- data/lib/nordlet/bank/types/direct_debits_export_bank_response_format.rb +16 -0
- data/lib/nordlet/bank/types/mandates_auddis_export_bank_request.rb +15 -0
- data/lib/nordlet/bank/types/mandates_auddis_export_bank_response.rb +29 -0
- data/lib/nordlet/bank/types/mandates_auddis_export_bank_response_format.rb +16 -0
- data/lib/nordlet/bank/types/mandates_cancel_bank_response.rb +12 -2
- data/lib/nordlet/bank/types/mandates_cancel_bank_response_account_type.rb +14 -0
- data/lib/nordlet/bank/types/mandates_cancel_bank_response_scheme.rb +3 -0
- data/lib/nordlet/bank/types/mandates_create_bank_request.rb +7 -1
- data/lib/nordlet/bank/types/mandates_create_bank_request_account_type.rb +14 -0
- data/lib/nordlet/bank/types/mandates_create_bank_request_scheme.rb +3 -0
- data/lib/nordlet/bank/types/mandates_create_bank_response.rb +12 -2
- data/lib/nordlet/bank/types/mandates_create_bank_response_account_type.rb +14 -0
- data/lib/nordlet/bank/types/mandates_create_bank_response_scheme.rb +3 -0
- data/lib/nordlet/bank/types/mandates_get_bank_response.rb +12 -2
- data/lib/nordlet/bank/types/mandates_get_bank_response_account_type.rb +14 -0
- data/lib/nordlet/bank/types/mandates_get_bank_response_scheme.rb +3 -0
- data/lib/nordlet/bank/types/mandates_list_bank_response_rows_item.rb +12 -2
- data/lib/nordlet/bank/types/mandates_list_bank_response_rows_item_account_type.rb +14 -0
- data/lib/nordlet/bank/types/mandates_list_bank_response_rows_item_scheme.rb +3 -0
- data/lib/nordlet/bank/types/mandates_update_bank_response.rb +12 -2
- data/lib/nordlet/bank/types/mandates_update_bank_response_account_type.rb +14 -0
- data/lib/nordlet/bank/types/mandates_update_bank_response_scheme.rb +3 -0
- data/lib/nordlet/bank/types/payments_export_bank_response.rb +5 -1
- data/lib/nordlet/bank/types/payments_export_bank_response_format.rb +16 -0
- data/lib/nordlet/bank/types/transactions_match_bank_request_document_type.rb +1 -0
- data/lib/nordlet/calendar/client.rb +7 -1
- data/lib/nordlet/calendar/types/create_calendar_response.rb +2 -0
- data/lib/nordlet/calendar/types/create_calendar_response_correction.rb +17 -0
- data/lib/nordlet/calendar/types/create_calendar_response_correction_optional_item.rb +16 -0
- data/lib/nordlet/calendar/types/create_calendar_response_correction_reason_codes_item.rb +13 -0
- data/lib/nordlet/calendar/types/create_calendar_response_correction_required_item.rb +16 -0
- data/lib/nordlet/calendar/types/create_calendar_response_submission.rb +4 -0
- data/lib/nordlet/calendar/types/create_calendar_response_submission_correction_input.rb +17 -0
- data/lib/nordlet/calendar/types/create_calendar_response_submissions_item.rb +4 -0
- data/lib/nordlet/calendar/types/create_calendar_response_submissions_item_correction_input.rb +17 -0
- data/lib/nordlet/calendar/types/get_calendar_response.rb +2 -0
- data/lib/nordlet/calendar/types/get_calendar_response_correction.rb +17 -0
- data/lib/nordlet/calendar/types/get_calendar_response_correction_optional_item.rb +16 -0
- data/lib/nordlet/calendar/types/get_calendar_response_correction_reason_codes_item.rb +13 -0
- data/lib/nordlet/calendar/types/get_calendar_response_correction_required_item.rb +16 -0
- data/lib/nordlet/calendar/types/get_calendar_response_submission.rb +4 -0
- data/lib/nordlet/calendar/types/get_calendar_response_submission_correction_input.rb +17 -0
- data/lib/nordlet/calendar/types/get_calendar_response_submissions_item.rb +4 -0
- data/lib/nordlet/calendar/types/get_calendar_response_submissions_item_correction_input.rb +17 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item.rb +2 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_correction.rb +17 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_correction_optional_item.rb +16 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_correction_reason_codes_item.rb +13 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_correction_required_item.rb +16 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_submission.rb +4 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_submission_correction_input.rb +17 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_submissions_item.rb +4 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_submissions_item_correction_input.rb +17 -0
- data/lib/nordlet/calendar/types/submit_calendar_request.rb +6 -0
- data/lib/nordlet/calendar/types/submit_calendar_request_correction.rb +17 -0
- data/lib/nordlet/calendar/types/submit_calendar_request_device.rb +22 -0
- data/lib/nordlet/calendar/types/submit_calendar_request_device_screens_item.rb +17 -0
- data/lib/nordlet/calendar/types/submit_calendar_request_device_window_size.rb +13 -0
- data/lib/nordlet/calendar/types/submit_calendar_response.rb +4 -0
- data/lib/nordlet/calendar/types/submit_calendar_response_correction_input.rb +17 -0
- data/lib/nordlet/calendar/types/update_calendar_response.rb +2 -0
- data/lib/nordlet/calendar/types/update_calendar_response_correction.rb +17 -0
- data/lib/nordlet/calendar/types/update_calendar_response_correction_optional_item.rb +16 -0
- data/lib/nordlet/calendar/types/update_calendar_response_correction_reason_codes_item.rb +13 -0
- data/lib/nordlet/calendar/types/update_calendar_response_correction_required_item.rb +16 -0
- data/lib/nordlet/calendar/types/update_calendar_response_submission.rb +4 -0
- data/lib/nordlet/calendar/types/update_calendar_response_submission_correction_input.rb +17 -0
- data/lib/nordlet/calendar/types/update_calendar_response_submissions_item.rb +4 -0
- data/lib/nordlet/calendar/types/update_calendar_response_submissions_item_correction_input.rb +17 -0
- data/lib/nordlet/cash/client.rb +7 -5
- data/lib/nordlet/catalog/client.rb +7 -5
- data/lib/nordlet/client.rb +5 -0
- data/lib/nordlet/declarations/client.rb +881 -89
- data/lib/nordlet/declarations/types/configs_list_declarations_response_rows_item_fields_item.rb +1 -1
- data/lib/nordlet/declarations/types/configs_update_declarations_response_fields_item.rb +1 -1
- data/lib/nordlet/declarations/types/gb_corporation_tax_compute_declarations_request.rb +21 -0
- data/lib/nordlet/declarations/types/gb_corporation_tax_compute_declarations_response.rb +29 -0
- data/lib/nordlet/declarations/types/gb_corporation_tax_compute_declarations_response_parts_item.rb +33 -0
- data/lib/nordlet/declarations/types/gb_corporation_tax_compute_declarations_response_parts_item_rate.rb +15 -0
- data/lib/nordlet/declarations/types/gb_hmrc_authorize_url_get_declarations_request.rb +9 -0
- data/lib/nordlet/declarations/types/gb_hmrc_authorize_url_get_declarations_response.rb +11 -0
- data/lib/nordlet/declarations/types/gb_hmrc_connect_declarations_request.rb +13 -0
- data/lib/nordlet/declarations/types/gb_hmrc_connect_declarations_response.rb +11 -0
- data/lib/nordlet/declarations/types/gb_vat_liabilities_list_declarations_request.rb +15 -0
- data/lib/nordlet/declarations/types/gb_vat_liabilities_list_declarations_request_device.rb +22 -0
- data/lib/nordlet/declarations/types/gb_vat_liabilities_list_declarations_request_device_screens_item.rb +17 -0
- data/lib/nordlet/declarations/types/gb_vat_liabilities_list_declarations_request_device_window_size.rb +13 -0
- data/lib/nordlet/declarations/types/gb_vat_liabilities_list_declarations_response.rb +11 -0
- data/lib/nordlet/declarations/types/gb_vat_liabilities_list_declarations_response_liabilities_item.rb +19 -0
- data/lib/nordlet/declarations/types/gb_vat_liabilities_list_declarations_response_liabilities_item_tax_period.rb +13 -0
- data/lib/nordlet/declarations/types/gb_vat_obligations_list_declarations_request.rb +17 -0
- data/lib/nordlet/declarations/types/gb_vat_obligations_list_declarations_request_device.rb +22 -0
- data/lib/nordlet/declarations/types/gb_vat_obligations_list_declarations_request_device_screens_item.rb +17 -0
- data/lib/nordlet/declarations/types/gb_vat_obligations_list_declarations_request_device_window_size.rb +13 -0
- data/lib/nordlet/declarations/types/{configs_update_declarations_response_fields_item_company_field.rb → gb_vat_obligations_list_declarations_request_status.rb} +3 -3
- data/lib/nordlet/declarations/types/gb_vat_obligations_list_declarations_response.rb +11 -0
- data/lib/nordlet/declarations/types/gb_vat_obligations_list_declarations_response_obligations_item.rb +21 -0
- data/lib/nordlet/declarations/types/{configs_list_declarations_response_rows_item_fields_item_company_field.rb → gb_vat_obligations_list_declarations_response_obligations_item_status.rb} +3 -3
- data/lib/nordlet/declarations/types/gb_vat_payments_list_declarations_request.rb +15 -0
- data/lib/nordlet/declarations/types/gb_vat_payments_list_declarations_request_device.rb +22 -0
- data/lib/nordlet/declarations/types/gb_vat_payments_list_declarations_request_device_screens_item.rb +17 -0
- data/lib/nordlet/declarations/types/gb_vat_payments_list_declarations_request_device_window_size.rb +13 -0
- data/lib/nordlet/declarations/types/gb_vat_payments_list_declarations_response.rb +11 -0
- data/lib/nordlet/declarations/types/gb_vat_payments_list_declarations_response_payments_item.rb +13 -0
- data/lib/nordlet/declarations/types/gb_vat_penalties_get_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/gb_vat_penalties_get_declarations_request_device.rb +22 -0
- data/lib/nordlet/declarations/types/gb_vat_penalties_get_declarations_request_device_screens_item.rb +17 -0
- data/lib/nordlet/declarations/types/gb_vat_penalties_get_declarations_request_device_window_size.rb +13 -0
- data/lib/nordlet/declarations/types/gb_vat_returns_get_declarations_request.rb +13 -0
- data/lib/nordlet/declarations/types/gb_vat_returns_get_declarations_request_device.rb +22 -0
- data/lib/nordlet/declarations/types/gb_vat_returns_get_declarations_request_device_screens_item.rb +17 -0
- data/lib/nordlet/declarations/types/gb_vat_returns_get_declarations_request_device_window_size.rb +13 -0
- data/lib/nordlet/declarations/types/gb_vat_returns_get_declarations_response.rb +29 -0
- data/lib/nordlet/declarations/types/submissions_confirm_declarations_response.rb +4 -0
- data/lib/nordlet/declarations/types/submissions_confirm_declarations_response_correction_input.rb +17 -0
- data/lib/nordlet/declarations/types/submissions_correction_preview_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/submissions_correction_preview_declarations_response.rb +15 -0
- data/lib/nordlet/declarations/types/submissions_correction_preview_declarations_response_changes_item.rb +17 -0
- data/lib/nordlet/declarations/types/submissions_create_declarations_response.rb +4 -0
- data/lib/nordlet/declarations/types/submissions_create_declarations_response_correction_input.rb +17 -0
- data/lib/nordlet/declarations/types/submissions_list_declarations_response_rows_item.rb +8 -0
- data/lib/nordlet/declarations/types/submissions_list_declarations_response_rows_item_correction.rb +17 -0
- data/lib/nordlet/declarations/types/submissions_list_declarations_response_rows_item_correction_input.rb +17 -0
- data/lib/nordlet/declarations/types/submissions_list_declarations_response_rows_item_correction_optional_item.rb +16 -0
- data/lib/nordlet/declarations/types/submissions_list_declarations_response_rows_item_correction_reason_codes_item.rb +13 -0
- data/lib/nordlet/declarations/types/submissions_list_declarations_response_rows_item_correction_required_item.rb +16 -0
- data/lib/nordlet/declarations/types/submissions_mark_declarations_response.rb +4 -0
- data/lib/nordlet/declarations/types/submissions_mark_declarations_response_correction_input.rb +17 -0
- data/lib/nordlet/declarations/types/submissions_retry_declarations_response.rb +4 -0
- data/lib/nordlet/declarations/types/submissions_retry_declarations_response_correction_input.rb +17 -0
- data/lib/nordlet/declarations/types/us940get_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/us940get_declarations_response.rb +31 -0
- data/lib/nordlet/declarations/types/us940get_declarations_response_part5.rb +13 -0
- data/lib/nordlet/declarations/types/us941get_declarations_request.rb +15 -0
- data/lib/nordlet/declarations/types/us941get_declarations_response.rb +47 -0
- data/lib/nordlet/declarations/types/us941get_declarations_response_line16.rb +13 -0
- data/lib/nordlet/declarations/types/us941get_declarations_response_line16months_item.rb +13 -0
- data/lib/nordlet/declarations/types/us941get_declarations_response_line5a.rb +13 -0
- data/lib/nordlet/declarations/types/us941get_declarations_response_line5c.rb +13 -0
- data/lib/nordlet/declarations/types/us941get_declarations_response_line5d.rb +13 -0
- data/lib/nordlet/declarations/types/us941get_declarations_response_schedule_b_item.rb +13 -0
- data/lib/nordlet/declarations/types/us_de_franchise_tax_compute_declarations_request.rb +17 -0
- data/lib/nordlet/declarations/types/us_de_franchise_tax_compute_declarations_request_authorized_shares_item.rb +13 -0
- data/lib/nordlet/declarations/types/us_de_franchise_tax_compute_declarations_response.rb +27 -0
- data/lib/nordlet/declarations/types/us_de_franchise_tax_compute_declarations_response_method.rb +15 -0
- data/lib/nordlet/declarations/types/us_de_gross_receipts_get_declarations_request.rb +15 -0
- data/lib/nordlet/declarations/types/us_de_gross_receipts_get_declarations_request_activity.rb +24 -0
- data/lib/nordlet/declarations/types/us_de_gross_receipts_get_declarations_response.rb +29 -0
- data/lib/nordlet/declarations/types/us_de_unemployment_get_declarations_request.rb +13 -0
- data/lib/nordlet/declarations/types/us_de_unemployment_get_declarations_response.rb +23 -0
- data/lib/nordlet/declarations/types/us_de_unemployment_get_declarations_response_employees_item.rb +19 -0
- data/lib/nordlet/declarations/types/us_de_withholding_get_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/us_de_withholding_get_declarations_response.rb +19 -0
- data/lib/nordlet/declarations/types/us_state_sales_get_declarations_request.rb +13 -0
- data/lib/nordlet/declarations/types/us_state_sales_get_declarations_response.rb +21 -0
- data/lib/nordlet/declarations/types/us_state_sales_get_declarations_response_outside_us.rb +13 -0
- data/lib/nordlet/declarations/types/us_state_sales_get_declarations_response_states_item.rb +15 -0
- data/lib/nordlet/declarations/types/us_state_sales_get_declarations_response_without_state.rb +13 -0
- data/lib/nordlet/declarations/types/us_w2list_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/us_w2list_declarations_response.rb +15 -0
- data/lib/nordlet/declarations/types/us_w2list_declarations_response_forms_item.rb +29 -0
- data/lib/nordlet/declarations/types/us_w2list_declarations_response_forms_item_box_e.rb +13 -0
- data/lib/nordlet/declarations/types/us_w2list_declarations_response_forms_item_states_item.rb +15 -0
- data/lib/nordlet/declarations/types/us_w2list_declarations_response_forms_item_states_item_box15.rb +13 -0
- data/lib/nordlet/declarations/types/us_w2list_declarations_response_w3.rb +31 -0
- data/lib/nordlet/declarations/types/us_workweeks_list_declarations_request.rb +15 -0
- data/lib/nordlet/declarations/types/us_workweeks_list_declarations_response.rb +17 -0
- data/lib/nordlet/declarations/types/us_workweeks_list_declarations_response_employees_item.rb +21 -0
- data/lib/nordlet/declarations/types/us_workweeks_list_declarations_response_employees_item_weeks_item.rb +19 -0
- data/lib/nordlet/declarations/types/us_workweeks_list_declarations_response_employees_item_weeks_item_days_item.rb +13 -0
- data/lib/nordlet/declarations/types/vat_prorata_get_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/vat_prorata_get_declarations_response.rb +13 -0
- data/lib/nordlet/declarations/types/vat_prorata_list_declarations_request.rb +9 -0
- data/lib/nordlet/declarations/types/vat_prorata_list_declarations_response.rb +11 -0
- data/lib/nordlet/declarations/types/vat_prorata_list_declarations_response_rows_item.rb +13 -0
- data/lib/nordlet/declarations/types/vat_prorata_set_declarations_request.rb +13 -0
- data/lib/nordlet/declarations/types/vat_prorata_set_declarations_response.rb +13 -0
- data/lib/nordlet/document_series/client.rb +2 -1
- data/lib/nordlet/files/client.rb +2 -2
- data/lib/nordlet/fleet/client.rb +3 -1
- data/lib/nordlet/hr/client.rb +15 -10
- data/lib/nordlet/hr/types/contracts_create_hr_request.rb +2 -0
- data/lib/nordlet/hr/types/contracts_create_hr_request_pay_frequency.rb +17 -0
- data/lib/nordlet/hr/types/contracts_create_hr_response.rb +2 -0
- data/lib/nordlet/hr/types/contracts_create_hr_response_pay_frequency.rb +17 -0
- data/lib/nordlet/hr/types/contracts_end_hr_response.rb +2 -0
- data/lib/nordlet/hr/types/contracts_end_hr_response_pay_frequency.rb +17 -0
- data/lib/nordlet/hr/types/contracts_list_hr_response_rows_item.rb +2 -0
- data/lib/nordlet/hr/types/contracts_list_hr_response_rows_item_pay_frequency.rb +17 -0
- data/lib/nordlet/hr/types/employees_anonymize_hr_response.rb +6 -0
- data/lib/nordlet/hr/types/employees_anonymize_hr_response_address.rb +2 -0
- data/lib/nordlet/hr/types/employees_anonymize_hr_response_bank_account_type.rb +14 -0
- data/lib/nordlet/hr/types/employees_create_hr_request.rb +6 -0
- data/lib/nordlet/hr/types/employees_create_hr_request_address.rb +2 -0
- data/lib/nordlet/hr/types/employees_create_hr_request_bank_account_type.rb +14 -0
- data/lib/nordlet/hr/types/employees_create_hr_response.rb +6 -0
- data/lib/nordlet/hr/types/employees_create_hr_response_address.rb +2 -0
- data/lib/nordlet/hr/types/employees_create_hr_response_bank_account_type.rb +14 -0
- data/lib/nordlet/hr/types/employees_get_hr_response.rb +6 -0
- data/lib/nordlet/hr/types/employees_get_hr_response_address.rb +2 -0
- data/lib/nordlet/hr/types/employees_get_hr_response_bank_account_type.rb +14 -0
- data/lib/nordlet/hr/types/employees_list_hr_response_rows_item.rb +6 -0
- data/lib/nordlet/hr/types/employees_list_hr_response_rows_item_address.rb +2 -0
- data/lib/nordlet/hr/types/employees_list_hr_response_rows_item_bank_account_type.rb +14 -0
- data/lib/nordlet/hr/types/employees_update_hr_request.rb +6 -0
- data/lib/nordlet/hr/types/employees_update_hr_request_address.rb +2 -0
- data/lib/nordlet/hr/types/employees_update_hr_request_bank_account_type.rb +14 -0
- data/lib/nordlet/hr/types/employees_update_hr_response.rb +6 -0
- data/lib/nordlet/hr/types/employees_update_hr_response_address.rb +2 -0
- data/lib/nordlet/hr/types/employees_update_hr_response_bank_account_type.rb +14 -0
- data/lib/nordlet/inventory/client.rb +14 -6
- data/lib/nordlet/inventory/types/stock_receive_inventory_request.rb +2 -0
- data/lib/nordlet/inventory/types/stock_receive_inventory_response.rb +4 -0
- data/lib/nordlet/inventory/types/stock_receive_inventory_response_warnings_item.rb +15 -0
- data/lib/nordlet/leads/client.rb +2 -1
- data/lib/nordlet/ledger/client.rb +176 -11
- data/lib/nordlet/ledger/types/accruals_create_ledger_request.rb +15 -0
- data/lib/nordlet/ledger/types/accruals_create_ledger_request_lines_item.rb +19 -0
- data/lib/nordlet/ledger/types/accruals_create_ledger_response.rb +17 -0
- data/lib/nordlet/ledger/types/fx_revaluation_reverse_ledger_request.rb +13 -0
- data/lib/nordlet/ledger/types/fx_revaluation_reverse_ledger_response.rb +13 -0
- data/lib/nordlet/ledger/types/fx_revaluation_run_ledger_request.rb +11 -0
- data/lib/nordlet/ledger/types/fx_revaluation_run_ledger_response.rb +25 -0
- data/lib/nordlet/ledger/types/fx_revaluation_run_ledger_response_lines_item.rb +19 -0
- data/lib/nordlet/ledger/types/fx_revaluation_run_ledger_response_lines_item_kind.rb +15 -0
- data/lib/nordlet/ledger/types/journal_transactions_create_ledger_request_entries_item.rb +2 -0
- data/lib/nordlet/ledger/types/journal_transactions_get_ledger_response_entries_item.rb +2 -0
- data/lib/nordlet/ledger/types/posting_rules_update_ledger_request_rules_item_key.rb +5 -0
- data/lib/nordlet/ledger/types/tax_provision_post_ledger_request.rb +13 -0
- data/lib/nordlet/ledger/types/tax_provision_post_ledger_response.rb +17 -0
- data/lib/nordlet/migration/client.rb +5 -1
- data/lib/nordlet/operation_types/client.rb +4 -1
- data/lib/nordlet/partners/client.rb +68 -20
- data/lib/nordlet/partners/types/bank_accounts_create_partners_request.rb +7 -1
- data/lib/nordlet/partners/types/bank_accounts_create_partners_request_account_type.rb +14 -0
- data/lib/nordlet/partners/types/bank_accounts_create_partners_response.rb +7 -1
- data/lib/nordlet/partners/types/bank_accounts_create_partners_response_account_type.rb +14 -0
- data/lib/nordlet/partners/types/bank_accounts_list_partners_response_rows_item.rb +7 -1
- data/lib/nordlet/partners/types/bank_accounts_list_partners_response_rows_item_account_type.rb +14 -0
- data/lib/nordlet/partners/types/bank_accounts_update_partners_request.rb +6 -0
- data/lib/nordlet/partners/types/bank_accounts_update_partners_request_account_type.rb +14 -0
- data/lib/nordlet/partners/types/bank_accounts_update_partners_response.rb +7 -1
- data/lib/nordlet/partners/types/bank_accounts_update_partners_response_account_type.rb +14 -0
- data/lib/nordlet/partners/types/companies_house_get_partners_request.rb +11 -0
- data/lib/nordlet/partners/types/companies_house_get_partners_response.rb +33 -0
- data/lib/nordlet/partners/types/companies_house_get_partners_response_accounting_reference_date.rb +13 -0
- data/lib/nordlet/partners/types/companies_house_get_partners_response_address.rb +21 -0
- data/lib/nordlet/partners/types/companies_house_get_partners_response_address_country_code.rb +13 -0
- data/lib/nordlet/partners/types/create_partners_request.rb +2 -0
- data/lib/nordlet/partners/types/create_partners_request_address.rb +2 -0
- data/lib/nordlet/partners/types/create_partners_request_correspondence_address.rb +2 -0
- data/lib/nordlet/partners/types/create_partners_response.rb +2 -0
- data/lib/nordlet/partners/types/create_partners_response_address.rb +2 -0
- data/lib/nordlet/partners/types/create_partners_response_correspondence_address.rb +2 -0
- data/lib/nordlet/partners/types/find_or_create_partners_request.rb +4 -0
- data/lib/nordlet/partners/types/find_or_create_partners_request_address.rb +2 -0
- data/lib/nordlet/partners/types/find_or_create_partners_request_correspondence_address.rb +2 -0
- data/lib/nordlet/partners/types/find_or_create_partners_response_partner.rb +2 -0
- data/lib/nordlet/partners/types/find_or_create_partners_response_partner_address.rb +2 -0
- data/lib/nordlet/partners/types/find_or_create_partners_response_partner_correspondence_address.rb +2 -0
- data/lib/nordlet/partners/types/get_partners_response.rb +2 -0
- data/lib/nordlet/partners/types/get_partners_response_address.rb +2 -0
- data/lib/nordlet/partners/types/get_partners_response_correspondence_address.rb +2 -0
- data/lib/nordlet/partners/types/list_partners_response_rows_item.rb +2 -0
- data/lib/nordlet/partners/types/list_partners_response_rows_item_address.rb +2 -0
- data/lib/nordlet/partners/types/list_partners_response_rows_item_correspondence_address.rb +2 -0
- data/lib/nordlet/partners/types/update_partners_request.rb +2 -0
- data/lib/nordlet/partners/types/update_partners_request_address.rb +2 -0
- data/lib/nordlet/partners/types/update_partners_request_correspondence_address.rb +2 -0
- data/lib/nordlet/partners/types/update_partners_response.rb +2 -0
- data/lib/nordlet/partners/types/update_partners_response_address.rb +2 -0
- data/lib/nordlet/partners/types/update_partners_response_correspondence_address.rb +2 -0
- data/lib/nordlet/payroll/client.rb +93 -33
- data/lib/nordlet/payroll/types/frequencies_list_payroll_request.rb +9 -0
- data/lib/nordlet/payroll/types/frequencies_list_payroll_response.rb +13 -0
- data/lib/nordlet/payroll/types/frequencies_list_payroll_response_frequencies_item.rb +17 -0
- data/lib/nordlet/payroll/types/payments_export_payroll_response.rb +5 -1
- data/lib/nordlet/payroll/types/payments_export_payroll_response_format.rb +16 -0
- data/lib/nordlet/payroll/types/runs_approve_payroll_request.rb +2 -2
- data/lib/nordlet/payroll/types/runs_approve_payroll_response.rb +10 -0
- data/lib/nordlet/payroll/types/runs_approve_payroll_response_frequency.rb +17 -0
- data/lib/nordlet/payroll/types/runs_create_payroll_request.rb +6 -2
- data/lib/nordlet/payroll/types/runs_create_payroll_request_frequency.rb +17 -0
- data/lib/nordlet/payroll/types/runs_create_payroll_response.rb +10 -0
- data/lib/nordlet/payroll/types/runs_create_payroll_response_frequency.rb +17 -0
- data/lib/nordlet/payroll/types/runs_get_payroll_response.rb +10 -0
- data/lib/nordlet/payroll/types/runs_get_payroll_response_frequency.rb +17 -0
- data/lib/nordlet/payroll/types/runs_list_payroll_response_rows_item.rb +10 -0
- data/lib/nordlet/payroll/types/runs_list_payroll_response_rows_item_frequency.rb +17 -0
- data/lib/nordlet/payroll/types/runs_reverse_payroll_response.rb +10 -0
- data/lib/nordlet/payroll/types/runs_reverse_payroll_response_frequency.rb +17 -0
- data/lib/nordlet/platform_sellers/client.rb +3 -1
- data/lib/nordlet/production/client.rb +4 -2
- data/lib/nordlet/projects/client.rb +3 -2
- data/lib/nordlet/public/types/invoices_get_public_response_status.rb +1 -0
- data/lib/nordlet/purchases/client.rb +20 -12
- data/lib/nordlet/purchases/types/invoices_create_purchases_response_warnings_item.rb +2 -0
- data/lib/nordlet/purchases/types/invoices_register_purchases_response_warnings_item.rb +2 -0
- data/lib/nordlet/reference/client.rb +18 -9
- data/lib/nordlet/reference/types/exchange_rates_list_reference_response_rows_item.rb +2 -0
- data/lib/nordlet/reference/types/exchange_rates_sync_reference_response.rb +2 -0
- data/lib/nordlet/reference/types/vat_classifiers_list_reference_response_rows_item_scheme.rb +1 -0
- data/lib/nordlet/reference/types/vat_resolve_reference_response_scheme.rb +1 -0
- data/lib/nordlet/review/client.rb +55 -0
- data/lib/nordlet/review/types/queue_list_review_request.rb +9 -0
- data/lib/nordlet/review/types/queue_list_review_response.rb +13 -0
- data/lib/nordlet/review/types/queue_list_review_response_items_item.rb +19 -0
- data/lib/nordlet/review/types/queue_list_review_response_items_item_kind.rb +16 -0
- data/lib/nordlet/sales/client.rb +65 -17
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_apply_advance_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_apply_advance_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_apply_advance_sales_response_status.rb +1 -0
- data/lib/nordlet/sales/types/invoices_apply_advance_sales_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_create_sales_request_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_create_sales_request_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_create_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_create_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_create_sales_response_status.rb +1 -0
- data/lib/nordlet/sales/types/invoices_create_sales_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_create_sales_response_warnings_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_get_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_get_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_get_sales_response_status.rb +1 -0
- data/lib/nordlet/sales/types/invoices_get_sales_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response_status.rb +1 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response_warnings_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_list_sales_response_rows_item.rb +6 -0
- data/lib/nordlet/sales/types/invoices_list_sales_response_rows_item_status.rb +1 -0
- data/lib/nordlet/sales/types/invoices_list_sales_response_rows_item_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_lock_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_lock_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_lock_sales_response_status.rb +1 -0
- data/lib/nordlet/sales/types/invoices_lock_sales_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_request.rb +13 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response.rb +149 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_lines_item.rb +61 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_lines_item_recognition_method.rb +16 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_lines_item_recognition_milestones_item.rb +15 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_payment_status.rb +15 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_status.rb +15 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_type.rb +16 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_vat_evidence.rb +25 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_vat_evidence_location.rb +13 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_vat_evidence_partner.rb +17 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_vat_evidence_rate_table.rb +17 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_vat_evidence_rates_item.rb +15 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_vat_evidence_scheme.rb +15 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_vat_evidence_vies.rb +23 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_vat_scheme.rb +22 -0
- data/lib/nordlet/sales/types/invoices_unlock_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_unlock_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_unlock_sales_response_status.rb +1 -0
- data/lib/nordlet/sales/types/invoices_unlock_sales_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_update_sales_request_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_update_sales_request_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_update_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_update_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_update_sales_response_status.rb +1 -0
- data/lib/nordlet/sales/types/invoices_update_sales_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_view_sales_response_status.rb +1 -0
- data/lib/nordlet/transport/client.rb +2 -1
- data/lib/nordlet/version.rb +1 -1
- data/lib/nordlet/webhooks/types/subscriptions_create_webhooks_request_events_item.rb +3 -0
- data/lib/nordlet/webhooks/types/subscriptions_update_webhooks_request_events_item.rb +3 -0
- data/lib/nordlet.rb +229 -2
- data/reference.md +3694 -1090
- metadata +231 -4
data/lib/nordlet/bank/client.rb
CHANGED
|
@@ -11,9 +11,10 @@ module Nordlet
|
|
|
11
11
|
end
|
|
12
12
|
|
|
13
13
|
# Create a bank, Stripe or broker account. `currency` defaults to the company base currency and `accountCode` to
|
|
14
|
-
# the default bank account of the chart of accounts.
|
|
15
|
-
#
|
|
16
|
-
#
|
|
14
|
+
# the default bank account of the chart of accounts. Where the country has no IBAN the account is identified by
|
|
15
|
+
# `bankCode` (sort code, routing number) and `bankAccountNumber`, stored without spaces and hyphens. A
|
|
16
|
+
# `documentRef` also creates a bank agreement with that document attached. A Stripe account with an `iban` or an
|
|
17
|
+
# account number is refused with 422; an account with the same IBAN already existing answers 409.
|
|
17
18
|
#
|
|
18
19
|
# @param request_options [Hash]
|
|
19
20
|
# @param params [Nordlet::Bank::Types::AccountsCreateBankRequest]
|
|
@@ -82,8 +83,9 @@ module Nordlet
|
|
|
82
83
|
end
|
|
83
84
|
end
|
|
84
85
|
|
|
85
|
-
# Change the name, type, IBAN,
|
|
86
|
-
# the
|
|
86
|
+
# Change the name, type, IBAN, bank code and account number, payment file settings (`paymentFileSettings` replaces
|
|
87
|
+
# the stored settings as a whole), ledger account code or active flag of a bank account. Setting type to stripe
|
|
88
|
+
# clears the IBAN and the account number, and sending an `iban` together with it is refused with 422.
|
|
87
89
|
#
|
|
88
90
|
# @param request_options [Hash]
|
|
89
91
|
# @param params [Nordlet::Bank::Types::AccountsUpdateBankRequest]
|
|
@@ -205,9 +207,10 @@ module Nordlet
|
|
|
205
207
|
end
|
|
206
208
|
|
|
207
209
|
# List the bank transactions of the company. Filterable by id, bankAccountId, status, matchedDocumentId, date,
|
|
208
|
-
# amount, counterpartyIban, counterpartyName, partnerId and externalId; sortable by date, createdAt
|
|
209
|
-
#
|
|
210
|
-
#
|
|
210
|
+
# amount, counterpartyIban, counterpartyName, partnerId and externalId; sortable by date, createdAt, amount,
|
|
211
|
+
# bankAccountName (the name of the bank account), partnerName (the name of the partner, else the counterparty
|
|
212
|
+
# name), description and status. `counterpartyName` is the name as the bank wrote it; `partnerId` and
|
|
213
|
+
# `partnerName` are the partner the line belongs to.
|
|
211
214
|
#
|
|
212
215
|
# @param request_options [Hash]
|
|
213
216
|
# @param params [Nordlet::Bank::Types::TransactionsListBankRequest]
|
|
@@ -242,24 +245,27 @@ module Nordlet
|
|
|
242
245
|
end
|
|
243
246
|
|
|
244
247
|
# Match one new bank transaction to a document: an issued sale invoice or advance for incoming money; an issued
|
|
245
|
-
# sale credit note, a registered purchase invoice
|
|
246
|
-
#
|
|
248
|
+
# sale credit note, a registered purchase invoice, an approved payroll run or an expense report (the last two in
|
|
249
|
+
# company currency only) for outgoing money. An expense report is paid to the employee by debiting the cash
|
|
250
|
+
# advances account (`cash.advances`) against the bank account, which settles the employee's advance balance in
|
|
251
|
+
# `cash/advance-holders/balances`; a report already paid in full or a payment above its remaining amount answers
|
|
252
|
+
# 409. Posts the payment journal transaction between the bank account and the receivable or payable account the
|
|
247
253
|
# invoice was posted to (the account of its operation type, else the posting rule) or the net payable account,
|
|
248
254
|
# with any exchange difference on the gain or loss account, raises the paid amount of the document and sets the
|
|
249
255
|
# line to matched. A payment in another currency is converted into the invoice currency at the rate of the line
|
|
250
256
|
# date, and the difference against the invoice's own rate is the exchange difference; `invoiceAmount` states the
|
|
251
257
|
# amount settled instead; in the same currency it must equal the payment (422). `remainder` settles a payment that
|
|
252
258
|
# differs from the remaining balance of a sale or purchase invoice in its own currency: `advance` books an
|
|
253
|
-
# overpayment beyond the balance to the advances-received posting rule (customer payments) or
|
|
254
|
-
#
|
|
255
|
-
# over- or underpayment to `remainder.accountCode`, else to the
|
|
256
|
-
# customer underpayment, a supplier overpayment, a credit note refund
|
|
257
|
-
# `bank.paymentDifferenceGain` rule (a supplier underpayment, a customer overpayment, a
|
|
258
|
-
# its balance), and settles the invoice in full; `leave_open` settles an underpayment as
|
|
259
|
-
# leaves the rest open. Answers 409 when the line is already matched or ignored, when the
|
|
260
|
-
# beyond one cent of the payment) exceeds the remaining balance of the document and no
|
|
261
|
-
# when the accounting period of the line date is locked. A document that becomes fully
|
|
262
|
-
# `sale_invoice.paid` or `purchase_invoice.paid`.
|
|
259
|
+
# overpayment beyond the balance to the advances-received posting rule (customer payments) or, for a supplier
|
|
260
|
+
# overpayment, to the `purchases.advancesPaid` posting rule, or to `remainder.accountCode` when given, on the
|
|
261
|
+
# line's partner; `write_off` books the over- or underpayment to `remainder.accountCode`, else to the
|
|
262
|
+
# `bank.paymentDifferenceLoss` posting rule (a customer underpayment, a supplier overpayment, a credit note refund
|
|
263
|
+
# beyond its balance) or the `bank.paymentDifferenceGain` rule (a supplier underpayment, a customer overpayment, a
|
|
264
|
+
# credit note refund below its balance), and settles the invoice in full; `leave_open` settles an underpayment as
|
|
265
|
+
# a partial payment and leaves the rest open. Answers 409 when the line is already matched or ignored, when the
|
|
266
|
+
# amount (converted, beyond one cent of the payment) exceeds the remaining balance of the document and no
|
|
267
|
+
# `remainder` is given, or when the accounting period of the line date is locked. A document that becomes fully
|
|
268
|
+
# paid is announced as `sale_invoice.paid` or `purchase_invoice.paid`.
|
|
263
269
|
#
|
|
264
270
|
# @param request_options [Hash]
|
|
265
271
|
# @param params [Nordlet::Bank::Types::TransactionsMatchBankRequest]
|
|
@@ -563,11 +569,19 @@ module Nordlet
|
|
|
563
569
|
end
|
|
564
570
|
end
|
|
565
571
|
|
|
566
|
-
# Build a
|
|
567
|
-
#
|
|
568
|
-
#
|
|
569
|
-
#
|
|
570
|
-
#
|
|
572
|
+
# Build a payment file that pays the remaining amount of each registered purchase invoice from the bank account on
|
|
573
|
+
# `executionDate`, to the partner's default bank account that the format can use. The format follows the bank
|
|
574
|
+
# account: a GBP account of a UK company with a sort code and account number gets a Bacs Standard 18 Direct Credit
|
|
575
|
+
# file (needs `paymentFileSettings.serviceUserNumber`; `executionDate` is the day the money arrives, a Bacs
|
|
576
|
+
# working day whose processing day is after today, default the earliest), a USD account of a US company with a
|
|
577
|
+
# routing number and account number gets a Nacha ACH credit file (needs `paymentFileSettings.immediateOrigin` and
|
|
578
|
+
# `companyIdentification`; CCD for a business partner, PPD for a partner that is not one, see `partners/update`
|
|
579
|
+
# `isBusiness`; default `executionDate` today), and an account with an IBAN gets ISO 20022 pain.001.001.03, a SEPA
|
|
580
|
+
# credit transfer in EUR and a generic pain.001 in other currencies (default `executionDate` today). Every invoice
|
|
581
|
+
# must be in the currency of the bank account and the partner must have a bank account the format can use (IBAN;
|
|
582
|
+
# sort code and account number; routing number, account number and `accountType`), 422 otherwise, see
|
|
583
|
+
# `partners/bank-accounts/create`; an invoice that is already paid answers 409. The file is returned in `content`,
|
|
584
|
+
# with `format`, `fileName` and `contentType`; nothing is posted or marked paid.
|
|
571
585
|
#
|
|
572
586
|
# @param request_options [Hash]
|
|
573
587
|
# @param params [Nordlet::Bank::Types::PaymentsExportBankRequest]
|
|
@@ -958,10 +972,17 @@ module Nordlet
|
|
|
958
972
|
end
|
|
959
973
|
end
|
|
960
974
|
|
|
961
|
-
# Record a
|
|
962
|
-
#
|
|
963
|
-
#
|
|
964
|
-
#
|
|
975
|
+
# Record a direct debit mandate a partner has signed, with the signature date. Schemes: `CORE` and `B2B` are SEPA
|
|
976
|
+
# mandates on the debtor's IBAN (and BIC), recurrent or one-off; `BACS` is a UK Direct Debit Instruction on a
|
|
977
|
+
# 6-digit sort code (`bankCode`) and an 8-digit account number, recurrent only, lodged with AUDDIS through
|
|
978
|
+
# `bank/mandates/auddis-export` before the first collection; `PPD` (consumer) and `CCD` (business) are US ACH
|
|
979
|
+
# debit authorizations on a 9-digit routing number (`bankCode`), an account number and `accountType`. Without
|
|
980
|
+
# `scheme`, an IBAN gives `CORE`, a UK company `BACS`, and a US company `CCD` for a business partner or `PPD` for
|
|
981
|
+
# one that is not (see `partners/update` `isBusiness`). `reference` is the mandate reference written into the
|
|
982
|
+
# collection files; without one `MNDT-` followed by a generated id is used (for `BACS` `MNDT` and the start of a
|
|
983
|
+
# generated id, upper case; a Bacs reference has 6 to 18 characters of A-Z, 0-9, . & / - and space, with at least
|
|
984
|
+
# six letters or digits, not one repeated character, not starting with DDIC). `debtorName` defaults to the partner
|
|
985
|
+
# name. A reference already in use answers 409.
|
|
965
986
|
#
|
|
966
987
|
# @param request_options [Hash]
|
|
967
988
|
# @param params [Nordlet::Bank::Types::MandatesCreateBankRequest]
|
|
@@ -1029,7 +1050,8 @@ module Nordlet
|
|
|
1029
1050
|
end
|
|
1030
1051
|
end
|
|
1031
1052
|
|
|
1032
|
-
# Cancel an active mandate. A mandate that is
|
|
1053
|
+
# Cancel an active mandate. A BACS mandate that was lodged with AUDDIS is then reported cancelled by the next
|
|
1054
|
+
# `bank/mandates/auddis-export`. A mandate that is already cancelled or completed answers 409.
|
|
1033
1055
|
#
|
|
1034
1056
|
# @param request_options [Hash]
|
|
1035
1057
|
# @param params [Nordlet::Bank::Types::MandatesCancelBankRequest]
|
|
@@ -1099,7 +1121,8 @@ module Nordlet
|
|
|
1099
1121
|
end
|
|
1100
1122
|
|
|
1101
1123
|
# List the mandates of the company. Filterable by partnerId, status, scheme, reference and iban; sortable by
|
|
1102
|
-
# createdAt
|
|
1124
|
+
# createdAt, signatureDate, reference, partnerName (the name of the partner, else the debtor name), iban, scheme,
|
|
1125
|
+
# sequenceType, collectionsCount, expiresOn (the last collection date, else the signature date) and status.
|
|
1103
1126
|
#
|
|
1104
1127
|
# @param request_options [Hash]
|
|
1105
1128
|
# @param params [Nordlet::Bank::Types::MandatesListBankRequest]
|
|
@@ -1133,10 +1156,12 @@ module Nordlet
|
|
|
1133
1156
|
end
|
|
1134
1157
|
end
|
|
1135
1158
|
|
|
1136
|
-
# List the issued
|
|
1137
|
-
#
|
|
1138
|
-
#
|
|
1139
|
-
# createdAt
|
|
1159
|
+
# List the issued sale invoices that are unpaid or partly paid and whose partner holds an active mandate of a
|
|
1160
|
+
# scheme in the invoice currency (CORE and B2B for EUR, BACS for GBP, PPD and CCD for USD), each with the mandate
|
|
1161
|
+
# `bank/direct-debits/export` would use (the most recently signed active one of those schemes). Filterable by
|
|
1162
|
+
# partnerId, fullNumber, issueDate and dueDate; sortable by issueDate, dueDate, fullNumber, grossTotal, createdAt,
|
|
1163
|
+
# partnerName (the name of the partner), remaining (the gross total less the paid amount) and mandateReference
|
|
1164
|
+
# (the reference of the mandate shown).
|
|
1140
1165
|
#
|
|
1141
1166
|
# @param request_options [Hash]
|
|
1142
1167
|
# @param params [Nordlet::Bank::Types::DirectDebitsCandidatesBankRequest]
|
|
@@ -1170,14 +1195,24 @@ module Nordlet
|
|
|
1170
1195
|
end
|
|
1171
1196
|
end
|
|
1172
1197
|
|
|
1173
|
-
# Build a
|
|
1174
|
-
#
|
|
1175
|
-
#
|
|
1176
|
-
#
|
|
1177
|
-
#
|
|
1178
|
-
#
|
|
1179
|
-
#
|
|
1180
|
-
#
|
|
1198
|
+
# Build a direct debit file that collects the remaining amount of each issued sale invoice into the bank account
|
|
1199
|
+
# on `collectionDate` under the partner's most recently signed active mandate of a scheme the file carries. The
|
|
1200
|
+
# format follows the bank account: a GBP account of a UK company with a sort code and account number gets a Bacs
|
|
1201
|
+
# Standard 18 Direct Debit file (BACS mandates; needs `paymentFileSettings.serviceUserNumber`; each mandate must
|
|
1202
|
+
# have been lodged with `bank/mandates/auddis-export` and the collection processed at least two Bacs working days
|
|
1203
|
+
# after the lodgement; `collectionDate` is the day the money is collected, a Bacs working day whose processing day
|
|
1204
|
+
# is after today, default the earliest; transaction code 01 for the first collection under a mandate and 17 after
|
|
1205
|
+
# that), a USD account of a US company with a routing number and account number gets a Nacha ACH debit file (PPD
|
|
1206
|
+
# and CCD mandates; needs `paymentFileSettings.immediateOrigin` and `companyIdentification`; `collectionDate` not
|
|
1207
|
+
# before the mandate's signature date; default today), and an account with an IBAN gets a SEPA direct debit file
|
|
1208
|
+
# pain.008.001.02 (CORE and B2B mandates; needs a valid `sepaCreditorId`, see `account/companies/update`; a
|
|
1209
|
+
# mandate expires after 36 months without a collection; sequence type OOFF for a one-off mandate, FRST for the
|
|
1210
|
+
# first collection under a recurrent one and RCUR after that; default today). Each invoice must be in the currency
|
|
1211
|
+
# of the format (EUR, GBP, USD), 422 otherwise; an invoice whose partner has no usable active mandate answers 422;
|
|
1212
|
+
# an invoice already paid, or a one-off mandate asked to collect more than one invoice, answers 409. On success
|
|
1213
|
+
# the collection count and last collection date of each mandate are advanced and a one-off mandate is completed;
|
|
1214
|
+
# nothing is posted. The file is returned in `content`, with `format`, `fileName`, `contentType` and the
|
|
1215
|
+
# `collectionDate` used.
|
|
1181
1216
|
#
|
|
1182
1217
|
# @param request_options [Hash]
|
|
1183
1218
|
# @param params [Nordlet::Bank::Types::DirectDebitsExportBankRequest]
|
|
@@ -1211,12 +1246,54 @@ module Nordlet
|
|
|
1211
1246
|
end
|
|
1212
1247
|
end
|
|
1213
1248
|
|
|
1249
|
+
# Build a Bacs AUDDIS file that lodges new Bacs Direct Debit Instructions (transaction code 0N, each active BACS
|
|
1250
|
+
# mandate not yet lodged) and cancels lodged ones (0C, each cancelled BACS mandate whose cancellation was not yet
|
|
1251
|
+
# lodged) with the paying banks. Without `mandateIds` every such mandate of the company is included. The bank
|
|
1252
|
+
# account must be a GBP account of a UK company with a sort code, an account number and
|
|
1253
|
+
# `paymentFileSettings.serviceUserNumber` (422 otherwise). `processingDate` is the Bacs processing day of the
|
|
1254
|
+
# file, a Bacs working day after today (default the next one); it is stored as the mandate's `lodgedOn` or
|
|
1255
|
+
# `cancellationLodgedOn`, and a first collection can be processed two Bacs working days after `lodgedOn`. Nothing
|
|
1256
|
+
# to lodge answers 409. The file is returned in `content`, with `format`, `fileName` and `contentType`; nothing is
|
|
1257
|
+
# sent to the bank.
|
|
1258
|
+
#
|
|
1259
|
+
# @param request_options [Hash]
|
|
1260
|
+
# @param params [Nordlet::Bank::Types::MandatesAuddisExportBankRequest]
|
|
1261
|
+
# @option request_options [String] :base_url
|
|
1262
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
1263
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
1264
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
1265
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
1266
|
+
#
|
|
1267
|
+
# @return [Nordlet::Bank::Types::MandatesAuddisExportBankResponse]
|
|
1268
|
+
def mandates_auddis_export(request_options: {}, **params)
|
|
1269
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
1270
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
1271
|
+
base_url: request_options[:base_url],
|
|
1272
|
+
method: "POST",
|
|
1273
|
+
path: "v1/bank/mandates/auddis-export",
|
|
1274
|
+
body: Nordlet::Bank::Types::MandatesAuddisExportBankRequest.new(params).to_h,
|
|
1275
|
+
request_options: request_options
|
|
1276
|
+
)
|
|
1277
|
+
begin
|
|
1278
|
+
response = @client.send(request)
|
|
1279
|
+
rescue Net::HTTPRequestTimeout
|
|
1280
|
+
raise Nordlet::Errors::TimeoutError
|
|
1281
|
+
end
|
|
1282
|
+
code = response.code.to_i
|
|
1283
|
+
if code.between?(200, 299)
|
|
1284
|
+
Nordlet::Bank::Types::MandatesAuddisExportBankResponse.load(response.body)
|
|
1285
|
+
else
|
|
1286
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
1287
|
+
raise error_class.new(response.body, code: code)
|
|
1288
|
+
end
|
|
1289
|
+
end
|
|
1290
|
+
|
|
1214
1291
|
# Suggest documents for a new bank transaction: issued sale invoices and advances for incoming money; registered
|
|
1215
1292
|
# purchase invoices, issued sale credit notes and approved payroll runs for outgoing money. Candidates are unpaid
|
|
1216
1293
|
# documents with any remaining balance, also one below the payment, scored by an equal remaining balance, the
|
|
1217
1294
|
# document number or payroll period in the payment description and a counterparty IBAN or name matching the
|
|
1218
|
-
# partner or an employee on the run; the best `limit` come back with their reasons
|
|
1219
|
-
# matched answers 409.
|
|
1295
|
+
# partner or an employee on the run; the best `limit` come back with their reasons; a candidate with no matching
|
|
1296
|
+
# reason (score 0) is left out. A transaction that is already matched answers 409.
|
|
1220
1297
|
#
|
|
1221
1298
|
# @param request_options [Hash]
|
|
1222
1299
|
# @param params [Nordlet::Bank::Types::TransactionsSuggestMatchesBankRequest]
|
|
@@ -1292,7 +1369,9 @@ module Nordlet
|
|
|
1292
1369
|
end
|
|
1293
1370
|
|
|
1294
1371
|
# List the settlement batches with their line counts and the clearing figures against the bank lines. Filterable
|
|
1295
|
-
# by provider, payoutId, status, currency and bankAccountId; sortable by payoutDate, createdAt
|
|
1372
|
+
# by provider, payoutId, status, currency and bankAccountId; sortable by payoutDate, createdAt, netTotal,
|
|
1373
|
+
# payoutId, provider, bankAccountName (the name of the bank account), grossTotal, feeTotal, lineCount (the number
|
|
1374
|
+
# of lines) and status.
|
|
1296
1375
|
#
|
|
1297
1376
|
# @param request_options [Hash]
|
|
1298
1377
|
# @param params [Nordlet::Bank::Types::SettlementsListBankRequest]
|
|
@@ -1657,7 +1736,8 @@ module Nordlet
|
|
|
1657
1736
|
end
|
|
1658
1737
|
|
|
1659
1738
|
# List the imported securities operations, newest first; filterable by `bankAccountId`, `kind`, `status`, `symbol`
|
|
1660
|
-
# and `date`, sortable by `date`
|
|
1739
|
+
# and `date`, sortable by `date`, `createdAt`, `bankAccountName` (the name of the bank account), `kind`, `symbol`,
|
|
1740
|
+
# `quantity`, `amount`, `fee`, `cashBase`, `costBase`, `realizedBase` and `status`.
|
|
1661
1741
|
#
|
|
1662
1742
|
# @param request_options [Hash]
|
|
1663
1743
|
# @param params [Nordlet::Bank::Types::SecuritiesOperationsListBankRequest]
|
|
@@ -10,6 +10,12 @@ module Nordlet
|
|
|
10
10
|
|
|
11
11
|
field :iban, -> { String }, optional: true, nullable: false
|
|
12
12
|
|
|
13
|
+
field :bank_code, -> { String }, optional: true, nullable: false, api_name: "bankCode"
|
|
14
|
+
|
|
15
|
+
field :bank_account_number, -> { String }, optional: true, nullable: false, api_name: "bankAccountNumber"
|
|
16
|
+
|
|
17
|
+
field :payment_file_settings, -> { Nordlet::Bank::Types::AccountsCreateBankRequestPaymentFileSettings }, optional: true, nullable: false, api_name: "paymentFileSettings"
|
|
18
|
+
|
|
13
19
|
field :currency, -> { String }, optional: true, nullable: false
|
|
14
20
|
|
|
15
21
|
field :account_code, -> { String }, optional: true, nullable: false, api_name: "accountCode"
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
# What the bank gave the company for payment files from this account: the Bacs service user number for a UK
|
|
7
|
+
# account, the ACH Immediate Origin and Company Identification for a US account
|
|
8
|
+
class AccountsCreateBankRequestPaymentFileSettings < Internal::Types::Model
|
|
9
|
+
field :service_user_number, -> { String }, optional: true, nullable: false, api_name: "serviceUserNumber"
|
|
10
|
+
|
|
11
|
+
field :service_user_name, -> { String }, optional: true, nullable: false, api_name: "serviceUserName"
|
|
12
|
+
|
|
13
|
+
field :odfi_routing_number, -> { String }, optional: true, nullable: false, api_name: "odfiRoutingNumber"
|
|
14
|
+
|
|
15
|
+
field :immediate_origin, -> { String }, optional: true, nullable: false, api_name: "immediateOrigin"
|
|
16
|
+
|
|
17
|
+
field :immediate_destination_name, -> { String }, optional: true, nullable: false, api_name: "immediateDestinationName"
|
|
18
|
+
|
|
19
|
+
field :company_identification, -> { String }, optional: true, nullable: false, api_name: "companyIdentification"
|
|
20
|
+
|
|
21
|
+
field :company_name, -> { String }, optional: true, nullable: false, api_name: "companyName"
|
|
22
|
+
|
|
23
|
+
field :company_discretionary_data, -> { String }, optional: true, nullable: false, api_name: "companyDiscretionaryData"
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -12,6 +12,12 @@ module Nordlet
|
|
|
12
12
|
|
|
13
13
|
field :iban, -> { String }, optional: false, nullable: true
|
|
14
14
|
|
|
15
|
+
field :bank_code, -> { String }, optional: false, nullable: true, api_name: "bankCode"
|
|
16
|
+
|
|
17
|
+
field :bank_account_number, -> { String }, optional: false, nullable: true, api_name: "bankAccountNumber"
|
|
18
|
+
|
|
19
|
+
field :payment_file_settings, -> { Nordlet::Bank::Types::AccountsCreateBankResponsePaymentFileSettings }, optional: false, nullable: false, api_name: "paymentFileSettings"
|
|
20
|
+
|
|
15
21
|
field :currency, -> { String }, optional: false, nullable: false
|
|
16
22
|
|
|
17
23
|
field :account_code, -> { String }, optional: false, nullable: false, api_name: "accountCode"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class AccountsCreateBankResponsePaymentFileSettings < Internal::Types::Model
|
|
7
|
+
field :service_user_number, -> { String }, optional: true, nullable: false, api_name: "serviceUserNumber"
|
|
8
|
+
|
|
9
|
+
field :service_user_name, -> { String }, optional: true, nullable: false, api_name: "serviceUserName"
|
|
10
|
+
|
|
11
|
+
field :odfi_routing_number, -> { String }, optional: true, nullable: false, api_name: "odfiRoutingNumber"
|
|
12
|
+
|
|
13
|
+
field :immediate_origin, -> { String }, optional: true, nullable: false, api_name: "immediateOrigin"
|
|
14
|
+
|
|
15
|
+
field :immediate_destination_name, -> { String }, optional: true, nullable: false, api_name: "immediateDestinationName"
|
|
16
|
+
|
|
17
|
+
field :company_identification, -> { String }, optional: true, nullable: false, api_name: "companyIdentification"
|
|
18
|
+
|
|
19
|
+
field :company_name, -> { String }, optional: true, nullable: false, api_name: "companyName"
|
|
20
|
+
|
|
21
|
+
field :company_discretionary_data, -> { String }, optional: true, nullable: false, api_name: "companyDiscretionaryData"
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -12,6 +12,12 @@ module Nordlet
|
|
|
12
12
|
|
|
13
13
|
field :iban, -> { String }, optional: false, nullable: true
|
|
14
14
|
|
|
15
|
+
field :bank_code, -> { String }, optional: false, nullable: true, api_name: "bankCode"
|
|
16
|
+
|
|
17
|
+
field :bank_account_number, -> { String }, optional: false, nullable: true, api_name: "bankAccountNumber"
|
|
18
|
+
|
|
19
|
+
field :payment_file_settings, -> { Nordlet::Bank::Types::AccountsListBankResponseRowsItemPaymentFileSettings }, optional: false, nullable: false, api_name: "paymentFileSettings"
|
|
20
|
+
|
|
15
21
|
field :currency, -> { String }, optional: false, nullable: false
|
|
16
22
|
|
|
17
23
|
field :account_code, -> { String }, optional: false, nullable: false, api_name: "accountCode"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class AccountsListBankResponseRowsItemPaymentFileSettings < Internal::Types::Model
|
|
7
|
+
field :service_user_number, -> { String }, optional: true, nullable: false, api_name: "serviceUserNumber"
|
|
8
|
+
|
|
9
|
+
field :service_user_name, -> { String }, optional: true, nullable: false, api_name: "serviceUserName"
|
|
10
|
+
|
|
11
|
+
field :odfi_routing_number, -> { String }, optional: true, nullable: false, api_name: "odfiRoutingNumber"
|
|
12
|
+
|
|
13
|
+
field :immediate_origin, -> { String }, optional: true, nullable: false, api_name: "immediateOrigin"
|
|
14
|
+
|
|
15
|
+
field :immediate_destination_name, -> { String }, optional: true, nullable: false, api_name: "immediateDestinationName"
|
|
16
|
+
|
|
17
|
+
field :company_identification, -> { String }, optional: true, nullable: false, api_name: "companyIdentification"
|
|
18
|
+
|
|
19
|
+
field :company_name, -> { String }, optional: true, nullable: false, api_name: "companyName"
|
|
20
|
+
|
|
21
|
+
field :company_discretionary_data, -> { String }, optional: true, nullable: false, api_name: "companyDiscretionaryData"
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -12,6 +12,12 @@ module Nordlet
|
|
|
12
12
|
|
|
13
13
|
field :iban, -> { String }, optional: true, nullable: false
|
|
14
14
|
|
|
15
|
+
field :bank_code, -> { String }, optional: true, nullable: false, api_name: "bankCode"
|
|
16
|
+
|
|
17
|
+
field :bank_account_number, -> { String }, optional: true, nullable: false, api_name: "bankAccountNumber"
|
|
18
|
+
|
|
19
|
+
field :payment_file_settings, -> { Nordlet::Bank::Types::AccountsUpdateBankRequestPaymentFileSettings }, optional: true, nullable: false, api_name: "paymentFileSettings"
|
|
20
|
+
|
|
15
21
|
field :account_code, -> { String }, optional: true, nullable: false, api_name: "accountCode"
|
|
16
22
|
|
|
17
23
|
field :is_active, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isActive"
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
# What the bank gave the company for payment files from this account: the Bacs service user number for a UK
|
|
7
|
+
# account, the ACH Immediate Origin and Company Identification for a US account
|
|
8
|
+
class AccountsUpdateBankRequestPaymentFileSettings < Internal::Types::Model
|
|
9
|
+
field :service_user_number, -> { String }, optional: true, nullable: false, api_name: "serviceUserNumber"
|
|
10
|
+
|
|
11
|
+
field :service_user_name, -> { String }, optional: true, nullable: false, api_name: "serviceUserName"
|
|
12
|
+
|
|
13
|
+
field :odfi_routing_number, -> { String }, optional: true, nullable: false, api_name: "odfiRoutingNumber"
|
|
14
|
+
|
|
15
|
+
field :immediate_origin, -> { String }, optional: true, nullable: false, api_name: "immediateOrigin"
|
|
16
|
+
|
|
17
|
+
field :immediate_destination_name, -> { String }, optional: true, nullable: false, api_name: "immediateDestinationName"
|
|
18
|
+
|
|
19
|
+
field :company_identification, -> { String }, optional: true, nullable: false, api_name: "companyIdentification"
|
|
20
|
+
|
|
21
|
+
field :company_name, -> { String }, optional: true, nullable: false, api_name: "companyName"
|
|
22
|
+
|
|
23
|
+
field :company_discretionary_data, -> { String }, optional: true, nullable: false, api_name: "companyDiscretionaryData"
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -12,6 +12,12 @@ module Nordlet
|
|
|
12
12
|
|
|
13
13
|
field :iban, -> { String }, optional: false, nullable: true
|
|
14
14
|
|
|
15
|
+
field :bank_code, -> { String }, optional: false, nullable: true, api_name: "bankCode"
|
|
16
|
+
|
|
17
|
+
field :bank_account_number, -> { String }, optional: false, nullable: true, api_name: "bankAccountNumber"
|
|
18
|
+
|
|
19
|
+
field :payment_file_settings, -> { Nordlet::Bank::Types::AccountsUpdateBankResponsePaymentFileSettings }, optional: false, nullable: false, api_name: "paymentFileSettings"
|
|
20
|
+
|
|
15
21
|
field :currency, -> { String }, optional: false, nullable: false
|
|
16
22
|
|
|
17
23
|
field :account_code, -> { String }, optional: false, nullable: false, api_name: "accountCode"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class AccountsUpdateBankResponsePaymentFileSettings < Internal::Types::Model
|
|
7
|
+
field :service_user_number, -> { String }, optional: true, nullable: false, api_name: "serviceUserNumber"
|
|
8
|
+
|
|
9
|
+
field :service_user_name, -> { String }, optional: true, nullable: false, api_name: "serviceUserName"
|
|
10
|
+
|
|
11
|
+
field :odfi_routing_number, -> { String }, optional: true, nullable: false, api_name: "odfiRoutingNumber"
|
|
12
|
+
|
|
13
|
+
field :immediate_origin, -> { String }, optional: true, nullable: false, api_name: "immediateOrigin"
|
|
14
|
+
|
|
15
|
+
field :immediate_destination_name, -> { String }, optional: true, nullable: false, api_name: "immediateDestinationName"
|
|
16
|
+
|
|
17
|
+
field :company_identification, -> { String }, optional: true, nullable: false, api_name: "companyIdentification"
|
|
18
|
+
|
|
19
|
+
field :company_name, -> { String }, optional: true, nullable: false, api_name: "companyName"
|
|
20
|
+
|
|
21
|
+
field :company_discretionary_data, -> { String }, optional: true, nullable: false, api_name: "companyDiscretionaryData"
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -4,15 +4,21 @@ module Nordlet
|
|
|
4
4
|
module Bank
|
|
5
5
|
module Types
|
|
6
6
|
class DirectDebitsExportBankResponse < Internal::Types::Model
|
|
7
|
+
field :format, -> { Nordlet::Bank::Types::DirectDebitsExportBankResponseFormat }, optional: false, nullable: false
|
|
8
|
+
|
|
7
9
|
field :message_id, -> { String }, optional: false, nullable: false, api_name: "messageId"
|
|
8
10
|
|
|
9
11
|
field :file_name, -> { String }, optional: false, nullable: false, api_name: "fileName"
|
|
10
12
|
|
|
13
|
+
field :content_type, -> { String }, optional: false, nullable: false, api_name: "contentType"
|
|
14
|
+
|
|
11
15
|
field :transaction_count, -> { Integer }, optional: false, nullable: false, api_name: "transactionCount"
|
|
12
16
|
|
|
13
17
|
field :control_sum, -> { String }, optional: false, nullable: false, api_name: "controlSum"
|
|
14
18
|
|
|
15
|
-
field :
|
|
19
|
+
field :content, -> { String }, optional: false, nullable: false
|
|
20
|
+
|
|
21
|
+
field :collection_date, -> { String }, optional: false, nullable: false, api_name: "collectionDate"
|
|
16
22
|
end
|
|
17
23
|
end
|
|
18
24
|
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
module DirectDebitsExportBankResponseFormat
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
PAIN00100103 = "pain.001.001.03"
|
|
10
|
+
PAIN00800102 = "pain.008.001.02"
|
|
11
|
+
BACS_STANDARD18 = "bacs-standard-18"
|
|
12
|
+
NACHA = "nacha"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class MandatesAuddisExportBankRequest < Internal::Types::Model
|
|
7
|
+
field :bank_account_id, -> { String }, optional: false, nullable: false, api_name: "bankAccountId"
|
|
8
|
+
|
|
9
|
+
field :mandate_ids, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "mandateIds"
|
|
10
|
+
|
|
11
|
+
field :processing_date, -> { String }, optional: true, nullable: false, api_name: "processingDate"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class MandatesAuddisExportBankResponse < Internal::Types::Model
|
|
7
|
+
field :format, -> { Nordlet::Bank::Types::MandatesAuddisExportBankResponseFormat }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :message_id, -> { String }, optional: false, nullable: false, api_name: "messageId"
|
|
10
|
+
|
|
11
|
+
field :file_name, -> { String }, optional: false, nullable: false, api_name: "fileName"
|
|
12
|
+
|
|
13
|
+
field :content_type, -> { String }, optional: false, nullable: false, api_name: "contentType"
|
|
14
|
+
|
|
15
|
+
field :transaction_count, -> { Integer }, optional: false, nullable: false, api_name: "transactionCount"
|
|
16
|
+
|
|
17
|
+
field :control_sum, -> { String }, optional: false, nullable: false, api_name: "controlSum"
|
|
18
|
+
|
|
19
|
+
field :content, -> { String }, optional: false, nullable: false
|
|
20
|
+
|
|
21
|
+
field :processing_date, -> { String }, optional: false, nullable: false, api_name: "processingDate"
|
|
22
|
+
|
|
23
|
+
field :lodged, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
24
|
+
|
|
25
|
+
field :cancelled, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
module MandatesAuddisExportBankResponseFormat
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
PAIN00100103 = "pain.001.001.03"
|
|
10
|
+
PAIN00800102 = "pain.008.001.02"
|
|
11
|
+
BACS_STANDARD18 = "bacs-standard-18"
|
|
12
|
+
NACHA = "nacha"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -18,17 +18,27 @@ module Nordlet
|
|
|
18
18
|
|
|
19
19
|
field :debtor_name, -> { String }, optional: false, nullable: false, api_name: "debtorName"
|
|
20
20
|
|
|
21
|
-
field :iban, -> { String }, optional: false, nullable:
|
|
21
|
+
field :iban, -> { String }, optional: false, nullable: true
|
|
22
22
|
|
|
23
23
|
field :bic, -> { String }, optional: false, nullable: true
|
|
24
24
|
|
|
25
|
+
field :bank_code, -> { String }, optional: false, nullable: true, api_name: "bankCode"
|
|
26
|
+
|
|
27
|
+
field :bank_account_number, -> { String }, optional: false, nullable: true, api_name: "bankAccountNumber"
|
|
28
|
+
|
|
29
|
+
field :account_type, -> { Nordlet::Bank::Types::MandatesCancelBankResponseAccountType }, optional: false, nullable: true, api_name: "accountType"
|
|
30
|
+
|
|
25
31
|
field :signature_date, -> { String }, optional: false, nullable: false, api_name: "signatureDate"
|
|
26
32
|
|
|
27
33
|
field :collections_count, -> { Integer }, optional: false, nullable: false, api_name: "collectionsCount"
|
|
28
34
|
|
|
29
35
|
field :last_collection_date, -> { String }, optional: false, nullable: true, api_name: "lastCollectionDate"
|
|
30
36
|
|
|
31
|
-
field :expires_on, -> { String }, optional: false, nullable:
|
|
37
|
+
field :expires_on, -> { String }, optional: false, nullable: true, api_name: "expiresOn"
|
|
38
|
+
|
|
39
|
+
field :lodged_on, -> { String }, optional: false, nullable: true, api_name: "lodgedOn"
|
|
40
|
+
|
|
41
|
+
field :cancellation_lodged_on, -> { String }, optional: false, nullable: true, api_name: "cancellationLodgedOn"
|
|
32
42
|
|
|
33
43
|
field :cancelled_at, -> { String }, optional: false, nullable: true, api_name: "cancelledAt"
|
|
34
44
|
|