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.
Files changed (174) hide show
  1. checksums.yaml +4 -4
  2. data/lib/nordlet/account/types/post_v1account_companies_create_request.rb +2 -0
  3. data/lib/nordlet/account/types/post_v1account_companies_profile_response.rb +2 -0
  4. data/lib/nordlet/account/types/post_v1account_companies_update_request.rb +2 -0
  5. data/lib/nordlet/account/types/post_v1account_companies_update_response.rb +2 -0
  6. data/lib/nordlet/agreements/client.rb +64 -0
  7. data/lib/nordlet/agreements/types/post_v1agreements_agreements_billing_run_request.rb +11 -0
  8. data/lib/nordlet/agreements/types/post_v1agreements_agreements_billing_run_response.rb +15 -0
  9. data/lib/nordlet/agreements/types/post_v1agreements_agreements_billing_run_response_errors_item.rb +13 -0
  10. data/lib/nordlet/agreements/types/post_v1agreements_agreements_billing_run_response_generated_item.rb +17 -0
  11. data/lib/nordlet/agreements/types/post_v1agreements_agreements_create_request.rb +2 -0
  12. data/lib/nordlet/agreements/types/post_v1agreements_agreements_create_request_billing_period.rb +15 -0
  13. data/lib/nordlet/agreements/types/post_v1agreements_agreements_create_request_items_item.rb +2 -0
  14. data/lib/nordlet/agreements/types/post_v1agreements_agreements_create_response.rb +2 -0
  15. data/lib/nordlet/agreements/types/post_v1agreements_agreements_create_response_billing_period.rb +15 -0
  16. data/lib/nordlet/agreements/types/post_v1agreements_agreements_create_response_items_item.rb +2 -0
  17. data/lib/nordlet/agreements/types/post_v1agreements_agreements_generate_invoice_request.rb +13 -0
  18. data/lib/nordlet/agreements/types/post_v1agreements_agreements_generate_invoice_response.rb +17 -0
  19. data/lib/nordlet/agreements/types/post_v1agreements_agreements_get_response.rb +2 -0
  20. data/lib/nordlet/agreements/types/post_v1agreements_agreements_get_response_billing_period.rb +15 -0
  21. data/lib/nordlet/agreements/types/post_v1agreements_agreements_get_response_items_item.rb +2 -0
  22. data/lib/nordlet/agreements/types/post_v1agreements_agreements_list_response_rows_item.rb +2 -0
  23. data/lib/nordlet/agreements/types/post_v1agreements_agreements_list_response_rows_item_billing_period.rb +15 -0
  24. data/lib/nordlet/agreements/types/post_v1agreements_agreements_update_request.rb +2 -0
  25. data/lib/nordlet/agreements/types/post_v1agreements_agreements_update_request_billing_period.rb +15 -0
  26. data/lib/nordlet/agreements/types/post_v1agreements_agreements_update_response.rb +2 -0
  27. data/lib/nordlet/agreements/types/post_v1agreements_agreements_update_response_billing_period.rb +15 -0
  28. data/lib/nordlet/agreements/types/post_v1agreements_agreements_update_response_items_item.rb +2 -0
  29. data/lib/nordlet/declarations/client.rb +224 -0
  30. data/lib/nordlet/declarations/types/post_v1declarations_eu_distance_sales_threshold_get_request.rb +11 -0
  31. data/lib/nordlet/declarations/types/post_v1declarations_eu_distance_sales_threshold_get_response.rb +23 -0
  32. data/lib/nordlet/declarations/types/post_v1declarations_eu_distance_sales_threshold_get_response_current_year.rb +15 -0
  33. data/lib/nordlet/declarations/types/post_v1declarations_eu_distance_sales_threshold_get_response_preceding_year.rb +15 -0
  34. data/lib/nordlet/declarations/types/post_v1declarations_eu_ioss_compute_response.rb +4 -0
  35. data/lib/nordlet/declarations/types/post_v1declarations_eu_ioss_compute_response_corrections_item.rb +23 -0
  36. data/lib/nordlet/declarations/types/post_v1declarations_eu_ioss_compute_response_corrections_total.rb +13 -0
  37. data/lib/nordlet/declarations/types/post_v1declarations_eu_oss_compute_response.rb +4 -0
  38. data/lib/nordlet/declarations/types/post_v1declarations_eu_oss_compute_response_corrections_item.rb +23 -0
  39. data/lib/nordlet/declarations/types/post_v1declarations_eu_oss_compute_response_corrections_total.rb +13 -0
  40. data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_cross_border_report_compute_request.rb +13 -0
  41. data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_cross_border_report_compute_response.rb +25 -0
  42. data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_cross_border_report_compute_response_rows_item.rb +15 -0
  43. data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_request.rb +11 -0
  44. data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response.rb +31 -0
  45. data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response_intra_eu.rb +23 -0
  46. data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response_intra_eu_status.rb +15 -0
  47. data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response_preceding_turnover.rb +15 -0
  48. data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response_status.rb +17 -0
  49. data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response_threshold.rb +19 -0
  50. data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response_threshold_sectors_item.rb +15 -0
  51. data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_threshold_get_response_turnover.rb +15 -0
  52. data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_thresholds_list_request.rb +9 -0
  53. data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_thresholds_list_response.rb +15 -0
  54. data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_thresholds_list_response_thresholds_item.rb +23 -0
  55. data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_thresholds_list_response_thresholds_item_intra_eu_acquisitions_trigger.rb +15 -0
  56. data/lib/nordlet/declarations/types/post_v1declarations_eu_sme_thresholds_list_response_thresholds_item_sectors_item.rb +15 -0
  57. data/lib/nordlet/declarations/types/post_v1declarations_eu_union_turnover_get_request.rb +11 -0
  58. data/lib/nordlet/declarations/types/post_v1declarations_eu_union_turnover_get_response.rb +25 -0
  59. data/lib/nordlet/declarations/types/post_v1declarations_eu_union_turnover_get_response_current_year.rb +15 -0
  60. data/lib/nordlet/declarations/types/post_v1declarations_eu_union_turnover_get_response_previous_year.rb +15 -0
  61. data/lib/nordlet/declarations/types/post_v1declarations_eu_union_turnover_get_response_status.rb +16 -0
  62. data/lib/nordlet/declarations/types/post_v1declarations_eu_vat_return_compute_request.rb +17 -0
  63. data/lib/nordlet/declarations/types/post_v1declarations_eu_vat_return_compute_response.rb +29 -0
  64. data/lib/nordlet/declarations/types/post_v1declarations_eu_vat_return_compute_response_boxes_item.rb +15 -0
  65. data/lib/nordlet/declarations/types/post_v1declarations_eu_vat_return_compute_response_frequency.rb +15 -0
  66. data/lib/nordlet/declarations/types/post_v1declarations_eu_vat_return_packs_list_request.rb +9 -0
  67. data/lib/nordlet/declarations/types/post_v1declarations_eu_vat_return_packs_list_response.rb +11 -0
  68. data/lib/nordlet/declarations/types/post_v1declarations_eu_vat_return_packs_list_response_packs_item.rb +19 -0
  69. data/lib/nordlet/declarations/types/post_v1declarations_eu_vat_return_packs_list_response_packs_item_frequency.rb +15 -0
  70. data/lib/nordlet/ledger/types/post_v1ledger_posting_rules_update_request_rules_item_key.rb +3 -0
  71. data/lib/nordlet/reference/client.rb +39 -0
  72. data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_list_response.rb +2 -0
  73. data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_list_response_rows_item.rb +2 -0
  74. data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_list_response_rows_item_source.rb +14 -0
  75. data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_set_overrides_request.rb +13 -0
  76. data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_set_overrides_request_rates_item.rb +13 -0
  77. data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_set_overrides_request_rates_item_category.rb +16 -0
  78. data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_set_overrides_response.rb +17 -0
  79. data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_set_overrides_response_rows_item.rb +13 -0
  80. data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_set_overrides_response_rows_item_category.rb +16 -0
  81. data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_set_overrides_response_source.rb +14 -0
  82. data/lib/nordlet/reference/types/post_v1reference_vat_resolve_response_scheme.rb +1 -0
  83. data/lib/nordlet/sales/client.rb +292 -0
  84. data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response.rb +2 -0
  85. data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response_lines_item.rb +14 -0
  86. data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response_lines_item_recognition_method.rb +16 -0
  87. data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response_lines_item_recognition_milestones_item.rb +15 -0
  88. data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response_vat_scheme.rb +1 -0
  89. data/lib/nordlet/sales/types/post_v1sales_invoices_create_request_lines_item.rb +6 -0
  90. data/lib/nordlet/sales/types/post_v1sales_invoices_create_request_lines_item_recognition.rb +17 -0
  91. data/lib/nordlet/sales/types/post_v1sales_invoices_create_request_lines_item_recognition_method.rb +16 -0
  92. data/lib/nordlet/sales/types/post_v1sales_invoices_create_request_lines_item_recognition_milestones_item.rb +15 -0
  93. data/lib/nordlet/sales/types/post_v1sales_invoices_create_request_vat_scheme.rb +1 -0
  94. data/lib/nordlet/sales/types/post_v1sales_invoices_create_response.rb +2 -0
  95. data/lib/nordlet/sales/types/post_v1sales_invoices_create_response_lines_item.rb +14 -0
  96. data/lib/nordlet/sales/types/post_v1sales_invoices_create_response_lines_item_recognition_method.rb +16 -0
  97. data/lib/nordlet/sales/types/post_v1sales_invoices_create_response_lines_item_recognition_milestones_item.rb +15 -0
  98. data/lib/nordlet/sales/types/post_v1sales_invoices_create_response_vat_scheme.rb +1 -0
  99. data/lib/nordlet/sales/types/post_v1sales_invoices_get_response.rb +2 -0
  100. data/lib/nordlet/sales/types/post_v1sales_invoices_get_response_lines_item.rb +14 -0
  101. data/lib/nordlet/sales/types/post_v1sales_invoices_get_response_lines_item_recognition_method.rb +16 -0
  102. data/lib/nordlet/sales/types/post_v1sales_invoices_get_response_lines_item_recognition_milestones_item.rb +15 -0
  103. data/lib/nordlet/sales/types/post_v1sales_invoices_get_response_vat_scheme.rb +1 -0
  104. data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response.rb +2 -0
  105. data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response_lines_item.rb +14 -0
  106. data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response_lines_item_recognition_method.rb +16 -0
  107. data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response_lines_item_recognition_milestones_item.rb +15 -0
  108. data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response_vat_scheme.rb +1 -0
  109. data/lib/nordlet/sales/types/post_v1sales_invoices_list_response_rows_item.rb +2 -0
  110. data/lib/nordlet/sales/types/post_v1sales_invoices_list_response_rows_item_vat_scheme.rb +1 -0
  111. data/lib/nordlet/sales/types/post_v1sales_invoices_update_request_lines_item.rb +6 -0
  112. data/lib/nordlet/sales/types/post_v1sales_invoices_update_request_lines_item_recognition.rb +17 -0
  113. data/lib/nordlet/sales/types/post_v1sales_invoices_update_request_lines_item_recognition_method.rb +16 -0
  114. data/lib/nordlet/sales/types/post_v1sales_invoices_update_request_lines_item_recognition_milestones_item.rb +15 -0
  115. data/lib/nordlet/sales/types/post_v1sales_invoices_update_request_vat_scheme.rb +1 -0
  116. data/lib/nordlet/sales/types/post_v1sales_invoices_update_response.rb +2 -0
  117. data/lib/nordlet/sales/types/post_v1sales_invoices_update_response_lines_item.rb +14 -0
  118. data/lib/nordlet/sales/types/post_v1sales_invoices_update_response_lines_item_recognition_method.rb +16 -0
  119. data/lib/nordlet/sales/types/post_v1sales_invoices_update_response_lines_item_recognition_milestones_item.rb +15 -0
  120. data/lib/nordlet/sales/types/post_v1sales_invoices_update_response_vat_scheme.rb +1 -0
  121. data/lib/nordlet/sales/types/post_v1sales_recognition_compute_request.rb +11 -0
  122. data/lib/nordlet/sales/types/post_v1sales_recognition_compute_response.rb +15 -0
  123. data/lib/nordlet/sales/types/post_v1sales_recognition_compute_response_rows_item.rb +25 -0
  124. data/lib/nordlet/sales/types/post_v1sales_recognition_modify_request.rb +19 -0
  125. data/lib/nordlet/sales/types/post_v1sales_recognition_modify_request_approach.rb +14 -0
  126. data/lib/nordlet/sales/types/post_v1sales_recognition_modify_request_new_milestones_item.rb +15 -0
  127. data/lib/nordlet/sales/types/post_v1sales_recognition_modify_response.rb +23 -0
  128. data/lib/nordlet/sales/types/post_v1sales_recognition_modify_response_approach.rb +14 -0
  129. data/lib/nordlet/sales/types/post_v1sales_recognition_progress_request.rb +15 -0
  130. data/lib/nordlet/sales/types/post_v1sales_recognition_progress_response.rb +19 -0
  131. data/lib/nordlet/sales/types/post_v1sales_recognition_run_request.rb +15 -0
  132. data/lib/nordlet/sales/types/post_v1sales_recognition_run_response.rb +21 -0
  133. data/lib/nordlet/sales/types/post_v1sales_recognition_run_response_trigger.rb +18 -0
  134. data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_request.rb +17 -0
  135. data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_request_filter_item.rb +15 -0
  136. data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_request_filter_item_op.rb +18 -0
  137. data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_request_filter_item_value.rb +19 -0
  138. data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_request_filter_item_value_three_item.rb +15 -0
  139. data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_request_sort_item.rb +13 -0
  140. data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_request_sort_item_dir.rb +14 -0
  141. data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_response.rb +17 -0
  142. data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_response_rows_item.rb +23 -0
  143. data/lib/nordlet/sales/types/post_v1sales_recognition_runs_list_response_rows_item_trigger.rb +18 -0
  144. data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_request.rb +17 -0
  145. data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_request_filter_item.rb +15 -0
  146. data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_request_filter_item_op.rb +18 -0
  147. data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_request_filter_item_value.rb +19 -0
  148. data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_request_filter_item_value_three_item.rb +15 -0
  149. data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_request_sort_item.rb +13 -0
  150. data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_request_sort_item_dir.rb +14 -0
  151. data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_response.rb +17 -0
  152. data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_response_rows_item.rb +33 -0
  153. data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_response_rows_item_method.rb +16 -0
  154. data/lib/nordlet/sales/types/post_v1sales_recognition_schedules_list_response_rows_item_status.rb +15 -0
  155. data/lib/nordlet/sales/types/post_v1sales_recognition_summary_request.rb +11 -0
  156. data/lib/nordlet/sales/types/post_v1sales_recognition_summary_response.rb +13 -0
  157. data/lib/nordlet/sales/types/post_v1sales_recognition_summary_response_rows_item.rb +29 -0
  158. data/lib/nordlet/sales/types/post_v1sales_recognition_summary_response_rows_item_method.rb +16 -0
  159. data/lib/nordlet/sales/types/post_v1sales_recognition_summary_response_totals.rb +15 -0
  160. data/lib/nordlet/sales/types/post_v1sales_refund_liability_list_request.rb +17 -0
  161. data/lib/nordlet/sales/types/post_v1sales_refund_liability_list_request_filter_item.rb +15 -0
  162. data/lib/nordlet/sales/types/post_v1sales_refund_liability_list_request_filter_item_op.rb +18 -0
  163. data/lib/nordlet/sales/types/post_v1sales_refund_liability_list_request_filter_item_value.rb +19 -0
  164. data/lib/nordlet/sales/types/post_v1sales_refund_liability_list_request_filter_item_value_three_item.rb +15 -0
  165. data/lib/nordlet/sales/types/post_v1sales_refund_liability_list_request_sort_item.rb +13 -0
  166. data/lib/nordlet/sales/types/post_v1sales_refund_liability_list_request_sort_item_dir.rb +14 -0
  167. data/lib/nordlet/sales/types/post_v1sales_refund_liability_list_response.rb +17 -0
  168. data/lib/nordlet/sales/types/post_v1sales_refund_liability_list_response_rows_item.rb +27 -0
  169. data/lib/nordlet/sales/types/post_v1sales_refund_liability_true_up_request.rb +15 -0
  170. data/lib/nordlet/sales/types/post_v1sales_refund_liability_true_up_response.rb +21 -0
  171. data/lib/nordlet/version.rb +1 -1
  172. data/lib/nordlet.rb +124 -0
  173. data/reference.md +1416 -224
  174. metadata +126 -2
@@ -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
@@ -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"
@@ -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"
@@ -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
@@ -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,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Declarations
5
+ module Types
6
+ class PostV1DeclarationsEuSmeThresholdGetRequest < Internal::Types::Model
7
+ field :date, -> { String }, optional: true, nullable: false
8
+ end
9
+ end
10
+ end
11
+ 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
@@ -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
@@ -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
@@ -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
@@ -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,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Declarations
5
+ module Types
6
+ class PostV1DeclarationsEuSmeThresholdsListRequest < Internal::Types::Model; end
7
+ end
8
+ end
9
+ 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,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Declarations
5
+ module Types
6
+ class PostV1DeclarationsEuUnionTurnoverGetRequest < Internal::Types::Model
7
+ field :date, -> { String }, optional: true, nullable: false
8
+ end
9
+ end
10
+ end
11
+ 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
@@ -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
@@ -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