nordlet 0.5.6 → 0.5.7
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 +2 -1
- data/lib/nordlet/account/types/companies_create_account_request.rb +16 -0
- data/lib/nordlet/account/types/companies_create_account_request_country_code.rb +222 -3
- data/lib/nordlet/account/types/companies_create_account_request_default_invoice_locale.rb +44 -0
- data/lib/nordlet/account/types/companies_create_account_response.rb +2 -0
- data/lib/nordlet/account/types/companies_profile_account_response.rb +18 -0
- data/lib/nordlet/account/types/companies_update_account_request.rb +14 -0
- data/lib/nordlet/account/types/companies_update_account_request_default_invoice_locale.rb +44 -0
- data/lib/nordlet/account/types/companies_update_account_response.rb +18 -0
- data/lib/nordlet/account/types/me_account_response_companies_item.rb +2 -0
- data/lib/nordlet/billing/client.rb +40 -3
- data/lib/nordlet/billing/types/account_get_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/account_get_billing_response_plan.rb +1 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_plan.rb +1 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_plan.rb +1 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_plan.rb +1 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_request_plan.rb +1 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response_plan.rb +1 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_plan.rb +1 -0
- data/lib/nordlet/billing/types/flat_rate_create_billing_request_plan.rb +1 -0
- data/lib/nordlet/billing/types/subscription_cancel_billing_request.rb +9 -0
- data/lib/nordlet/billing/types/subscription_cancel_billing_response.rb +51 -0
- data/lib/nordlet/billing/types/subscription_cancel_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/subscription_cancel_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/subscription_cancel_billing_response_month_to_date.rb +27 -0
- data/lib/nordlet/billing/types/subscription_cancel_billing_response_plan.rb +16 -0
- data/lib/nordlet/billing/types/subscription_cancel_billing_response_plans_value.rb +19 -0
- data/lib/nordlet/billing/types/subscription_cancel_billing_response_status.rb +15 -0
- data/lib/nordlet/billing/types/subscription_cancel_billing_response_top_up.rb +13 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_plan.rb +1 -0
- data/lib/nordlet/declarations/client.rb +45 -4
- data/lib/nordlet/declarations/types/de_euer_get_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/de_euer_get_declarations_response.rb +17 -0
- data/lib/nordlet/declarations/types/de_euer_get_declarations_response_rows_item.rb +19 -0
- data/lib/nordlet/declarations/types/de_euer_get_declarations_response_rows_item_anlage.rb +14 -0
- data/lib/nordlet/declarations/types/de_return_facts_get_declarations_response_facts.rb +6 -0
- data/lib/nordlet/declarations/types/de_return_facts_get_declarations_response_facts_euer_einkunftsart.rb +15 -0
- data/lib/nordlet/declarations/types/de_return_facts_set_declarations_request_facts.rb +6 -0
- data/lib/nordlet/declarations/types/de_return_facts_set_declarations_request_facts_euer_einkunftsart.rb +15 -0
- data/lib/nordlet/declarations/types/de_return_facts_set_declarations_response_facts.rb +6 -0
- data/lib/nordlet/declarations/types/de_return_facts_set_declarations_response_facts_euer_einkunftsart.rb +15 -0
- data/lib/nordlet/declarations/types/de_returns_generate_declarations_request_rule_key.rb +1 -0
- data/lib/nordlet/partners/client.rb +11 -10
- data/lib/nordlet/partners/types/create_partners_request.rb +4 -0
- data/lib/nordlet/partners/types/create_partners_request_invoice_currency.rb +97 -0
- data/lib/nordlet/partners/types/create_partners_request_invoice_locale.rb +44 -0
- data/lib/nordlet/partners/types/create_partners_response.rb +4 -0
- data/lib/nordlet/partners/types/find_or_create_partners_request.rb +4 -0
- data/lib/nordlet/partners/types/find_or_create_partners_request_invoice_currency.rb +97 -0
- data/lib/nordlet/partners/types/find_or_create_partners_request_invoice_locale.rb +44 -0
- data/lib/nordlet/partners/types/find_or_create_partners_response_partner.rb +4 -0
- data/lib/nordlet/partners/types/get_partners_response.rb +4 -0
- data/lib/nordlet/partners/types/list_partners_response_rows_item.rb +4 -0
- data/lib/nordlet/partners/types/update_partners_request.rb +4 -0
- data/lib/nordlet/partners/types/update_partners_request_invoice_currency.rb +97 -0
- data/lib/nordlet/partners/types/update_partners_request_invoice_locale.rb +44 -0
- data/lib/nordlet/partners/types/update_partners_response.rb +4 -0
- data/lib/nordlet/public/client.rb +111 -2
- data/lib/nordlet/public/types/invoices_checkout_public_request.rb +11 -0
- data/lib/nordlet/public/types/invoices_checkout_public_response.rb +11 -0
- data/lib/nordlet/public/types/invoices_get_public_request.rb +11 -0
- data/lib/nordlet/public/types/invoices_get_public_response.rb +47 -0
- data/lib/nordlet/public/types/invoices_get_public_response_buyer.rb +17 -0
- data/lib/nordlet/public/types/invoices_get_public_response_buyer_address.rb +17 -0
- data/lib/nordlet/public/types/invoices_get_public_response_lines_item.rb +21 -0
- data/lib/nordlet/public/types/invoices_get_public_response_payment_status.rb +15 -0
- data/lib/nordlet/public/types/invoices_get_public_response_seller.rb +31 -0
- data/lib/nordlet/public/types/invoices_get_public_response_seller_address.rb +17 -0
- data/lib/nordlet/public/types/invoices_get_public_response_status.rb +14 -0
- data/lib/nordlet/public/types/invoices_get_public_response_type.rb +16 -0
- data/lib/nordlet/public/types/invoices_pdf_public_request.rb +11 -0
- data/lib/nordlet/public/types/invoices_pdf_public_response.rb +15 -0
- data/lib/nordlet/sales/client.rb +237 -9
- data/lib/nordlet/sales/types/exports_month_sales_request.rb +13 -0
- data/lib/nordlet/sales/types/exports_month_sales_request_format.rb +15 -0
- data/lib/nordlet/sales/types/exports_month_sales_response.rb +15 -0
- data/lib/nordlet/sales/types/invoices_apply_advance_sales_response.rb +8 -0
- data/lib/nordlet/sales/types/invoices_card_payments_connect_sales_request.rb +13 -0
- data/lib/nordlet/sales/types/invoices_card_payments_connect_sales_response.rb +11 -0
- data/lib/nordlet/sales/types/invoices_card_payments_disconnect_sales_request.rb +9 -0
- data/lib/nordlet/sales/types/invoices_card_payments_disconnect_sales_response.rb +15 -0
- data/lib/nordlet/sales/types/invoices_card_payments_get_sales_request.rb +9 -0
- data/lib/nordlet/sales/types/invoices_card_payments_get_sales_response.rb +15 -0
- data/lib/nordlet/sales/types/invoices_create_sales_request.rb +6 -0
- data/lib/nordlet/sales/types/invoices_create_sales_request_locale.rb +29 -0
- data/lib/nordlet/sales/types/invoices_create_sales_response.rb +8 -0
- data/lib/nordlet/sales/types/invoices_get_sales_response.rb +8 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response.rb +8 -0
- data/lib/nordlet/sales/types/invoices_list_sales_response_rows_item.rb +8 -0
- data/lib/nordlet/sales/types/invoices_lock_sales_response.rb +8 -0
- data/lib/nordlet/sales/types/invoices_payment_link_sales_response_source.rb +1 -0
- data/lib/nordlet/sales/types/invoices_pdf_sales_request_locale.rb +29 -0
- data/lib/nordlet/sales/types/invoices_send_sales_request.rb +2 -0
- data/lib/nordlet/sales/types/invoices_send_sales_request_locale.rb +29 -0
- data/lib/nordlet/sales/types/invoices_unlock_sales_response.rb +8 -0
- data/lib/nordlet/sales/types/invoices_update_sales_request.rb +6 -0
- data/lib/nordlet/sales/types/invoices_update_sales_request_locale.rb +29 -0
- data/lib/nordlet/sales/types/invoices_update_sales_response.rb +8 -0
- data/lib/nordlet/sales/types/invoices_view_sales_request.rb +11 -0
- data/lib/nordlet/sales/types/invoices_view_sales_response.rb +49 -0
- data/lib/nordlet/sales/types/invoices_view_sales_response_buyer.rb +17 -0
- data/lib/nordlet/sales/types/invoices_view_sales_response_buyer_address.rb +17 -0
- data/lib/nordlet/sales/types/invoices_view_sales_response_lines_item.rb +21 -0
- data/lib/nordlet/sales/types/invoices_view_sales_response_payment_status.rb +15 -0
- data/lib/nordlet/sales/types/invoices_view_sales_response_seller.rb +31 -0
- data/lib/nordlet/sales/types/invoices_view_sales_response_seller_address.rb +17 -0
- data/lib/nordlet/sales/types/invoices_view_sales_response_status.rb +14 -0
- data/lib/nordlet/sales/types/invoices_view_sales_response_type.rb +16 -0
- data/lib/nordlet/sales/types/payments_list_sales_request.rb +17 -0
- data/lib/nordlet/sales/types/payments_list_sales_response.rb +19 -0
- data/lib/nordlet/sales/types/payments_list_sales_response_rows_item.rb +27 -0
- data/lib/nordlet/sales/types/payments_list_sales_response_rows_item_method.rb +15 -0
- data/lib/nordlet/sales/types/recurring_invoices_create_sales_request_locale.rb +29 -0
- data/lib/nordlet/sales/types/recurring_invoices_update_sales_request_locale.rb +29 -0
- data/lib/nordlet/version.rb +1 -1
- data/lib/nordlet/webhooks/types/subscriptions_create_webhooks_request_events_item.rb +1 -0
- data/lib/nordlet/webhooks/types/subscriptions_update_webhooks_request_events_item.rb +1 -0
- data/lib/nordlet.rb +61 -0
- data/reference.md +1296 -365
- metadata +63 -2
|
@@ -34,6 +34,10 @@ module Nordlet
|
|
|
34
34
|
|
|
35
35
|
field :gross_total, -> { String }, optional: false, nullable: false, api_name: "grossTotal"
|
|
36
36
|
|
|
37
|
+
field :sales_tax_percent, -> { String }, optional: false, nullable: true, api_name: "salesTaxPercent"
|
|
38
|
+
|
|
39
|
+
field :sales_tax_total, -> { String }, optional: false, nullable: false, api_name: "salesTaxTotal"
|
|
40
|
+
|
|
37
41
|
field :paid_amount, -> { String }, optional: false, nullable: false, api_name: "paidAmount"
|
|
38
42
|
|
|
39
43
|
field :journal_transaction_id, -> { String }, optional: false, nullable: true, api_name: "journalTransactionId"
|
|
@@ -94,6 +98,10 @@ module Nordlet
|
|
|
94
98
|
|
|
95
99
|
field :pay_token, -> { String }, optional: false, nullable: true, api_name: "payToken"
|
|
96
100
|
|
|
101
|
+
field :pay_link_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "payLinkEnabled"
|
|
102
|
+
|
|
103
|
+
field :debt_reminders_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "debtRemindersEnabled"
|
|
104
|
+
|
|
97
105
|
field :einvoice_system, -> { String }, optional: false, nullable: true, api_name: "einvoiceSystem"
|
|
98
106
|
|
|
99
107
|
field :einvoice_transport, -> { String }, optional: false, nullable: true, api_name: "einvoiceTransport"
|
|
@@ -34,6 +34,10 @@ module Nordlet
|
|
|
34
34
|
|
|
35
35
|
field :gross_total, -> { String }, optional: false, nullable: false, api_name: "grossTotal"
|
|
36
36
|
|
|
37
|
+
field :sales_tax_percent, -> { String }, optional: false, nullable: true, api_name: "salesTaxPercent"
|
|
38
|
+
|
|
39
|
+
field :sales_tax_total, -> { String }, optional: false, nullable: false, api_name: "salesTaxTotal"
|
|
40
|
+
|
|
37
41
|
field :paid_amount, -> { String }, optional: false, nullable: false, api_name: "paidAmount"
|
|
38
42
|
|
|
39
43
|
field :journal_transaction_id, -> { String }, optional: false, nullable: true, api_name: "journalTransactionId"
|
|
@@ -94,6 +98,10 @@ module Nordlet
|
|
|
94
98
|
|
|
95
99
|
field :pay_token, -> { String }, optional: false, nullable: true, api_name: "payToken"
|
|
96
100
|
|
|
101
|
+
field :pay_link_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "payLinkEnabled"
|
|
102
|
+
|
|
103
|
+
field :debt_reminders_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "debtRemindersEnabled"
|
|
104
|
+
|
|
97
105
|
field :einvoice_system, -> { String }, optional: false, nullable: true, api_name: "einvoiceSystem"
|
|
98
106
|
|
|
99
107
|
field :einvoice_transport, -> { String }, optional: false, nullable: true, api_name: "einvoiceTransport"
|
|
@@ -34,6 +34,10 @@ module Nordlet
|
|
|
34
34
|
|
|
35
35
|
field :gross_total, -> { String }, optional: false, nullable: false, api_name: "grossTotal"
|
|
36
36
|
|
|
37
|
+
field :sales_tax_percent, -> { String }, optional: false, nullable: true, api_name: "salesTaxPercent"
|
|
38
|
+
|
|
39
|
+
field :sales_tax_total, -> { String }, optional: false, nullable: false, api_name: "salesTaxTotal"
|
|
40
|
+
|
|
37
41
|
field :paid_amount, -> { String }, optional: false, nullable: false, api_name: "paidAmount"
|
|
38
42
|
|
|
39
43
|
field :journal_transaction_id, -> { String }, optional: false, nullable: true, api_name: "journalTransactionId"
|
|
@@ -94,6 +98,10 @@ module Nordlet
|
|
|
94
98
|
|
|
95
99
|
field :pay_token, -> { String }, optional: false, nullable: true, api_name: "payToken"
|
|
96
100
|
|
|
101
|
+
field :pay_link_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "payLinkEnabled"
|
|
102
|
+
|
|
103
|
+
field :debt_reminders_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "debtRemindersEnabled"
|
|
104
|
+
|
|
97
105
|
field :einvoice_system, -> { String }, optional: false, nullable: true, api_name: "einvoiceSystem"
|
|
98
106
|
|
|
99
107
|
field :einvoice_transport, -> { String }, optional: false, nullable: true, api_name: "einvoiceTransport"
|
|
@@ -34,6 +34,10 @@ module Nordlet
|
|
|
34
34
|
|
|
35
35
|
field :gross_total, -> { String }, optional: false, nullable: false, api_name: "grossTotal"
|
|
36
36
|
|
|
37
|
+
field :sales_tax_percent, -> { String }, optional: false, nullable: true, api_name: "salesTaxPercent"
|
|
38
|
+
|
|
39
|
+
field :sales_tax_total, -> { String }, optional: false, nullable: false, api_name: "salesTaxTotal"
|
|
40
|
+
|
|
37
41
|
field :paid_amount, -> { String }, optional: false, nullable: false, api_name: "paidAmount"
|
|
38
42
|
|
|
39
43
|
field :journal_transaction_id, -> { String }, optional: false, nullable: true, api_name: "journalTransactionId"
|
|
@@ -94,6 +98,10 @@ module Nordlet
|
|
|
94
98
|
|
|
95
99
|
field :pay_token, -> { String }, optional: false, nullable: true, api_name: "payToken"
|
|
96
100
|
|
|
101
|
+
field :pay_link_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "payLinkEnabled"
|
|
102
|
+
|
|
103
|
+
field :debt_reminders_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "debtRemindersEnabled"
|
|
104
|
+
|
|
97
105
|
field :einvoice_system, -> { String }, optional: false, nullable: true, api_name: "einvoiceSystem"
|
|
98
106
|
|
|
99
107
|
field :einvoice_transport, -> { String }, optional: false, nullable: true, api_name: "einvoiceTransport"
|
|
@@ -9,6 +9,35 @@ module Nordlet
|
|
|
9
9
|
EN = "en"
|
|
10
10
|
LT = "lt"
|
|
11
11
|
DE = "de"
|
|
12
|
+
FR = "fr"
|
|
13
|
+
ES = "es"
|
|
14
|
+
IT = "it"
|
|
15
|
+
PT = "pt"
|
|
16
|
+
NL = "nl"
|
|
17
|
+
PL = "pl"
|
|
18
|
+
SV = "sv"
|
|
19
|
+
DA = "da"
|
|
20
|
+
NO = "no"
|
|
21
|
+
FI = "fi"
|
|
22
|
+
ET = "et"
|
|
23
|
+
LV = "lv"
|
|
24
|
+
CS = "cs"
|
|
25
|
+
SK = "sk"
|
|
26
|
+
HU = "hu"
|
|
27
|
+
RO = "ro"
|
|
28
|
+
BG = "bg"
|
|
29
|
+
HR = "hr"
|
|
30
|
+
SL = "sl"
|
|
31
|
+
EL = "el"
|
|
32
|
+
MT = "mt"
|
|
33
|
+
IS = "is"
|
|
34
|
+
GA = "ga"
|
|
35
|
+
ZH = "zh"
|
|
36
|
+
JA = "ja"
|
|
37
|
+
AR = "ar"
|
|
38
|
+
HI = "hi"
|
|
39
|
+
RU = "ru"
|
|
40
|
+
TR = "tr"
|
|
12
41
|
end
|
|
13
42
|
end
|
|
14
43
|
end
|
|
@@ -9,6 +9,8 @@ module Nordlet
|
|
|
9
9
|
field :to, -> { String }, optional: true, nullable: false
|
|
10
10
|
|
|
11
11
|
field :locale, -> { Nordlet::Sales::Types::InvoicesSendSalesRequestLocale }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :quote, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
12
14
|
end
|
|
13
15
|
end
|
|
14
16
|
end
|
|
@@ -9,6 +9,35 @@ module Nordlet
|
|
|
9
9
|
EN = "en"
|
|
10
10
|
LT = "lt"
|
|
11
11
|
DE = "de"
|
|
12
|
+
FR = "fr"
|
|
13
|
+
ES = "es"
|
|
14
|
+
IT = "it"
|
|
15
|
+
PT = "pt"
|
|
16
|
+
NL = "nl"
|
|
17
|
+
PL = "pl"
|
|
18
|
+
SV = "sv"
|
|
19
|
+
DA = "da"
|
|
20
|
+
NO = "no"
|
|
21
|
+
FI = "fi"
|
|
22
|
+
ET = "et"
|
|
23
|
+
LV = "lv"
|
|
24
|
+
CS = "cs"
|
|
25
|
+
SK = "sk"
|
|
26
|
+
HU = "hu"
|
|
27
|
+
RO = "ro"
|
|
28
|
+
BG = "bg"
|
|
29
|
+
HR = "hr"
|
|
30
|
+
SL = "sl"
|
|
31
|
+
EL = "el"
|
|
32
|
+
MT = "mt"
|
|
33
|
+
IS = "is"
|
|
34
|
+
GA = "ga"
|
|
35
|
+
ZH = "zh"
|
|
36
|
+
JA = "ja"
|
|
37
|
+
AR = "ar"
|
|
38
|
+
HI = "hi"
|
|
39
|
+
RU = "ru"
|
|
40
|
+
TR = "tr"
|
|
12
41
|
end
|
|
13
42
|
end
|
|
14
43
|
end
|
|
@@ -34,6 +34,10 @@ module Nordlet
|
|
|
34
34
|
|
|
35
35
|
field :gross_total, -> { String }, optional: false, nullable: false, api_name: "grossTotal"
|
|
36
36
|
|
|
37
|
+
field :sales_tax_percent, -> { String }, optional: false, nullable: true, api_name: "salesTaxPercent"
|
|
38
|
+
|
|
39
|
+
field :sales_tax_total, -> { String }, optional: false, nullable: false, api_name: "salesTaxTotal"
|
|
40
|
+
|
|
37
41
|
field :paid_amount, -> { String }, optional: false, nullable: false, api_name: "paidAmount"
|
|
38
42
|
|
|
39
43
|
field :journal_transaction_id, -> { String }, optional: false, nullable: true, api_name: "journalTransactionId"
|
|
@@ -94,6 +98,10 @@ module Nordlet
|
|
|
94
98
|
|
|
95
99
|
field :pay_token, -> { String }, optional: false, nullable: true, api_name: "payToken"
|
|
96
100
|
|
|
101
|
+
field :pay_link_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "payLinkEnabled"
|
|
102
|
+
|
|
103
|
+
field :debt_reminders_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "debtRemindersEnabled"
|
|
104
|
+
|
|
97
105
|
field :einvoice_system, -> { String }, optional: false, nullable: true, api_name: "einvoiceSystem"
|
|
98
106
|
|
|
99
107
|
field :einvoice_transport, -> { String }, optional: false, nullable: true, api_name: "einvoiceTransport"
|
|
@@ -34,6 +34,10 @@ module Nordlet
|
|
|
34
34
|
|
|
35
35
|
field :locale, -> { Nordlet::Sales::Types::InvoicesUpdateSalesRequestLocale }, optional: true, nullable: false
|
|
36
36
|
|
|
37
|
+
field :pay_link_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "payLinkEnabled"
|
|
38
|
+
|
|
39
|
+
field :debt_reminders_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "debtRemindersEnabled"
|
|
40
|
+
|
|
37
41
|
field :operation_type_id, -> { String }, optional: true, nullable: false, api_name: "operationTypeId"
|
|
38
42
|
|
|
39
43
|
field :document_series_id, -> { String }, optional: true, nullable: false, api_name: "documentSeriesId"
|
|
@@ -52,6 +56,8 @@ module Nordlet
|
|
|
52
56
|
|
|
53
57
|
field :received_by_title, -> { String }, optional: true, nullable: false, api_name: "receivedByTitle"
|
|
54
58
|
|
|
59
|
+
field :sales_tax_percent, -> { String }, optional: true, nullable: false, api_name: "salesTaxPercent"
|
|
60
|
+
|
|
55
61
|
field :lines, -> { Internal::Types::Array[Nordlet::Sales::Types::InvoicesUpdateSalesRequestLinesItem] }, optional: true, nullable: false
|
|
56
62
|
end
|
|
57
63
|
end
|
|
@@ -9,6 +9,35 @@ module Nordlet
|
|
|
9
9
|
EN = "en"
|
|
10
10
|
LT = "lt"
|
|
11
11
|
DE = "de"
|
|
12
|
+
FR = "fr"
|
|
13
|
+
ES = "es"
|
|
14
|
+
IT = "it"
|
|
15
|
+
PT = "pt"
|
|
16
|
+
NL = "nl"
|
|
17
|
+
PL = "pl"
|
|
18
|
+
SV = "sv"
|
|
19
|
+
DA = "da"
|
|
20
|
+
NO = "no"
|
|
21
|
+
FI = "fi"
|
|
22
|
+
ET = "et"
|
|
23
|
+
LV = "lv"
|
|
24
|
+
CS = "cs"
|
|
25
|
+
SK = "sk"
|
|
26
|
+
HU = "hu"
|
|
27
|
+
RO = "ro"
|
|
28
|
+
BG = "bg"
|
|
29
|
+
HR = "hr"
|
|
30
|
+
SL = "sl"
|
|
31
|
+
EL = "el"
|
|
32
|
+
MT = "mt"
|
|
33
|
+
IS = "is"
|
|
34
|
+
GA = "ga"
|
|
35
|
+
ZH = "zh"
|
|
36
|
+
JA = "ja"
|
|
37
|
+
AR = "ar"
|
|
38
|
+
HI = "hi"
|
|
39
|
+
RU = "ru"
|
|
40
|
+
TR = "tr"
|
|
12
41
|
end
|
|
13
42
|
end
|
|
14
43
|
end
|
|
@@ -34,6 +34,10 @@ module Nordlet
|
|
|
34
34
|
|
|
35
35
|
field :gross_total, -> { String }, optional: false, nullable: false, api_name: "grossTotal"
|
|
36
36
|
|
|
37
|
+
field :sales_tax_percent, -> { String }, optional: false, nullable: true, api_name: "salesTaxPercent"
|
|
38
|
+
|
|
39
|
+
field :sales_tax_total, -> { String }, optional: false, nullable: false, api_name: "salesTaxTotal"
|
|
40
|
+
|
|
37
41
|
field :paid_amount, -> { String }, optional: false, nullable: false, api_name: "paidAmount"
|
|
38
42
|
|
|
39
43
|
field :journal_transaction_id, -> { String }, optional: false, nullable: true, api_name: "journalTransactionId"
|
|
@@ -94,6 +98,10 @@ module Nordlet
|
|
|
94
98
|
|
|
95
99
|
field :pay_token, -> { String }, optional: false, nullable: true, api_name: "payToken"
|
|
96
100
|
|
|
101
|
+
field :pay_link_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "payLinkEnabled"
|
|
102
|
+
|
|
103
|
+
field :debt_reminders_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "debtRemindersEnabled"
|
|
104
|
+
|
|
97
105
|
field :einvoice_system, -> { String }, optional: false, nullable: true, api_name: "einvoiceSystem"
|
|
98
106
|
|
|
99
107
|
field :einvoice_transport, -> { String }, optional: false, nullable: true, api_name: "einvoiceTransport"
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoicesViewSalesResponse < Internal::Types::Model
|
|
7
|
+
field :type, -> { Nordlet::Sales::Types::InvoicesViewSalesResponseType }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :status, -> { Nordlet::Sales::Types::InvoicesViewSalesResponseStatus }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :payment_status, -> { Nordlet::Sales::Types::InvoicesViewSalesResponsePaymentStatus }, optional: false, nullable: false, api_name: "paymentStatus"
|
|
12
|
+
|
|
13
|
+
field :number, -> { String }, optional: false, nullable: true
|
|
14
|
+
|
|
15
|
+
field :issue_date, -> { String }, optional: false, nullable: true, api_name: "issueDate"
|
|
16
|
+
|
|
17
|
+
field :due_date, -> { String }, optional: false, nullable: true, api_name: "dueDate"
|
|
18
|
+
|
|
19
|
+
field :currency, -> { String }, optional: false, nullable: false
|
|
20
|
+
|
|
21
|
+
field :net_total, -> { String }, optional: false, nullable: false, api_name: "netTotal"
|
|
22
|
+
|
|
23
|
+
field :vat_total, -> { String }, optional: false, nullable: false, api_name: "vatTotal"
|
|
24
|
+
|
|
25
|
+
field :sales_tax_percent, -> { String }, optional: false, nullable: true, api_name: "salesTaxPercent"
|
|
26
|
+
|
|
27
|
+
field :sales_tax_total, -> { String }, optional: false, nullable: false, api_name: "salesTaxTotal"
|
|
28
|
+
|
|
29
|
+
field :gross_total, -> { String }, optional: false, nullable: false, api_name: "grossTotal"
|
|
30
|
+
|
|
31
|
+
field :paid_amount, -> { String }, optional: false, nullable: false, api_name: "paidAmount"
|
|
32
|
+
|
|
33
|
+
field :paid_on, -> { String }, optional: false, nullable: true, api_name: "paidOn"
|
|
34
|
+
|
|
35
|
+
field :notes, -> { String }, optional: false, nullable: true
|
|
36
|
+
|
|
37
|
+
field :pay_url, -> { String }, optional: false, nullable: true, api_name: "payUrl"
|
|
38
|
+
|
|
39
|
+
field :seller, -> { Nordlet::Sales::Types::InvoicesViewSalesResponseSeller }, optional: false, nullable: false
|
|
40
|
+
|
|
41
|
+
field :buyer, -> { Nordlet::Sales::Types::InvoicesViewSalesResponseBuyer }, optional: false, nullable: false
|
|
42
|
+
|
|
43
|
+
field :lines, -> { Internal::Types::Array[Nordlet::Sales::Types::InvoicesViewSalesResponseLinesItem] }, optional: false, nullable: false
|
|
44
|
+
|
|
45
|
+
field :token, -> { String }, optional: false, nullable: true
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoicesViewSalesResponseBuyer < Internal::Types::Model
|
|
7
|
+
field :name, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :vat_code, -> { String }, optional: false, nullable: true, api_name: "vatCode"
|
|
10
|
+
|
|
11
|
+
field :address, -> { Nordlet::Sales::Types::InvoicesViewSalesResponseBuyerAddress }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :email, -> { String }, optional: false, nullable: true
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoicesViewSalesResponseBuyerAddress < Internal::Types::Model
|
|
7
|
+
field :street, -> { String }, optional: false, nullable: true
|
|
8
|
+
|
|
9
|
+
field :city, -> { String }, optional: false, nullable: true
|
|
10
|
+
|
|
11
|
+
field :postal_code, -> { String }, optional: false, nullable: true, api_name: "postalCode"
|
|
12
|
+
|
|
13
|
+
field :country_code, -> { String }, optional: false, nullable: true, api_name: "countryCode"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoicesViewSalesResponseLinesItem < Internal::Types::Model
|
|
7
|
+
field :description, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :unit, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :quantity, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :unit_price, -> { String }, optional: false, nullable: true, api_name: "unitPrice"
|
|
14
|
+
|
|
15
|
+
field :vat_rate_percent, -> { String }, optional: false, nullable: false, api_name: "vatRatePercent"
|
|
16
|
+
|
|
17
|
+
field :line_net, -> { String }, optional: false, nullable: false, api_name: "lineNet"
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
module InvoicesViewSalesResponsePaymentStatus
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
UNPAID = "unpaid"
|
|
10
|
+
PARTIAL = "partial"
|
|
11
|
+
PAID = "paid"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoicesViewSalesResponseSeller < Internal::Types::Model
|
|
7
|
+
field :name, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :vat_code, -> { String }, optional: false, nullable: true, api_name: "vatCode"
|
|
10
|
+
|
|
11
|
+
field :country_code, -> { String }, optional: false, nullable: true, api_name: "countryCode"
|
|
12
|
+
|
|
13
|
+
field :address, -> { Nordlet::Sales::Types::InvoicesViewSalesResponseSellerAddress }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :email, -> { String }, optional: false, nullable: true
|
|
16
|
+
|
|
17
|
+
field :iban, -> { String }, optional: false, nullable: true
|
|
18
|
+
|
|
19
|
+
field :bank_name, -> { String }, optional: false, nullable: true, api_name: "bankName"
|
|
20
|
+
|
|
21
|
+
field :bank_bic, -> { String }, optional: false, nullable: true, api_name: "bankBic"
|
|
22
|
+
|
|
23
|
+
field :bank_code, -> { String }, optional: false, nullable: true, api_name: "bankCode"
|
|
24
|
+
|
|
25
|
+
field :bank_branch_code, -> { String }, optional: false, nullable: true, api_name: "bankBranchCode"
|
|
26
|
+
|
|
27
|
+
field :bank_account_number, -> { String }, optional: false, nullable: true, api_name: "bankAccountNumber"
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class InvoicesViewSalesResponseSellerAddress < Internal::Types::Model
|
|
7
|
+
field :street, -> { String }, optional: false, nullable: true
|
|
8
|
+
|
|
9
|
+
field :city, -> { String }, optional: false, nullable: true
|
|
10
|
+
|
|
11
|
+
field :postal_code, -> { String }, optional: false, nullable: true, api_name: "postalCode"
|
|
12
|
+
|
|
13
|
+
field :country_code, -> { String }, optional: false, nullable: true, api_name: "countryCode"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
module InvoicesViewSalesResponseType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
INVOICE = "invoice"
|
|
10
|
+
CREDIT_NOTE = "credit_note"
|
|
11
|
+
PROFORMA = "proforma"
|
|
12
|
+
ADVANCE = "advance"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class PaymentsListSalesRequest < Internal::Types::Model
|
|
7
|
+
field :from, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :to, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :page, -> { Integer }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :page_size, -> { Integer }, optional: true, nullable: false, api_name: "pageSize"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class PaymentsListSalesResponse < Internal::Types::Model
|
|
7
|
+
field :rows, -> { Internal::Types::Array[Nordlet::Sales::Types::PaymentsListSalesResponseRowsItem] }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :page, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :page_size, -> { Integer }, optional: false, nullable: false, api_name: "pageSize"
|
|
12
|
+
|
|
13
|
+
field :total, -> { Integer }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :totals_by_currency, -> { Internal::Types::Hash[String, String] }, optional: false, nullable: false, api_name: "totalsByCurrency"
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
class PaymentsListSalesResponseRowsItem < Internal::Types::Model
|
|
7
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :date, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :invoice_id, -> { String }, optional: false, nullable: false, api_name: "invoiceId"
|
|
12
|
+
|
|
13
|
+
field :full_number, -> { String }, optional: false, nullable: true, api_name: "fullNumber"
|
|
14
|
+
|
|
15
|
+
field :partner_id, -> { String }, optional: false, nullable: false, api_name: "partnerId"
|
|
16
|
+
|
|
17
|
+
field :partner_name, -> { String }, optional: false, nullable: false, api_name: "partnerName"
|
|
18
|
+
|
|
19
|
+
field :amount, -> { String }, optional: false, nullable: false
|
|
20
|
+
|
|
21
|
+
field :currency, -> { String }, optional: false, nullable: false
|
|
22
|
+
|
|
23
|
+
field :method_, -> { Nordlet::Sales::Types::PaymentsListSalesResponseRowsItemMethod }, optional: false, nullable: false, api_name: "method"
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Sales
|
|
5
|
+
module Types
|
|
6
|
+
module PaymentsListSalesResponseRowsItemMethod
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
BANK_TRANSFER = "bank_transfer"
|
|
10
|
+
CARD = "card"
|
|
11
|
+
CASH = "cash"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -9,6 +9,35 @@ module Nordlet
|
|
|
9
9
|
EN = "en"
|
|
10
10
|
LT = "lt"
|
|
11
11
|
DE = "de"
|
|
12
|
+
FR = "fr"
|
|
13
|
+
ES = "es"
|
|
14
|
+
IT = "it"
|
|
15
|
+
PT = "pt"
|
|
16
|
+
NL = "nl"
|
|
17
|
+
PL = "pl"
|
|
18
|
+
SV = "sv"
|
|
19
|
+
DA = "da"
|
|
20
|
+
NO = "no"
|
|
21
|
+
FI = "fi"
|
|
22
|
+
ET = "et"
|
|
23
|
+
LV = "lv"
|
|
24
|
+
CS = "cs"
|
|
25
|
+
SK = "sk"
|
|
26
|
+
HU = "hu"
|
|
27
|
+
RO = "ro"
|
|
28
|
+
BG = "bg"
|
|
29
|
+
HR = "hr"
|
|
30
|
+
SL = "sl"
|
|
31
|
+
EL = "el"
|
|
32
|
+
MT = "mt"
|
|
33
|
+
IS = "is"
|
|
34
|
+
GA = "ga"
|
|
35
|
+
ZH = "zh"
|
|
36
|
+
JA = "ja"
|
|
37
|
+
AR = "ar"
|
|
38
|
+
HI = "hi"
|
|
39
|
+
RU = "ru"
|
|
40
|
+
TR = "tr"
|
|
12
41
|
end
|
|
13
42
|
end
|
|
14
43
|
end
|
|
@@ -9,6 +9,35 @@ module Nordlet
|
|
|
9
9
|
EN = "en"
|
|
10
10
|
LT = "lt"
|
|
11
11
|
DE = "de"
|
|
12
|
+
FR = "fr"
|
|
13
|
+
ES = "es"
|
|
14
|
+
IT = "it"
|
|
15
|
+
PT = "pt"
|
|
16
|
+
NL = "nl"
|
|
17
|
+
PL = "pl"
|
|
18
|
+
SV = "sv"
|
|
19
|
+
DA = "da"
|
|
20
|
+
NO = "no"
|
|
21
|
+
FI = "fi"
|
|
22
|
+
ET = "et"
|
|
23
|
+
LV = "lv"
|
|
24
|
+
CS = "cs"
|
|
25
|
+
SK = "sk"
|
|
26
|
+
HU = "hu"
|
|
27
|
+
RO = "ro"
|
|
28
|
+
BG = "bg"
|
|
29
|
+
HR = "hr"
|
|
30
|
+
SL = "sl"
|
|
31
|
+
EL = "el"
|
|
32
|
+
MT = "mt"
|
|
33
|
+
IS = "is"
|
|
34
|
+
GA = "ga"
|
|
35
|
+
ZH = "zh"
|
|
36
|
+
JA = "ja"
|
|
37
|
+
AR = "ar"
|
|
38
|
+
HI = "hi"
|
|
39
|
+
RU = "ru"
|
|
40
|
+
TR = "tr"
|
|
12
41
|
end
|
|
13
42
|
end
|
|
14
43
|
end
|