nordlet 0.6.0 → 0.6.4
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 +133 -16
- data/lib/nordlet/account/types/api_keys_list_account_response_rows_item.rb +0 -2
- data/lib/nordlet/account/types/companies_create_account_request_default_invoice_locale.rb +1 -0
- data/lib/nordlet/account/types/companies_update_account_request_default_invoice_locale.rb +1 -0
- data/lib/nordlet/account/types/email_change_request_account_request_locale.rb +30 -0
- data/lib/nordlet/account/types/export_account_response.rb +2 -0
- data/lib/nordlet/account/types/export_account_response_billing_accounts_item.rb +21 -0
- data/lib/nordlet/account/types/export_account_response_billing_accounts_item_site.rb +14 -0
- data/lib/nordlet/account/types/export_account_response_credit_transactions_item.rb +2 -0
- data/lib/nordlet/account/types/export_account_response_credit_transactions_item_site.rb +14 -0
- data/lib/nordlet/account/types/invites_accept_account_request_locale.rb +30 -0
- data/lib/nordlet/account/types/invites_create_account_request_locale.rb +30 -0
- data/lib/nordlet/account/types/locale_set_account_request_locale.rb +30 -0
- data/lib/nordlet/account/types/login_link_request_account_request_locale.rb +30 -0
- data/lib/nordlet/account/types/oauth_authorize_approve_account_request.rb +25 -0
- data/lib/nordlet/account/types/oauth_authorize_approve_account_response.rb +11 -0
- data/lib/nordlet/account/types/oauth_authorize_deny_account_request.rb +25 -0
- data/lib/nordlet/account/types/oauth_authorize_deny_account_response.rb +11 -0
- data/lib/nordlet/account/types/oauth_authorize_describe_account_request.rb +25 -0
- data/lib/nordlet/account/types/oauth_authorize_describe_account_response.rb +17 -0
- data/lib/nordlet/agreements/types/agreements_create_agreements_request_items_item.rb +2 -0
- data/lib/nordlet/agreements/types/agreements_create_agreements_response_items_item.rb +2 -0
- data/lib/nordlet/agreements/types/agreements_get_agreements_response_items_item.rb +2 -0
- data/lib/nordlet/agreements/types/agreements_update_agreements_response_items_item.rb +2 -0
- data/lib/nordlet/bank/client.rb +23 -19
- data/lib/nordlet/bank/types/import_templates_create_bank_request.rb +2 -0
- data/lib/nordlet/bank/types/import_templates_create_bank_response.rb +2 -0
- data/lib/nordlet/bank/types/import_templates_get_bank_response.rb +2 -0
- data/lib/nordlet/bank/types/import_templates_list_bank_response_rows_item.rb +2 -0
- data/lib/nordlet/bank/types/import_templates_list_builtin_bank_response_rows_item.rb +2 -0
- data/lib/nordlet/bank/types/import_templates_update_bank_request.rb +2 -0
- data/lib/nordlet/bank/types/import_templates_update_bank_response.rb +2 -0
- data/lib/nordlet/billing/client.rb +44 -31
- data/lib/nordlet/billing/types/account_get_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/account_get_billing_response_site.rb +14 -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_site.rb +14 -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_site.rb +14 -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_site.rb +14 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response_site.rb +14 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_site.rb +14 -0
- data/lib/nordlet/billing/types/flat_rate_create_billing_request_locale.rb +30 -0
- data/lib/nordlet/billing/types/portal_create_billing_request_locale.rb +30 -0
- data/lib/nordlet/billing/types/subscription_cancel_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/subscription_cancel_billing_response_site.rb +14 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_site.rb +14 -0
- data/lib/nordlet/billing/types/topup_create_billing_request_locale.rb +30 -0
- data/lib/nordlet/billing/types/usage_list_billing_response_rows_item.rb +2 -0
- data/lib/nordlet/billing/types/usage_list_billing_response_rows_item_site.rb +14 -0
- data/lib/nordlet/calendar/types/create_calendar_response_submission.rb +2 -0
- data/lib/nordlet/calendar/types/create_calendar_response_submissions_item.rb +2 -0
- data/lib/nordlet/calendar/types/get_calendar_response_submission.rb +2 -0
- data/lib/nordlet/calendar/types/get_calendar_response_submissions_item.rb +2 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_submission.rb +2 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_submissions_item.rb +2 -0
- data/lib/nordlet/calendar/types/submit_calendar_response.rb +2 -0
- data/lib/nordlet/calendar/types/update_calendar_response_submission.rb +2 -0
- data/lib/nordlet/calendar/types/update_calendar_response_submissions_item.rb +2 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_request_lines_item.rb +4 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_request_opposite_lines_item.rb +4 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_invoice_lines_item.rb +8 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice_lines_item.rb +8 -0
- data/lib/nordlet/cash/client.rb +7 -6
- data/lib/nordlet/catalog/client.rb +145 -2
- data/lib/nordlet/catalog/types/items_create_catalog_response.rb +2 -0
- data/lib/nordlet/catalog/types/items_create_catalog_response_alternative_units_item.rb +21 -0
- data/lib/nordlet/catalog/types/items_get_catalog_response.rb +2 -0
- data/lib/nordlet/catalog/types/items_get_catalog_response_alternative_units_item.rb +21 -0
- data/lib/nordlet/catalog/types/items_list_catalog_response_rows_item.rb +2 -0
- data/lib/nordlet/catalog/types/items_list_catalog_response_rows_item_alternative_units_item.rb +21 -0
- data/lib/nordlet/catalog/types/items_units_create_catalog_request.rb +21 -0
- data/lib/nordlet/catalog/types/items_units_create_catalog_response.rb +27 -0
- data/lib/nordlet/catalog/types/items_units_delete_catalog_request.rb +11 -0
- data/lib/nordlet/catalog/types/items_units_delete_catalog_response.rb +11 -0
- data/lib/nordlet/catalog/types/items_units_list_catalog_request.rb +11 -0
- data/lib/nordlet/catalog/types/items_units_list_catalog_response.rb +11 -0
- data/lib/nordlet/catalog/types/items_units_list_catalog_response_rows_item.rb +27 -0
- data/lib/nordlet/catalog/types/items_units_update_catalog_request.rb +19 -0
- data/lib/nordlet/catalog/types/items_units_update_catalog_response.rb +27 -0
- data/lib/nordlet/catalog/types/items_update_catalog_response.rb +2 -0
- data/lib/nordlet/catalog/types/items_update_catalog_response_alternative_units_item.rb +21 -0
- data/lib/nordlet/catalog/types/units_create_catalog_request.rb +2 -0
- data/lib/nordlet/catalog/types/units_create_catalog_response.rb +2 -0
- data/lib/nordlet/catalog/types/units_list_catalog_response_rows_item.rb +2 -0
- data/lib/nordlet/catalog/types/units_options_catalog_request_locale.rb +30 -0
- data/lib/nordlet/catalog/types/units_update_catalog_request.rb +2 -0
- data/lib/nordlet/catalog/types/units_update_catalog_response.rb +2 -0
- data/lib/nordlet/declarations/client.rb +46 -5
- data/lib/nordlet/declarations/types/lt_ivaz_amend_declarations_request.rb +2 -0
- data/lib/nordlet/declarations/types/lt_ivaz_amend_declarations_request_corrections_item.rb +25 -0
- data/lib/nordlet/declarations/types/lt_ivaz_amend_declarations_request_corrections_item_lines_item.rb +13 -0
- data/lib/nordlet/declarations/types/submissions_confirm_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/submissions_confirm_declarations_response.rb +71 -0
- data/lib/nordlet/declarations/types/submissions_confirm_declarations_response_environment.rb +14 -0
- data/lib/nordlet/declarations/types/submissions_confirm_declarations_response_status.rb +16 -0
- data/lib/nordlet/declarations/types/submissions_create_declarations_response.rb +2 -0
- data/lib/nordlet/declarations/types/submissions_list_declarations_response_rows_item.rb +2 -0
- data/lib/nordlet/declarations/types/submissions_mark_declarations_response.rb +2 -0
- data/lib/nordlet/declarations/types/submissions_retry_declarations_response.rb +2 -0
- data/lib/nordlet/ecommerce/client.rb +12 -9
- data/lib/nordlet/ecommerce/types/orders_cancel_ecommerce_response_lines_item.rb +2 -0
- data/lib/nordlet/ecommerce/types/orders_create_ecommerce_request_lines_item.rb +2 -0
- data/lib/nordlet/ecommerce/types/orders_create_ecommerce_response_lines_item.rb +2 -0
- data/lib/nordlet/ecommerce/types/orders_fulfill_ecommerce_response_lines_item.rb +2 -0
- data/lib/nordlet/ecommerce/types/orders_get_ecommerce_response_lines_item.rb +2 -0
- data/lib/nordlet/ecommerce/types/orders_reserve_ecommerce_response_lines_item.rb +2 -0
- data/lib/nordlet/fleet/client.rb +8 -4
- data/lib/nordlet/fleet/types/vehicles_create_fleet_request.rb +2 -0
- data/lib/nordlet/fleet/types/vehicles_create_fleet_response.rb +2 -0
- data/lib/nordlet/fleet/types/vehicles_get_fleet_response.rb +2 -0
- data/lib/nordlet/fleet/types/vehicles_list_fleet_response_rows_item.rb +2 -0
- data/lib/nordlet/fleet/types/vehicles_update_fleet_request.rb +2 -0
- data/lib/nordlet/fleet/types/vehicles_update_fleet_response.rb +2 -0
- data/lib/nordlet/inventory/client.rb +28 -23
- data/lib/nordlet/ledger/types/posting_rules_update_ledger_request_rules_item_key.rb +2 -0
- data/lib/nordlet/partners/types/create_partners_request_invoice_locale.rb +1 -0
- data/lib/nordlet/partners/types/debt_reminders_preview_partners_response_rows_item_locale.rb +30 -0
- data/lib/nordlet/partners/types/find_or_create_partners_request_invoice_locale.rb +1 -0
- data/lib/nordlet/partners/types/update_partners_request_invoice_locale.rb +1 -0
- data/lib/nordlet/payroll/client.rb +16 -12
- data/lib/nordlet/payroll/types/payments_export_payroll_request_locale.rb +30 -0
- data/lib/nordlet/pos/client.rb +126 -9
- data/lib/nordlet/pos/types/refunds_create_pos_request.rb +17 -0
- data/lib/nordlet/pos/types/refunds_create_pos_request_lines_item.rb +13 -0
- data/lib/nordlet/pos/types/refunds_create_pos_response.rb +33 -0
- data/lib/nordlet/pos/types/refunds_create_pos_response_lines_item.rb +23 -0
- data/lib/nordlet/pos/types/refunds_get_pos_request.rb +11 -0
- data/lib/nordlet/pos/types/refunds_get_pos_response.rb +33 -0
- data/lib/nordlet/pos/types/refunds_get_pos_response_lines_item.rb +23 -0
- data/lib/nordlet/pos/types/refunds_list_pos_request.rb +19 -0
- data/lib/nordlet/pos/types/refunds_list_pos_request_filter_item.rb +15 -0
- data/lib/nordlet/pos/types/refunds_list_pos_request_filter_item_op.rb +18 -0
- data/lib/nordlet/pos/types/refunds_list_pos_request_filter_item_value.rb +19 -0
- data/lib/nordlet/pos/types/refunds_list_pos_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/pos/types/refunds_list_pos_request_sort_item.rb +13 -0
- data/lib/nordlet/pos/types/refunds_list_pos_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/pos/types/refunds_list_pos_response.rb +21 -0
- data/lib/nordlet/pos/types/refunds_list_pos_response_rows_item.rb +31 -0
- data/lib/nordlet/production/client.rb +20 -14
- data/lib/nordlet/production/types/maintenance_cancel_production_response.rb +2 -0
- data/lib/nordlet/production/types/maintenance_complete_production_request.rb +2 -0
- data/lib/nordlet/production/types/maintenance_complete_production_response.rb +2 -0
- data/lib/nordlet/production/types/maintenance_create_production_request.rb +2 -0
- data/lib/nordlet/production/types/maintenance_create_production_response.rb +2 -0
- data/lib/nordlet/production/types/maintenance_list_production_response_rows_item.rb +2 -0
- data/lib/nordlet/public/client.rb +6 -5
- data/lib/nordlet/public/types/invoices_get_public_response.rb +2 -0
- data/lib/nordlet/purchases/client.rb +12 -9
- data/lib/nordlet/purchases/types/invoices_create_purchases_request_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/invoices_create_purchases_response_lines_item.rb +8 -0
- data/lib/nordlet/purchases/types/invoices_get_purchases_response_lines_item.rb +8 -0
- data/lib/nordlet/purchases/types/invoices_register_purchases_response_lines_item.rb +8 -0
- data/lib/nordlet/purchases/types/invoices_update_purchases_request_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/invoices_update_purchases_response_lines_item.rb +8 -0
- data/lib/nordlet/purchases/types/orders_approve_purchases_response_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/orders_cancel_purchases_response_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/orders_close_purchases_response_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/orders_create_purchases_request_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/orders_create_purchases_response_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/orders_get_purchases_response_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/orders_reject_purchases_response_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/orders_submit_purchases_response_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/orders_update_purchases_request_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/orders_update_purchases_response_lines_item.rb +4 -0
- data/lib/nordlet/reference/client.rb +5 -2
- data/lib/nordlet/reference/types/vat_classifiers_list_reference_response_rows_item.rb +8 -0
- data/lib/nordlet/reference/types/vat_classifiers_list_reference_response_rows_item_rate_from_line.rb +13 -0
- data/lib/nordlet/reference/types/vat_classifiers_list_reference_response_rows_item_scheme.rb +21 -0
- data/lib/nordlet/reference/types/vat_classifiers_list_reference_response_rows_item_side.rb +15 -0
- data/lib/nordlet/reports/client.rb +3 -3
- data/lib/nordlet/sales/client.rb +29 -21
- data/lib/nordlet/sales/types/acts_create_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/acts_get_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/acts_issue_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/acts_pdf_sales_request_locale.rb +30 -0
- data/lib/nordlet/sales/types/acts_update_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoice_templates_get_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_response_rows_item_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_apply_advance_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/invoices_create_sales_request_locale.rb +1 -0
- data/lib/nordlet/sales/types/invoices_create_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/invoices_get_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/invoices_list_sales_response_rows_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_lock_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/invoices_pdf_sales_request_locale.rb +1 -0
- data/lib/nordlet/sales/types/invoices_send_sales_request_locale.rb +1 -0
- data/lib/nordlet/sales/types/invoices_unlock_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/invoices_update_sales_request_locale.rb +1 -0
- data/lib/nordlet/sales/types/invoices_update_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/invoices_view_sales_response.rb +2 -0
- data/lib/nordlet/sales/types/recurring_invoices_create_sales_request_locale.rb +1 -0
- data/lib/nordlet/sales/types/recurring_invoices_update_sales_request_locale.rb +1 -0
- data/lib/nordlet/transport/types/waybills_create_transport_response_lines_item.rb +4 -0
- data/lib/nordlet/transport/types/waybills_get_transport_response_lines_item.rb +4 -0
- data/lib/nordlet/transport/types/waybills_issue_transport_response_lines_item.rb +4 -0
- data/lib/nordlet/transport/types/waybills_update_transport_response_lines_item.rb +4 -0
- data/lib/nordlet/version.rb +1 -1
- data/lib/nordlet.rb +56 -0
- data/reference.md +1329 -268
- metadata +58 -2
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Reference
|
|
5
|
+
module Types
|
|
6
|
+
module VatClassifiersListReferenceResponseRowsItemScheme
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
DOMESTIC = "domestic"
|
|
10
|
+
INTRA_EU_B2B = "intra_eu_b2b"
|
|
11
|
+
REVERSE_CHARGE = "reverse_charge"
|
|
12
|
+
OSS_UNION = "oss_union"
|
|
13
|
+
IOSS = "ioss"
|
|
14
|
+
MARKETPLACE_DEEMED = "marketplace_deemed"
|
|
15
|
+
EXPORT = "export"
|
|
16
|
+
OUT_OF_SCOPE = "out_of_scope"
|
|
17
|
+
SME_EXEMPT = "sme_exempt"
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Reference
|
|
5
|
+
module Types
|
|
6
|
+
module VatClassifiersListReferenceResponseRowsItemSide
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
SALE = "sale"
|
|
10
|
+
PURCHASE = "purchase"
|
|
11
|
+
BOTH = "both"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -948,9 +948,9 @@ module Nordlet
|
|
|
948
948
|
end
|
|
949
949
|
end
|
|
950
950
|
|
|
951
|
-
# Net purchases per cost centre and item for a period, from the lines of registered purchase
|
|
952
|
-
# registration date) that carry a cost centre, credit notes counting negative; `costCenterId` limits
|
|
953
|
-
# one cost centre. A line without an item is reported under its description.
|
|
951
|
+
# Net purchases in the base currency per cost centre and item for a period, from the lines of registered purchase
|
|
952
|
+
# invoices (by registration date) that carry a cost centre, credit notes counting negative; `costCenterId` limits
|
|
953
|
+
# the report to one cost centre. A line without an item is reported under its description.
|
|
954
954
|
#
|
|
955
955
|
# @param request_options [Hash]
|
|
956
956
|
# @param params [Nordlet::Reports::Types::CostCenterItemsReportsRequest]
|
data/lib/nordlet/sales/client.rb
CHANGED
|
@@ -122,8 +122,10 @@ module Nordlet
|
|
|
122
122
|
|
|
123
123
|
# Return a sale document as its customer sees it: the seller as printed on it (the snapshot taken at issue, else
|
|
124
124
|
# the company), the buyer with address and e-mail, the lines, the totals, `paidOn` (the date of the latest payment
|
|
125
|
-
# once the document is paid), `payUrl` (as in `sales/invoices/payment-link
|
|
126
|
-
#
|
|
125
|
+
# once the document is paid), `payUrl` (as in `sales/invoices/payment-link`; null while `cardPaymentReceived`),
|
|
126
|
+
# `cardPaymentReceived` (a completed card payment was received and the invoice waits for the payout settlement)
|
|
127
|
+
# and `token`, the document's customer token for `public/invoices/get` and `public/invoices/pdf`, created on first
|
|
128
|
+
# use; `token` is null on a draft.
|
|
127
129
|
#
|
|
128
130
|
# @param request_options [Hash]
|
|
129
131
|
# @param params [Nordlet::Sales::Types::InvoicesViewSalesRequest]
|
|
@@ -494,13 +496,14 @@ module Nordlet
|
|
|
494
496
|
# default prefix and the year), the issue date (`issueDate`, else the draft's, else today) and a missing due date
|
|
495
497
|
# from the partner's payment term, and for an invoice, credit note or advance invoice posts the journal entry and
|
|
496
498
|
# stores the VAT evidence. `warehouseId` (or the series' warehouse) takes the sold goods of an invoice out of
|
|
497
|
-
# stock
|
|
498
|
-
#
|
|
499
|
-
#
|
|
500
|
-
#
|
|
501
|
-
#
|
|
502
|
-
#
|
|
503
|
-
#
|
|
499
|
+
# stock, the first-expiring lot first (lots without an expiry date after those with one, then the oldest layers
|
|
500
|
+
# first), leaving out expired lots, with a cost of goods sold entry; `returnToStock` puts them back for a credit
|
|
501
|
+
# note that credits an invoice. A credit note is set against the unpaid balance of the credited document. Emits
|
|
502
|
+
# `sale_invoice.issued`, `sale_invoice.paid` when a credit note settles the credited invoice in full, and
|
|
503
|
+
# `intercompany.invoice_mirrored` when the partner is linked to another company of the group (a draft purchase
|
|
504
|
+
# invoice is created there). Answers 409 when the document is already issued or locked or the accounting period is
|
|
505
|
+
# locked, 422 when the lines carry VAT under a scheme that charges none, when credit notes would exceed the
|
|
506
|
+
# credited total, or when `returnToStock` is used on anything but a credit note of an invoice.
|
|
504
507
|
#
|
|
505
508
|
# @param request_options [Hash]
|
|
506
509
|
# @param params [Nordlet::Sales::Types::InvoicesIssueSalesRequest]
|
|
@@ -606,8 +609,9 @@ module Nordlet
|
|
|
606
609
|
# Return the customer payment link of a sale document: the Stripe card payment page (`source` `stripe`) when the
|
|
607
610
|
# company's Stripe account is connected and can take charges (`sales/invoices/card-payments/get`), else the link
|
|
608
611
|
# rendered from the company's payment link template (`sales/invoices/payment-settings/update`, `source`
|
|
609
|
-
# `template`); `url` is null when the company has neither, the document is not issued or its
|
|
610
|
-
# false. The document's payment token is created on first use. Answers 409 when the document
|
|
612
|
+
# `template`); `url` is null when the company has neither, the document is a credit note, is not issued or its
|
|
613
|
+
# `payLinkEnabled` is false. The document's payment token is created on first use. Answers 409 when the document
|
|
614
|
+
# is already paid.
|
|
611
615
|
#
|
|
612
616
|
# @param request_options [Hash]
|
|
613
617
|
# @param params [Nordlet::Sales::Types::InvoicesPaymentLinkSalesRequest]
|
|
@@ -789,11 +793,12 @@ module Nordlet
|
|
|
789
793
|
end
|
|
790
794
|
end
|
|
791
795
|
|
|
792
|
-
# List the sale documents of the company with the partner name.
|
|
793
|
-
#
|
|
794
|
-
#
|
|
795
|
-
#
|
|
796
|
-
#
|
|
796
|
+
# List the sale documents of the company with the partner name. An advance invoice also carries
|
|
797
|
+
# `advanceUnappliedAmount`: its gross total less the amounts applied with `sales/invoices/apply-advance` and the
|
|
798
|
+
# issued credit notes on it (null on other documents). Filterable by partnerId, type, status, paymentStatus,
|
|
799
|
+
# fullNumber, issueDate, currency, agreementId, creditedInvoiceId, operationTypeId, documentSeriesId, lockedAt,
|
|
800
|
+
# grossTotal, netTotal, vatTotal, dueDate, orderNumber, seriesLabel, locale and recurringInvoiceId; sortable by
|
|
801
|
+
# createdAt, issueDate, fullNumber, grossTotal, netTotal, vatTotal, status and paymentStatus.
|
|
797
802
|
#
|
|
798
803
|
# @param request_options [Hash]
|
|
799
804
|
# @param params [Nordlet::Sales::Types::InvoicesListSalesRequest]
|
|
@@ -936,7 +941,10 @@ module Nordlet
|
|
|
936
941
|
end
|
|
937
942
|
end
|
|
938
943
|
|
|
939
|
-
# Cancel a draft or issued delivery act.
|
|
944
|
+
# Cancel a draft or issued delivery act. When issuing the act recognised milestone revenue, the recognition
|
|
945
|
+
# journal entry is reversed on the company's current date (or on the recognition date when that is later) and
|
|
946
|
+
# those milestone schedules return to `pending`. Answers 409 when it is already cancelled or when the recognition
|
|
947
|
+
# it posted has changed since.
|
|
940
948
|
#
|
|
941
949
|
# @param request_options [Hash]
|
|
942
950
|
# @param params [Nordlet::Sales::Types::ActsCancelSalesRequest]
|
|
@@ -1804,10 +1812,10 @@ module Nordlet
|
|
|
1804
1812
|
|
|
1805
1813
|
# List the money received on sale documents between `from` and `to` (inclusive), oldest first: bank payments
|
|
1806
1814
|
# matched to the document, card settlements of a payment provider and cash receipt orders. A reversed bank match
|
|
1807
|
-
# is a row with a negative amount on the date it was reversed.
|
|
1808
|
-
# and balances carried over by a migration are not money received and are left
|
|
1809
|
-
# currency; `method` is `card` for a settlement or a payment into a Stripe bank
|
|
1810
|
-
# and `bank_transfer` otherwise.
|
|
1815
|
+
# is a row with a negative amount on the date it was reversed. Refunds paid on credit notes, credit notes,
|
|
1816
|
+
# advances applied to a final invoice and balances carried over by a migration are not money received and are left
|
|
1817
|
+
# out. `amount` is in the document currency; `method` is `card` for a settlement or a payment into a Stripe bank
|
|
1818
|
+
# account, `cash` for a cash order and `bank_transfer` otherwise.
|
|
1811
1819
|
#
|
|
1812
1820
|
# @param request_options [Hash]
|
|
1813
1821
|
# @param params [Nordlet::Sales::Types::PaymentsListSalesRequest]
|
|
@@ -14,6 +14,10 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :quantity, -> { String }, optional: false, nullable: false
|
|
16
16
|
|
|
17
|
+
field :unit_factor, -> { String }, optional: false, nullable: false, api_name: "unitFactor"
|
|
18
|
+
|
|
19
|
+
field :base_quantity, -> { String }, optional: false, nullable: false, api_name: "baseQuantity"
|
|
20
|
+
|
|
17
21
|
field :unit_price_excl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceExclVat"
|
|
18
22
|
|
|
19
23
|
field :line_net, -> { String }, optional: false, nullable: true, api_name: "lineNet"
|
|
@@ -14,6 +14,10 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :quantity, -> { String }, optional: false, nullable: false
|
|
16
16
|
|
|
17
|
+
field :unit_factor, -> { String }, optional: false, nullable: false, api_name: "unitFactor"
|
|
18
|
+
|
|
19
|
+
field :base_quantity, -> { String }, optional: false, nullable: false, api_name: "baseQuantity"
|
|
20
|
+
|
|
17
21
|
field :unit_price_excl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceExclVat"
|
|
18
22
|
|
|
19
23
|
field :line_net, -> { String }, optional: false, nullable: true, api_name: "lineNet"
|
|
@@ -14,6 +14,10 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :quantity, -> { String }, optional: false, nullable: false
|
|
16
16
|
|
|
17
|
+
field :unit_factor, -> { String }, optional: false, nullable: false, api_name: "unitFactor"
|
|
18
|
+
|
|
19
|
+
field :base_quantity, -> { String }, optional: false, nullable: false, api_name: "baseQuantity"
|
|
20
|
+
|
|
17
21
|
field :unit_price_excl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceExclVat"
|
|
18
22
|
|
|
19
23
|
field :line_net, -> { String }, optional: false, nullable: true, api_name: "lineNet"
|
|
@@ -9,6 +9,36 @@ module Nordlet
|
|
|
9
9
|
EN = "en"
|
|
10
10
|
LT = "lt"
|
|
11
11
|
DE = "de"
|
|
12
|
+
FR = "fr"
|
|
13
|
+
ES = "es"
|
|
14
|
+
IT = "it"
|
|
15
|
+
PT = "pt"
|
|
16
|
+
NL = "nl"
|
|
17
|
+
PL = "pl"
|
|
18
|
+
SV = "sv"
|
|
19
|
+
DA = "da"
|
|
20
|
+
NO = "no"
|
|
21
|
+
FI = "fi"
|
|
22
|
+
ET = "et"
|
|
23
|
+
LV = "lv"
|
|
24
|
+
CS = "cs"
|
|
25
|
+
SK = "sk"
|
|
26
|
+
HU = "hu"
|
|
27
|
+
RO = "ro"
|
|
28
|
+
BG = "bg"
|
|
29
|
+
HR = "hr"
|
|
30
|
+
SL = "sl"
|
|
31
|
+
EL = "el"
|
|
32
|
+
MT = "mt"
|
|
33
|
+
IS = "is"
|
|
34
|
+
GA = "ga"
|
|
35
|
+
ZH = "zh"
|
|
36
|
+
JA = "ja"
|
|
37
|
+
AR = "ar"
|
|
38
|
+
HI = "hi"
|
|
39
|
+
RU = "ru"
|
|
40
|
+
TR = "tr"
|
|
41
|
+
UK = "uk"
|
|
12
42
|
end
|
|
13
43
|
end
|
|
14
44
|
end
|
|
@@ -14,6 +14,10 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :quantity, -> { String }, optional: false, nullable: false
|
|
16
16
|
|
|
17
|
+
field :unit_factor, -> { String }, optional: false, nullable: false, api_name: "unitFactor"
|
|
18
|
+
|
|
19
|
+
field :base_quantity, -> { String }, optional: false, nullable: false, api_name: "baseQuantity"
|
|
20
|
+
|
|
17
21
|
field :unit_price_excl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceExclVat"
|
|
18
22
|
|
|
19
23
|
field :line_net, -> { String }, optional: false, nullable: true, api_name: "lineNet"
|
|
@@ -14,6 +14,8 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :vat_rate_percent, -> { String }, optional: true, nullable: false, api_name: "vatRatePercent"
|
|
16
16
|
|
|
17
|
+
field :vat_classifier_code, -> { String }, optional: true, nullable: false, api_name: "vatClassifierCode"
|
|
18
|
+
|
|
17
19
|
field :vat_exemption_basis, -> { String }, optional: true, nullable: false, api_name: "vatExemptionBasis"
|
|
18
20
|
|
|
19
21
|
field :project_id, -> { String }, optional: true, nullable: false, api_name: "projectId"
|
|
@@ -14,6 +14,8 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :vat_rate_percent, -> { String }, optional: true, nullable: false, api_name: "vatRatePercent"
|
|
16
16
|
|
|
17
|
+
field :vat_classifier_code, -> { String }, optional: true, nullable: false, api_name: "vatClassifierCode"
|
|
18
|
+
|
|
17
19
|
field :vat_exemption_basis, -> { String }, optional: true, nullable: false, api_name: "vatExemptionBasis"
|
|
18
20
|
|
|
19
21
|
field :project_id, -> { String }, optional: true, nullable: false, api_name: "projectId"
|
|
@@ -14,6 +14,8 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :vat_rate_percent, -> { String }, optional: true, nullable: false, api_name: "vatRatePercent"
|
|
16
16
|
|
|
17
|
+
field :vat_classifier_code, -> { String }, optional: true, nullable: false, api_name: "vatClassifierCode"
|
|
18
|
+
|
|
17
19
|
field :vat_exemption_basis, -> { String }, optional: true, nullable: false, api_name: "vatExemptionBasis"
|
|
18
20
|
|
|
19
21
|
field :project_id, -> { String }, optional: true, nullable: false, api_name: "projectId"
|
|
@@ -14,6 +14,8 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :vat_rate_percent, -> { String }, optional: true, nullable: false, api_name: "vatRatePercent"
|
|
16
16
|
|
|
17
|
+
field :vat_classifier_code, -> { String }, optional: true, nullable: false, api_name: "vatClassifierCode"
|
|
18
|
+
|
|
17
19
|
field :vat_exemption_basis, -> { String }, optional: true, nullable: false, api_name: "vatExemptionBasis"
|
|
18
20
|
|
|
19
21
|
field :project_id, -> { String }, optional: true, nullable: false, api_name: "projectId"
|
|
@@ -14,6 +14,8 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :vat_rate_percent, -> { String }, optional: true, nullable: false, api_name: "vatRatePercent"
|
|
16
16
|
|
|
17
|
+
field :vat_classifier_code, -> { String }, optional: true, nullable: false, api_name: "vatClassifierCode"
|
|
18
|
+
|
|
17
19
|
field :vat_exemption_basis, -> { String }, optional: true, nullable: false, api_name: "vatExemptionBasis"
|
|
18
20
|
|
|
19
21
|
field :project_id, -> { String }, optional: true, nullable: false, api_name: "projectId"
|
|
@@ -14,6 +14,8 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :vat_rate_percent, -> { String }, optional: true, nullable: false, api_name: "vatRatePercent"
|
|
16
16
|
|
|
17
|
+
field :vat_classifier_code, -> { String }, optional: true, nullable: false, api_name: "vatClassifierCode"
|
|
18
|
+
|
|
17
19
|
field :vat_exemption_basis, -> { String }, optional: true, nullable: false, api_name: "vatExemptionBasis"
|
|
18
20
|
|
|
19
21
|
field :project_id, -> { String }, optional: true, nullable: false, api_name: "projectId"
|
|
@@ -14,6 +14,10 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :quantity, -> { String }, optional: false, nullable: false
|
|
16
16
|
|
|
17
|
+
field :unit_factor, -> { String }, optional: false, nullable: false, api_name: "unitFactor"
|
|
18
|
+
|
|
19
|
+
field :base_quantity, -> { String }, optional: false, nullable: false, api_name: "baseQuantity"
|
|
20
|
+
|
|
17
21
|
field :unit_price_excl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceExclVat"
|
|
18
22
|
|
|
19
23
|
field :unit_price_incl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceInclVat"
|
|
@@ -14,6 +14,10 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :quantity, -> { String }, optional: false, nullable: false
|
|
16
16
|
|
|
17
|
+
field :unit_factor, -> { String }, optional: false, nullable: false, api_name: "unitFactor"
|
|
18
|
+
|
|
19
|
+
field :base_quantity, -> { String }, optional: false, nullable: false, api_name: "baseQuantity"
|
|
20
|
+
|
|
17
21
|
field :unit_price_excl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceExclVat"
|
|
18
22
|
|
|
19
23
|
field :unit_price_incl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceInclVat"
|
|
@@ -14,6 +14,10 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :quantity, -> { String }, optional: false, nullable: false
|
|
16
16
|
|
|
17
|
+
field :unit_factor, -> { String }, optional: false, nullable: false, api_name: "unitFactor"
|
|
18
|
+
|
|
19
|
+
field :base_quantity, -> { String }, optional: false, nullable: false, api_name: "baseQuantity"
|
|
20
|
+
|
|
17
21
|
field :unit_price_excl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceExclVat"
|
|
18
22
|
|
|
19
23
|
field :unit_price_incl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceInclVat"
|
|
@@ -14,6 +14,10 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :quantity, -> { String }, optional: false, nullable: false
|
|
16
16
|
|
|
17
|
+
field :unit_factor, -> { String }, optional: false, nullable: false, api_name: "unitFactor"
|
|
18
|
+
|
|
19
|
+
field :base_quantity, -> { String }, optional: false, nullable: false, api_name: "baseQuantity"
|
|
20
|
+
|
|
17
21
|
field :unit_price_excl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceExclVat"
|
|
18
22
|
|
|
19
23
|
field :unit_price_incl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceInclVat"
|
|
@@ -133,6 +133,8 @@ module Nordlet
|
|
|
133
133
|
field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt"
|
|
134
134
|
|
|
135
135
|
field :partner_name, -> { String }, optional: false, nullable: true, api_name: "partnerName"
|
|
136
|
+
|
|
137
|
+
field :advance_unapplied_amount, -> { String }, optional: false, nullable: true, api_name: "advanceUnappliedAmount"
|
|
136
138
|
end
|
|
137
139
|
end
|
|
138
140
|
end
|
|
@@ -14,6 +14,10 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :quantity, -> { String }, optional: false, nullable: false
|
|
16
16
|
|
|
17
|
+
field :unit_factor, -> { String }, optional: false, nullable: false, api_name: "unitFactor"
|
|
18
|
+
|
|
19
|
+
field :base_quantity, -> { String }, optional: false, nullable: false, api_name: "baseQuantity"
|
|
20
|
+
|
|
17
21
|
field :unit_price_excl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceExclVat"
|
|
18
22
|
|
|
19
23
|
field :unit_price_incl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceInclVat"
|
|
@@ -14,6 +14,10 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :quantity, -> { String }, optional: false, nullable: false
|
|
16
16
|
|
|
17
|
+
field :unit_factor, -> { String }, optional: false, nullable: false, api_name: "unitFactor"
|
|
18
|
+
|
|
19
|
+
field :base_quantity, -> { String }, optional: false, nullable: false, api_name: "baseQuantity"
|
|
20
|
+
|
|
17
21
|
field :unit_price_excl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceExclVat"
|
|
18
22
|
|
|
19
23
|
field :unit_price_incl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceInclVat"
|
|
@@ -14,6 +14,10 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :quantity, -> { String }, optional: false, nullable: false
|
|
16
16
|
|
|
17
|
+
field :unit_factor, -> { String }, optional: false, nullable: false, api_name: "unitFactor"
|
|
18
|
+
|
|
19
|
+
field :base_quantity, -> { String }, optional: false, nullable: false, api_name: "baseQuantity"
|
|
20
|
+
|
|
17
21
|
field :unit_price_excl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceExclVat"
|
|
18
22
|
|
|
19
23
|
field :unit_price_incl_vat, -> { String }, optional: false, nullable: true, api_name: "unitPriceInclVat"
|
|
@@ -36,6 +36,8 @@ module Nordlet
|
|
|
36
36
|
|
|
37
37
|
field :pay_url, -> { String }, optional: false, nullable: true, api_name: "payUrl"
|
|
38
38
|
|
|
39
|
+
field :card_payment_received, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "cardPaymentReceived"
|
|
40
|
+
|
|
39
41
|
field :seller, -> { Nordlet::Sales::Types::InvoicesViewSalesResponseSeller }, optional: false, nullable: false
|
|
40
42
|
|
|
41
43
|
field :buyer, -> { Nordlet::Sales::Types::InvoicesViewSalesResponseBuyer }, optional: false, nullable: false
|
|
@@ -14,6 +14,10 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :quantity, -> { String }, optional: false, nullable: false
|
|
16
16
|
|
|
17
|
+
field :unit_factor, -> { String }, optional: false, nullable: false, api_name: "unitFactor"
|
|
18
|
+
|
|
19
|
+
field :base_quantity, -> { String }, optional: false, nullable: false, api_name: "baseQuantity"
|
|
20
|
+
|
|
17
21
|
field :product_code, -> { String }, optional: false, nullable: true, api_name: "productCode"
|
|
18
22
|
|
|
19
23
|
field :sort_order, -> { Integer }, optional: false, nullable: false, api_name: "sortOrder"
|
|
@@ -14,6 +14,10 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :quantity, -> { String }, optional: false, nullable: false
|
|
16
16
|
|
|
17
|
+
field :unit_factor, -> { String }, optional: false, nullable: false, api_name: "unitFactor"
|
|
18
|
+
|
|
19
|
+
field :base_quantity, -> { String }, optional: false, nullable: false, api_name: "baseQuantity"
|
|
20
|
+
|
|
17
21
|
field :product_code, -> { String }, optional: false, nullable: true, api_name: "productCode"
|
|
18
22
|
|
|
19
23
|
field :sort_order, -> { Integer }, optional: false, nullable: false, api_name: "sortOrder"
|
|
@@ -14,6 +14,10 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :quantity, -> { String }, optional: false, nullable: false
|
|
16
16
|
|
|
17
|
+
field :unit_factor, -> { String }, optional: false, nullable: false, api_name: "unitFactor"
|
|
18
|
+
|
|
19
|
+
field :base_quantity, -> { String }, optional: false, nullable: false, api_name: "baseQuantity"
|
|
20
|
+
|
|
17
21
|
field :product_code, -> { String }, optional: false, nullable: true, api_name: "productCode"
|
|
18
22
|
|
|
19
23
|
field :sort_order, -> { Integer }, optional: false, nullable: false, api_name: "sortOrder"
|
|
@@ -14,6 +14,10 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :quantity, -> { String }, optional: false, nullable: false
|
|
16
16
|
|
|
17
|
+
field :unit_factor, -> { String }, optional: false, nullable: false, api_name: "unitFactor"
|
|
18
|
+
|
|
19
|
+
field :base_quantity, -> { String }, optional: false, nullable: false, api_name: "baseQuantity"
|
|
20
|
+
|
|
17
21
|
field :product_code, -> { String }, optional: false, nullable: true, api_name: "productCode"
|
|
18
22
|
|
|
19
23
|
field :sort_order, -> { Integer }, optional: false, nullable: false, api_name: "sortOrder"
|
data/lib/nordlet/version.rb
CHANGED