nordlet 0.4.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/nordlet/account/types/me_account_response_billing.rb +2 -0
- data/lib/nordlet/account/types/me_account_response_billing_account_type.rb +14 -0
- data/lib/nordlet/bank/client.rb +32 -0
- data/lib/nordlet/bank/types/import_templates_create_bank_request_type.rb +1 -0
- data/lib/nordlet/bank/types/import_templates_create_bank_response.rb +2 -0
- data/lib/nordlet/bank/types/import_templates_create_bank_response_type.rb +1 -0
- data/lib/nordlet/bank/types/import_templates_get_bank_response.rb +2 -0
- data/lib/nordlet/bank/types/import_templates_get_bank_response_type.rb +1 -0
- data/lib/nordlet/bank/types/import_templates_list_bank_response_rows_item.rb +2 -0
- data/lib/nordlet/bank/types/import_templates_list_bank_response_rows_item_type.rb +1 -0
- data/lib/nordlet/bank/types/import_templates_list_builtin_bank_request.rb +9 -0
- data/lib/nordlet/bank/types/import_templates_list_builtin_bank_response.rb +11 -0
- data/lib/nordlet/bank/types/import_templates_list_builtin_bank_response_rows_item.rb +47 -0
- data/lib/nordlet/bank/types/import_templates_list_builtin_bank_response_rows_item_fields_item.rb +15 -0
- data/lib/nordlet/bank/types/import_templates_list_builtin_bank_response_rows_item_type.rb +16 -0
- data/lib/nordlet/bank/types/import_templates_update_bank_request_type.rb +1 -0
- data/lib/nordlet/bank/types/import_templates_update_bank_response.rb +2 -0
- data/lib/nordlet/bank/types/import_templates_update_bank_response_type.rb +1 -0
- data/lib/nordlet/bank/types/statements_import_bank_request_format.rb +1 -0
- data/lib/nordlet/declarations/client.rb +1 -1
- data/lib/nordlet/ledger/client.rb +1 -1
- data/lib/nordlet/ledger/types/accounts_create_ledger_request.rb +0 -2
- data/lib/nordlet/ledger/types/accounts_create_ledger_response.rb +1 -1
- data/lib/nordlet/ledger/types/accounts_list_ledger_response_rows_item.rb +1 -1
- data/lib/nordlet/ledger/types/accounts_update_ledger_request.rb +0 -2
- data/lib/nordlet/ledger/types/accounts_update_ledger_response.rb +1 -1
- data/lib/nordlet/ledger/types/posting_rules_update_ledger_request_rules_item_key.rb +3 -0
- data/lib/nordlet/sales/client.rb +1 -1
- data/lib/nordlet/version.rb +1 -1
- data/lib/nordlet.rb +6 -5
- data/reference.md +43 -19
- metadata +8 -7
- data/lib/nordlet/ledger/types/accounts_create_ledger_request_translations_value.rb +0 -11
- data/lib/nordlet/ledger/types/accounts_create_ledger_response_translations_value.rb +0 -11
- data/lib/nordlet/ledger/types/accounts_list_ledger_response_rows_item_translations_value.rb +0 -11
- data/lib/nordlet/ledger/types/accounts_update_ledger_request_translations_value.rb +0 -11
- data/lib/nordlet/ledger/types/accounts_update_ledger_response_translations_value.rb +0 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aeb71151c605a141ebdfa0509950bdc0b3ca46816cfae43b2477f4840e504ab3
|
|
4
|
+
data.tar.gz: 37a58997b8b8853717f98181113f277ce2f508deee5d4052e04203d26a2cfc2e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b08cebdc3e7028c894108cc8465b14883f3d7d463991a4281366559832170fb67f6831e86a13ee43be0393698efee8d228962c7bd94b71cbd90bb66d6aed7864
|
|
7
|
+
data.tar.gz: '0088949249e79633ac3cc829c83a6b910ef0900c8558073dda72c1dba92f39cdb04c54e06e784d2df673e083d16ff800ab0ae0f25687ce740f770d1512069419'
|
|
@@ -23,6 +23,8 @@ module Nordlet
|
|
|
23
23
|
field :plan_chosen, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "planChosen"
|
|
24
24
|
|
|
25
25
|
field :flat_rate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "flatRate"
|
|
26
|
+
|
|
27
|
+
field :account_type, -> { Nordlet::Account::Types::MeAccountResponseBillingAccountType }, optional: false, nullable: false, api_name: "accountType"
|
|
26
28
|
end
|
|
27
29
|
end
|
|
28
30
|
end
|
data/lib/nordlet/bank/client.rb
CHANGED
|
@@ -494,6 +494,38 @@ module Nordlet
|
|
|
494
494
|
end
|
|
495
495
|
end
|
|
496
496
|
|
|
497
|
+
# @param request_options [Hash]
|
|
498
|
+
# @param params [Nordlet::Bank::Types::ImportTemplatesListBuiltinBankRequest]
|
|
499
|
+
# @option request_options [String] :base_url
|
|
500
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
501
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
502
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
503
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
504
|
+
#
|
|
505
|
+
# @return [Nordlet::Bank::Types::ImportTemplatesListBuiltinBankResponse]
|
|
506
|
+
def import_templates_list_builtin(request_options: {}, **params)
|
|
507
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
508
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
509
|
+
base_url: request_options[:base_url],
|
|
510
|
+
method: "POST",
|
|
511
|
+
path: "v1/bank/import-templates/list-builtin",
|
|
512
|
+
body: Nordlet::Bank::Types::ImportTemplatesListBuiltinBankRequest.new(params).to_h,
|
|
513
|
+
request_options: request_options
|
|
514
|
+
)
|
|
515
|
+
begin
|
|
516
|
+
response = @client.send(request)
|
|
517
|
+
rescue Net::HTTPRequestTimeout
|
|
518
|
+
raise Nordlet::Errors::TimeoutError
|
|
519
|
+
end
|
|
520
|
+
code = response.code.to_i
|
|
521
|
+
if code.between?(200, 299)
|
|
522
|
+
Nordlet::Bank::Types::ImportTemplatesListBuiltinBankResponse.load(response.body)
|
|
523
|
+
else
|
|
524
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
525
|
+
raise error_class.new(response.body, code: code)
|
|
526
|
+
end
|
|
527
|
+
end
|
|
528
|
+
|
|
497
529
|
# @param request_options [Hash]
|
|
498
530
|
# @param params [Nordlet::Bank::Types::ImportTemplatesListBankRequest]
|
|
499
531
|
# @option request_options [String] :base_url
|
|
@@ -36,6 +36,8 @@ module Nordlet
|
|
|
36
36
|
|
|
37
37
|
field :full_refund_label, -> { String }, optional: false, nullable: true, api_name: "fullRefundLabel"
|
|
38
38
|
|
|
39
|
+
field :builtin, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
40
|
+
|
|
39
41
|
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
40
42
|
|
|
41
43
|
field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt"
|
|
@@ -36,6 +36,8 @@ module Nordlet
|
|
|
36
36
|
|
|
37
37
|
field :full_refund_label, -> { String }, optional: false, nullable: true, api_name: "fullRefundLabel"
|
|
38
38
|
|
|
39
|
+
field :builtin, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
40
|
+
|
|
39
41
|
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
40
42
|
|
|
41
43
|
field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt"
|
|
@@ -36,6 +36,8 @@ module Nordlet
|
|
|
36
36
|
|
|
37
37
|
field :full_refund_label, -> { String }, optional: false, nullable: true, api_name: "fullRefundLabel"
|
|
38
38
|
|
|
39
|
+
field :builtin, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
40
|
+
|
|
39
41
|
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
40
42
|
|
|
41
43
|
field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt"
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class ImportTemplatesListBuiltinBankResponse < Internal::Types::Model
|
|
7
|
+
field :rows, -> { Internal::Types::Array[Nordlet::Bank::Types::ImportTemplatesListBuiltinBankResponseRowsItem] }, optional: false, nullable: false
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class ImportTemplatesListBuiltinBankResponseRowsItem < Internal::Types::Model
|
|
7
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :name, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :type, -> { Nordlet::Bank::Types::ImportTemplatesListBuiltinBankResponseRowsItemType }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :fields, -> { Internal::Types::Array[Nordlet::Bank::Types::ImportTemplatesListBuiltinBankResponseRowsItemFieldsItem] }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :meta_fields, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "metaFields"
|
|
16
|
+
|
|
17
|
+
field :invoice_meta_field, -> { String }, optional: false, nullable: true, api_name: "invoiceMetaField"
|
|
18
|
+
|
|
19
|
+
field :invoice_vat_rate_percent, -> { String }, optional: false, nullable: true, api_name: "invoiceVatRatePercent"
|
|
20
|
+
|
|
21
|
+
field :company_meta_field, -> { String }, optional: false, nullable: true, api_name: "companyMetaField"
|
|
22
|
+
|
|
23
|
+
field :invoice_item_id, -> { String }, optional: false, nullable: true, api_name: "invoiceItemId"
|
|
24
|
+
|
|
25
|
+
field :advance_invoices, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "advanceInvoices"
|
|
26
|
+
|
|
27
|
+
field :authorization_operation_type_id, -> { String }, optional: false, nullable: true, api_name: "authorizationOperationTypeId"
|
|
28
|
+
|
|
29
|
+
field :payout_operation_type_id, -> { String }, optional: false, nullable: true, api_name: "payoutOperationTypeId"
|
|
30
|
+
|
|
31
|
+
field :commission_operation_type_id, -> { String }, optional: false, nullable: true, api_name: "commissionOperationTypeId"
|
|
32
|
+
|
|
33
|
+
field :lender_meta_field, -> { String }, optional: false, nullable: true, api_name: "lenderMetaField"
|
|
34
|
+
|
|
35
|
+
field :partial_refund_label, -> { String }, optional: false, nullable: true, api_name: "partialRefundLabel"
|
|
36
|
+
|
|
37
|
+
field :full_refund_label, -> { String }, optional: false, nullable: true, api_name: "fullRefundLabel"
|
|
38
|
+
|
|
39
|
+
field :builtin, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
40
|
+
|
|
41
|
+
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
42
|
+
|
|
43
|
+
field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt"
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
data/lib/nordlet/bank/types/import_templates_list_builtin_bank_response_rows_item_fields_item.rb
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class ImportTemplatesListBuiltinBankResponseRowsItemFieldsItem < Internal::Types::Model
|
|
7
|
+
field :name, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :account_code, -> { String }, optional: false, nullable: true, api_name: "accountCode"
|
|
10
|
+
|
|
11
|
+
field :create_partner, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "createPartner"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
module ImportTemplatesListBuiltinBankResponseRowsItemType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
STRIPE = "stripe"
|
|
10
|
+
ISO20022 = "iso20022"
|
|
11
|
+
BANK_CONNECTION = "bank_connection"
|
|
12
|
+
REVOLUT = "revolut"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -36,6 +36,8 @@ module Nordlet
|
|
|
36
36
|
|
|
37
37
|
field :full_refund_label, -> { String }, optional: false, nullable: true, api_name: "fullRefundLabel"
|
|
38
38
|
|
|
39
|
+
field :builtin, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
40
|
+
|
|
39
41
|
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
40
42
|
|
|
41
43
|
field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt"
|
|
@@ -2092,7 +2092,7 @@ module Nordlet
|
|
|
2092
2092
|
end
|
|
2093
2093
|
|
|
2094
2094
|
# Build the working paper for the Form B1 annual return of a financial year - company details, registered office,
|
|
2095
|
-
# directors and secretary from
|
|
2095
|
+
# directors and secretary from Account → Officers, the members from Account → Shareholders, the issued share
|
|
2096
2096
|
# capital and the figures of the financial statements - in the order the CORE screens ask for them. The CRO
|
|
2097
2097
|
# publishes no file format for the B1, so it is keyed into CORE.
|
|
2098
2098
|
#
|
|
@@ -785,7 +785,7 @@ module Nordlet
|
|
|
785
785
|
|
|
786
786
|
# The rows or codes of each return or registry deposit of the company country that are filled from account
|
|
787
787
|
# balances. Accounts fall into a row by the layout defaults for the standard chart of accounts unless mapped under
|
|
788
|
-
#
|
|
788
|
+
# Account → Statement rows.
|
|
789
789
|
#
|
|
790
790
|
# @param request_options [Hash]
|
|
791
791
|
# @param params [Nordlet::Ledger::Types::StatementRowsSchemesLedgerRequest]
|
|
@@ -8,8 +8,6 @@ module Nordlet
|
|
|
8
8
|
|
|
9
9
|
field :name, -> { String }, optional: false, nullable: false
|
|
10
10
|
|
|
11
|
-
field :translations, -> { Internal::Types::Hash[String, Nordlet::Ledger::Types::AccountsCreateLedgerRequestTranslationsValue] }, optional: true, nullable: false
|
|
12
|
-
|
|
13
11
|
field :type, -> { Nordlet::Ledger::Types::AccountsCreateLedgerRequestType }, optional: false, nullable: false
|
|
14
12
|
|
|
15
13
|
field :parent_id, -> { String }, optional: true, nullable: false, api_name: "parentId"
|
|
@@ -10,7 +10,7 @@ module Nordlet
|
|
|
10
10
|
|
|
11
11
|
field :name, -> { String }, optional: false, nullable: false
|
|
12
12
|
|
|
13
|
-
field :
|
|
13
|
+
field :display_name, -> { String }, optional: false, nullable: false, api_name: "displayName"
|
|
14
14
|
|
|
15
15
|
field :type, -> { Nordlet::Ledger::Types::AccountsCreateLedgerResponseType }, optional: false, nullable: false
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@ module Nordlet
|
|
|
10
10
|
|
|
11
11
|
field :name, -> { String }, optional: false, nullable: false
|
|
12
12
|
|
|
13
|
-
field :
|
|
13
|
+
field :display_name, -> { String }, optional: false, nullable: false, api_name: "displayName"
|
|
14
14
|
|
|
15
15
|
field :type, -> { Nordlet::Ledger::Types::AccountsListLedgerResponseRowsItemType }, optional: false, nullable: false
|
|
16
16
|
|
|
@@ -8,8 +8,6 @@ module Nordlet
|
|
|
8
8
|
|
|
9
9
|
field :name, -> { String }, optional: true, nullable: false
|
|
10
10
|
|
|
11
|
-
field :translations, -> { Internal::Types::Hash[String, Nordlet::Ledger::Types::AccountsUpdateLedgerRequestTranslationsValue] }, optional: true, nullable: false
|
|
12
|
-
|
|
13
11
|
field :parent_id, -> { String }, optional: true, nullable: false, api_name: "parentId"
|
|
14
12
|
|
|
15
13
|
field :is_postable, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPostable"
|
|
@@ -10,7 +10,7 @@ module Nordlet
|
|
|
10
10
|
|
|
11
11
|
field :name, -> { String }, optional: false, nullable: false
|
|
12
12
|
|
|
13
|
-
field :
|
|
13
|
+
field :display_name, -> { String }, optional: false, nullable: false, api_name: "displayName"
|
|
14
14
|
|
|
15
15
|
field :type, -> { Nordlet::Ledger::Types::AccountsUpdateLedgerResponseType }, optional: false, nullable: false
|
|
16
16
|
|
|
@@ -22,6 +22,9 @@ module Nordlet
|
|
|
22
22
|
PRODUCTION_SCRAP = "production.scrap"
|
|
23
23
|
BANK_FX_GAIN = "bank.fxGain"
|
|
24
24
|
BANK_FX_LOSS = "bank.fxLoss"
|
|
25
|
+
BANK_FEES = "bank.fees"
|
|
26
|
+
BANK_CARD_PAYMENTS = "bank.cardPayments"
|
|
27
|
+
BANK_TOP_UPS = "bank.topUps"
|
|
25
28
|
SETTLEMENTS_FEES = "settlements.fees"
|
|
26
29
|
SETTLEMENTS_COMMISSION_REVENUE = "settlements.commissionRevenue"
|
|
27
30
|
SETTLEMENTS_SELLER_PAYABLE = "settlements.sellerPayable"
|
data/lib/nordlet/sales/client.rb
CHANGED
|
@@ -171,7 +171,7 @@ module Nordlet
|
|
|
171
171
|
end
|
|
172
172
|
|
|
173
173
|
# Send an issued invoice or credit note to the customer over Peppol through the company's own access point
|
|
174
|
-
# (
|
|
174
|
+
# (Account → Compliance → EU; Nordlet supports Recommand, Storecove and e-invoice.be). Without one the call is
|
|
175
175
|
# refused with 422 and the document can only be downloaded with `sales/invoices/peppol-xml`. `status` is `pending`
|
|
176
176
|
# until the receiving access point confirms, then `delivered`; `failed` and `rejected` come with `detail`, and the
|
|
177
177
|
# invoice can then be sent again. Later changes arrive through the access point's webhook and are announced as
|
data/lib/nordlet/version.rb
CHANGED
data/lib/nordlet.rb
CHANGED
|
@@ -1231,17 +1231,12 @@ require_relative "nordlet/ledger/types/accounts_list_ledger_request_filter_item_
|
|
|
1231
1231
|
require_relative "nordlet/ledger/types/accounts_list_ledger_request_filter_item_value_three_item"
|
|
1232
1232
|
require_relative "nordlet/ledger/types/accounts_list_ledger_request_filter_item_value"
|
|
1233
1233
|
require_relative "nordlet/ledger/types/accounts_list_ledger_request_filter_item"
|
|
1234
|
-
require_relative "nordlet/ledger/types/accounts_list_ledger_response_rows_item_translations_value"
|
|
1235
1234
|
require_relative "nordlet/ledger/types/accounts_list_ledger_response_rows_item_type"
|
|
1236
1235
|
require_relative "nordlet/ledger/types/accounts_list_ledger_response_rows_item"
|
|
1237
1236
|
require_relative "nordlet/ledger/types/accounts_list_ledger_response"
|
|
1238
|
-
require_relative "nordlet/ledger/types/accounts_create_ledger_request_translations_value"
|
|
1239
1237
|
require_relative "nordlet/ledger/types/accounts_create_ledger_request_type"
|
|
1240
|
-
require_relative "nordlet/ledger/types/accounts_create_ledger_response_translations_value"
|
|
1241
1238
|
require_relative "nordlet/ledger/types/accounts_create_ledger_response_type"
|
|
1242
1239
|
require_relative "nordlet/ledger/types/accounts_create_ledger_response"
|
|
1243
|
-
require_relative "nordlet/ledger/types/accounts_update_ledger_request_translations_value"
|
|
1244
|
-
require_relative "nordlet/ledger/types/accounts_update_ledger_response_translations_value"
|
|
1245
1240
|
require_relative "nordlet/ledger/types/accounts_update_ledger_response_type"
|
|
1246
1241
|
require_relative "nordlet/ledger/types/accounts_update_ledger_response"
|
|
1247
1242
|
require_relative "nordlet/ledger/types/accounts_apply_template_ledger_response"
|
|
@@ -2293,6 +2288,10 @@ require_relative "nordlet/bank/types/import_templates_delete_bank_response"
|
|
|
2293
2288
|
require_relative "nordlet/bank/types/import_templates_get_bank_response_type"
|
|
2294
2289
|
require_relative "nordlet/bank/types/import_templates_get_bank_response_fields_item"
|
|
2295
2290
|
require_relative "nordlet/bank/types/import_templates_get_bank_response"
|
|
2291
|
+
require_relative "nordlet/bank/types/import_templates_list_builtin_bank_response_rows_item_type"
|
|
2292
|
+
require_relative "nordlet/bank/types/import_templates_list_builtin_bank_response_rows_item_fields_item"
|
|
2293
|
+
require_relative "nordlet/bank/types/import_templates_list_builtin_bank_response_rows_item"
|
|
2294
|
+
require_relative "nordlet/bank/types/import_templates_list_builtin_bank_response"
|
|
2296
2295
|
require_relative "nordlet/bank/types/import_templates_list_bank_request_sort_item_dir"
|
|
2297
2296
|
require_relative "nordlet/bank/types/import_templates_list_bank_request_sort_item"
|
|
2298
2297
|
require_relative "nordlet/bank/types/import_templates_list_bank_request_filter_item_op"
|
|
@@ -2677,6 +2676,7 @@ require_relative "nordlet/account/types/login_link_consume_account_response"
|
|
|
2677
2676
|
require_relative "nordlet/account/types/logout_account_response"
|
|
2678
2677
|
require_relative "nordlet/account/types/me_account_response_user"
|
|
2679
2678
|
require_relative "nordlet/account/types/me_account_response_billing_status"
|
|
2679
|
+
require_relative "nordlet/account/types/me_account_response_billing_account_type"
|
|
2680
2680
|
require_relative "nordlet/account/types/me_account_response_billing"
|
|
2681
2681
|
require_relative "nordlet/account/types/me_account_response_consent"
|
|
2682
2682
|
require_relative "nordlet/account/types/me_account_response_companies_item_status"
|
|
@@ -3318,6 +3318,7 @@ require_relative "nordlet/bank/types/import_templates_create_bank_request"
|
|
|
3318
3318
|
require_relative "nordlet/bank/types/import_templates_update_bank_request"
|
|
3319
3319
|
require_relative "nordlet/bank/types/import_templates_delete_bank_request"
|
|
3320
3320
|
require_relative "nordlet/bank/types/import_templates_get_bank_request"
|
|
3321
|
+
require_relative "nordlet/bank/types/import_templates_list_builtin_bank_request"
|
|
3321
3322
|
require_relative "nordlet/bank/types/import_templates_list_bank_request"
|
|
3322
3323
|
require_relative "nordlet/bank/types/match_rules_create_bank_request"
|
|
3323
3324
|
require_relative "nordlet/bank/types/match_rules_update_bank_request"
|
data/reference.md
CHANGED
|
@@ -9266,7 +9266,7 @@ client.sales.invoices_peppol_xml(id: "id")
|
|
|
9266
9266
|
<dl>
|
|
9267
9267
|
<dd>
|
|
9268
9268
|
|
|
9269
|
-
Send an issued invoice or credit note to the customer over Peppol through the company's own access point (
|
|
9269
|
+
Send an issued invoice or credit note to the customer over Peppol through the company's own access point (Account → Compliance → EU; Nordlet supports Recommand, Storecove and e-invoice.be). Without one the call is refused with 422 and the document can only be downloaded with `sales/invoices/peppol-xml`. `status` is `pending` until the receiving access point confirms, then `delivered`; `failed` and `rejected` come with `detail`, and the invoice can then be sent again. Later changes arrive through the access point's webhook and are announced as `sale_invoice.peppol_delivered`, `sale_invoice.peppol_rejected` and `sale_invoice.peppol_failed`.
|
|
9270
9270
|
</dd>
|
|
9271
9271
|
</dl>
|
|
9272
9272
|
</dd>
|
|
@@ -20056,7 +20056,7 @@ client.declarations.ie_ct1generate(year: 1000000)
|
|
|
20056
20056
|
<dl>
|
|
20057
20057
|
<dd>
|
|
20058
20058
|
|
|
20059
|
-
Build the working paper for the Form B1 annual return of a financial year - company details, registered office, directors and secretary from
|
|
20059
|
+
Build the working paper for the Form B1 annual return of a financial year - company details, registered office, directors and secretary from Account → Officers, the members from Account → Shareholders, the issued share capital and the figures of the financial statements - in the order the CORE screens ask for them. The CRO publishes no file format for the B1, so it is keyed into CORE.
|
|
20060
20060
|
</dd>
|
|
20061
20061
|
</dl>
|
|
20062
20062
|
</dd>
|
|
@@ -22306,14 +22306,6 @@ client.ledger.accounts_create(
|
|
|
22306
22306
|
<dl>
|
|
22307
22307
|
<dd>
|
|
22308
22308
|
|
|
22309
|
-
**translations:** `Internal::Types::Hash[String, Nordlet::Ledger::Types::AccountsCreateLedgerRequestTranslationsValue]`
|
|
22310
|
-
|
|
22311
|
-
</dd>
|
|
22312
|
-
</dl>
|
|
22313
|
-
|
|
22314
|
-
<dl>
|
|
22315
|
-
<dd>
|
|
22316
|
-
|
|
22317
22309
|
**type:** `Nordlet::Ledger::Types::AccountsCreateLedgerRequestType`
|
|
22318
22310
|
|
|
22319
22311
|
</dd>
|
|
@@ -22394,14 +22386,6 @@ client.ledger.accounts_update(id: "id")
|
|
|
22394
22386
|
<dl>
|
|
22395
22387
|
<dd>
|
|
22396
22388
|
|
|
22397
|
-
**translations:** `Internal::Types::Hash[String, Nordlet::Ledger::Types::AccountsUpdateLedgerRequestTranslationsValue]`
|
|
22398
|
-
|
|
22399
|
-
</dd>
|
|
22400
|
-
</dl>
|
|
22401
|
-
|
|
22402
|
-
<dl>
|
|
22403
|
-
<dd>
|
|
22404
|
-
|
|
22405
22389
|
**parent_id:** `String`
|
|
22406
22390
|
|
|
22407
22391
|
</dd>
|
|
@@ -23907,7 +23891,7 @@ client.ledger.journal_transactions_create(
|
|
|
23907
23891
|
<dl>
|
|
23908
23892
|
<dd>
|
|
23909
23893
|
|
|
23910
|
-
The rows or codes of each return or registry deposit of the company country that are filled from account balances. Accounts fall into a row by the layout defaults for the standard chart of accounts unless mapped under
|
|
23894
|
+
The rows or codes of each return or registry deposit of the company country that are filled from account balances. Accounts fall into a row by the layout defaults for the standard chart of accounts unless mapped under Account → Statement rows.
|
|
23911
23895
|
</dd>
|
|
23912
23896
|
</dl>
|
|
23913
23897
|
</dd>
|
|
@@ -40735,6 +40719,46 @@ client.bank.import_templates_get(id: "id")
|
|
|
40735
40719
|
</dl>
|
|
40736
40720
|
|
|
40737
40721
|
|
|
40722
|
+
</dd>
|
|
40723
|
+
</dl>
|
|
40724
|
+
</details>
|
|
40725
|
+
|
|
40726
|
+
<details><summary><code>client.bank.<a href="/lib/nordlet/bank/client.rb">import_templates_list_builtin</a>(request) -> Nordlet::Bank::Types::ImportTemplatesListBuiltinBankResponse</code></summary>
|
|
40727
|
+
<dl>
|
|
40728
|
+
<dd>
|
|
40729
|
+
|
|
40730
|
+
#### 🔌 Usage
|
|
40731
|
+
|
|
40732
|
+
<dl>
|
|
40733
|
+
<dd>
|
|
40734
|
+
|
|
40735
|
+
<dl>
|
|
40736
|
+
<dd>
|
|
40737
|
+
|
|
40738
|
+
```ruby
|
|
40739
|
+
client.bank.import_templates_list_builtin
|
|
40740
|
+
```
|
|
40741
|
+
</dd>
|
|
40742
|
+
</dl>
|
|
40743
|
+
</dd>
|
|
40744
|
+
</dl>
|
|
40745
|
+
|
|
40746
|
+
#### ⚙️ Parameters
|
|
40747
|
+
|
|
40748
|
+
<dl>
|
|
40749
|
+
<dd>
|
|
40750
|
+
|
|
40751
|
+
<dl>
|
|
40752
|
+
<dd>
|
|
40753
|
+
|
|
40754
|
+
**request_options:** `Nordlet::Bank::RequestOptions`
|
|
40755
|
+
|
|
40756
|
+
</dd>
|
|
40757
|
+
</dl>
|
|
40758
|
+
</dd>
|
|
40759
|
+
</dl>
|
|
40760
|
+
|
|
40761
|
+
|
|
40738
40762
|
</dd>
|
|
40739
40763
|
</dl>
|
|
40740
40764
|
</details>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nordlet
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nordlet
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: The Nordlet Ruby library provides convenient access to the Nordlet API
|
|
14
14
|
from Ruby.
|
|
@@ -105,6 +105,7 @@ files:
|
|
|
105
105
|
- lib/nordlet/account/types/me_account_request.rb
|
|
106
106
|
- lib/nordlet/account/types/me_account_response.rb
|
|
107
107
|
- lib/nordlet/account/types/me_account_response_billing.rb
|
|
108
|
+
- lib/nordlet/account/types/me_account_response_billing_account_type.rb
|
|
108
109
|
- lib/nordlet/account/types/me_account_response_billing_status.rb
|
|
109
110
|
- lib/nordlet/account/types/me_account_response_companies_item.rb
|
|
110
111
|
- lib/nordlet/account/types/me_account_response_companies_item_status.rb
|
|
@@ -405,6 +406,11 @@ files:
|
|
|
405
406
|
- lib/nordlet/bank/types/import_templates_list_bank_response_rows_item.rb
|
|
406
407
|
- lib/nordlet/bank/types/import_templates_list_bank_response_rows_item_fields_item.rb
|
|
407
408
|
- lib/nordlet/bank/types/import_templates_list_bank_response_rows_item_type.rb
|
|
409
|
+
- lib/nordlet/bank/types/import_templates_list_builtin_bank_request.rb
|
|
410
|
+
- lib/nordlet/bank/types/import_templates_list_builtin_bank_response.rb
|
|
411
|
+
- lib/nordlet/bank/types/import_templates_list_builtin_bank_response_rows_item.rb
|
|
412
|
+
- lib/nordlet/bank/types/import_templates_list_builtin_bank_response_rows_item_fields_item.rb
|
|
413
|
+
- lib/nordlet/bank/types/import_templates_list_builtin_bank_response_rows_item_type.rb
|
|
408
414
|
- lib/nordlet/bank/types/import_templates_update_bank_request.rb
|
|
409
415
|
- lib/nordlet/bank/types/import_templates_update_bank_request_fields_item.rb
|
|
410
416
|
- lib/nordlet/bank/types/import_templates_update_bank_request_type.rb
|
|
@@ -1931,10 +1937,8 @@ files:
|
|
|
1931
1937
|
- lib/nordlet/ledger/types/accounts_apply_template_ledger_request.rb
|
|
1932
1938
|
- lib/nordlet/ledger/types/accounts_apply_template_ledger_response.rb
|
|
1933
1939
|
- lib/nordlet/ledger/types/accounts_create_ledger_request.rb
|
|
1934
|
-
- lib/nordlet/ledger/types/accounts_create_ledger_request_translations_value.rb
|
|
1935
1940
|
- lib/nordlet/ledger/types/accounts_create_ledger_request_type.rb
|
|
1936
1941
|
- lib/nordlet/ledger/types/accounts_create_ledger_response.rb
|
|
1937
|
-
- lib/nordlet/ledger/types/accounts_create_ledger_response_translations_value.rb
|
|
1938
1942
|
- lib/nordlet/ledger/types/accounts_create_ledger_response_type.rb
|
|
1939
1943
|
- lib/nordlet/ledger/types/accounts_list_ledger_request.rb
|
|
1940
1944
|
- lib/nordlet/ledger/types/accounts_list_ledger_request_filter_item.rb
|
|
@@ -1945,14 +1949,11 @@ files:
|
|
|
1945
1949
|
- lib/nordlet/ledger/types/accounts_list_ledger_request_sort_item_dir.rb
|
|
1946
1950
|
- lib/nordlet/ledger/types/accounts_list_ledger_response.rb
|
|
1947
1951
|
- lib/nordlet/ledger/types/accounts_list_ledger_response_rows_item.rb
|
|
1948
|
-
- lib/nordlet/ledger/types/accounts_list_ledger_response_rows_item_translations_value.rb
|
|
1949
1952
|
- lib/nordlet/ledger/types/accounts_list_ledger_response_rows_item_type.rb
|
|
1950
1953
|
- lib/nordlet/ledger/types/accounts_switch_chart_ledger_request.rb
|
|
1951
1954
|
- lib/nordlet/ledger/types/accounts_switch_chart_ledger_response.rb
|
|
1952
1955
|
- lib/nordlet/ledger/types/accounts_update_ledger_request.rb
|
|
1953
|
-
- lib/nordlet/ledger/types/accounts_update_ledger_request_translations_value.rb
|
|
1954
1956
|
- lib/nordlet/ledger/types/accounts_update_ledger_response.rb
|
|
1955
|
-
- lib/nordlet/ledger/types/accounts_update_ledger_response_translations_value.rb
|
|
1956
1957
|
- lib/nordlet/ledger/types/accounts_update_ledger_response_type.rb
|
|
1957
1958
|
- lib/nordlet/ledger/types/cost_center_groups_create_ledger_request.rb
|
|
1958
1959
|
- lib/nordlet/ledger/types/cost_center_groups_create_ledger_response.rb
|