nordlet 0.7.0 → 0.7.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/declarations/client.rb +444 -8
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request.rb +15 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item.rb +55 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_asset_available.rb +17 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_asset_available_asset.rb +19 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_asset_transferred.rb +17 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_asset_transferred_asset.rb +17 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_car.rb +43 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_car_fuel.rb +15 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_expenses_entertainment.rb +15 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_expenses_home_telephone.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_expenses_non_qualifying_relocation.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_expenses_other.rb +15 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_expenses_travel_and_subsistence.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_living_accommodation.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_loan.rb +25 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_medical.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_mileage_allowance.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_other_class1a.rb +17 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_other_class1a_item.rb +18 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_other_non_class1a.rb +17 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_other_non_class1a_item.rb +18 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_payment.rb +15 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_payment_payment.rb +19 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_relocation.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_services.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_tax_on_notional_payments.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_tax_paid_not_deducted.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_vans.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_request_item_vouchers_or_credit_cards.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response.rb +23 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item.rb +55 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_asset_available.rb +17 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_asset_available_asset.rb +19 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_asset_transferred.rb +17 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_asset_transferred_asset.rb +17 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_car.rb +43 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_car_fuel.rb +15 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_expenses_entertainment.rb +15 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_expenses_home_telephone.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_expenses_non_qualifying_relocation.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_expenses_other.rb +15 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_expenses_travel_and_subsistence.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_living_accommodation.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_loan.rb +25 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_medical.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_mileage_allowance.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_other_class1a.rb +17 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_other_class1a_item.rb +18 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_other_non_class1a.rb +17 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_other_non_class1a_item.rb +18 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_payment.rb +15 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_payment_payment.rb +19 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_relocation.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_services.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_tax_on_notional_payments.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_tax_paid_not_deducted.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_vans.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_create_declarations_response_item_vouchers_or_credit_cards.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_delete_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_delete_declarations_response.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_request.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item.rb +23 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item.rb +55 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_asset_available.rb +17 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_asset_available_asset.rb +19 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_asset_transferred.rb +17 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_asset_transferred_asset.rb +17 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_car.rb +43 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_car_fuel.rb +15 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_expenses_entertainment.rb +15 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_expenses_home_telephone.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_expenses_non_qualifying_relocation.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_expenses_other.rb +15 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_expenses_travel_and_subsistence.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_living_accommodation.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_loan.rb +25 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_medical.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_mileage_allowance.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_other_class1a.rb +17 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_other_class1a_item.rb +18 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_other_non_class1a.rb +17 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_other_non_class1a_item.rb +18 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_payment.rb +15 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_payment_payment.rb +19 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_relocation.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_services.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_tax_on_notional_payments.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_tax_paid_not_deducted.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_vans.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p11d_items_list_declarations_response_items_item_item_vouchers_or_credit_cards.rb +13 -0
- data/lib/nordlet/declarations/types/gb_p45get_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/gb_p45get_declarations_response.rb +31 -0
- data/lib/nordlet/declarations/types/gb_p45get_declarations_response_employee.rb +27 -0
- data/lib/nordlet/declarations/types/gb_p45get_declarations_response_employee_gender.rb +14 -0
- data/lib/nordlet/declarations/types/gb_p45get_declarations_response_employer.rb +19 -0
- data/lib/nordlet/declarations/types/gb_p45get_declarations_response_last_entries.rb +17 -0
- data/lib/nordlet/declarations/types/gb_p45get_declarations_response_this_employment.rb +13 -0
- data/lib/nordlet/declarations/types/gb_return_facts_get_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/gb_return_facts_get_declarations_response.rb +13 -0
- data/lib/nordlet/declarations/types/gb_return_facts_get_declarations_response_facts.rb +57 -0
- data/lib/nordlet/declarations/types/gb_return_facts_get_declarations_response_facts_balancing_charges.rb +17 -0
- data/lib/nordlet/declarations/types/gb_return_facts_get_declarations_response_facts_capital_allowances.rb +21 -0
- data/lib/nordlet/declarations/types/gb_return_facts_set_declarations_request.rb +13 -0
- data/lib/nordlet/declarations/types/gb_return_facts_set_declarations_request_facts.rb +57 -0
- data/lib/nordlet/declarations/types/gb_return_facts_set_declarations_request_facts_balancing_charges.rb +17 -0
- data/lib/nordlet/declarations/types/gb_return_facts_set_declarations_request_facts_capital_allowances.rb +21 -0
- data/lib/nordlet/declarations/types/gb_return_facts_set_declarations_response.rb +13 -0
- data/lib/nordlet/declarations/types/gb_return_facts_set_declarations_response_facts.rb +57 -0
- data/lib/nordlet/declarations/types/gb_return_facts_set_declarations_response_facts_balancing_charges.rb +17 -0
- data/lib/nordlet/declarations/types/gb_return_facts_set_declarations_response_facts_capital_allowances.rb +21 -0
- data/lib/nordlet/declarations/types/us1099nec_list_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/us1099nec_list_declarations_response.rb +19 -0
- data/lib/nordlet/declarations/types/us1099nec_list_declarations_response_excluded_item.rb +17 -0
- data/lib/nordlet/declarations/types/us1099nec_list_declarations_response_forms_item.rb +23 -0
- data/lib/nordlet/declarations/types/us1099nec_list_declarations_response_forms_item_name_type.rb +14 -0
- data/lib/nordlet/declarations/types/us_de_unemployment_get_declarations_request.rb +6 -0
- data/lib/nordlet/declarations/types/us_de_unemployment_get_declarations_response.rb +8 -0
- data/lib/nordlet/declarations/types/us_de_unemployment_get_declarations_response_uc8.rb +37 -0
- data/lib/nordlet/declarations/types/us_de_unemployment_get_declarations_response_uc8a.rb +15 -0
- data/lib/nordlet/declarations/types/us_de_unemployment_get_declarations_response_uc8a_pages_item.rb +13 -0
- data/lib/nordlet/declarations/types/us_de_unemployment_get_declarations_response_uc8a_pages_item_rows_item.rb +21 -0
- data/lib/nordlet/declarations/types/us_de_withholding_get_declarations_response.rb +2 -0
- data/lib/nordlet/declarations/types/us_de_withholding_get_declarations_response_wth_tax.rb +19 -0
- data/lib/nordlet/declarations/types/us_de_withholding_reconciliation_get_declarations_request.rb +13 -0
- data/lib/nordlet/declarations/types/us_de_withholding_reconciliation_get_declarations_response.rb +39 -0
- data/lib/nordlet/declarations/types/us_de_withholding_reconciliation_get_declarations_response_worksheet_item.rb +15 -0
- data/lib/nordlet/declarations/types/us_flsa_records_list_declarations_request.rb +15 -0
- data/lib/nordlet/declarations/types/us_flsa_records_list_declarations_response.rb +19 -0
- data/lib/nordlet/declarations/types/us_flsa_records_list_declarations_response_employees_item.rb +33 -0
- data/lib/nordlet/declarations/types/us_flsa_records_list_declarations_response_employees_item_address.rb +17 -0
- data/lib/nordlet/declarations/types/us_flsa_records_list_declarations_response_employees_item_pay_periods_item.rb +37 -0
- data/lib/nordlet/declarations/types/us_flsa_records_list_declarations_response_employees_item_pay_periods_item_additions_item.rb +17 -0
- data/lib/nordlet/declarations/types/us_flsa_records_list_declarations_response_employees_item_pay_periods_item_basis_of_pay.rb +13 -0
- data/lib/nordlet/declarations/types/us_flsa_records_list_declarations_response_employees_item_pay_periods_item_deductions_item.rb +13 -0
- data/lib/nordlet/declarations/types/us_flsa_records_list_declarations_response_employees_item_sex.rb +14 -0
- data/lib/nordlet/declarations/types/us_flsa_records_list_declarations_response_employees_item_workweek_start.rb +13 -0
- data/lib/nordlet/declarations/types/us_flsa_records_list_declarations_response_employees_item_workweeks_item.rb +23 -0
- data/lib/nordlet/declarations/types/us_flsa_records_list_declarations_response_employees_item_workweeks_item_days_item.rb +13 -0
- data/lib/nordlet/declarations/types/us_income_tax_return_get_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/us_income_tax_return_get_declarations_response.rb +25 -0
- data/lib/nordlet/declarations/types/us_income_tax_return_get_declarations_response_form.rb +15 -0
- data/lib/nordlet/declarations/types/us_income_tax_return_get_declarations_response_other_lines_item.rb +15 -0
- data/lib/nordlet/declarations/types/us_income_tax_return_get_declarations_response_page1item.rb +15 -0
- data/lib/nordlet/declarations/types/us_income_tax_return_get_declarations_response_schedule_l_item.rb +17 -0
- data/lib/nordlet/declarations/types/us_sales_tax_get_declarations_request.rb +13 -0
- data/lib/nordlet/declarations/types/us_sales_tax_get_declarations_response.rb +19 -0
- data/lib/nordlet/declarations/types/us_sales_tax_get_declarations_response_jurisdictions_item.rb +19 -0
- data/lib/nordlet/partners/client.rb +122 -6
- data/lib/nordlet/partners/types/create_partners_request.rb +2 -0
- data/lib/nordlet/partners/types/create_partners_response.rb +2 -0
- data/lib/nordlet/partners/types/find_or_create_partners_request.rb +2 -0
- data/lib/nordlet/partners/types/find_or_create_partners_response_partner.rb +2 -0
- data/lib/nordlet/partners/types/get_partners_response.rb +2 -0
- data/lib/nordlet/partners/types/list_partners_response_rows_item.rb +2 -0
- data/lib/nordlet/partners/types/sales_tax_exemptions_cancel_partners_request.rb +13 -0
- data/lib/nordlet/partners/types/sales_tax_exemptions_cancel_partners_response.rb +41 -0
- data/lib/nordlet/partners/types/sales_tax_exemptions_create_partners_request.rb +37 -0
- data/lib/nordlet/partners/types/sales_tax_exemptions_create_partners_request_business_type.rb +32 -0
- data/lib/nordlet/partners/types/sales_tax_exemptions_create_partners_request_reasons_item.rb +25 -0
- data/lib/nordlet/partners/types/sales_tax_exemptions_create_partners_request_state.rb +36 -0
- data/lib/nordlet/partners/types/sales_tax_exemptions_create_partners_response.rb +41 -0
- data/lib/nordlet/partners/types/sales_tax_exemptions_list_partners_request.rb +11 -0
- data/lib/nordlet/partners/types/sales_tax_exemptions_list_partners_response.rb +11 -0
- data/lib/nordlet/partners/types/sales_tax_exemptions_list_partners_response_items_item.rb +41 -0
- data/lib/nordlet/partners/types/update_partners_request.rb +2 -0
- data/lib/nordlet/partners/types/update_partners_response.rb +2 -0
- data/lib/nordlet/payroll/client.rb +10 -6
- data/lib/nordlet/sales/client.rb +6 -4
- data/lib/nordlet/sales/types/invoices_apply_advance_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_apply_advance_sales_response_delivery_address.rb +19 -0
- data/lib/nordlet/sales/types/invoices_create_sales_request.rb +4 -0
- data/lib/nordlet/sales/types/invoices_create_sales_request_delivery_address.rb +21 -0
- data/lib/nordlet/sales/types/invoices_create_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_create_sales_response_delivery_address.rb +19 -0
- data/lib/nordlet/sales/types/invoices_get_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_get_sales_response_delivery_address.rb +19 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response_delivery_address.rb +19 -0
- data/lib/nordlet/sales/types/invoices_list_sales_response_rows_item.rb +6 -0
- data/lib/nordlet/sales/types/invoices_list_sales_response_rows_item_delivery_address.rb +19 -0
- data/lib/nordlet/sales/types/invoices_lock_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_lock_sales_response_delivery_address.rb +19 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_delivery_address.rb +19 -0
- data/lib/nordlet/sales/types/invoices_unlock_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_unlock_sales_response_delivery_address.rb +19 -0
- data/lib/nordlet/sales/types/invoices_update_sales_request.rb +4 -0
- data/lib/nordlet/sales/types/invoices_update_sales_request_delivery_address.rb +19 -0
- data/lib/nordlet/sales/types/invoices_update_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_update_sales_response_delivery_address.rb +19 -0
- data/lib/nordlet/version.rb +1 -1
- data/lib/nordlet.rb +166 -0
- data/reference.md +1242 -95
- metadata +168 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 31dd530326389999c01be07c6161c52c0bad436d679dff1a5c8c4735cb9fdbb6
|
|
4
|
+
data.tar.gz: 5ec77d72b7fe1fd5b848578e4c3eb511ee6b4388bebb4fb9ddc3d1a7206678b4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2db6c3c80f2e7d001a110a4b2483c0a81c0f8e556a928734e014334ec7644b6256885dde5f8d90fe718624fc29d55202e67ad9755ec2bb828af4be223ae995ae
|
|
7
|
+
data.tar.gz: 5a3292d017d77429d3a5d71eb49323dcb97928e358c1ab2920f93ada5910e4b3ff883904f4c86cc996dbb4099d569e0fb8576febdc2aeeda4f96c7d629263a77
|
|
@@ -3287,6 +3287,233 @@ module Nordlet
|
|
|
3287
3287
|
end
|
|
3288
3288
|
end
|
|
3289
3289
|
|
|
3290
|
+
# The facts of one accounting period that the Company Tax Return (CT600) and its computations need and the ledger
|
|
3291
|
+
# does not hold: the company type (box 4), the associated companies, the small companies regime and the section
|
|
3292
|
+
# 477 audit exemption of the accounts, the tax adjustments to the profit per the accounts, the capital allowances
|
|
3293
|
+
# and balancing charges, the trading losses brought forward, the chargeable gains, the qualifying donations, the
|
|
3294
|
+
# tax already paid, the declarant and the senior statutory auditor who signed the auditor’s report. The annual
|
|
3295
|
+
# accounts to Companies House read the small companies regime, the section 477 audit exemption and the senior
|
|
3296
|
+
# statutory auditor too. `year` is the fiscal year by the year in which it ends. A key that is absent has not been
|
|
3297
|
+
# answered.
|
|
3298
|
+
#
|
|
3299
|
+
# @param request_options [Hash]
|
|
3300
|
+
# @param params [Nordlet::Declarations::Types::GbReturnFactsGetDeclarationsRequest]
|
|
3301
|
+
# @option request_options [String] :base_url
|
|
3302
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
3303
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
3304
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
3305
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
3306
|
+
#
|
|
3307
|
+
# @return [Nordlet::Declarations::Types::GbReturnFactsGetDeclarationsResponse]
|
|
3308
|
+
def gb_return_facts_get(request_options: {}, **params)
|
|
3309
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
3310
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
3311
|
+
base_url: request_options[:base_url],
|
|
3312
|
+
method: "POST",
|
|
3313
|
+
path: "v1/declarations/gb/return-facts/get",
|
|
3314
|
+
body: Nordlet::Declarations::Types::GbReturnFactsGetDeclarationsRequest.new(params).to_h,
|
|
3315
|
+
request_options: request_options
|
|
3316
|
+
)
|
|
3317
|
+
begin
|
|
3318
|
+
response = @client.send(request)
|
|
3319
|
+
rescue Net::HTTPRequestTimeout
|
|
3320
|
+
raise Nordlet::Errors::TimeoutError
|
|
3321
|
+
end
|
|
3322
|
+
code = response.code.to_i
|
|
3323
|
+
if code.between?(200, 299)
|
|
3324
|
+
Nordlet::Declarations::Types::GbReturnFactsGetDeclarationsResponse.load(response.body)
|
|
3325
|
+
else
|
|
3326
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
3327
|
+
raise error_class.new(response.body, code: code)
|
|
3328
|
+
end
|
|
3329
|
+
end
|
|
3330
|
+
|
|
3331
|
+
# Replace the facts of one accounting period for the Company Tax Return. The `gb-ct-return` and
|
|
3332
|
+
# `gb-annual-accounts` filings built afterwards read them; a key left out stays unanswered.
|
|
3333
|
+
#
|
|
3334
|
+
# @param request_options [Hash]
|
|
3335
|
+
# @param params [Nordlet::Declarations::Types::GbReturnFactsSetDeclarationsRequest]
|
|
3336
|
+
# @option request_options [String] :base_url
|
|
3337
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
3338
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
3339
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
3340
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
3341
|
+
#
|
|
3342
|
+
# @return [Nordlet::Declarations::Types::GbReturnFactsSetDeclarationsResponse]
|
|
3343
|
+
def gb_return_facts_set(request_options: {}, **params)
|
|
3344
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
3345
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
3346
|
+
base_url: request_options[:base_url],
|
|
3347
|
+
method: "POST",
|
|
3348
|
+
path: "v1/declarations/gb/return-facts/set",
|
|
3349
|
+
body: Nordlet::Declarations::Types::GbReturnFactsSetDeclarationsRequest.new(params).to_h,
|
|
3350
|
+
request_options: request_options
|
|
3351
|
+
)
|
|
3352
|
+
begin
|
|
3353
|
+
response = @client.send(request)
|
|
3354
|
+
rescue Net::HTTPRequestTimeout
|
|
3355
|
+
raise Nordlet::Errors::TimeoutError
|
|
3356
|
+
end
|
|
3357
|
+
code = response.code.to_i
|
|
3358
|
+
if code.between?(200, 299)
|
|
3359
|
+
Nordlet::Declarations::Types::GbReturnFactsSetDeclarationsResponse.load(response.body)
|
|
3360
|
+
else
|
|
3361
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
3362
|
+
raise error_class.new(response.body, code: code)
|
|
3363
|
+
end
|
|
3364
|
+
end
|
|
3365
|
+
|
|
3366
|
+
# Records a benefit or expense of an employee that is not taxed through the payroll, for the P11D of the tax year
|
|
3367
|
+
# that starts on 6 April of `taxYear`. `item.type` chooses the P11D section (A `asset-transferred`; B `payment`,
|
|
3368
|
+
# `tax-on-notional-payments`; C `vouchers-or-credit-cards`; D `living-accommodation`; E `mileage-allowance`; F
|
|
3369
|
+
# `car`; G `vans`; H `loan`; I `medical`; J `relocation`; K `services`; L `asset-available`; M `other-class-1a`,
|
|
3370
|
+
# `other-non-class-1a`, `tax-paid-not-deducted`; N `expenses-travel-and-subsistence`, `expenses-entertainment`,
|
|
3371
|
+
# `expenses-home-telephone`, `expenses-non-qualifying-relocation`, `expenses-other`). Amounts are the cash
|
|
3372
|
+
# equivalents the employer works out; for a cost item the cash equivalent is the cost less the amount made good.
|
|
3373
|
+
# The `gb-p11db` filing sends these P11Ds with the P11D(b), whose total benefit adds the items liable to Class 1A.
|
|
3374
|
+
# Answers 422 for a rule of HMRC's business rules the item breaks and 409 for a second item of a kind HMRC takes
|
|
3375
|
+
# once per employee.
|
|
3376
|
+
#
|
|
3377
|
+
# @param request_options [Hash]
|
|
3378
|
+
# @param params [Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequest]
|
|
3379
|
+
# @option request_options [String] :base_url
|
|
3380
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
3381
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
3382
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
3383
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
3384
|
+
#
|
|
3385
|
+
# @return [Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsResponse]
|
|
3386
|
+
def gb_p11d_items_create(request_options: {}, **params)
|
|
3387
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
3388
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
3389
|
+
base_url: request_options[:base_url],
|
|
3390
|
+
method: "POST",
|
|
3391
|
+
path: "v1/declarations/gb/p11d/items/create",
|
|
3392
|
+
body: Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequest.new(params).to_h,
|
|
3393
|
+
request_options: request_options
|
|
3394
|
+
)
|
|
3395
|
+
begin
|
|
3396
|
+
response = @client.send(request)
|
|
3397
|
+
rescue Net::HTTPRequestTimeout
|
|
3398
|
+
raise Nordlet::Errors::TimeoutError
|
|
3399
|
+
end
|
|
3400
|
+
code = response.code.to_i
|
|
3401
|
+
if code.between?(200, 299)
|
|
3402
|
+
Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsResponse.load(response.body)
|
|
3403
|
+
else
|
|
3404
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
3405
|
+
raise error_class.new(response.body, code: code)
|
|
3406
|
+
end
|
|
3407
|
+
end
|
|
3408
|
+
|
|
3409
|
+
# Lists the P11D items of a tax year, optionally of one employee, with their section, cash equivalent and whether
|
|
3410
|
+
# they count for Class 1A.
|
|
3411
|
+
#
|
|
3412
|
+
# @param request_options [Hash]
|
|
3413
|
+
# @param params [Nordlet::Declarations::Types::GbP11DItemsListDeclarationsRequest]
|
|
3414
|
+
# @option request_options [String] :base_url
|
|
3415
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
3416
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
3417
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
3418
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
3419
|
+
#
|
|
3420
|
+
# @return [Nordlet::Declarations::Types::GbP11DItemsListDeclarationsResponse]
|
|
3421
|
+
def gb_p11d_items_list(request_options: {}, **params)
|
|
3422
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
3423
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
3424
|
+
base_url: request_options[:base_url],
|
|
3425
|
+
method: "POST",
|
|
3426
|
+
path: "v1/declarations/gb/p11d/items/list",
|
|
3427
|
+
body: Nordlet::Declarations::Types::GbP11DItemsListDeclarationsRequest.new(params).to_h,
|
|
3428
|
+
request_options: request_options
|
|
3429
|
+
)
|
|
3430
|
+
begin
|
|
3431
|
+
response = @client.send(request)
|
|
3432
|
+
rescue Net::HTTPRequestTimeout
|
|
3433
|
+
raise Nordlet::Errors::TimeoutError
|
|
3434
|
+
end
|
|
3435
|
+
code = response.code.to_i
|
|
3436
|
+
if code.between?(200, 299)
|
|
3437
|
+
Nordlet::Declarations::Types::GbP11DItemsListDeclarationsResponse.load(response.body)
|
|
3438
|
+
else
|
|
3439
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
3440
|
+
raise error_class.new(response.body, code: code)
|
|
3441
|
+
end
|
|
3442
|
+
end
|
|
3443
|
+
|
|
3444
|
+
# Deletes a P11D item.
|
|
3445
|
+
#
|
|
3446
|
+
# @param request_options [Hash]
|
|
3447
|
+
# @param params [Nordlet::Declarations::Types::GbP11DItemsDeleteDeclarationsRequest]
|
|
3448
|
+
# @option request_options [String] :base_url
|
|
3449
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
3450
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
3451
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
3452
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
3453
|
+
#
|
|
3454
|
+
# @return [Nordlet::Declarations::Types::GbP11DItemsDeleteDeclarationsResponse]
|
|
3455
|
+
def gb_p11d_items_delete(request_options: {}, **params)
|
|
3456
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
3457
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
3458
|
+
base_url: request_options[:base_url],
|
|
3459
|
+
method: "POST",
|
|
3460
|
+
path: "v1/declarations/gb/p11d/items/delete",
|
|
3461
|
+
body: Nordlet::Declarations::Types::GbP11DItemsDeleteDeclarationsRequest.new(params).to_h,
|
|
3462
|
+
request_options: request_options
|
|
3463
|
+
)
|
|
3464
|
+
begin
|
|
3465
|
+
response = @client.send(request)
|
|
3466
|
+
rescue Net::HTTPRequestTimeout
|
|
3467
|
+
raise Nordlet::Errors::TimeoutError
|
|
3468
|
+
end
|
|
3469
|
+
code = response.code.to_i
|
|
3470
|
+
if code.between?(200, 299)
|
|
3471
|
+
Nordlet::Declarations::Types::GbP11DItemsDeleteDeclarationsResponse.load(response.body)
|
|
3472
|
+
else
|
|
3473
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
3474
|
+
raise error_class.new(response.body, code: code)
|
|
3475
|
+
end
|
|
3476
|
+
end
|
|
3477
|
+
|
|
3478
|
+
# Gives the P45 figures of an employee who has left (`terminationDate` set): the employer PAYE reference, the
|
|
3479
|
+
# employee's National Insurance number, name, leaving date, payroll number, gender, date of birth and address,
|
|
3480
|
+
# whether Student Loan deductions are to continue, the tax code at the leaving date with the Week 1/Month 1 mark,
|
|
3481
|
+
# and the pay and tax of the tax year of the leaving date from the approved payroll runs. With a cumulative code
|
|
3482
|
+
# the totals are the last entries of box 7 with the tax week or month of the last payment; with a Week 1/Month 1
|
|
3483
|
+
# code they are this employment's pay and tax of box 8. Nordlet does not print the P45 form.
|
|
3484
|
+
#
|
|
3485
|
+
# @param request_options [Hash]
|
|
3486
|
+
# @param params [Nordlet::Declarations::Types::GbP45GetDeclarationsRequest]
|
|
3487
|
+
# @option request_options [String] :base_url
|
|
3488
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
3489
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
3490
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
3491
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
3492
|
+
#
|
|
3493
|
+
# @return [Nordlet::Declarations::Types::GbP45GetDeclarationsResponse]
|
|
3494
|
+
def gb_p45get(request_options: {}, **params)
|
|
3495
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
3496
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
3497
|
+
base_url: request_options[:base_url],
|
|
3498
|
+
method: "POST",
|
|
3499
|
+
path: "v1/declarations/gb/p45/get",
|
|
3500
|
+
body: Nordlet::Declarations::Types::GbP45GetDeclarationsRequest.new(params).to_h,
|
|
3501
|
+
request_options: request_options
|
|
3502
|
+
)
|
|
3503
|
+
begin
|
|
3504
|
+
response = @client.send(request)
|
|
3505
|
+
rescue Net::HTTPRequestTimeout
|
|
3506
|
+
raise Nordlet::Errors::TimeoutError
|
|
3507
|
+
end
|
|
3508
|
+
code = response.code.to_i
|
|
3509
|
+
if code.between?(200, 299)
|
|
3510
|
+
Nordlet::Declarations::Types::GbP45GetDeclarationsResponse.load(response.body)
|
|
3511
|
+
else
|
|
3512
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
3513
|
+
raise error_class.new(response.body, code: code)
|
|
3514
|
+
end
|
|
3515
|
+
end
|
|
3516
|
+
|
|
3290
3517
|
# Lists the company's VAT return periods as HMRC holds them: open (`status` O) or fulfilled (F). Without `status`,
|
|
3291
3518
|
# `from` and `to` are required and at most 366 days apart. `device` carries the facts of the user's browser that
|
|
3292
3519
|
# HMRC requires.
|
|
@@ -3578,9 +3805,91 @@ module Nordlet
|
|
|
3578
3805
|
end
|
|
3579
3806
|
end
|
|
3580
3807
|
|
|
3581
|
-
# The
|
|
3582
|
-
#
|
|
3583
|
-
#
|
|
3808
|
+
# The federal income tax return of the fiscal year that ends in `year`, chosen by the legal form: Form 1120 for a
|
|
3809
|
+
# corporation, Form 1120-S for an S corporation, Form 1065 for a partnership, and for an LLC the return of the
|
|
3810
|
+
# filing option `usLlcTaxReturn`. `page1` gives the income and deduction lines filled from the statement rows of
|
|
3811
|
+
# the form (`ledger/statement-rows/list` with `scheme`) and the total lines computed as the form says (Form 1120
|
|
3812
|
+
# lines 1c, 3, 11, 27 and 28; Form 1120-S lines 1c, 3, 6, 21 and 22; Form 1065 lines 1c, 3, 8, 16c, 22 and 23);
|
|
3813
|
+
# line 1b is the debit balance of the returns and allowances accounts. `scheduleL` gives each Schedule L line at
|
|
3814
|
+
# the beginning and end of the year, `otherLines` the Schedule K and M-1 lines. Answers 422 for a company outside
|
|
3815
|
+
# the US, a sole proprietorship, and an LLC without `usLlcTaxReturn`.
|
|
3816
|
+
#
|
|
3817
|
+
# @param request_options [Hash]
|
|
3818
|
+
# @param params [Nordlet::Declarations::Types::UsIncomeTaxReturnGetDeclarationsRequest]
|
|
3819
|
+
# @option request_options [String] :base_url
|
|
3820
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
3821
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
3822
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
3823
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
3824
|
+
#
|
|
3825
|
+
# @return [Nordlet::Declarations::Types::UsIncomeTaxReturnGetDeclarationsResponse]
|
|
3826
|
+
def us_income_tax_return_get(request_options: {}, **params)
|
|
3827
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
3828
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
3829
|
+
base_url: request_options[:base_url],
|
|
3830
|
+
method: "POST",
|
|
3831
|
+
path: "v1/declarations/us/income-tax-return/get",
|
|
3832
|
+
body: Nordlet::Declarations::Types::UsIncomeTaxReturnGetDeclarationsRequest.new(params).to_h,
|
|
3833
|
+
request_options: request_options
|
|
3834
|
+
)
|
|
3835
|
+
begin
|
|
3836
|
+
response = @client.send(request)
|
|
3837
|
+
rescue Net::HTTPRequestTimeout
|
|
3838
|
+
raise Nordlet::Errors::TimeoutError
|
|
3839
|
+
end
|
|
3840
|
+
code = response.code.to_i
|
|
3841
|
+
if code.between?(200, 299)
|
|
3842
|
+
Nordlet::Declarations::Types::UsIncomeTaxReturnGetDeclarationsResponse.load(response.body)
|
|
3843
|
+
else
|
|
3844
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
3845
|
+
raise error_class.new(response.body, code: code)
|
|
3846
|
+
end
|
|
3847
|
+
end
|
|
3848
|
+
|
|
3849
|
+
# The Forms 1099-NEC of a calendar year: one per partner marked with `identifiers.nonemployeeCompensation` = `yes`
|
|
3850
|
+
# whose payments in the year reach the threshold (2026: $2,000), box 1 the payments on its registered purchase
|
|
3851
|
+
# invoices less those on its credit notes, by payment date, in the company currency at the invoice rate, without
|
|
3852
|
+
# settlements by credit note or advance. A partner whose Form W-9 tax classification is a C or S corporation
|
|
3853
|
+
# (`c-corporation`, `s-corporation`, `llc-c`, `llc-s`) is listed in `excluded`. The recipient name type is `I` for
|
|
3854
|
+
# a partner of type `person` and `B` otherwise. Answers 422 for a company outside the US and for a year whose
|
|
3855
|
+
# threshold Nordlet does not have.
|
|
3856
|
+
#
|
|
3857
|
+
# @param request_options [Hash]
|
|
3858
|
+
# @param params [Nordlet::Declarations::Types::Us1099NecListDeclarationsRequest]
|
|
3859
|
+
# @option request_options [String] :base_url
|
|
3860
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
3861
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
3862
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
3863
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
3864
|
+
#
|
|
3865
|
+
# @return [Nordlet::Declarations::Types::Us1099NecListDeclarationsResponse]
|
|
3866
|
+
def us1099nec_list(request_options: {}, **params)
|
|
3867
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
3868
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
3869
|
+
base_url: request_options[:base_url],
|
|
3870
|
+
method: "POST",
|
|
3871
|
+
path: "v1/declarations/us/1099-nec/list",
|
|
3872
|
+
body: Nordlet::Declarations::Types::Us1099NecListDeclarationsRequest.new(params).to_h,
|
|
3873
|
+
request_options: request_options
|
|
3874
|
+
)
|
|
3875
|
+
begin
|
|
3876
|
+
response = @client.send(request)
|
|
3877
|
+
rescue Net::HTTPRequestTimeout
|
|
3878
|
+
raise Nordlet::Errors::TimeoutError
|
|
3879
|
+
end
|
|
3880
|
+
code = response.code.to_i
|
|
3881
|
+
if code.between?(200, 299)
|
|
3882
|
+
Nordlet::Declarations::Types::Us1099NecListDeclarationsResponse.load(response.body)
|
|
3883
|
+
else
|
|
3884
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
3885
|
+
raise error_class.new(response.body, code: code)
|
|
3886
|
+
end
|
|
3887
|
+
end
|
|
3888
|
+
|
|
3889
|
+
# The Delaware withholding of a month (YYYY-MM), a quarter (YYYY-Qn) or a year (YYYY) from the approved US payroll
|
|
3890
|
+
# runs paid in it: the employees with Delaware income tax withheld, their wages and the tax withheld, and
|
|
3891
|
+
# `wthTax`, the boxes of Form WTH-TAX (taxpayer ID `deWithholdingAccount`, the tax period, line 1 the tax
|
|
3892
|
+
# withheld, line 2 the amount remitted, here equal to line 1). Answers 422 for a company outside the US.
|
|
3584
3893
|
#
|
|
3585
3894
|
# @param request_options [Hash]
|
|
3586
3895
|
# @param params [Nordlet::Declarations::Types::UsDeWithholdingGetDeclarationsRequest]
|
|
@@ -3614,10 +3923,55 @@ module Nordlet
|
|
|
3614
3923
|
end
|
|
3615
3924
|
end
|
|
3616
3925
|
|
|
3926
|
+
# The lines of the Delaware annual reconciliation, Form WTH-REC, of a year from the approved US payroll runs paid
|
|
3927
|
+
# in it: line 1 the Delaware wages, line 2 the number of Forms W-2, line 3 the Delaware income tax withheld, and
|
|
3928
|
+
# the withholding worksheet of tax withheld by month of the pay date. `taxPaid` is the tax paid to the Division of
|
|
3929
|
+
# Revenue in each month, January to December; with it the response fills the tax paid column, line 4, line 5a
|
|
3930
|
+
# (overpayment), line 5b (balance due) and line 6 (total remittance), without it those are null. Answers 422 for a
|
|
3931
|
+
# company outside the US.
|
|
3932
|
+
#
|
|
3933
|
+
# @param request_options [Hash]
|
|
3934
|
+
# @param params [Nordlet::Declarations::Types::UsDeWithholdingReconciliationGetDeclarationsRequest]
|
|
3935
|
+
# @option request_options [String] :base_url
|
|
3936
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
3937
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
3938
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
3939
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
3940
|
+
#
|
|
3941
|
+
# @return [Nordlet::Declarations::Types::UsDeWithholdingReconciliationGetDeclarationsResponse]
|
|
3942
|
+
def us_de_withholding_reconciliation_get(request_options: {}, **params)
|
|
3943
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
3944
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
3945
|
+
base_url: request_options[:base_url],
|
|
3946
|
+
method: "POST",
|
|
3947
|
+
path: "v1/declarations/us/de/withholding-reconciliation/get",
|
|
3948
|
+
body: Nordlet::Declarations::Types::UsDeWithholdingReconciliationGetDeclarationsRequest.new(params).to_h,
|
|
3949
|
+
request_options: request_options
|
|
3950
|
+
)
|
|
3951
|
+
begin
|
|
3952
|
+
response = @client.send(request)
|
|
3953
|
+
rescue Net::HTTPRequestTimeout
|
|
3954
|
+
raise Nordlet::Errors::TimeoutError
|
|
3955
|
+
end
|
|
3956
|
+
code = response.code.to_i
|
|
3957
|
+
if code.between?(200, 299)
|
|
3958
|
+
Nordlet::Declarations::Types::UsDeWithholdingReconciliationGetDeclarationsResponse.load(response.body)
|
|
3959
|
+
else
|
|
3960
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
3961
|
+
raise error_class.new(response.body, code: code)
|
|
3962
|
+
end
|
|
3963
|
+
end
|
|
3964
|
+
|
|
3617
3965
|
# The Delaware unemployment insurance figures of a quarter from the approved US payroll runs paid in it, for the
|
|
3618
3966
|
# employees charged Delaware unemployment insurance: the total wages, the wages above each employee's yearly wage
|
|
3619
3967
|
# base, the taxable wages, the contributions, and each employee with the social security number (`personalCode`)
|
|
3620
|
-
# and the wages of the quarter.
|
|
3968
|
+
# and the wages of the quarter. `uc8` gives the lines of Form UC-8: line 1 the covered workers of each month in a
|
|
3969
|
+
# payroll period that includes the 12th, lines 2 to 4 the gross covered, excess and taxable wages, line 5 the
|
|
3970
|
+
# taxable wages multiplied by the rate of the runs, line 7 line 5 less line 6 and line 10 lines 7, 8 and 9; lines
|
|
3971
|
+
# 6 (approved credit), 8 (interest) and 9 (penalty) are `approvedCredit`, `interest` and `penalty` when given,
|
|
3972
|
+
# otherwise null and counted as zero. `uc8a` gives Form UC-8A in pages of 30 rows (social security number, first
|
|
3973
|
+
# initial, last name, gross covered wages; Nordlet keeps no middle initial) with line 31 of each page, line 32 the
|
|
3974
|
+
# total of the pages after the first and line 33 the grand total. Answers 422 for a company outside the US.
|
|
3621
3975
|
#
|
|
3622
3976
|
# @param request_options [Hash]
|
|
3623
3977
|
# @param params [Nordlet::Declarations::Types::UsDeUnemploymentGetDeclarationsRequest]
|
|
@@ -3693,10 +4047,10 @@ module Nordlet
|
|
|
3693
4047
|
|
|
3694
4048
|
# The sales of a US company per state between two issue dates, to see where its sales may oblige it to collect a
|
|
3695
4049
|
# state's sales tax: the number and net amount of the issued sale invoices and credit notes (subtracted) by the
|
|
3696
|
-
# state of the
|
|
3697
|
-
#
|
|
3698
|
-
#
|
|
3699
|
-
#
|
|
4050
|
+
# state of the document's `deliveryAddress`, else of the customer's address (`subdivision`), the sales delivered
|
|
4051
|
+
# in the US without a state, and the sales delivered outside the US. Advance invoices are left out because the
|
|
4052
|
+
# final invoice carries the sale; amounts in another currency are at the rate stored on the invoice, and an
|
|
4053
|
+
# invoice without one is left out with a warning. Answers 422 for a company outside the US.
|
|
3700
4054
|
#
|
|
3701
4055
|
# @param request_options [Hash]
|
|
3702
4056
|
# @param params [Nordlet::Declarations::Types::UsStateSalesGetDeclarationsRequest]
|
|
@@ -3730,6 +4084,45 @@ module Nordlet
|
|
|
3730
4084
|
end
|
|
3731
4085
|
end
|
|
3732
4086
|
|
|
4087
|
+
# The sales tax a US company charged between two issue dates, per state (`salesTaxJurisdiction` of the document),
|
|
4088
|
+
# for its state sales tax returns: the number of issued invoices and credit notes (subtracted) with sales tax,
|
|
4089
|
+
# their net amount split into `taxableSales` and `exemptSales` (documents charged no sales tax under the
|
|
4090
|
+
# customer's certificate of exemption, `salesTaxExemptionId`), and their sales tax, which `sales/invoices/issue`
|
|
4091
|
+
# credited to the sales tax payable account. Amounts in another currency are at the rate stored on the document,
|
|
4092
|
+
# and a document without one is left out with a warning. Answers 422 for a company outside the US.
|
|
4093
|
+
#
|
|
4094
|
+
# @param request_options [Hash]
|
|
4095
|
+
# @param params [Nordlet::Declarations::Types::UsSalesTaxGetDeclarationsRequest]
|
|
4096
|
+
# @option request_options [String] :base_url
|
|
4097
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
4098
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
4099
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
4100
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
4101
|
+
#
|
|
4102
|
+
# @return [Nordlet::Declarations::Types::UsSalesTaxGetDeclarationsResponse]
|
|
4103
|
+
def us_sales_tax_get(request_options: {}, **params)
|
|
4104
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
4105
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
4106
|
+
base_url: request_options[:base_url],
|
|
4107
|
+
method: "POST",
|
|
4108
|
+
path: "v1/declarations/us/sales-tax/get",
|
|
4109
|
+
body: Nordlet::Declarations::Types::UsSalesTaxGetDeclarationsRequest.new(params).to_h,
|
|
4110
|
+
request_options: request_options
|
|
4111
|
+
)
|
|
4112
|
+
begin
|
|
4113
|
+
response = @client.send(request)
|
|
4114
|
+
rescue Net::HTTPRequestTimeout
|
|
4115
|
+
raise Nordlet::Errors::TimeoutError
|
|
4116
|
+
end
|
|
4117
|
+
code = response.code.to_i
|
|
4118
|
+
if code.between?(200, 299)
|
|
4119
|
+
Nordlet::Declarations::Types::UsSalesTaxGetDeclarationsResponse.load(response.body)
|
|
4120
|
+
else
|
|
4121
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
4122
|
+
raise error_class.new(response.body, code: code)
|
|
4123
|
+
end
|
|
4124
|
+
end
|
|
4125
|
+
|
|
3733
4126
|
# The Delaware franchise tax of a domestic corporation for its annual franchise tax report, by 8 Del. C. § 503:
|
|
3734
4127
|
# the authorized shares method on the total of `authorizedShares`, and, when `issuedShares` and `totalGrossAssets`
|
|
3735
4128
|
# (the total assets of Form 1120 Schedule L) are given, the assumed par value capital method, where a share class
|
|
@@ -3809,6 +4202,49 @@ module Nordlet
|
|
|
3809
4202
|
end
|
|
3810
4203
|
end
|
|
3811
4204
|
|
|
4205
|
+
# The payroll and time records that 29 CFR 516.2(a) requires for each employee of a US company (or the one
|
|
4206
|
+
# `employeeId`) over the period: name and `code`, home address with zip code, date of birth when the employee is
|
|
4207
|
+
# under 19 on `from`, `usSex`, the occupation (the position of a contract of the period), the day and time the
|
|
4208
|
+
# workweek begins (`usWorkweekStart`, `usWorkweekStartTime`), the hours of each workday and workweek with the
|
|
4209
|
+
# regular hourly rate of a workweek with overtime and the straight-time earnings of the workweek (hourly
|
|
4210
|
+
# contracts), and for each approved payroll run that overlaps the period the basis of pay, the regular pay, the
|
|
4211
|
+
# overtime pay and hours, the straight-time earnings and the overtime premium (the overtime pay less the overtime
|
|
4212
|
+
# hours at the hourly rate), the additions and deductions, the total wages, the pay date and the pay period.
|
|
4213
|
+
# Figures that need an hourly contract are null without one, with a warning; missing employee data is listed in
|
|
4214
|
+
# `warnings`. Answers 422 for a company outside the US.
|
|
4215
|
+
#
|
|
4216
|
+
# @param request_options [Hash]
|
|
4217
|
+
# @param params [Nordlet::Declarations::Types::UsFlsaRecordsListDeclarationsRequest]
|
|
4218
|
+
# @option request_options [String] :base_url
|
|
4219
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
4220
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
4221
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
4222
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
4223
|
+
#
|
|
4224
|
+
# @return [Nordlet::Declarations::Types::UsFlsaRecordsListDeclarationsResponse]
|
|
4225
|
+
def us_flsa_records_list(request_options: {}, **params)
|
|
4226
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
4227
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
4228
|
+
base_url: request_options[:base_url],
|
|
4229
|
+
method: "POST",
|
|
4230
|
+
path: "v1/declarations/us/flsa-records/list",
|
|
4231
|
+
body: Nordlet::Declarations::Types::UsFlsaRecordsListDeclarationsRequest.new(params).to_h,
|
|
4232
|
+
request_options: request_options
|
|
4233
|
+
)
|
|
4234
|
+
begin
|
|
4235
|
+
response = @client.send(request)
|
|
4236
|
+
rescue Net::HTTPRequestTimeout
|
|
4237
|
+
raise Nordlet::Errors::TimeoutError
|
|
4238
|
+
end
|
|
4239
|
+
code = response.code.to_i
|
|
4240
|
+
if code.between?(200, 299)
|
|
4241
|
+
Nordlet::Declarations::Types::UsFlsaRecordsListDeclarationsResponse.load(response.body)
|
|
4242
|
+
else
|
|
4243
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
4244
|
+
raise error_class.new(response.body, code: code)
|
|
4245
|
+
end
|
|
4246
|
+
end
|
|
4247
|
+
|
|
3812
4248
|
# Lists the filing systems the company can configure: those of the company country (or of `country` when given),
|
|
3813
4249
|
# the EU-wide systems and the cross-border e-invoicing systems `it_sdi`, `pl_ksef` and `ro_efactura`. Each row
|
|
3814
4250
|
# carries the stored values, with a secret or certificate field shown as `__secret_set__` and the fields taken
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbP11DItemsCreateDeclarationsRequest < Internal::Types::Model
|
|
7
|
+
field :employee_id, -> { String }, optional: false, nullable: false, api_name: "employeeId"
|
|
8
|
+
|
|
9
|
+
field :tax_year, -> { Integer }, optional: false, nullable: false, api_name: "taxYear"
|
|
10
|
+
|
|
11
|
+
field :item, -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItem }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbP11DItemsCreateDeclarationsRequestItem < Internal::Types::Model
|
|
7
|
+
extend Nordlet::Internal::Types::Union
|
|
8
|
+
|
|
9
|
+
discriminant :type
|
|
10
|
+
|
|
11
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemAssetTransferred }, key: "ASSET_TRANSFERRED"
|
|
12
|
+
|
|
13
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemPayment }, key: "PAYMENT"
|
|
14
|
+
|
|
15
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemTaxOnNotionalPayments }, key: "TAX_ON_NOTIONAL_PAYMENTS"
|
|
16
|
+
|
|
17
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemVouchersOrCreditCards }, key: "VOUCHERS_OR_CREDIT_CARDS"
|
|
18
|
+
|
|
19
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemLivingAccommodation }, key: "LIVING_ACCOMMODATION"
|
|
20
|
+
|
|
21
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemMileageAllowance }, key: "MILEAGE_ALLOWANCE"
|
|
22
|
+
|
|
23
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemCar }, key: "CAR"
|
|
24
|
+
|
|
25
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemVans }, key: "VANS"
|
|
26
|
+
|
|
27
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemLoan }, key: "LOAN"
|
|
28
|
+
|
|
29
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemMedical }, key: "MEDICAL"
|
|
30
|
+
|
|
31
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemRelocation }, key: "RELOCATION"
|
|
32
|
+
|
|
33
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemServices }, key: "SERVICES"
|
|
34
|
+
|
|
35
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemAssetAvailable }, key: "ASSET_AVAILABLE"
|
|
36
|
+
|
|
37
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemOtherClass1A }, key: "OTHER_CLASS1A"
|
|
38
|
+
|
|
39
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemOtherNonClass1A }, key: "OTHER_NON_CLASS1A"
|
|
40
|
+
|
|
41
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemTaxPaidNotDeducted }, key: "TAX_PAID_NOT_DEDUCTED"
|
|
42
|
+
|
|
43
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemExpensesTravelAndSubsistence }, key: "EXPENSES_TRAVEL_AND_SUBSISTENCE"
|
|
44
|
+
|
|
45
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemExpensesEntertainment }, key: "EXPENSES_ENTERTAINMENT"
|
|
46
|
+
|
|
47
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemExpensesHomeTelephone }, key: "EXPENSES_HOME_TELEPHONE"
|
|
48
|
+
|
|
49
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemExpensesNonQualifyingRelocation }, key: "EXPENSES_NON_QUALIFYING_RELOCATION"
|
|
50
|
+
|
|
51
|
+
member -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemExpensesOther }, key: "EXPENSES_OTHER"
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbP11DItemsCreateDeclarationsRequestItemAssetAvailable < Internal::Types::Model
|
|
7
|
+
field :asset, -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemAssetAvailableAsset }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :other_description, -> { String }, optional: true, nullable: false, api_name: "otherDescription"
|
|
10
|
+
|
|
11
|
+
field :annual_value, -> { String }, optional: false, nullable: false, api_name: "annualValue"
|
|
12
|
+
|
|
13
|
+
field :made_good, -> { String }, optional: false, nullable: false, api_name: "madeGood"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
module GbP11DItemsCreateDeclarationsRequestItemAssetAvailableAsset
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
HOLIDAY_ACCOMMODATION = "holiday accommodation"
|
|
10
|
+
TIMESHARE_ACCOMMODATION = "timeshare accommodation"
|
|
11
|
+
AIRCRAFT = "aircraft"
|
|
12
|
+
BOAT = "boat"
|
|
13
|
+
CORPORATE_HOSPITALITY = "corporate hospitality"
|
|
14
|
+
MULTIPLE = "multiple"
|
|
15
|
+
OTHER = "other"
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbP11DItemsCreateDeclarationsRequestItemAssetTransferred < Internal::Types::Model
|
|
7
|
+
field :asset, -> { Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItemAssetTransferredAsset }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :other_description, -> { String }, optional: true, nullable: false, api_name: "otherDescription"
|
|
10
|
+
|
|
11
|
+
field :cost, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :made_good, -> { String }, optional: false, nullable: false, api_name: "madeGood"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
module GbP11DItemsCreateDeclarationsRequestItemAssetTransferredAsset
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
CARS = "cars"
|
|
10
|
+
PROPERTY = "property"
|
|
11
|
+
PRECIOUS_METALS = "precious metals"
|
|
12
|
+
OTHER = "other"
|
|
13
|
+
MULTIPLE = "multiple"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|