nordlet 0.5.6 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/nordlet/account/client.rb +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
|
@@ -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
|
|
@@ -460,10 +460,10 @@ module Nordlet
|
|
|
460
460
|
# Runs the overdue selection of the daily debt-reminder job for this company as of the company's current date and
|
|
461
461
|
# returns the overdue reminders it would send, without sending or recording anything. A partner is included when
|
|
462
462
|
# it has `autoDebtReminder`, is active, has an e-mail address, got no overdue reminder in the last `repeatDays`
|
|
463
|
-
# days (`partners/debt-reminders/settings/get`) and has issued invoices or advance invoices
|
|
464
|
-
# with an unpaid remainder; the interest per invoice is the remainder
|
|
465
|
-
# times the days late over 365, and the totals are per currency. Sent
|
|
466
|
-
# `partners/debt-reminders/list`.
|
|
463
|
+
# days (`partners/debt-reminders/settings/get`) and has issued invoices or advance invoices with
|
|
464
|
+
# `debtRemindersEnabled` past their due date with an unpaid remainder; the interest per invoice is the remainder
|
|
465
|
+
# times the partner's `lateInterestPercent` times the days late over 365, and the totals are per currency. Sent
|
|
466
|
+
# reminders are listed by `partners/debt-reminders/list`.
|
|
467
467
|
#
|
|
468
468
|
# @param request_options [Hash]
|
|
469
469
|
# @param params [Nordlet::Partners::Types::DebtRemindersPreviewPartnersRequest]
|
|
@@ -571,7 +571,8 @@ module Nordlet
|
|
|
571
571
|
# Changes the given fields of the company's debt-reminder schedule. `daysBefore` (1 to 90, or null to send nothing
|
|
572
572
|
# before the due date) makes the daily job send one "payment due soon" reminder per invoice that many days before
|
|
573
573
|
# its due date; `repeatDays` (1 to 90) is the number of days between overdue reminders to a partner. Only partners
|
|
574
|
-
# with `autoDebtReminder` get reminders
|
|
574
|
+
# with `autoDebtReminder` get reminders, and only for invoices with `debtRemindersEnabled`. A body without fields
|
|
575
|
+
# is refused with 400.
|
|
575
576
|
#
|
|
576
577
|
# @param request_options [Hash]
|
|
577
578
|
# @param params [Nordlet::Partners::Types::DebtRemindersSettingsUpdatePartnersRequest]
|
|
@@ -606,11 +607,11 @@ module Nordlet
|
|
|
606
607
|
end
|
|
607
608
|
|
|
608
609
|
# Returns the next reminder the daily debt-reminder job would send for each unpaid issued invoice or advance
|
|
609
|
-
# invoice of the partners that get reminders (`autoDebtReminder`, active, with an
|
|
610
|
-
# company's current date and sorted by `date`. A `before_due` reminder is sent once per
|
|
611
|
-
# before its due date or on the first daily run after that while the due date is still
|
|
612
|
-
# start the day after the due date and repeat every `repeatDays` days per partner,
|
|
613
|
-
# reminders. Nothing is sent or recorded.
|
|
610
|
+
# invoice with `debtRemindersEnabled` of the partners that get reminders (`autoDebtReminder`, active, with an
|
|
611
|
+
# e-mail address), as of the company's current date and sorted by `date`. A `before_due` reminder is sent once per
|
|
612
|
+
# invoice, `daysBefore` days before its due date or on the first daily run after that while the due date is still
|
|
613
|
+
# ahead; `overdue` reminders start the day after the due date and repeat every `repeatDays` days per partner,
|
|
614
|
+
# counting only overdue reminders. Nothing is sent or recorded.
|
|
614
615
|
#
|
|
615
616
|
# @param request_options [Hash]
|
|
616
617
|
# @param params [Nordlet::Partners::Types::DebtRemindersUpcomingPartnersRequest]
|
|
@@ -28,6 +28,10 @@ module Nordlet
|
|
|
28
28
|
|
|
29
29
|
field :payment_term_days, -> { Integer }, optional: true, nullable: false, api_name: "paymentTermDays"
|
|
30
30
|
|
|
31
|
+
field :invoice_currency, -> { Nordlet::Partners::Types::CreatePartnersRequestInvoiceCurrency }, optional: true, nullable: false, api_name: "invoiceCurrency"
|
|
32
|
+
|
|
33
|
+
field :invoice_locale, -> { Nordlet::Partners::Types::CreatePartnersRequestInvoiceLocale }, optional: true, nullable: false, api_name: "invoiceLocale"
|
|
34
|
+
|
|
31
35
|
field :credit_limit, -> { String }, optional: true, nullable: false, api_name: "creditLimit"
|
|
32
36
|
|
|
33
37
|
field :price_list_id, -> { String }, optional: true, nullable: false, api_name: "priceListId"
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Partners
|
|
5
|
+
module Types
|
|
6
|
+
module CreatePartnersRequestInvoiceCurrency
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
EUR = "EUR"
|
|
10
|
+
USD = "USD"
|
|
11
|
+
GBP = "GBP"
|
|
12
|
+
PLN = "PLN"
|
|
13
|
+
SEK = "SEK"
|
|
14
|
+
NOK = "NOK"
|
|
15
|
+
DKK = "DKK"
|
|
16
|
+
CHF = "CHF"
|
|
17
|
+
CZK = "CZK"
|
|
18
|
+
HUF = "HUF"
|
|
19
|
+
RON = "RON"
|
|
20
|
+
AED = "AED"
|
|
21
|
+
AFN = "AFN"
|
|
22
|
+
ALL = "ALL"
|
|
23
|
+
AMD = "AMD"
|
|
24
|
+
ARS = "ARS"
|
|
25
|
+
AUD = "AUD"
|
|
26
|
+
AZN = "AZN"
|
|
27
|
+
BAM = "BAM"
|
|
28
|
+
BDT = "BDT"
|
|
29
|
+
BHD = "BHD"
|
|
30
|
+
BOB = "BOB"
|
|
31
|
+
BRL = "BRL"
|
|
32
|
+
BYN = "BYN"
|
|
33
|
+
CAD = "CAD"
|
|
34
|
+
CLP = "CLP"
|
|
35
|
+
CNY = "CNY"
|
|
36
|
+
COP = "COP"
|
|
37
|
+
DJF = "DJF"
|
|
38
|
+
DZD = "DZD"
|
|
39
|
+
EGP = "EGP"
|
|
40
|
+
ETB = "ETB"
|
|
41
|
+
GEL = "GEL"
|
|
42
|
+
GNF = "GNF"
|
|
43
|
+
HKD = "HKD"
|
|
44
|
+
IDR = "IDR"
|
|
45
|
+
ILS = "ILS"
|
|
46
|
+
INR = "INR"
|
|
47
|
+
IQD = "IQD"
|
|
48
|
+
IRR = "IRR"
|
|
49
|
+
ISK = "ISK"
|
|
50
|
+
JOD = "JOD"
|
|
51
|
+
JPY = "JPY"
|
|
52
|
+
KES = "KES"
|
|
53
|
+
KGS = "KGS"
|
|
54
|
+
KRW = "KRW"
|
|
55
|
+
KWD = "KWD"
|
|
56
|
+
KZT = "KZT"
|
|
57
|
+
LBP = "LBP"
|
|
58
|
+
LKR = "LKR"
|
|
59
|
+
LYD = "LYD"
|
|
60
|
+
MAD = "MAD"
|
|
61
|
+
MDL = "MDL"
|
|
62
|
+
MGA = "MGA"
|
|
63
|
+
MKD = "MKD"
|
|
64
|
+
MNT = "MNT"
|
|
65
|
+
MXN = "MXN"
|
|
66
|
+
MYR = "MYR"
|
|
67
|
+
MZN = "MZN"
|
|
68
|
+
NZD = "NZD"
|
|
69
|
+
PAB = "PAB"
|
|
70
|
+
PEN = "PEN"
|
|
71
|
+
PHP = "PHP"
|
|
72
|
+
PKR = "PKR"
|
|
73
|
+
QAR = "QAR"
|
|
74
|
+
RSD = "RSD"
|
|
75
|
+
SAR = "SAR"
|
|
76
|
+
SGD = "SGD"
|
|
77
|
+
SYP = "SYP"
|
|
78
|
+
THB = "THB"
|
|
79
|
+
TJS = "TJS"
|
|
80
|
+
TMT = "TMT"
|
|
81
|
+
TND = "TND"
|
|
82
|
+
TRY = "TRY"
|
|
83
|
+
TWD = "TWD"
|
|
84
|
+
TZS = "TZS"
|
|
85
|
+
UAH = "UAH"
|
|
86
|
+
UYU = "UYU"
|
|
87
|
+
UZS = "UZS"
|
|
88
|
+
VES = "VES"
|
|
89
|
+
VND = "VND"
|
|
90
|
+
XAF = "XAF"
|
|
91
|
+
XOF = "XOF"
|
|
92
|
+
YER = "YER"
|
|
93
|
+
ZAR = "ZAR"
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
end
|