nordlet 0.6.8 → 0.6.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ed0244f834f6ff99e80367cf3a504a542db54928fbcf5670f841580613f66b3
4
- data.tar.gz: 9bd52d990d28b249dd1cf6b46c1fa28aa4e7fc4a84d1c03ebe4911141147b97f
3
+ metadata.gz: 98079e77776a57b44bc900abfd4794729af21b1adfd0f376d0d06302fe3a8f76
4
+ data.tar.gz: 386eaae8e2df504a1786ed76b615fa75959a1734a65dcf51ed0af15e5dafe09c
5
5
  SHA512:
6
- metadata.gz: 9e515850247e1dc2a6938da6148af9021ce52372a0d312fdda29c5f67612b63533822cf074775ae8bdc542521757744f39172ca69d57ddf338b9e490269ced23
7
- data.tar.gz: 5df88e0194da9f10b7aef21dfe09ca1eafda1cbfd96b8f0f68615d98fcf12982c5022fbec21972c930cc8a56cb9810f0a4c63f47817eb324f2bb6e646ef63ae1
6
+ metadata.gz: f5e4b7fba88b3c86481b125fea04c9cdeb0ca030a87be753195a5554d82d8588a4e4dbd3f04071de41ddfc7edbfc65d912230f362be543a4bedaca6f5df75901
7
+ data.tar.gz: 1d997b54ea57922b777b49747e5d4fb117b81f534395a02e22c1ad066cca4ea0353a67534c99e5b0e40828566f4932d441ab9e50d363fd6d556311edafd7c570
@@ -205,7 +205,9 @@ module Nordlet
205
205
  end
206
206
 
207
207
  # List the bank transactions of the company. Filterable by id, bankAccountId, status, matchedDocumentId, date,
208
- # amount, counterpartyIban, counterpartyName and externalId; sortable by date, createdAt and amount.
208
+ # amount, counterpartyIban, counterpartyName, partnerId and externalId; sortable by date, createdAt and amount.
209
+ # `counterpartyName` is the name as the bank wrote it; `partnerId` and `partnerName` are the partner the line
210
+ # belongs to.
209
211
  #
210
212
  # @param request_options [Hash]
211
213
  # @param params [Nordlet::Bank::Types::TransactionsListBankRequest]
@@ -250,11 +252,14 @@ module Nordlet
250
252
  # differs from the remaining balance of a sale or purchase invoice in its own currency: `advance` books an
251
253
  # overpayment beyond the balance to the advances-received posting rule (customer payments) or to
252
254
  # `remainder.accountCode`, which a supplier overpayment must name, on the line's partner; `write_off` books the
253
- # over- or underpayment to `remainder.accountCode` and settles the invoice in full; `leave_open` settles an
254
- # underpayment as a partial payment and leaves the rest open. Answers 409 when the line is already matched or
255
- # ignored, when the amount (converted, beyond one cent of the payment) exceeds the remaining balance of the
256
- # document and no `remainder` is given, or when the accounting period of the line date is locked. A document that
257
- # becomes fully paid is announced as `sale_invoice.paid` or `purchase_invoice.paid`.
255
+ # over- or underpayment to `remainder.accountCode`, else to the `bank.paymentDifferenceLoss` posting rule (a
256
+ # customer underpayment, a supplier overpayment, a credit note refund beyond its balance) or the
257
+ # `bank.paymentDifferenceGain` rule (a supplier underpayment, a customer overpayment, a credit note refund below
258
+ # its balance), and settles the invoice in full; `leave_open` settles an underpayment as a partial payment and
259
+ # leaves the rest open. Answers 409 when the line is already matched or ignored, when the amount (converted,
260
+ # beyond one cent of the payment) exceeds the remaining balance of the document and no `remainder` is given, or
261
+ # when the accounting period of the line date is locked. A document that becomes fully paid is announced as
262
+ # `sale_invoice.paid` or `purchase_invoice.paid`.
258
263
  #
259
264
  # @param request_options [Hash]
260
265
  # @param params [Nordlet::Bank::Types::TransactionsMatchBankRequest]
@@ -1208,10 +1213,10 @@ module Nordlet
1208
1213
 
1209
1214
  # Suggest documents for a new bank transaction: issued sale invoices and advances for incoming money; registered
1210
1215
  # purchase invoices, issued sale credit notes and approved payroll runs for outgoing money. Candidates are unpaid
1211
- # documents whose remaining balance covers the payment (any balance when in another currency), scored by an equal
1212
- # remaining balance, the document number or payroll period in the payment description and a counterparty IBAN or
1213
- # name matching the partner or an employee on the run; the best `limit` come back with their reasons. A
1214
- # transaction that is already matched answers 409.
1216
+ # documents with any remaining balance, also one below the payment, scored by an equal remaining balance, the
1217
+ # document number or payroll period in the payment description and a counterparty IBAN or name matching the
1218
+ # partner or an employee on the run; the best `limit` come back with their reasons. A transaction that is already
1219
+ # matched answers 409.
1215
1220
  #
1216
1221
  # @param request_options [Hash]
1217
1222
  # @param params [Nordlet::Bank::Types::TransactionsSuggestMatchesBankRequest]
@@ -18,6 +18,10 @@ module Nordlet
18
18
 
19
19
  field :counterparty_iban, -> { String }, optional: false, nullable: true, api_name: "counterpartyIban"
20
20
 
21
+ field :partner_id, -> { String }, optional: false, nullable: true, api_name: "partnerId"
22
+
23
+ field :partner_name, -> { String }, optional: false, nullable: true, api_name: "partnerName"
24
+
21
25
  field :description, -> { String }, optional: false, nullable: true
22
26
 
23
27
  field :external_id, -> { String }, optional: false, nullable: true, api_name: "externalId"
@@ -18,6 +18,10 @@ module Nordlet
18
18
 
19
19
  field :counterparty_iban, -> { String }, optional: false, nullable: true, api_name: "counterpartyIban"
20
20
 
21
+ field :partner_id, -> { String }, optional: false, nullable: true, api_name: "partnerId"
22
+
23
+ field :partner_name, -> { String }, optional: false, nullable: true, api_name: "partnerName"
24
+
21
25
  field :description, -> { String }, optional: false, nullable: true
22
26
 
23
27
  field :external_id, -> { String }, optional: false, nullable: true, api_name: "externalId"
@@ -18,6 +18,10 @@ module Nordlet
18
18
 
19
19
  field :counterparty_iban, -> { String }, optional: false, nullable: true, api_name: "counterpartyIban"
20
20
 
21
+ field :partner_id, -> { String }, optional: false, nullable: true, api_name: "partnerId"
22
+
23
+ field :partner_name, -> { String }, optional: false, nullable: true, api_name: "partnerName"
24
+
21
25
  field :description, -> { String }, optional: false, nullable: true
22
26
 
23
27
  field :external_id, -> { String }, optional: false, nullable: true, api_name: "externalId"
@@ -18,6 +18,10 @@ module Nordlet
18
18
 
19
19
  field :counterparty_iban, -> { String }, optional: false, nullable: true, api_name: "counterpartyIban"
20
20
 
21
+ field :partner_id, -> { String }, optional: false, nullable: true, api_name: "partnerId"
22
+
23
+ field :partner_name, -> { String }, optional: false, nullable: true, api_name: "partnerName"
24
+
21
25
  field :description, -> { String }, optional: false, nullable: true
22
26
 
23
27
  field :external_id, -> { String }, optional: false, nullable: true, api_name: "externalId"
@@ -18,6 +18,10 @@ module Nordlet
18
18
 
19
19
  field :counterparty_iban, -> { String }, optional: false, nullable: true, api_name: "counterpartyIban"
20
20
 
21
+ field :partner_id, -> { String }, optional: false, nullable: true, api_name: "partnerId"
22
+
23
+ field :partner_name, -> { String }, optional: false, nullable: true, api_name: "partnerName"
24
+
21
25
  field :description, -> { String }, optional: false, nullable: true
22
26
 
23
27
  field :external_id, -> { String }, optional: false, nullable: true, api_name: "externalId"
@@ -18,6 +18,10 @@ module Nordlet
18
18
 
19
19
  field :counterparty_iban, -> { String }, optional: false, nullable: true, api_name: "counterpartyIban"
20
20
 
21
+ field :partner_id, -> { String }, optional: false, nullable: true, api_name: "partnerId"
22
+
23
+ field :partner_name, -> { String }, optional: false, nullable: true, api_name: "partnerName"
24
+
21
25
  field :description, -> { String }, optional: false, nullable: true
22
26
 
23
27
  field :external_id, -> { String }, optional: false, nullable: true, api_name: "externalId"
@@ -18,6 +18,10 @@ module Nordlet
18
18
 
19
19
  field :counterparty_iban, -> { String }, optional: false, nullable: true, api_name: "counterpartyIban"
20
20
 
21
+ field :partner_id, -> { String }, optional: false, nullable: true, api_name: "partnerId"
22
+
23
+ field :partner_name, -> { String }, optional: false, nullable: true, api_name: "partnerName"
24
+
21
25
  field :description, -> { String }, optional: false, nullable: true
22
26
 
23
27
  field :external_id, -> { String }, optional: false, nullable: true, api_name: "externalId"
@@ -18,6 +18,10 @@ module Nordlet
18
18
 
19
19
  field :counterparty_iban, -> { String }, optional: false, nullable: true, api_name: "counterpartyIban"
20
20
 
21
+ field :partner_id, -> { String }, optional: false, nullable: true, api_name: "partnerId"
22
+
23
+ field :partner_name, -> { String }, optional: false, nullable: true, api_name: "partnerName"
24
+
21
25
  field :description, -> { String }, optional: false, nullable: true
22
26
 
23
27
  field :external_id, -> { String }, optional: false, nullable: true, api_name: "externalId"
@@ -18,6 +18,10 @@ module Nordlet
18
18
 
19
19
  field :counterparty_iban, -> { String }, optional: false, nullable: true, api_name: "counterpartyIban"
20
20
 
21
+ field :partner_id, -> { String }, optional: false, nullable: true, api_name: "partnerId"
22
+
23
+ field :partner_name, -> { String }, optional: false, nullable: true, api_name: "partnerName"
24
+
21
25
  field :description, -> { String }, optional: false, nullable: true
22
26
 
23
27
  field :external_id, -> { String }, optional: false, nullable: true, api_name: "externalId"
@@ -233,8 +233,8 @@ module Nordlet
233
233
  end
234
234
  end
235
235
 
236
- # Lists expense reports without their lines. Filterable by `employeeId` and `date`; sortable by `date` and
237
- # `number`.
236
+ # Lists expense reports without their lines. Filterable by `employeeId`, `date` and `number`; sortable by `date`
237
+ # and `number`.
238
238
  #
239
239
  # @param request_options [Hash]
240
240
  # @param params [Nordlet::Cash::Types::ExpenseReportsListCashRequest]
@@ -781,7 +781,8 @@ module Nordlet
781
781
  end
782
782
  end
783
783
 
784
- # Lists business trips; filterable by `employeeId`, `status` and `payrollRunId`, sortable by `startDate`.
784
+ # Lists business trips; filterable by `employeeId`, `status`, `payrollRunId` and `purpose`, sortable by
785
+ # `startDate`.
785
786
  #
786
787
  # @param request_options [Hash]
787
788
  # @param params [Nordlet::Hr::Types::BusinessTripsListHrRequest]
@@ -11,7 +11,8 @@ module Nordlet
11
11
  end
12
12
 
13
13
  # Lists the company's chart of accounts. Filterable by `code`, `name`, `type` and `isPostable`; sortable by `code`
14
- # and `name`.
14
+ # and `name`. A `name` filter with `contains` matches the stored name and the name shown in the language of the
15
+ # request (`displayName`).
15
16
  #
16
17
  # @param request_options [Hash]
17
18
  # @param params [Nordlet::Ledger::Types::AccountsListLedgerRequest]
@@ -24,6 +24,8 @@ module Nordlet
24
24
  POS_CASH_SURPLUS = "pos.cashSurplus"
25
25
  BANK_FX_GAIN = "bank.fxGain"
26
26
  BANK_FX_LOSS = "bank.fxLoss"
27
+ BANK_PAYMENT_DIFFERENCE_GAIN = "bank.paymentDifferenceGain"
28
+ BANK_PAYMENT_DIFFERENCE_LOSS = "bank.paymentDifferenceLoss"
27
29
  BANK_FEES = "bank.fees"
28
30
  BANK_CARD_PAYMENTS = "bank.cardPayments"
29
31
  BANK_TOP_UPS = "bank.topUps"
@@ -686,7 +686,7 @@ module Nordlet
686
686
  end
687
687
 
688
688
  # Lists the VAT reviews opened by VIES checks of partners' VAT codes, with reason `invalid`, `name_mismatch` or
689
- # `service_error`; filterable by `partnerId`, `status` and `reason`, sortable by `createdAt`.
689
+ # `service_error`; filterable by `partnerId`, `status`, `reason` and `vatCode`, sortable by `createdAt`.
690
690
  #
691
691
  # @param request_options [Hash]
692
692
  # @param params [Nordlet::Partners::Types::VatReviewsListPartnersRequest]
@@ -131,7 +131,12 @@ module Nordlet
131
131
  end
132
132
  end
133
133
 
134
- # Mark a draft purchase invoice as deleted (409 once registered). A document capture linked to it goes back to
134
+ # Mark a draft, registered or reversed purchase invoice as deleted. Deleting a registered invoice also removes its
135
+ # registration journal transaction and cancels its pending prepaid-expense releases; it answers 409 in the cases
136
+ # where `purchases/invoices/reverse` does (registered credit notes credit it, payments are matched to it, it moved
137
+ # stock or is the source of a landed cost). Deleting a reversed invoice also removes its registration and reversal
138
+ # journal transactions. Both answer 409 when the date of a removed journal transaction is in a locked period or
139
+ # when prepaid-expense releases of the invoice were posted. A document capture linked to it goes back to
135
140
  # `extracted` (or `pending` when it has no extraction) and can be confirmed again.
136
141
  #
137
142
  # @param request_options [Hash]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nordlet
4
- VERSION = "0.6.8"
4
+ VERSION = "0.6.10"
5
5
  end
data/reference.md CHANGED
@@ -3605,7 +3605,7 @@ client.partners.validate_vat
3605
3605
  <dl>
3606
3606
  <dd>
3607
3607
 
3608
- Lists the VAT reviews opened by VIES checks of partners' VAT codes, with reason `invalid`, `name_mismatch` or `service_error`; filterable by `partnerId`, `status` and `reason`, sortable by `createdAt`.
3608
+ Lists the VAT reviews opened by VIES checks of partners' VAT codes, with reason `invalid`, `name_mismatch` or `service_error`; filterable by `partnerId`, `status`, `reason` and `vatCode`, sortable by `createdAt`.
3609
3609
  </dd>
3610
3610
  </dl>
3611
3611
  </dd>
@@ -17597,7 +17597,7 @@ client.purchases.invoices_update(id: "id")
17597
17597
  <dl>
17598
17598
  <dd>
17599
17599
 
17600
- Mark a draft purchase invoice as deleted (409 once registered). A document capture linked to it goes back to `extracted` (or `pending` when it has no extraction) and can be confirmed again.
17600
+ Mark a draft, registered or reversed purchase invoice as deleted. Deleting a registered invoice also removes its registration journal transaction and cancels its pending prepaid-expense releases; it answers 409 in the cases where `purchases/invoices/reverse` does (registered credit notes credit it, payments are matched to it, it moved stock or is the source of a landed cost). Deleting a reversed invoice also removes its registration and reversal journal transactions. Both answer 409 when the date of a removed journal transaction is in a locked period or when prepaid-expense releases of the invoice were posted. A document capture linked to it goes back to `extracted` (or `pending` when it has no extraction) and can be confirmed again.
17601
17601
  </dd>
17602
17602
  </dl>
17603
17603
  </dd>
@@ -27065,7 +27065,7 @@ client.declarations.submissions_list
27065
27065
  <dl>
27066
27066
  <dd>
27067
27067
 
27068
- Lists the company's chart of accounts. Filterable by `code`, `name`, `type` and `isPostable`; sortable by `code` and `name`.
27068
+ Lists the company's chart of accounts. Filterable by `code`, `name`, `type` and `isPostable`; sortable by `code` and `name`. A `name` filter with `contains` matches the stored name and the name shown in the language of the request (`displayName`).
27069
27069
  </dd>
27070
27070
  </dl>
27071
27071
  </dd>
@@ -34031,7 +34031,7 @@ client.hr.business_trips_get(id: "id")
34031
34031
  <dl>
34032
34032
  <dd>
34033
34033
 
34034
- Lists business trips; filterable by `employeeId`, `status` and `payrollRunId`, sortable by `startDate`.
34034
+ Lists business trips; filterable by `employeeId`, `status`, `payrollRunId` and `purpose`, sortable by `startDate`.
34035
34035
  </dd>
34036
34036
  </dl>
34037
34037
  </dd>
@@ -43365,7 +43365,7 @@ client.cash.expense_reports_get(id: "id")
43365
43365
  <dl>
43366
43366
  <dd>
43367
43367
 
43368
- Lists expense reports without their lines. Filterable by `employeeId` and `date`; sortable by `date` and `number`.
43368
+ Lists expense reports without their lines. Filterable by `employeeId`, `date` and `number`; sortable by `date` and `number`.
43369
43369
  </dd>
43370
43370
  </dl>
43371
43371
  </dd>
@@ -48239,7 +48239,7 @@ client.bank.statements_import(
48239
48239
  <dl>
48240
48240
  <dd>
48241
48241
 
48242
- List the bank transactions of the company. Filterable by id, bankAccountId, status, matchedDocumentId, date, amount, counterpartyIban, counterpartyName and externalId; sortable by date, createdAt and amount.
48242
+ List the bank transactions of the company. Filterable by id, bankAccountId, status, matchedDocumentId, date, amount, counterpartyIban, counterpartyName, partnerId and externalId; sortable by date, createdAt and amount. `counterpartyName` is the name as the bank wrote it; `partnerId` and `partnerName` are the partner the line belongs to.
48243
48243
  </dd>
48244
48244
  </dl>
48245
48245
  </dd>
@@ -48333,7 +48333,7 @@ client.bank.transactions_list
48333
48333
  <dl>
48334
48334
  <dd>
48335
48335
 
48336
- Match one new bank transaction to a document: an issued sale invoice or advance for incoming money; an issued sale credit note, a registered purchase invoice or an approved payroll run (company currency only) for outgoing money. Posts the payment journal transaction between the bank account and the receivable or payable account the invoice was posted to (the account of its operation type, else the posting rule) or the net payable account, with any exchange difference on the gain or loss account, raises the paid amount of the document and sets the line to matched. A payment in another currency is converted into the invoice currency at the rate of the line date, and the difference against the invoice's own rate is the exchange difference; `invoiceAmount` states the amount settled instead; in the same currency it must equal the payment (422). `remainder` settles a payment that differs from the remaining balance of a sale or purchase invoice in its own currency: `advance` books an overpayment beyond the balance to the advances-received posting rule (customer payments) or to `remainder.accountCode`, which a supplier overpayment must name, on the line's partner; `write_off` books the over- or underpayment to `remainder.accountCode` and settles the invoice in full; `leave_open` settles an underpayment as a partial payment and leaves the rest open. Answers 409 when the line is already matched or ignored, when the amount (converted, beyond one cent of the payment) exceeds the remaining balance of the document and no `remainder` is given, or when the accounting period of the line date is locked. A document that becomes fully paid is announced as `sale_invoice.paid` or `purchase_invoice.paid`.
48336
+ Match one new bank transaction to a document: an issued sale invoice or advance for incoming money; an issued sale credit note, a registered purchase invoice or an approved payroll run (company currency only) for outgoing money. Posts the payment journal transaction between the bank account and the receivable or payable account the invoice was posted to (the account of its operation type, else the posting rule) or the net payable account, with any exchange difference on the gain or loss account, raises the paid amount of the document and sets the line to matched. A payment in another currency is converted into the invoice currency at the rate of the line date, and the difference against the invoice's own rate is the exchange difference; `invoiceAmount` states the amount settled instead; in the same currency it must equal the payment (422). `remainder` settles a payment that differs from the remaining balance of a sale or purchase invoice in its own currency: `advance` books an overpayment beyond the balance to the advances-received posting rule (customer payments) or to `remainder.accountCode`, which a supplier overpayment must name, on the line's partner; `write_off` books the over- or underpayment to `remainder.accountCode`, else to the `bank.paymentDifferenceLoss` posting rule (a customer underpayment, a supplier overpayment, a credit note refund beyond its balance) or the `bank.paymentDifferenceGain` rule (a supplier underpayment, a customer overpayment, a credit note refund below its balance), and settles the invoice in full; `leave_open` settles an underpayment as a partial payment and leaves the rest open. Answers 409 when the line is already matched or ignored, when the amount (converted, beyond one cent of the payment) exceeds the remaining balance of the document and no `remainder` is given, or when the accounting period of the line date is locked. A document that becomes fully paid is announced as `sale_invoice.paid` or `purchase_invoice.paid`.
48337
48337
  </dd>
48338
48338
  </dl>
48339
48339
  </dd>
@@ -50707,7 +50707,7 @@ client.bank.direct_debits_export(
50707
50707
  <dl>
50708
50708
  <dd>
50709
50709
 
50710
- Suggest documents for a new bank transaction: issued sale invoices and advances for incoming money; registered purchase invoices, issued sale credit notes and approved payroll runs for outgoing money. Candidates are unpaid documents whose remaining balance covers the payment (any balance when in another currency), scored by an equal remaining balance, the document number or payroll period in the payment description and a counterparty IBAN or name matching the partner or an employee on the run; the best `limit` come back with their reasons. A transaction that is already matched answers 409.
50710
+ Suggest documents for a new bank transaction: issued sale invoices and advances for incoming money; registered purchase invoices, issued sale credit notes and approved payroll runs for outgoing money. Candidates are unpaid documents with any remaining balance, also one below the payment, scored by an equal remaining balance, the document number or payroll period in the payment description and a counterparty IBAN or name matching the partner or an employee on the run; the best `limit` come back with their reasons. A transaction that is already matched answers 409.
50711
50711
  </dd>
50712
50712
  </dl>
50713
50713
  </dd>
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.6.8
4
+ version: 0.6.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nordlet
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-11-12 00:00:00.000000000 Z
11
+ date: 2026-11-13 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.