nordlet 0.5.5 → 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 +5 -4
- 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/login_link_request_account_request.rb +2 -0
- data/lib/nordlet/account/types/login_link_request_account_request_app.rb +13 -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 +121 -7
- 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/debt_reminders_list_partners_response_rows_item.rb +2 -0
- data/lib/nordlet/partners/types/debt_reminders_list_partners_response_rows_item_kind.rb +14 -0
- data/lib/nordlet/partners/types/debt_reminders_settings_get_partners_request.rb +9 -0
- data/lib/nordlet/partners/types/debt_reminders_settings_get_partners_response.rb +13 -0
- data/lib/nordlet/partners/types/debt_reminders_settings_update_partners_request.rb +13 -0
- data/lib/nordlet/partners/types/debt_reminders_settings_update_partners_response.rb +13 -0
- data/lib/nordlet/partners/types/debt_reminders_upcoming_partners_request.rb +9 -0
- data/lib/nordlet/partners/types/debt_reminders_upcoming_partners_response.rb +11 -0
- data/lib/nordlet/partners/types/debt_reminders_upcoming_partners_response_rows_item.rb +27 -0
- data/lib/nordlet/partners/types/debt_reminders_upcoming_partners_response_rows_item_kind.rb +14 -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 +71 -0
- data/reference.md +2012 -895
- metadata +73 -2
|
@@ -24,6 +24,8 @@ module Nordlet
|
|
|
24
24
|
|
|
25
25
|
field :has_subscription, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasSubscription"
|
|
26
26
|
|
|
27
|
+
field :subscription_cancel_at, -> { String }, optional: false, nullable: true, api_name: "subscriptionCancelAt"
|
|
28
|
+
|
|
27
29
|
field :payment_failed_at, -> { String }, optional: false, nullable: true, api_name: "paymentFailedAt"
|
|
28
30
|
|
|
29
31
|
field :payment_failed_invoice_url, -> { String }, optional: false, nullable: true, api_name: "paymentFailedInvoiceUrl"
|
|
@@ -24,6 +24,8 @@ module Nordlet
|
|
|
24
24
|
|
|
25
25
|
field :has_subscription, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasSubscription"
|
|
26
26
|
|
|
27
|
+
field :subscription_cancel_at, -> { String }, optional: false, nullable: true, api_name: "subscriptionCancelAt"
|
|
28
|
+
|
|
27
29
|
field :payment_failed_at, -> { String }, optional: false, nullable: true, api_name: "paymentFailedAt"
|
|
28
30
|
|
|
29
31
|
field :payment_failed_invoice_url, -> { String }, optional: false, nullable: true, api_name: "paymentFailedInvoiceUrl"
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class SubscriptionCancelBillingResponse < Internal::Types::Model
|
|
7
|
+
field :plan, -> { Nordlet::Billing::Types::SubscriptionCancelBillingResponsePlan }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :account_type, -> { Nordlet::Billing::Types::SubscriptionCancelBillingResponseAccountType }, optional: false, nullable: false, api_name: "accountType"
|
|
10
|
+
|
|
11
|
+
field :status, -> { Nordlet::Billing::Types::SubscriptionCancelBillingResponseStatus }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :balance_cents, -> { Integer }, optional: false, nullable: false, api_name: "balanceCents"
|
|
14
|
+
|
|
15
|
+
field :trial_ends_at, -> { String }, optional: false, nullable: true, api_name: "trialEndsAt"
|
|
16
|
+
|
|
17
|
+
field :first_top_up_at, -> { String }, optional: false, nullable: true, api_name: "firstTopUpAt"
|
|
18
|
+
|
|
19
|
+
field :last_charged_date, -> { String }, optional: false, nullable: true, api_name: "lastChargedDate"
|
|
20
|
+
|
|
21
|
+
field :payments_configured, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "paymentsConfigured"
|
|
22
|
+
|
|
23
|
+
field :has_payment_account, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasPaymentAccount"
|
|
24
|
+
|
|
25
|
+
field :has_subscription, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasSubscription"
|
|
26
|
+
|
|
27
|
+
field :subscription_cancel_at, -> { String }, optional: false, nullable: true, api_name: "subscriptionCancelAt"
|
|
28
|
+
|
|
29
|
+
field :payment_failed_at, -> { String }, optional: false, nullable: true, api_name: "paymentFailedAt"
|
|
30
|
+
|
|
31
|
+
field :payment_failed_invoice_url, -> { String }, optional: false, nullable: true, api_name: "paymentFailedInvoiceUrl"
|
|
32
|
+
|
|
33
|
+
field :month_to_date, -> { Nordlet::Billing::Types::SubscriptionCancelBillingResponseMonthToDate }, optional: false, nullable: false, api_name: "monthToDate"
|
|
34
|
+
|
|
35
|
+
field :plans, -> { Internal::Types::Hash[String, Nordlet::Billing::Types::SubscriptionCancelBillingResponsePlansValue] }, optional: false, nullable: false
|
|
36
|
+
|
|
37
|
+
field :api_request_eur, -> { String }, optional: false, nullable: false, api_name: "apiRequestEur"
|
|
38
|
+
|
|
39
|
+
field :top_up, -> { Nordlet::Billing::Types::SubscriptionCancelBillingResponseTopUp }, optional: false, nullable: false, api_name: "topUp"
|
|
40
|
+
|
|
41
|
+
field :auto_top_up, -> { Nordlet::Billing::Types::SubscriptionCancelBillingResponseAutoTopUp }, optional: false, nullable: false, api_name: "autoTopUp"
|
|
42
|
+
|
|
43
|
+
field :overdraft_cap_cents, -> { Integer }, optional: false, nullable: false, api_name: "overdraftCapCents"
|
|
44
|
+
|
|
45
|
+
field :overdraft_cap_max_cents, -> { Integer }, optional: false, nullable: false, api_name: "overdraftCapMaxCents"
|
|
46
|
+
|
|
47
|
+
field :trial_days, -> { Integer }, optional: false, nullable: false, api_name: "trialDays"
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
module SubscriptionCancelBillingResponseAccountType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
FLAT_RATE = "flat_rate"
|
|
10
|
+
PER_REQUEST = "per_request"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class SubscriptionCancelBillingResponseAutoTopUp < Internal::Types::Model
|
|
7
|
+
field :enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :amount_cents, -> { Integer }, optional: false, nullable: false, api_name: "amountCents"
|
|
10
|
+
|
|
11
|
+
field :pending, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class SubscriptionCancelBillingResponseMonthToDate < Internal::Types::Model
|
|
7
|
+
field :from, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :to, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :api_requests, -> { Integer }, optional: false, nullable: false, api_name: "apiRequests"
|
|
12
|
+
|
|
13
|
+
field :sale_invoices, -> { Integer }, optional: false, nullable: false, api_name: "saleInvoices"
|
|
14
|
+
|
|
15
|
+
field :ocr_pages, -> { Integer }, optional: false, nullable: false, api_name: "ocrPages"
|
|
16
|
+
|
|
17
|
+
field :file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "fileBytes"
|
|
18
|
+
|
|
19
|
+
field :database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "databaseBytes"
|
|
20
|
+
|
|
21
|
+
field :archived_companies, -> { Integer }, optional: false, nullable: false, api_name: "archivedCompanies"
|
|
22
|
+
|
|
23
|
+
field :estimated_today_cents, -> { Integer }, optional: false, nullable: false, api_name: "estimatedTodayCents"
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
module SubscriptionCancelBillingResponsePlan
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
STARTER = "starter"
|
|
10
|
+
BUSINESS = "business"
|
|
11
|
+
SCALE = "scale"
|
|
12
|
+
INVOICING = "invoicing"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class SubscriptionCancelBillingResponsePlansValue < Internal::Types::Model
|
|
7
|
+
field :monthly_fee_eur, -> { String }, optional: false, nullable: false, api_name: "monthlyFeeEur"
|
|
8
|
+
|
|
9
|
+
field :included_invoices, -> { Integer }, optional: false, nullable: false, api_name: "includedInvoices"
|
|
10
|
+
|
|
11
|
+
field :invoice_overage_eur, -> { String }, optional: false, nullable: false, api_name: "invoiceOverageEur"
|
|
12
|
+
|
|
13
|
+
field :included_database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "includedDatabaseBytes"
|
|
14
|
+
|
|
15
|
+
field :included_file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "includedFileBytes"
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
module SubscriptionCancelBillingResponseStatus
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
TRIAL = "trial"
|
|
10
|
+
ACTIVE = "active"
|
|
11
|
+
SUSPENDED = "suspended"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class SubscriptionCancelBillingResponseTopUp < Internal::Types::Model
|
|
7
|
+
field :min_cents, -> { Integer }, optional: false, nullable: false, api_name: "minCents"
|
|
8
|
+
|
|
9
|
+
field :max_cents, -> { Integer }, optional: false, nullable: false, api_name: "maxCents"
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -24,6 +24,8 @@ module Nordlet
|
|
|
24
24
|
|
|
25
25
|
field :has_subscription, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasSubscription"
|
|
26
26
|
|
|
27
|
+
field :subscription_cancel_at, -> { String }, optional: false, nullable: true, api_name: "subscriptionCancelAt"
|
|
28
|
+
|
|
27
29
|
field :payment_failed_at, -> { String }, optional: false, nullable: true, api_name: "paymentFailedAt"
|
|
28
30
|
|
|
29
31
|
field :payment_failed_invoice_url, -> { String }, optional: false, nullable: true, api_name: "paymentFailedInvoiceUrl"
|
|
@@ -1927,8 +1927,9 @@ module Nordlet
|
|
|
1927
1927
|
|
|
1928
1928
|
# Build one of the German returns that ELSTER accepts only through a licensed ERiC transmission (E-Bilanz,
|
|
1929
1929
|
# Körperschaftsteuer, Gewerbesteuer with its Zerlegungserklärung, annual VAT return, Lohnsteuer-Anmeldung,
|
|
1930
|
-
# Lohnsteuerbescheinigung) for the company to send through its own ELSTER-capable program
|
|
1931
|
-
#
|
|
1930
|
+
# Lohnsteuerbescheinigung) for the company to send through its own ELSTER-capable program, or the Anlage EÜR with
|
|
1931
|
+
# the Anlage AVEÜR of a cash-basis company as a UTF-8 CSV file of its Zeilen and Kennzahlen (`de-euer`, 422 for a
|
|
1932
|
+
# company without the cash-basis flag). The period is the year, or YYYY-MM for the monthly Lohnsteuer-Anmeldung.
|
|
1932
1933
|
#
|
|
1933
1934
|
# @param request_options [Hash]
|
|
1934
1935
|
# @param params [Nordlet::Declarations::Types::DeReturnsGenerateDeclarationsRequest]
|
|
@@ -1962,13 +1963,53 @@ module Nordlet
|
|
|
1962
1963
|
end
|
|
1963
1964
|
end
|
|
1964
1965
|
|
|
1966
|
+
# The Anlage EÜR and the Anlage AVEÜR of a year for a company that determines its profit on a cash basis (§ 4 Abs.
|
|
1967
|
+
# 3 EStG), as the Zeilen and Kennzahlen of the official 2025 forms with their amounts: the receipts and payments
|
|
1968
|
+
# of the year from the invoice payments (each payment split over the lines of its invoice), the payroll and tax
|
|
1969
|
+
# payments and the journal transactions on cash and bank accounts, and the asset register for the Anlage AVEÜR and
|
|
1970
|
+
# the AfA. Accounts are placed on the Zeilen through the de-euer statement scheme (Account → Statement rows).
|
|
1971
|
+
# Refused with 422 for a company without the cash-basis flag.
|
|
1972
|
+
#
|
|
1973
|
+
# @param request_options [Hash]
|
|
1974
|
+
# @param params [Nordlet::Declarations::Types::DeEuerGetDeclarationsRequest]
|
|
1975
|
+
# @option request_options [String] :base_url
|
|
1976
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
1977
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
1978
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
1979
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
1980
|
+
#
|
|
1981
|
+
# @return [Nordlet::Declarations::Types::DeEuerGetDeclarationsResponse]
|
|
1982
|
+
def de_euer_get(request_options: {}, **params)
|
|
1983
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
1984
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
1985
|
+
base_url: request_options[:base_url],
|
|
1986
|
+
method: "POST",
|
|
1987
|
+
path: "v1/declarations/de/euer/get",
|
|
1988
|
+
body: Nordlet::Declarations::Types::DeEuerGetDeclarationsRequest.new(params).to_h,
|
|
1989
|
+
request_options: request_options
|
|
1990
|
+
)
|
|
1991
|
+
begin
|
|
1992
|
+
response = @client.send(request)
|
|
1993
|
+
rescue Net::HTTPRequestTimeout
|
|
1994
|
+
raise Nordlet::Errors::TimeoutError
|
|
1995
|
+
end
|
|
1996
|
+
code = response.code.to_i
|
|
1997
|
+
if code.between?(200, 299)
|
|
1998
|
+
Nordlet::Declarations::Types::DeEuerGetDeclarationsResponse.load(response.body)
|
|
1999
|
+
else
|
|
2000
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
2001
|
+
raise error_class.new(response.body, code: code)
|
|
2002
|
+
end
|
|
2003
|
+
end
|
|
2004
|
+
|
|
1965
2005
|
# The facts of one year that the German annual returns (Körperschaftsteuer, Gewerbesteuer, Umsatzsteuererklärung)
|
|
1966
2006
|
# need and the ledger does not hold: changes of shareholders, contracts with shareholders, the tax contribution
|
|
1967
2007
|
# account, loss carry-back, the donation carry-forward, the business premises with the municipalities for the
|
|
1968
2008
|
# apportionment of the trade tax, the land values or property tax and the participations for the trade tax
|
|
1969
2009
|
# additions and reductions, the foreign income per country for the Anlage AESt, the date of leaving the
|
|
1970
|
-
# small-business scheme
|
|
1971
|
-
#
|
|
2010
|
+
# small-business scheme, the Anlage UN answers of a company seated abroad and, for a cash-basis company, the kind
|
|
2011
|
+
# of income and the withdrawals and contributions of the owner for the Anlage EÜR. A key that is absent has not
|
|
2012
|
+
# been answered.
|
|
1972
2013
|
#
|
|
1973
2014
|
# @param request_options [Hash]
|
|
1974
2015
|
# @param params [Nordlet::Declarations::Types::DeReturnFactsGetDeclarationsRequest]
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class DeEuerGetDeclarationsResponse < Internal::Types::Model
|
|
7
|
+
field :year, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :rows, -> { Internal::Types::Array[Nordlet::Declarations::Types::DeEuerGetDeclarationsResponseRowsItem] }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :warnings, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :source, -> { String }, optional: false, nullable: false
|
|
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 DeEuerGetDeclarationsResponseRowsItem < Internal::Types::Model
|
|
7
|
+
field :anlage, -> { Nordlet::Declarations::Types::DeEuerGetDeclarationsResponseRowsItemAnlage }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :zeile, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :kennzahl, -> { String }, optional: false, nullable: true
|
|
12
|
+
|
|
13
|
+
field :label, -> { String }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :value, -> { String }, optional: false, nullable: false
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -53,6 +53,12 @@ module Nordlet
|
|
|
53
53
|
field :single_transport_tax, -> { String }, optional: true, nullable: false, api_name: "singleTransportTax"
|
|
54
54
|
|
|
55
55
|
field :distance_sales, -> { String }, optional: true, nullable: false, api_name: "distanceSales"
|
|
56
|
+
|
|
57
|
+
field :euer_einkunftsart, -> { Nordlet::Declarations::Types::DeReturnFactsGetDeclarationsResponseFactsEuerEinkunftsart }, optional: true, nullable: false, api_name: "euerEinkunftsart"
|
|
58
|
+
|
|
59
|
+
field :euer_entnahmen, -> { String }, optional: true, nullable: false, api_name: "euerEntnahmen"
|
|
60
|
+
|
|
61
|
+
field :euer_einlagen, -> { String }, optional: true, nullable: false, api_name: "euerEinlagen"
|
|
56
62
|
end
|
|
57
63
|
end
|
|
58
64
|
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
module DeReturnFactsGetDeclarationsResponseFactsEuerEinkunftsart
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
ONE = "1"
|
|
10
|
+
TWO = "2"
|
|
11
|
+
THREE = "3"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -53,6 +53,12 @@ module Nordlet
|
|
|
53
53
|
field :single_transport_tax, -> { String }, optional: true, nullable: false, api_name: "singleTransportTax"
|
|
54
54
|
|
|
55
55
|
field :distance_sales, -> { String }, optional: true, nullable: false, api_name: "distanceSales"
|
|
56
|
+
|
|
57
|
+
field :euer_einkunftsart, -> { Nordlet::Declarations::Types::DeReturnFactsSetDeclarationsRequestFactsEuerEinkunftsart }, optional: true, nullable: false, api_name: "euerEinkunftsart"
|
|
58
|
+
|
|
59
|
+
field :euer_entnahmen, -> { String }, optional: true, nullable: false, api_name: "euerEntnahmen"
|
|
60
|
+
|
|
61
|
+
field :euer_einlagen, -> { String }, optional: true, nullable: false, api_name: "euerEinlagen"
|
|
56
62
|
end
|
|
57
63
|
end
|
|
58
64
|
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
module DeReturnFactsSetDeclarationsRequestFactsEuerEinkunftsart
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
ONE = "1"
|
|
10
|
+
TWO = "2"
|
|
11
|
+
THREE = "3"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -53,6 +53,12 @@ module Nordlet
|
|
|
53
53
|
field :single_transport_tax, -> { String }, optional: true, nullable: false, api_name: "singleTransportTax"
|
|
54
54
|
|
|
55
55
|
field :distance_sales, -> { String }, optional: true, nullable: false, api_name: "distanceSales"
|
|
56
|
+
|
|
57
|
+
field :euer_einkunftsart, -> { Nordlet::Declarations::Types::DeReturnFactsSetDeclarationsResponseFactsEuerEinkunftsart }, optional: true, nullable: false, api_name: "euerEinkunftsart"
|
|
58
|
+
|
|
59
|
+
field :euer_entnahmen, -> { String }, optional: true, nullable: false, api_name: "euerEntnahmen"
|
|
60
|
+
|
|
61
|
+
field :euer_einlagen, -> { String }, optional: true, nullable: false, api_name: "euerEinlagen"
|
|
56
62
|
end
|
|
57
63
|
end
|
|
58
64
|
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
module DeReturnFactsSetDeclarationsResponseFactsEuerEinkunftsart
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
ONE = "1"
|
|
10
|
+
TWO = "2"
|
|
11
|
+
THREE = "3"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|