nordlet 0.1.2 → 0.2.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/post_v1account_companies_create_request.rb +2 -0
- data/lib/nordlet/account/types/post_v1account_companies_profile_response.rb +2 -0
- data/lib/nordlet/account/types/post_v1account_companies_update_request.rb +2 -0
- data/lib/nordlet/account/types/post_v1account_companies_update_response.rb +2 -0
- data/lib/nordlet/agreements/client.rb +64 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_billing_run_request.rb +11 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_billing_run_response.rb +15 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_billing_run_response_errors_item.rb +13 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_billing_run_response_generated_item.rb +17 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_create_request.rb +2 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_create_request_billing_period.rb +15 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_create_request_items_item.rb +2 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_create_response.rb +2 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_create_response_billing_period.rb +15 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_create_response_items_item.rb +2 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_generate_invoice_request.rb +13 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_generate_invoice_response.rb +17 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_get_response.rb +2 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_get_response_billing_period.rb +15 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_get_response_items_item.rb +2 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_list_response_rows_item.rb +2 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_list_response_rows_item_billing_period.rb +15 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_update_request.rb +2 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_update_request_billing_period.rb +15 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_update_response.rb +2 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_update_response_billing_period.rb +15 -0
- data/lib/nordlet/agreements/types/post_v1agreements_agreements_update_response_items_item.rb +2 -0
- data/lib/nordlet/declarations/client.rb +224 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_distance_sales_threshold_get_request.rb +11 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_distance_sales_threshold_get_response.rb +23 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_distance_sales_threshold_get_response_current_year.rb +15 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_distance_sales_threshold_get_response_preceding_year.rb +15 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_ioss_compute_response.rb +4 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_ioss_compute_response_corrections_item.rb +23 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_ioss_compute_response_corrections_total.rb +13 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_oss_compute_response.rb +4 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_oss_compute_response_corrections_item.rb +23 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_oss_compute_response_corrections_total.rb +13 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_cross_border_report_compute_request.rb +13 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_cross_border_report_compute_response.rb +25 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_cross_border_report_compute_response_rows_item.rb +15 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_request.rb +11 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response.rb +31 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response_intra_eu.rb +23 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response_intra_eu_status.rb +15 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response_preceding_turnover.rb +15 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response_status.rb +17 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response_threshold.rb +19 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response_threshold_sectors_item.rb +15 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response_turnover.rb +15 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_thresholds_list_request.rb +9 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_thresholds_list_response.rb +15 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_thresholds_list_response_thresholds_item.rb +23 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_thresholds_list_response_thresholds_item_intra_eu_acquisitions_trigger.rb +15 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_thresholds_list_response_thresholds_item_sectors_item.rb +15 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_union_turnover_get_request.rb +11 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_union_turnover_get_response.rb +25 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_union_turnover_get_response_current_year.rb +15 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_union_turnover_get_response_previous_year.rb +15 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_union_turnover_get_response_status.rb +16 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_vat_return_compute_request.rb +17 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_vat_return_compute_response.rb +29 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_vat_return_compute_response_boxes_item.rb +15 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_vat_return_compute_response_frequency.rb +15 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_vat_return_packs_list_request.rb +9 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_vat_return_packs_list_response.rb +11 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_vat_return_packs_list_response_packs_item.rb +19 -0
- data/lib/nordlet/declarations/types/post_v1declarations_eu_vat_return_packs_list_response_packs_item_frequency.rb +15 -0
- data/lib/nordlet/ledger/types/post_v1ledger_posting_rules_update_request_rules_item_key.rb +3 -0
- data/lib/nordlet/reference/client.rb +39 -0
- data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_list_response.rb +2 -0
- data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_list_response_rows_item.rb +2 -0
- data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_list_response_rows_item_source.rb +14 -0
- data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_set_overrides_request.rb +13 -0
- data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_set_overrides_request_rates_item.rb +13 -0
- data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_set_overrides_request_rates_item_category.rb +16 -0
- data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_set_overrides_response.rb +17 -0
- data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_set_overrides_response_rows_item.rb +13 -0
- data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_set_overrides_response_rows_item_category.rb +16 -0
- data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_set_overrides_response_source.rb +14 -0
- data/lib/nordlet/reference/types/post_v1reference_vat_resolve_response_scheme.rb +1 -0
- data/lib/nordlet/sales/client.rb +292 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response.rb +2 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response_lines_item.rb +14 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response_lines_item_recognition_method.rb +16 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response_lines_item_recognition_milestones_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_request_lines_item.rb +6 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_request_lines_item_recognition.rb +17 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_request_lines_item_recognition_method.rb +16 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_request_lines_item_recognition_milestones_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_request_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_response.rb +2 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_response_lines_item.rb +14 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_response_lines_item_recognition_method.rb +16 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_response_lines_item_recognition_milestones_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_get_response.rb +2 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_get_response_lines_item.rb +14 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_get_response_lines_item_recognition_method.rb +16 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_get_response_lines_item_recognition_milestones_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_get_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response.rb +2 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response_lines_item.rb +14 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response_lines_item_recognition_method.rb +16 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response_lines_item_recognition_milestones_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_list_response_rows_item.rb +2 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_list_response_rows_item_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_request_lines_item.rb +6 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_request_lines_item_recognition.rb +17 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_request_lines_item_recognition_method.rb +16 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_request_lines_item_recognition_milestones_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_request_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_response.rb +2 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_response_lines_item.rb +14 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_response_lines_item_recognition_method.rb +16 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_response_lines_item_recognition_milestones_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_compute_request.rb +11 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_compute_response.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_compute_response_rows_item.rb +25 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_modify_request.rb +19 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_modify_request_approach.rb +14 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_modify_request_new_milestones_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_modify_response.rb +23 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_modify_response_approach.rb +14 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_progress_request.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_progress_response.rb +19 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_run_request.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_run_response.rb +21 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_run_response_trigger.rb +18 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_request.rb +17 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_request_filter_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_request_sort_item.rb +13 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_response.rb +17 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_response_rows_item.rb +23 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_response_rows_item_trigger.rb +18 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_request.rb +17 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_request_filter_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_request_sort_item.rb +13 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_response.rb +17 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_response_rows_item.rb +33 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_response_rows_item_method.rb +16 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_response_rows_item_status.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_summary_request.rb +11 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_summary_response.rb +13 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_summary_response_rows_item.rb +29 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_summary_response_rows_item_method.rb +16 -0
- data/lib/nordlet/sales/types/post_v1sales_recognition_summary_response_totals.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_refund_liability_list_request.rb +17 -0
- data/lib/nordlet/sales/types/post_v1sales_refund_liability_list_request_filter_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_refund_liability_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/sales/types/post_v1sales_refund_liability_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/sales/types/post_v1sales_refund_liability_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_refund_liability_list_request_sort_item.rb +13 -0
- data/lib/nordlet/sales/types/post_v1sales_refund_liability_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/sales/types/post_v1sales_refund_liability_list_response.rb +17 -0
- data/lib/nordlet/sales/types/post_v1sales_refund_liability_list_response_rows_item.rb +27 -0
- data/lib/nordlet/sales/types/post_v1sales_refund_liability_true_up_request.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_refund_liability_true_up_response.rb +21 -0
- data/lib/nordlet/version.rb +1 -1
- data/lib/nordlet.rb +124 -0
- data/reference.md +1416 -224
- metadata +126 -2
data/lib/nordlet/declarations/types/post_v1declarations_eu_distance_sales_threshold_get_request.rb
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuDistanceSalesThresholdGetRequest < Internal::Types::Model
|
|
7
|
+
field :date, -> { String }, optional: true, nullable: false
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
data/lib/nordlet/declarations/types/post_v1declarations_eu_distance_sales_threshold_get_response.rb
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuDistanceSalesThresholdGetResponse < Internal::Types::Model
|
|
7
|
+
field :threshold_eur, -> { String }, optional: false, nullable: false, api_name: "thresholdEur"
|
|
8
|
+
|
|
9
|
+
field :home_country_code, -> { String }, optional: false, nullable: false, api_name: "homeCountryCode"
|
|
10
|
+
|
|
11
|
+
field :current_year, -> { Nordlet::Declarations::Types::PostV1DeclarationsEuDistanceSalesThresholdGetResponseCurrentYear }, optional: false, nullable: false, api_name: "currentYear"
|
|
12
|
+
|
|
13
|
+
field :preceding_year, -> { Nordlet::Declarations::Types::PostV1DeclarationsEuDistanceSalesThresholdGetResponsePrecedingYear }, optional: false, nullable: false, api_name: "precedingYear"
|
|
14
|
+
|
|
15
|
+
field :below_threshold, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "belowThreshold"
|
|
16
|
+
|
|
17
|
+
field :headroom_amount, -> { String }, optional: false, nullable: false, api_name: "headroomAmount"
|
|
18
|
+
|
|
19
|
+
field :warnings, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuDistanceSalesThresholdGetResponseCurrentYear < Internal::Types::Model
|
|
7
|
+
field :year, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :total_amount, -> { String }, optional: false, nullable: false, api_name: "totalAmount"
|
|
10
|
+
|
|
11
|
+
field :documents, -> { Integer }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuDistanceSalesThresholdGetResponsePrecedingYear < Internal::Types::Model
|
|
7
|
+
field :year, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :total_amount, -> { String }, optional: false, nullable: false, api_name: "totalAmount"
|
|
10
|
+
|
|
11
|
+
field :documents, -> { Integer }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -16,6 +16,10 @@ module Nordlet
|
|
|
16
16
|
|
|
17
17
|
field :totals, -> { Nordlet::Declarations::Types::PostV1DeclarationsEuIossComputeResponseTotals }, optional: false, nullable: false
|
|
18
18
|
|
|
19
|
+
field :corrections, -> { Internal::Types::Array[Nordlet::Declarations::Types::PostV1DeclarationsEuIossComputeResponseCorrectionsItem] }, optional: false, nullable: false
|
|
20
|
+
|
|
21
|
+
field :corrections_total, -> { Nordlet::Declarations::Types::PostV1DeclarationsEuIossComputeResponseCorrectionsTotal }, optional: false, nullable: false, api_name: "correctionsTotal"
|
|
22
|
+
|
|
19
23
|
field :warnings, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
20
24
|
|
|
21
25
|
field :period_month, -> { Integer }, optional: false, nullable: false, api_name: "periodMonth"
|
data/lib/nordlet/declarations/types/post_v1declarations_eu_ioss_compute_response_corrections_item.rb
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuIossComputeResponseCorrectionsItem < Internal::Types::Model
|
|
7
|
+
field :country_code, -> { String }, optional: false, nullable: false, api_name: "countryCode"
|
|
8
|
+
|
|
9
|
+
field :period_year, -> { Integer }, optional: false, nullable: false, api_name: "periodYear"
|
|
10
|
+
|
|
11
|
+
field :period_quarter, -> { Integer }, optional: false, nullable: true, api_name: "periodQuarter"
|
|
12
|
+
|
|
13
|
+
field :period_month, -> { Integer }, optional: false, nullable: true, api_name: "periodMonth"
|
|
14
|
+
|
|
15
|
+
field :taxable_amount, -> { String }, optional: false, nullable: false, api_name: "taxableAmount"
|
|
16
|
+
|
|
17
|
+
field :vat_amount, -> { String }, optional: false, nullable: false, api_name: "vatAmount"
|
|
18
|
+
|
|
19
|
+
field :documents, -> { Integer }, optional: false, nullable: false
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuIossComputeResponseCorrectionsTotal < Internal::Types::Model
|
|
7
|
+
field :taxable_amount, -> { String }, optional: false, nullable: false, api_name: "taxableAmount"
|
|
8
|
+
|
|
9
|
+
field :vat_amount, -> { String }, optional: false, nullable: false, api_name: "vatAmount"
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -16,6 +16,10 @@ module Nordlet
|
|
|
16
16
|
|
|
17
17
|
field :totals, -> { Nordlet::Declarations::Types::PostV1DeclarationsEuOssComputeResponseTotals }, optional: false, nullable: false
|
|
18
18
|
|
|
19
|
+
field :corrections, -> { Internal::Types::Array[Nordlet::Declarations::Types::PostV1DeclarationsEuOssComputeResponseCorrectionsItem] }, optional: false, nullable: false
|
|
20
|
+
|
|
21
|
+
field :corrections_total, -> { Nordlet::Declarations::Types::PostV1DeclarationsEuOssComputeResponseCorrectionsTotal }, optional: false, nullable: false, api_name: "correctionsTotal"
|
|
22
|
+
|
|
19
23
|
field :warnings, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
20
24
|
|
|
21
25
|
field :period_quarter, -> { Integer }, optional: false, nullable: false, api_name: "periodQuarter"
|
data/lib/nordlet/declarations/types/post_v1declarations_eu_oss_compute_response_corrections_item.rb
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuOssComputeResponseCorrectionsItem < Internal::Types::Model
|
|
7
|
+
field :country_code, -> { String }, optional: false, nullable: false, api_name: "countryCode"
|
|
8
|
+
|
|
9
|
+
field :period_year, -> { Integer }, optional: false, nullable: false, api_name: "periodYear"
|
|
10
|
+
|
|
11
|
+
field :period_quarter, -> { Integer }, optional: false, nullable: true, api_name: "periodQuarter"
|
|
12
|
+
|
|
13
|
+
field :period_month, -> { Integer }, optional: false, nullable: true, api_name: "periodMonth"
|
|
14
|
+
|
|
15
|
+
field :taxable_amount, -> { String }, optional: false, nullable: false, api_name: "taxableAmount"
|
|
16
|
+
|
|
17
|
+
field :vat_amount, -> { String }, optional: false, nullable: false, api_name: "vatAmount"
|
|
18
|
+
|
|
19
|
+
field :documents, -> { Integer }, optional: false, nullable: false
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
data/lib/nordlet/declarations/types/post_v1declarations_eu_oss_compute_response_corrections_total.rb
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuOssComputeResponseCorrectionsTotal < Internal::Types::Model
|
|
7
|
+
field :taxable_amount, -> { String }, optional: false, nullable: false, api_name: "taxableAmount"
|
|
8
|
+
|
|
9
|
+
field :vat_amount, -> { String }, optional: false, nullable: false, api_name: "vatAmount"
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuSmeCrossBorderReportComputeRequest < Internal::Types::Model
|
|
7
|
+
field :year, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :quarter, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuSmeCrossBorderReportComputeResponse < Internal::Types::Model
|
|
7
|
+
field :year, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :quarter, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :from_date, -> { String }, optional: false, nullable: false, api_name: "fromDate"
|
|
12
|
+
|
|
13
|
+
field :to_date, -> { String }, optional: false, nullable: false, api_name: "toDate"
|
|
14
|
+
|
|
15
|
+
field :currency, -> { String }, optional: false, nullable: false
|
|
16
|
+
|
|
17
|
+
field :rows, -> { Internal::Types::Array[Nordlet::Declarations::Types::PostV1DeclarationsEuSmeCrossBorderReportComputeResponseRowsItem] }, optional: false, nullable: false
|
|
18
|
+
|
|
19
|
+
field :total, -> { String }, optional: false, nullable: false
|
|
20
|
+
|
|
21
|
+
field :warnings, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuSmeCrossBorderReportComputeResponseRowsItem < Internal::Types::Model
|
|
7
|
+
field :country_code, -> { String }, optional: false, nullable: false, api_name: "countryCode"
|
|
8
|
+
|
|
9
|
+
field :amount, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :documents, -> { Integer }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuSmeThresholdGetResponse < Internal::Types::Model
|
|
7
|
+
field :country_code, -> { String }, optional: false, nullable: false, api_name: "countryCode"
|
|
8
|
+
|
|
9
|
+
field :is_vat_payer, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isVatPayer"
|
|
10
|
+
|
|
11
|
+
field :base_currency, -> { String }, optional: false, nullable: false, api_name: "baseCurrency"
|
|
12
|
+
|
|
13
|
+
field :year, -> { Integer }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :threshold, -> { Nordlet::Declarations::Types::PostV1DeclarationsEuSmeThresholdGetResponseThreshold }, optional: false, nullable: true
|
|
16
|
+
|
|
17
|
+
field :turnover, -> { Nordlet::Declarations::Types::PostV1DeclarationsEuSmeThresholdGetResponseTurnover }, optional: false, nullable: false
|
|
18
|
+
|
|
19
|
+
field :preceding_turnover, -> { Nordlet::Declarations::Types::PostV1DeclarationsEuSmeThresholdGetResponsePrecedingTurnover }, optional: false, nullable: false, api_name: "precedingTurnover"
|
|
20
|
+
|
|
21
|
+
field :status, -> { Nordlet::Declarations::Types::PostV1DeclarationsEuSmeThresholdGetResponseStatus }, optional: false, nullable: false
|
|
22
|
+
|
|
23
|
+
field :headroom_amount, -> { String }, optional: false, nullable: true, api_name: "headroomAmount"
|
|
24
|
+
|
|
25
|
+
field :intra_eu, -> { Nordlet::Declarations::Types::PostV1DeclarationsEuSmeThresholdGetResponseIntraEu }, optional: false, nullable: true, api_name: "intraEu"
|
|
26
|
+
|
|
27
|
+
field :warnings, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response_intra_eu.rb
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuSmeThresholdGetResponseIntraEu < Internal::Types::Model
|
|
7
|
+
field :trigger, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :currency, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :acquisitions_from_member_states, -> { String }, optional: false, nullable: false, api_name: "acquisitionsFromMemberStates"
|
|
12
|
+
|
|
13
|
+
field :services_to_member_states, -> { String }, optional: false, nullable: false, api_name: "servicesToMemberStates"
|
|
14
|
+
|
|
15
|
+
field :total, -> { String }, optional: false, nullable: false
|
|
16
|
+
|
|
17
|
+
field :status, -> { Nordlet::Declarations::Types::PostV1DeclarationsEuSmeThresholdGetResponseIntraEuStatus }, optional: false, nullable: false
|
|
18
|
+
|
|
19
|
+
field :note, -> { String }, optional: false, nullable: false
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1DeclarationsEuSmeThresholdGetResponseIntraEuStatus
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
BELOW = "below"
|
|
10
|
+
APPROACHING = "approaching"
|
|
11
|
+
EXCEEDED = "exceeded"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuSmeThresholdGetResponsePrecedingTurnover < Internal::Types::Model
|
|
7
|
+
field :year, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :amount, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :documents, -> { Integer }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response_status.rb
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1DeclarationsEuSmeThresholdGetResponseStatus
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
NOT_APPLICABLE = "not_applicable"
|
|
10
|
+
BELOW = "below"
|
|
11
|
+
APPROACHING = "approaching"
|
|
12
|
+
EXCEEDED = "exceeded"
|
|
13
|
+
UNKNOWN = "unknown"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response_threshold.rb
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuSmeThresholdGetResponseThreshold < Internal::Types::Model
|
|
7
|
+
field :currency, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :national_threshold, -> { String }, optional: false, nullable: true, api_name: "nationalThreshold"
|
|
10
|
+
|
|
11
|
+
field :sectors, -> { Internal::Types::Array[Nordlet::Declarations::Types::PostV1DeclarationsEuSmeThresholdGetResponseThresholdSectorsItem] }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :note, -> { String }, optional: true, nullable: false
|
|
14
|
+
|
|
15
|
+
field :source, -> { String }, optional: false, nullable: false
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuSmeThresholdGetResponseThresholdSectorsItem < Internal::Types::Model
|
|
7
|
+
field :label, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :amount, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :note, -> { String }, optional: true, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response_turnover.rb
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuSmeThresholdGetResponseTurnover < Internal::Types::Model
|
|
7
|
+
field :amount, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :currency, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :documents, -> { Integer }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuSmeThresholdsListResponse < Internal::Types::Model
|
|
7
|
+
field :national_cap_eur, -> { String }, optional: false, nullable: false, api_name: "nationalCapEur"
|
|
8
|
+
|
|
9
|
+
field :union_turnover_cap_eur, -> { String }, optional: false, nullable: false, api_name: "unionTurnoverCapEur"
|
|
10
|
+
|
|
11
|
+
field :thresholds, -> { Internal::Types::Array[Nordlet::Declarations::Types::PostV1DeclarationsEuSmeThresholdsListResponseThresholdsItem] }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuSmeThresholdsListResponseThresholdsItem < Internal::Types::Model
|
|
7
|
+
field :country_code, -> { String }, optional: false, nullable: false, api_name: "countryCode"
|
|
8
|
+
|
|
9
|
+
field :currency, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :national_threshold, -> { String }, optional: false, nullable: true, api_name: "nationalThreshold"
|
|
12
|
+
|
|
13
|
+
field :sectors, -> { Internal::Types::Array[Nordlet::Declarations::Types::PostV1DeclarationsEuSmeThresholdsListResponseThresholdsItemSectorsItem] }, optional: true, nullable: false
|
|
14
|
+
|
|
15
|
+
field :intra_eu_acquisitions_trigger, -> { Nordlet::Declarations::Types::PostV1DeclarationsEuSmeThresholdsListResponseThresholdsItemIntraEuAcquisitionsTrigger }, optional: true, nullable: false, api_name: "intraEuAcquisitionsTrigger"
|
|
16
|
+
|
|
17
|
+
field :note, -> { String }, optional: true, nullable: false
|
|
18
|
+
|
|
19
|
+
field :source, -> { String }, optional: false, nullable: false
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuSmeThresholdsListResponseThresholdsItemIntraEuAcquisitionsTrigger < Internal::Types::Model
|
|
7
|
+
field :amount, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :currency, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :note, -> { String }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuSmeThresholdsListResponseThresholdsItemSectorsItem < Internal::Types::Model
|
|
7
|
+
field :label, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :amount, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :note, -> { String }, optional: true, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuUnionTurnoverGetResponse < Internal::Types::Model
|
|
7
|
+
field :cap_eur, -> { String }, optional: false, nullable: false, api_name: "capEur"
|
|
8
|
+
|
|
9
|
+
field :currency, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :is_vat_payer, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isVatPayer"
|
|
12
|
+
|
|
13
|
+
field :current_year, -> { Nordlet::Declarations::Types::PostV1DeclarationsEuUnionTurnoverGetResponseCurrentYear }, optional: false, nullable: false, api_name: "currentYear"
|
|
14
|
+
|
|
15
|
+
field :previous_year, -> { Nordlet::Declarations::Types::PostV1DeclarationsEuUnionTurnoverGetResponsePreviousYear }, optional: false, nullable: false, api_name: "previousYear"
|
|
16
|
+
|
|
17
|
+
field :status, -> { Nordlet::Declarations::Types::PostV1DeclarationsEuUnionTurnoverGetResponseStatus }, optional: false, nullable: false
|
|
18
|
+
|
|
19
|
+
field :headroom_amount, -> { String }, optional: false, nullable: true, api_name: "headroomAmount"
|
|
20
|
+
|
|
21
|
+
field :warnings, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuUnionTurnoverGetResponseCurrentYear < Internal::Types::Model
|
|
7
|
+
field :year, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :amount, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :documents, -> { Integer }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuUnionTurnoverGetResponsePreviousYear < Internal::Types::Model
|
|
7
|
+
field :year, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :amount, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :documents, -> { Integer }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
data/lib/nordlet/declarations/types/post_v1declarations_eu_union_turnover_get_response_status.rb
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1DeclarationsEuUnionTurnoverGetResponseStatus
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
BELOW = "below"
|
|
10
|
+
APPROACHING = "approaching"
|
|
11
|
+
EXCEEDED = "exceeded"
|
|
12
|
+
NOT_APPLICABLE = "not_applicable"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuVatReturnComputeRequest < Internal::Types::Model
|
|
7
|
+
field :country_code, -> { String }, optional: false, nullable: false, api_name: "countryCode"
|
|
8
|
+
|
|
9
|
+
field :year, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :month, -> { Integer }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :months, -> { Integer }, optional: true, nullable: false
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuVatReturnComputeResponse < Internal::Types::Model
|
|
7
|
+
field :country_code, -> { String }, optional: false, nullable: false, api_name: "countryCode"
|
|
8
|
+
|
|
9
|
+
field :form_key, -> { String }, optional: false, nullable: false, api_name: "formKey"
|
|
10
|
+
|
|
11
|
+
field :form_name, -> { String }, optional: false, nullable: false, api_name: "formName"
|
|
12
|
+
|
|
13
|
+
field :frequency, -> { Nordlet::Declarations::Types::PostV1DeclarationsEuVatReturnComputeResponseFrequency }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :period_start, -> { String }, optional: false, nullable: false, api_name: "periodStart"
|
|
16
|
+
|
|
17
|
+
field :period_end, -> { String }, optional: false, nullable: false, api_name: "periodEnd"
|
|
18
|
+
|
|
19
|
+
field :boxes, -> { Internal::Types::Array[Nordlet::Declarations::Types::PostV1DeclarationsEuVatReturnComputeResponseBoxesItem] }, optional: false, nullable: false
|
|
20
|
+
|
|
21
|
+
field :warnings, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
22
|
+
|
|
23
|
+
field :notes, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
24
|
+
|
|
25
|
+
field :source, -> { String }, optional: false, nullable: false
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
data/lib/nordlet/declarations/types/post_v1declarations_eu_vat_return_compute_response_boxes_item.rb
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1DeclarationsEuVatReturnComputeResponseBoxesItem < Internal::Types::Model
|
|
7
|
+
field :code, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :label, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :amount, -> { String }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|