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
data/reference.md
CHANGED
|
@@ -3696,6 +3696,315 @@ client.partners.companies_house_get(company_number: "companyNumber")
|
|
|
3696
3696
|
</dl>
|
|
3697
3697
|
|
|
3698
3698
|
|
|
3699
|
+
</dd>
|
|
3700
|
+
</dl>
|
|
3701
|
+
</details>
|
|
3702
|
+
|
|
3703
|
+
<details><summary><code>client.partners.<a href="/lib/nordlet/partners/client.rb">sales_tax_exemptions_create</a>(request) -> Nordlet::Partners::Types::SalesTaxExemptionsCreatePartnersResponse</code></summary>
|
|
3704
|
+
<dl>
|
|
3705
|
+
<dd>
|
|
3706
|
+
|
|
3707
|
+
#### 📝 Description
|
|
3708
|
+
|
|
3709
|
+
<dl>
|
|
3710
|
+
<dd>
|
|
3711
|
+
|
|
3712
|
+
<dl>
|
|
3713
|
+
<dd>
|
|
3714
|
+
|
|
3715
|
+
Records a US customer's Streamlined Sales Tax certificate of exemption (SSTGB form F0003) for one of its 24 member states (`state`, such as `US-OH`; 422 for another state and for a company outside the US): the reasons of section 4 (A to M; `otherReason` explains L), `reasonDetail` for the department, name or number the form asks with a reason, the business type of section 3 (01 to 20; `otherBusinessType` explains 20), the ID number of section 5 and the state or country that issued it, `singlePurchaseReference` (section 1: the purchase order number the certificate is for; unset makes it a blanket certificate), the signer (not needed for an electronic certificate) and `receivedOn`, the day the seller received it. An invoice or credit note with sales tax for that state is then charged no sales tax when the certificate covers it: received no later than 90 days after the issue date, not cancelled by then, for a single purchase only on the document whose `orderNumber` is the reference, and for a blanket certificate only while purchases under it are no more than 12 months apart.
|
|
3716
|
+
</dd>
|
|
3717
|
+
</dl>
|
|
3718
|
+
</dd>
|
|
3719
|
+
</dl>
|
|
3720
|
+
|
|
3721
|
+
#### 🔌 Usage
|
|
3722
|
+
|
|
3723
|
+
<dl>
|
|
3724
|
+
<dd>
|
|
3725
|
+
|
|
3726
|
+
<dl>
|
|
3727
|
+
<dd>
|
|
3728
|
+
|
|
3729
|
+
```ruby
|
|
3730
|
+
client.partners.sales_tax_exemptions_create(
|
|
3731
|
+
partner_id: "partnerId",
|
|
3732
|
+
state: "US-AR",
|
|
3733
|
+
reasons: ["A"],
|
|
3734
|
+
business_type: "10",
|
|
3735
|
+
id_number: "idNumber",
|
|
3736
|
+
id_issued_by: "idIssuedBy",
|
|
3737
|
+
received_on: "2026-07-01"
|
|
3738
|
+
)
|
|
3739
|
+
```
|
|
3740
|
+
</dd>
|
|
3741
|
+
</dl>
|
|
3742
|
+
</dd>
|
|
3743
|
+
</dl>
|
|
3744
|
+
|
|
3745
|
+
#### ⚙️ Parameters
|
|
3746
|
+
|
|
3747
|
+
<dl>
|
|
3748
|
+
<dd>
|
|
3749
|
+
|
|
3750
|
+
<dl>
|
|
3751
|
+
<dd>
|
|
3752
|
+
|
|
3753
|
+
**partner_id:** `String`
|
|
3754
|
+
|
|
3755
|
+
</dd>
|
|
3756
|
+
</dl>
|
|
3757
|
+
|
|
3758
|
+
<dl>
|
|
3759
|
+
<dd>
|
|
3760
|
+
|
|
3761
|
+
**state:** `Nordlet::Partners::Types::SalesTaxExemptionsCreatePartnersRequestState`
|
|
3762
|
+
|
|
3763
|
+
</dd>
|
|
3764
|
+
</dl>
|
|
3765
|
+
|
|
3766
|
+
<dl>
|
|
3767
|
+
<dd>
|
|
3768
|
+
|
|
3769
|
+
**reasons:** `Internal::Types::Array[Nordlet::Partners::Types::SalesTaxExemptionsCreatePartnersRequestReasonsItem]`
|
|
3770
|
+
|
|
3771
|
+
</dd>
|
|
3772
|
+
</dl>
|
|
3773
|
+
|
|
3774
|
+
<dl>
|
|
3775
|
+
<dd>
|
|
3776
|
+
|
|
3777
|
+
**other_reason:** `String`
|
|
3778
|
+
|
|
3779
|
+
</dd>
|
|
3780
|
+
</dl>
|
|
3781
|
+
|
|
3782
|
+
<dl>
|
|
3783
|
+
<dd>
|
|
3784
|
+
|
|
3785
|
+
**reason_detail:** `String`
|
|
3786
|
+
|
|
3787
|
+
</dd>
|
|
3788
|
+
</dl>
|
|
3789
|
+
|
|
3790
|
+
<dl>
|
|
3791
|
+
<dd>
|
|
3792
|
+
|
|
3793
|
+
**business_type:** `Nordlet::Partners::Types::SalesTaxExemptionsCreatePartnersRequestBusinessType`
|
|
3794
|
+
|
|
3795
|
+
</dd>
|
|
3796
|
+
</dl>
|
|
3797
|
+
|
|
3798
|
+
<dl>
|
|
3799
|
+
<dd>
|
|
3800
|
+
|
|
3801
|
+
**other_business_type:** `String`
|
|
3802
|
+
|
|
3803
|
+
</dd>
|
|
3804
|
+
</dl>
|
|
3805
|
+
|
|
3806
|
+
<dl>
|
|
3807
|
+
<dd>
|
|
3808
|
+
|
|
3809
|
+
**id_number:** `String`
|
|
3810
|
+
|
|
3811
|
+
</dd>
|
|
3812
|
+
</dl>
|
|
3813
|
+
|
|
3814
|
+
<dl>
|
|
3815
|
+
<dd>
|
|
3816
|
+
|
|
3817
|
+
**id_issued_by:** `String`
|
|
3818
|
+
|
|
3819
|
+
</dd>
|
|
3820
|
+
</dl>
|
|
3821
|
+
|
|
3822
|
+
<dl>
|
|
3823
|
+
<dd>
|
|
3824
|
+
|
|
3825
|
+
**single_purchase_reference:** `String`
|
|
3826
|
+
|
|
3827
|
+
</dd>
|
|
3828
|
+
</dl>
|
|
3829
|
+
|
|
3830
|
+
<dl>
|
|
3831
|
+
<dd>
|
|
3832
|
+
|
|
3833
|
+
**signed_by:** `String`
|
|
3834
|
+
|
|
3835
|
+
</dd>
|
|
3836
|
+
</dl>
|
|
3837
|
+
|
|
3838
|
+
<dl>
|
|
3839
|
+
<dd>
|
|
3840
|
+
|
|
3841
|
+
**signer_title:** `String`
|
|
3842
|
+
|
|
3843
|
+
</dd>
|
|
3844
|
+
</dl>
|
|
3845
|
+
|
|
3846
|
+
<dl>
|
|
3847
|
+
<dd>
|
|
3848
|
+
|
|
3849
|
+
**signed_on:** `String`
|
|
3850
|
+
|
|
3851
|
+
</dd>
|
|
3852
|
+
</dl>
|
|
3853
|
+
|
|
3854
|
+
<dl>
|
|
3855
|
+
<dd>
|
|
3856
|
+
|
|
3857
|
+
**received_on:** `String`
|
|
3858
|
+
|
|
3859
|
+
</dd>
|
|
3860
|
+
</dl>
|
|
3861
|
+
|
|
3862
|
+
<dl>
|
|
3863
|
+
<dd>
|
|
3864
|
+
|
|
3865
|
+
**request_options:** `Nordlet::Partners::RequestOptions`
|
|
3866
|
+
|
|
3867
|
+
</dd>
|
|
3868
|
+
</dl>
|
|
3869
|
+
</dd>
|
|
3870
|
+
</dl>
|
|
3871
|
+
|
|
3872
|
+
|
|
3873
|
+
</dd>
|
|
3874
|
+
</dl>
|
|
3875
|
+
</details>
|
|
3876
|
+
|
|
3877
|
+
<details><summary><code>client.partners.<a href="/lib/nordlet/partners/client.rb">sales_tax_exemptions_list</a>(request) -> Nordlet::Partners::Types::SalesTaxExemptionsListPartnersResponse</code></summary>
|
|
3878
|
+
<dl>
|
|
3879
|
+
<dd>
|
|
3880
|
+
|
|
3881
|
+
#### 📝 Description
|
|
3882
|
+
|
|
3883
|
+
<dl>
|
|
3884
|
+
<dd>
|
|
3885
|
+
|
|
3886
|
+
<dl>
|
|
3887
|
+
<dd>
|
|
3888
|
+
|
|
3889
|
+
Lists the certificates of exemption recorded with `partners/sales-tax-exemptions/create`, of one partner when `partnerId` is given, by state and the day they were received. Answers 422 for a company outside the US.
|
|
3890
|
+
</dd>
|
|
3891
|
+
</dl>
|
|
3892
|
+
</dd>
|
|
3893
|
+
</dl>
|
|
3894
|
+
|
|
3895
|
+
#### 🔌 Usage
|
|
3896
|
+
|
|
3897
|
+
<dl>
|
|
3898
|
+
<dd>
|
|
3899
|
+
|
|
3900
|
+
<dl>
|
|
3901
|
+
<dd>
|
|
3902
|
+
|
|
3903
|
+
```ruby
|
|
3904
|
+
client.partners.sales_tax_exemptions_list
|
|
3905
|
+
```
|
|
3906
|
+
</dd>
|
|
3907
|
+
</dl>
|
|
3908
|
+
</dd>
|
|
3909
|
+
</dl>
|
|
3910
|
+
|
|
3911
|
+
#### ⚙️ Parameters
|
|
3912
|
+
|
|
3913
|
+
<dl>
|
|
3914
|
+
<dd>
|
|
3915
|
+
|
|
3916
|
+
<dl>
|
|
3917
|
+
<dd>
|
|
3918
|
+
|
|
3919
|
+
**partner_id:** `String`
|
|
3920
|
+
|
|
3921
|
+
</dd>
|
|
3922
|
+
</dl>
|
|
3923
|
+
|
|
3924
|
+
<dl>
|
|
3925
|
+
<dd>
|
|
3926
|
+
|
|
3927
|
+
**request_options:** `Nordlet::Partners::RequestOptions`
|
|
3928
|
+
|
|
3929
|
+
</dd>
|
|
3930
|
+
</dl>
|
|
3931
|
+
</dd>
|
|
3932
|
+
</dl>
|
|
3933
|
+
|
|
3934
|
+
|
|
3935
|
+
</dd>
|
|
3936
|
+
</dl>
|
|
3937
|
+
</details>
|
|
3938
|
+
|
|
3939
|
+
<details><summary><code>client.partners.<a href="/lib/nordlet/partners/client.rb">sales_tax_exemptions_cancel</a>(request) -> Nordlet::Partners::Types::SalesTaxExemptionsCancelPartnersResponse</code></summary>
|
|
3940
|
+
<dl>
|
|
3941
|
+
<dd>
|
|
3942
|
+
|
|
3943
|
+
#### 📝 Description
|
|
3944
|
+
|
|
3945
|
+
<dl>
|
|
3946
|
+
<dd>
|
|
3947
|
+
|
|
3948
|
+
<dl>
|
|
3949
|
+
<dd>
|
|
3950
|
+
|
|
3951
|
+
Records that the customer cancelled a certificate of exemption on `cancelledOn`; documents issued from that day are charged sales tax again. The certificate is kept for the records. Answers 404 for an unknown or already cancelled certificate and 422 for a company outside the US.
|
|
3952
|
+
</dd>
|
|
3953
|
+
</dl>
|
|
3954
|
+
</dd>
|
|
3955
|
+
</dl>
|
|
3956
|
+
|
|
3957
|
+
#### 🔌 Usage
|
|
3958
|
+
|
|
3959
|
+
<dl>
|
|
3960
|
+
<dd>
|
|
3961
|
+
|
|
3962
|
+
<dl>
|
|
3963
|
+
<dd>
|
|
3964
|
+
|
|
3965
|
+
```ruby
|
|
3966
|
+
client.partners.sales_tax_exemptions_cancel(
|
|
3967
|
+
id: "id",
|
|
3968
|
+
cancelled_on: "2026-07-01"
|
|
3969
|
+
)
|
|
3970
|
+
```
|
|
3971
|
+
</dd>
|
|
3972
|
+
</dl>
|
|
3973
|
+
</dd>
|
|
3974
|
+
</dl>
|
|
3975
|
+
|
|
3976
|
+
#### ⚙️ Parameters
|
|
3977
|
+
|
|
3978
|
+
<dl>
|
|
3979
|
+
<dd>
|
|
3980
|
+
|
|
3981
|
+
<dl>
|
|
3982
|
+
<dd>
|
|
3983
|
+
|
|
3984
|
+
**id:** `String`
|
|
3985
|
+
|
|
3986
|
+
</dd>
|
|
3987
|
+
</dl>
|
|
3988
|
+
|
|
3989
|
+
<dl>
|
|
3990
|
+
<dd>
|
|
3991
|
+
|
|
3992
|
+
**cancelled_on:** `String`
|
|
3993
|
+
|
|
3994
|
+
</dd>
|
|
3995
|
+
</dl>
|
|
3996
|
+
|
|
3997
|
+
<dl>
|
|
3998
|
+
<dd>
|
|
3999
|
+
|
|
4000
|
+
**request_options:** `Nordlet::Partners::RequestOptions`
|
|
4001
|
+
|
|
4002
|
+
</dd>
|
|
4003
|
+
</dl>
|
|
4004
|
+
</dd>
|
|
4005
|
+
</dl>
|
|
4006
|
+
|
|
4007
|
+
|
|
3699
4008
|
</dd>
|
|
3700
4009
|
</dl>
|
|
3701
4010
|
</details>
|
|
@@ -3887,7 +4196,7 @@ client.partners.vat_reviews_resolve(
|
|
|
3887
4196
|
<dl>
|
|
3888
4197
|
<dd>
|
|
3889
4198
|
|
|
3890
|
-
Creates a partner; without `isCustomer` it is a customer unless `isSupplier` is true. `groupId`, `statusId` and `priceListId` must belong to the company; without `legalCountryClass` the class is derived from the address country (`lt`, `eu` or `non_eu`); `documentRef` attaches an uploaded file that is not yet linked to a record; a `code` already used by a live partner of the company is refused with 409. A `vatCode` is checked at once against VIES, or a UK number with HMRC and the result stored on the partner: an invalid number, a VIES name that shares no word with the partner's name, or a VIES failure opens a VAT review (`vat_review.opened`), while a code that neither service can check is stored unchecked (see `partners/validate-vat`).
|
|
4199
|
+
Creates a partner; without `isCustomer` it is a customer unless `isSupplier` is true. `groupId`, `statusId` and `priceListId` must belong to the company; without `legalCountryClass` the class is derived from the address country (`lt`, `eu` or `non_eu`); `documentRef` attaches an uploaded file that is not yet linked to a record; a `code` already used by a live partner of the company is refused with 409. A `vatCode` is checked at once against VIES, or a UK number with HMRC and the result stored on the partner: an invalid number, a VIES name that shares no word with the partner's name, or a VIES failure opens a VAT review (`vat_review.opened`), while a code that neither service can check is stored unchecked (see `partners/validate-vat`). An entry of `identifiers` that is not a partner identifier of the company's country or does not have its format is refused with 422.
|
|
3891
4200
|
</dd>
|
|
3892
4201
|
</dl>
|
|
3893
4202
|
</dd>
|
|
@@ -4213,6 +4522,14 @@ client.partners.create(name: "name")
|
|
|
4213
4522
|
<dl>
|
|
4214
4523
|
<dd>
|
|
4215
4524
|
|
|
4525
|
+
**identifiers:** `Internal::Types::Hash[String, String]` — Tax data of the partner by key, checked against the company's country: `tin` (US, Taxpayer identification number (TIN) from Form W-9, 9 digits); `tinType` (US, Type of the taxpayer identification number, SSN, EIN, ITIN or ATIN); `taxClassification` (US, Federal tax classification (Form W-9, line 3a), individual, c-corporation, s-corporation, partnership, trust-estate, llc-c, llc-s, llc-p, other); `nonemployeeCompensation` (US, Paid for services as nonemployee compensation (Form 1099-NEC, box 1), yes or no)
|
|
4526
|
+
|
|
4527
|
+
</dd>
|
|
4528
|
+
</dl>
|
|
4529
|
+
|
|
4530
|
+
<dl>
|
|
4531
|
+
<dd>
|
|
4532
|
+
|
|
4216
4533
|
**request_options:** `Nordlet::Partners::RequestOptions`
|
|
4217
4534
|
|
|
4218
4535
|
</dd>
|
|
@@ -4563,6 +4880,14 @@ client.partners.find_or_create(name: "name")
|
|
|
4563
4880
|
<dl>
|
|
4564
4881
|
<dd>
|
|
4565
4882
|
|
|
4883
|
+
**identifiers:** `Internal::Types::Hash[String, String]` — Tax data of the partner by key, checked against the company's country: `tin` (US, Taxpayer identification number (TIN) from Form W-9, 9 digits); `tinType` (US, Type of the taxpayer identification number, SSN, EIN, ITIN or ATIN); `taxClassification` (US, Federal tax classification (Form W-9, line 3a), individual, c-corporation, s-corporation, partnership, trust-estate, llc-c, llc-s, llc-p, other); `nonemployeeCompensation` (US, Paid for services as nonemployee compensation (Form 1099-NEC, box 1), yes or no)
|
|
4884
|
+
|
|
4885
|
+
</dd>
|
|
4886
|
+
</dl>
|
|
4887
|
+
|
|
4888
|
+
<dl>
|
|
4889
|
+
<dd>
|
|
4890
|
+
|
|
4566
4891
|
**iban:** `String`
|
|
4567
4892
|
|
|
4568
4893
|
</dd>
|
|
@@ -4657,7 +4982,7 @@ client.partners.get(id: "id")
|
|
|
4657
4982
|
<dl>
|
|
4658
4983
|
<dd>
|
|
4659
4984
|
|
|
4660
|
-
Changes the given fields of a partner; the clearable fields accept null. A new address country re-derives `legalCountryClass` unless the class is given, and a `code` already used by another live partner of the company is refused with 409. A changed `vatCode` resets the VIES result and is checked at once as in `partners/create`; a removed code, or one that neither service can check, resolves the partner's open VAT review as `superseded` (`vat_review.resolved`).
|
|
4985
|
+
Changes the given fields of a partner; the clearable fields accept null. `identifiers` replaces the stored set (null clears it); an entry that is not a partner identifier of the company's country or does not have its format is refused with 422. A new address country re-derives `legalCountryClass` unless the class is given, and a `code` already used by another live partner of the company is refused with 409. A changed `vatCode` resets the VIES result and is checked at once as in `partners/create`; a removed code, or one that neither service can check, resolves the partner's open VAT review as `superseded` (`vat_review.resolved`).
|
|
4661
4986
|
</dd>
|
|
4662
4987
|
</dl>
|
|
4663
4988
|
</dd>
|
|
@@ -4991,6 +5316,14 @@ client.partners.update(id: "id")
|
|
|
4991
5316
|
<dl>
|
|
4992
5317
|
<dd>
|
|
4993
5318
|
|
|
5319
|
+
**identifiers:** `Internal::Types::Hash[String, String]` — Tax data of the partner by key, checked against the company's country: `tin` (US, Taxpayer identification number (TIN) from Form W-9, 9 digits); `tinType` (US, Type of the taxpayer identification number, SSN, EIN, ITIN or ATIN); `taxClassification` (US, Federal tax classification (Form W-9, line 3a), individual, c-corporation, s-corporation, partnership, trust-estate, llc-c, llc-s, llc-p, other); `nonemployeeCompensation` (US, Paid for services as nonemployee compensation (Form 1099-NEC, box 1), yes or no)
|
|
5320
|
+
|
|
5321
|
+
</dd>
|
|
5322
|
+
</dl>
|
|
5323
|
+
|
|
5324
|
+
<dl>
|
|
5325
|
+
<dd>
|
|
5326
|
+
|
|
4994
5327
|
**request_options:** `Nordlet::Partners::RequestOptions`
|
|
4995
5328
|
|
|
4996
5329
|
</dd>
|
|
@@ -11281,7 +11614,23 @@ client.sales.invoices_create(
|
|
|
11281
11614
|
<dl>
|
|
11282
11615
|
<dd>
|
|
11283
11616
|
|
|
11284
|
-
**sales_tax_percent:** `String` — Sales tax as a percent of the net total, added to the
|
|
11617
|
+
**sales_tax_percent:** `String` — Sales tax as a percent of the net total, added to the document total and posted to the sales tax payable account when the document is issued. US companies only (422 otherwise); invoices and credit notes only.
|
|
11618
|
+
|
|
11619
|
+
</dd>
|
|
11620
|
+
</dl>
|
|
11621
|
+
|
|
11622
|
+
<dl>
|
|
11623
|
+
<dd>
|
|
11624
|
+
|
|
11625
|
+
**sales_tax_jurisdiction:** `String` — The US state the sales tax is collected for, as an ISO 3166-2 code such as `US-CA`; unset means the state of `deliveryAddress` (422 when it has none), else the credited invoice's state for a credit note, else the state of the customer's address (422 without one). When the customer has a certificate of exemption for that state (`partners/sales-tax-exemptions/create`) that covers the sale, no sales tax is charged and the document keeps the certificate's id in `salesTaxExemptionId`.
|
|
11626
|
+
|
|
11627
|
+
</dd>
|
|
11628
|
+
</dl>
|
|
11629
|
+
|
|
11630
|
+
<dl>
|
|
11631
|
+
<dd>
|
|
11632
|
+
|
|
11633
|
+
**delivery_address:** `Nordlet::Sales::Types::InvoicesCreateSalesRequestDeliveryAddress` — Where the goods or services are delivered, when not at the customer's address; it decides the state of the sales tax when `salesTaxJurisdiction` is not given.
|
|
11285
11634
|
|
|
11286
11635
|
</dd>
|
|
11287
11636
|
</dl>
|
|
@@ -11973,7 +12322,7 @@ client.sales.invoices_einvoice_status(id: "id")
|
|
|
11973
12322
|
<dl>
|
|
11974
12323
|
<dd>
|
|
11975
12324
|
|
|
11976
|
-
Change a draft sale document. Fields left out keep their value, `lines` replaces every line, a changed `discountPercent` recomputes the existing lines, and `salesTaxPercent` (invoices only, null removes it) recomputes the sales tax and the total. Answers 409 when the document is issued or locked, and 422 under the checks of `sales/invoices/create` (the credited document's partner and currency, the OSS and IOSS country, VAT on the lines, the operation type and document series).
|
|
12325
|
+
Change a draft sale document. Fields left out keep their value, `lines` replaces every line, a changed `discountPercent` recomputes the existing lines, and `salesTaxPercent` (US companies, invoices and credit notes only, null removes it) recomputes the sales tax and the total; `salesTaxJurisdiction` is resolved again as in `sales/invoices/create` when the partner, the delivery address, the percent or the jurisdiction changes; `deliveryAddress` null removes it. Answers 409 when the document is issued or locked, and 422 under the checks of `sales/invoices/create` (the credited document's partner and currency, the OSS and IOSS country, VAT on the lines, the operation type and document series).
|
|
11977
12326
|
</dd>
|
|
11978
12327
|
</dl>
|
|
11979
12328
|
</dd>
|
|
@@ -12219,6 +12568,22 @@ client.sales.invoices_update(id: "id")
|
|
|
12219
12568
|
<dl>
|
|
12220
12569
|
<dd>
|
|
12221
12570
|
|
|
12571
|
+
**sales_tax_jurisdiction:** `String` — The US state the sales tax is collected for, as an ISO 3166-2 code such as `US-CA`
|
|
12572
|
+
|
|
12573
|
+
</dd>
|
|
12574
|
+
</dl>
|
|
12575
|
+
|
|
12576
|
+
<dl>
|
|
12577
|
+
<dd>
|
|
12578
|
+
|
|
12579
|
+
**delivery_address:** `Nordlet::Sales::Types::InvoicesUpdateSalesRequestDeliveryAddress`
|
|
12580
|
+
|
|
12581
|
+
</dd>
|
|
12582
|
+
</dl>
|
|
12583
|
+
|
|
12584
|
+
<dl>
|
|
12585
|
+
<dd>
|
|
12586
|
+
|
|
12222
12587
|
**lines:** `Internal::Types::Array[Nordlet::Sales::Types::InvoicesUpdateSalesRequestLinesItem]`
|
|
12223
12588
|
|
|
12224
12589
|
</dd>
|
|
@@ -26808,7 +27173,7 @@ client.declarations.gb_corporation_tax_compute(
|
|
|
26808
27173
|
</dl>
|
|
26809
27174
|
</details>
|
|
26810
27175
|
|
|
26811
|
-
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">
|
|
27176
|
+
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">gb_return_facts_get</a>(request) -> Nordlet::Declarations::Types::GbReturnFactsGetDeclarationsResponse</code></summary>
|
|
26812
27177
|
<dl>
|
|
26813
27178
|
<dd>
|
|
26814
27179
|
|
|
@@ -26820,7 +27185,7 @@ client.declarations.gb_corporation_tax_compute(
|
|
|
26820
27185
|
<dl>
|
|
26821
27186
|
<dd>
|
|
26822
27187
|
|
|
26823
|
-
|
|
27188
|
+
The facts of one accounting period that the Company Tax Return (CT600) and its computations need and the ledger does not hold: the company type (box 4), the associated companies, the small companies regime and the section 477 audit exemption of the accounts, the tax adjustments to the profit per the accounts, the capital allowances and balancing charges, the trading losses brought forward, the chargeable gains, the qualifying donations, the tax already paid, the declarant and the senior statutory auditor who signed the auditor’s report. The annual accounts to Companies House read the small companies regime, the section 477 audit exemption and the senior statutory auditor too. `year` is the fiscal year by the year in which it ends. A key that is absent has not been answered.
|
|
26824
27189
|
</dd>
|
|
26825
27190
|
</dl>
|
|
26826
27191
|
</dd>
|
|
@@ -26835,21 +27200,7 @@ Lists the company's VAT return periods as HMRC holds them: open (`status` O) or
|
|
|
26835
27200
|
<dd>
|
|
26836
27201
|
|
|
26837
27202
|
```ruby
|
|
26838
|
-
client.declarations.
|
|
26839
|
-
user_agent: "userAgent",
|
|
26840
|
-
device_id: "deviceId",
|
|
26841
|
-
screens: [{
|
|
26842
|
-
width: 1000000,
|
|
26843
|
-
height: 1000000,
|
|
26844
|
-
scaling_factor: 1.1,
|
|
26845
|
-
colour_depth: 1000000
|
|
26846
|
-
}],
|
|
26847
|
-
window_size: {
|
|
26848
|
-
width: 1000000,
|
|
26849
|
-
height: 1000000
|
|
26850
|
-
},
|
|
26851
|
-
timezone: "timezone"
|
|
26852
|
-
})
|
|
27203
|
+
client.declarations.gb_return_facts_get(year: 1000000)
|
|
26853
27204
|
```
|
|
26854
27205
|
</dd>
|
|
26855
27206
|
</dl>
|
|
@@ -26864,7 +27215,7 @@ client.declarations.gb_vat_obligations_list(device: {
|
|
|
26864
27215
|
<dl>
|
|
26865
27216
|
<dd>
|
|
26866
27217
|
|
|
26867
|
-
**
|
|
27218
|
+
**year:** `Integer`
|
|
26868
27219
|
|
|
26869
27220
|
</dd>
|
|
26870
27221
|
</dl>
|
|
@@ -26872,15 +27223,64 @@ client.declarations.gb_vat_obligations_list(device: {
|
|
|
26872
27223
|
<dl>
|
|
26873
27224
|
<dd>
|
|
26874
27225
|
|
|
26875
|
-
**
|
|
27226
|
+
**request_options:** `Nordlet::Declarations::RequestOptions`
|
|
26876
27227
|
|
|
26877
27228
|
</dd>
|
|
26878
27229
|
</dl>
|
|
27230
|
+
</dd>
|
|
27231
|
+
</dl>
|
|
27232
|
+
|
|
27233
|
+
|
|
27234
|
+
</dd>
|
|
27235
|
+
</dl>
|
|
27236
|
+
</details>
|
|
26879
27237
|
|
|
27238
|
+
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">gb_return_facts_set</a>(request) -> Nordlet::Declarations::Types::GbReturnFactsSetDeclarationsResponse</code></summary>
|
|
26880
27239
|
<dl>
|
|
26881
27240
|
<dd>
|
|
26882
27241
|
|
|
26883
|
-
|
|
27242
|
+
#### 📝 Description
|
|
27243
|
+
|
|
27244
|
+
<dl>
|
|
27245
|
+
<dd>
|
|
27246
|
+
|
|
27247
|
+
<dl>
|
|
27248
|
+
<dd>
|
|
27249
|
+
|
|
27250
|
+
Replace the facts of one accounting period for the Company Tax Return. The `gb-ct-return` and `gb-annual-accounts` filings built afterwards read them; a key left out stays unanswered.
|
|
27251
|
+
</dd>
|
|
27252
|
+
</dl>
|
|
27253
|
+
</dd>
|
|
27254
|
+
</dl>
|
|
27255
|
+
|
|
27256
|
+
#### 🔌 Usage
|
|
27257
|
+
|
|
27258
|
+
<dl>
|
|
27259
|
+
<dd>
|
|
27260
|
+
|
|
27261
|
+
<dl>
|
|
27262
|
+
<dd>
|
|
27263
|
+
|
|
27264
|
+
```ruby
|
|
27265
|
+
client.declarations.gb_return_facts_set(
|
|
27266
|
+
year: 1000000,
|
|
27267
|
+
facts: {}
|
|
27268
|
+
)
|
|
27269
|
+
```
|
|
27270
|
+
</dd>
|
|
27271
|
+
</dl>
|
|
27272
|
+
</dd>
|
|
27273
|
+
</dl>
|
|
27274
|
+
|
|
27275
|
+
#### ⚙️ Parameters
|
|
27276
|
+
|
|
27277
|
+
<dl>
|
|
27278
|
+
<dd>
|
|
27279
|
+
|
|
27280
|
+
<dl>
|
|
27281
|
+
<dd>
|
|
27282
|
+
|
|
27283
|
+
**year:** `Integer`
|
|
26884
27284
|
|
|
26885
27285
|
</dd>
|
|
26886
27286
|
</dl>
|
|
@@ -26888,7 +27288,7 @@ client.declarations.gb_vat_obligations_list(device: {
|
|
|
26888
27288
|
<dl>
|
|
26889
27289
|
<dd>
|
|
26890
27290
|
|
|
26891
|
-
**
|
|
27291
|
+
**facts:** `Nordlet::Declarations::Types::GbReturnFactsSetDeclarationsRequestFacts`
|
|
26892
27292
|
|
|
26893
27293
|
</dd>
|
|
26894
27294
|
</dl>
|
|
@@ -26908,7 +27308,7 @@ client.declarations.gb_vat_obligations_list(device: {
|
|
|
26908
27308
|
</dl>
|
|
26909
27309
|
</details>
|
|
26910
27310
|
|
|
26911
|
-
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">
|
|
27311
|
+
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">gb_p11d_items_create</a>(request) -> Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsResponse</code></summary>
|
|
26912
27312
|
<dl>
|
|
26913
27313
|
<dd>
|
|
26914
27314
|
|
|
@@ -26920,7 +27320,7 @@ client.declarations.gb_vat_obligations_list(device: {
|
|
|
26920
27320
|
<dl>
|
|
26921
27321
|
<dd>
|
|
26922
27322
|
|
|
26923
|
-
|
|
27323
|
+
Records a benefit or expense of an employee that is not taxed through the payroll, for the P11D of the tax year that starts on 6 April of `taxYear`. `item.type` chooses the P11D section (A `asset-transferred`; B `payment`, `tax-on-notional-payments`; C `vouchers-or-credit-cards`; D `living-accommodation`; E `mileage-allowance`; F `car`; G `vans`; H `loan`; I `medical`; J `relocation`; K `services`; L `asset-available`; M `other-class-1a`, `other-non-class-1a`, `tax-paid-not-deducted`; N `expenses-travel-and-subsistence`, `expenses-entertainment`, `expenses-home-telephone`, `expenses-non-qualifying-relocation`, `expenses-other`). Amounts are the cash equivalents the employer works out; for a cost item the cash equivalent is the cost less the amount made good. The `gb-p11db` filing sends these P11Ds with the P11D(b), whose total benefit adds the items liable to Class 1A. Answers 422 for a rule of HMRC's business rules the item breaks and 409 for a second item of a kind HMRC takes once per employee.
|
|
26924
27324
|
</dd>
|
|
26925
27325
|
</dl>
|
|
26926
27326
|
</dd>
|
|
@@ -26935,23 +27335,9 @@ Reads a VAT return the company submitted to HMRC, by the `periodKey` of its obli
|
|
|
26935
27335
|
<dd>
|
|
26936
27336
|
|
|
26937
27337
|
```ruby
|
|
26938
|
-
client.declarations.
|
|
26939
|
-
|
|
26940
|
-
|
|
26941
|
-
device_id: "deviceId",
|
|
26942
|
-
screens: [{
|
|
26943
|
-
width: 1000000,
|
|
26944
|
-
height: 1000000,
|
|
26945
|
-
scaling_factor: 1.1,
|
|
26946
|
-
colour_depth: 1000000
|
|
26947
|
-
}],
|
|
26948
|
-
window_size: {
|
|
26949
|
-
width: 1000000,
|
|
26950
|
-
height: 1000000
|
|
26951
|
-
},
|
|
26952
|
-
timezone: "timezone"
|
|
26953
|
-
},
|
|
26954
|
-
period_key: "periodKey"
|
|
27338
|
+
client.declarations.gb_p11d_items_create(
|
|
27339
|
+
employee_id: "employeeId",
|
|
27340
|
+
tax_year: 1000000
|
|
26955
27341
|
)
|
|
26956
27342
|
```
|
|
26957
27343
|
</dd>
|
|
@@ -26967,7 +27353,7 @@ client.declarations.gb_vat_returns_get(
|
|
|
26967
27353
|
<dl>
|
|
26968
27354
|
<dd>
|
|
26969
27355
|
|
|
26970
|
-
**
|
|
27356
|
+
**employee_id:** `String`
|
|
26971
27357
|
|
|
26972
27358
|
</dd>
|
|
26973
27359
|
</dl>
|
|
@@ -26975,7 +27361,15 @@ client.declarations.gb_vat_returns_get(
|
|
|
26975
27361
|
<dl>
|
|
26976
27362
|
<dd>
|
|
26977
27363
|
|
|
26978
|
-
**
|
|
27364
|
+
**tax_year:** `Integer`
|
|
27365
|
+
|
|
27366
|
+
</dd>
|
|
27367
|
+
</dl>
|
|
27368
|
+
|
|
27369
|
+
<dl>
|
|
27370
|
+
<dd>
|
|
27371
|
+
|
|
27372
|
+
**item:** `Nordlet::Declarations::Types::GbP11DItemsCreateDeclarationsRequestItem`
|
|
26979
27373
|
|
|
26980
27374
|
</dd>
|
|
26981
27375
|
</dl>
|
|
@@ -26995,7 +27389,7 @@ client.declarations.gb_vat_returns_get(
|
|
|
26995
27389
|
</dl>
|
|
26996
27390
|
</details>
|
|
26997
27391
|
|
|
26998
|
-
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">
|
|
27392
|
+
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">gb_p11d_items_list</a>(request) -> Nordlet::Declarations::Types::GbP11DItemsListDeclarationsResponse</code></summary>
|
|
26999
27393
|
<dl>
|
|
27000
27394
|
<dd>
|
|
27001
27395
|
|
|
@@ -27007,7 +27401,7 @@ client.declarations.gb_vat_returns_get(
|
|
|
27007
27401
|
<dl>
|
|
27008
27402
|
<dd>
|
|
27009
27403
|
|
|
27010
|
-
Lists the
|
|
27404
|
+
Lists the P11D items of a tax year, optionally of one employee, with their section, cash equivalent and whether they count for Class 1A.
|
|
27011
27405
|
</dd>
|
|
27012
27406
|
</dl>
|
|
27013
27407
|
</dd>
|
|
@@ -27022,25 +27416,7 @@ Lists the company's VAT liabilities HMRC holds whose period ends between `from`
|
|
|
27022
27416
|
<dd>
|
|
27023
27417
|
|
|
27024
27418
|
```ruby
|
|
27025
|
-
client.declarations.
|
|
27026
|
-
device: {
|
|
27027
|
-
user_agent: "userAgent",
|
|
27028
|
-
device_id: "deviceId",
|
|
27029
|
-
screens: [{
|
|
27030
|
-
width: 1000000,
|
|
27031
|
-
height: 1000000,
|
|
27032
|
-
scaling_factor: 1.1,
|
|
27033
|
-
colour_depth: 1000000
|
|
27034
|
-
}],
|
|
27035
|
-
window_size: {
|
|
27036
|
-
width: 1000000,
|
|
27037
|
-
height: 1000000
|
|
27038
|
-
},
|
|
27039
|
-
timezone: "timezone"
|
|
27040
|
-
},
|
|
27041
|
-
from: "2026-07-01",
|
|
27042
|
-
to: "2026-07-01"
|
|
27043
|
-
)
|
|
27419
|
+
client.declarations.gb_p11d_items_list(tax_year: 1000000)
|
|
27044
27420
|
```
|
|
27045
27421
|
</dd>
|
|
27046
27422
|
</dl>
|
|
@@ -27055,7 +27431,7 @@ client.declarations.gb_vat_liabilities_list(
|
|
|
27055
27431
|
<dl>
|
|
27056
27432
|
<dd>
|
|
27057
27433
|
|
|
27058
|
-
**
|
|
27434
|
+
**tax_year:** `Integer`
|
|
27059
27435
|
|
|
27060
27436
|
</dd>
|
|
27061
27437
|
</dl>
|
|
@@ -27063,7 +27439,7 @@ client.declarations.gb_vat_liabilities_list(
|
|
|
27063
27439
|
<dl>
|
|
27064
27440
|
<dd>
|
|
27065
27441
|
|
|
27066
|
-
**
|
|
27442
|
+
**employee_id:** `String`
|
|
27067
27443
|
|
|
27068
27444
|
</dd>
|
|
27069
27445
|
</dl>
|
|
@@ -27071,7 +27447,61 @@ client.declarations.gb_vat_liabilities_list(
|
|
|
27071
27447
|
<dl>
|
|
27072
27448
|
<dd>
|
|
27073
27449
|
|
|
27074
|
-
**
|
|
27450
|
+
**request_options:** `Nordlet::Declarations::RequestOptions`
|
|
27451
|
+
|
|
27452
|
+
</dd>
|
|
27453
|
+
</dl>
|
|
27454
|
+
</dd>
|
|
27455
|
+
</dl>
|
|
27456
|
+
|
|
27457
|
+
|
|
27458
|
+
</dd>
|
|
27459
|
+
</dl>
|
|
27460
|
+
</details>
|
|
27461
|
+
|
|
27462
|
+
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">gb_p11d_items_delete</a>(request) -> Nordlet::Declarations::Types::GbP11DItemsDeleteDeclarationsResponse</code></summary>
|
|
27463
|
+
<dl>
|
|
27464
|
+
<dd>
|
|
27465
|
+
|
|
27466
|
+
#### 📝 Description
|
|
27467
|
+
|
|
27468
|
+
<dl>
|
|
27469
|
+
<dd>
|
|
27470
|
+
|
|
27471
|
+
<dl>
|
|
27472
|
+
<dd>
|
|
27473
|
+
|
|
27474
|
+
Deletes a P11D item.
|
|
27475
|
+
</dd>
|
|
27476
|
+
</dl>
|
|
27477
|
+
</dd>
|
|
27478
|
+
</dl>
|
|
27479
|
+
|
|
27480
|
+
#### 🔌 Usage
|
|
27481
|
+
|
|
27482
|
+
<dl>
|
|
27483
|
+
<dd>
|
|
27484
|
+
|
|
27485
|
+
<dl>
|
|
27486
|
+
<dd>
|
|
27487
|
+
|
|
27488
|
+
```ruby
|
|
27489
|
+
client.declarations.gb_p11d_items_delete(id: "id")
|
|
27490
|
+
```
|
|
27491
|
+
</dd>
|
|
27492
|
+
</dl>
|
|
27493
|
+
</dd>
|
|
27494
|
+
</dl>
|
|
27495
|
+
|
|
27496
|
+
#### ⚙️ Parameters
|
|
27497
|
+
|
|
27498
|
+
<dl>
|
|
27499
|
+
<dd>
|
|
27500
|
+
|
|
27501
|
+
<dl>
|
|
27502
|
+
<dd>
|
|
27503
|
+
|
|
27504
|
+
**id:** `String`
|
|
27075
27505
|
|
|
27076
27506
|
</dd>
|
|
27077
27507
|
</dl>
|
|
@@ -27091,7 +27521,7 @@ client.declarations.gb_vat_liabilities_list(
|
|
|
27091
27521
|
</dl>
|
|
27092
27522
|
</details>
|
|
27093
27523
|
|
|
27094
|
-
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">
|
|
27524
|
+
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">gb_p45get</a>(request) -> Nordlet::Declarations::Types::GbP45GetDeclarationsResponse</code></summary>
|
|
27095
27525
|
<dl>
|
|
27096
27526
|
<dd>
|
|
27097
27527
|
|
|
@@ -27103,7 +27533,7 @@ client.declarations.gb_vat_liabilities_list(
|
|
|
27103
27533
|
<dl>
|
|
27104
27534
|
<dd>
|
|
27105
27535
|
|
|
27106
|
-
|
|
27536
|
+
Gives the P45 figures of an employee who has left (`terminationDate` set): the employer PAYE reference, the employee's National Insurance number, name, leaving date, payroll number, gender, date of birth and address, whether Student Loan deductions are to continue, the tax code at the leaving date with the Week 1/Month 1 mark, and the pay and tax of the tax year of the leaving date from the approved payroll runs. With a cumulative code 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 code they are this employment's pay and tax of box 8. Nordlet does not print the P45 form.
|
|
27107
27537
|
</dd>
|
|
27108
27538
|
</dl>
|
|
27109
27539
|
</dd>
|
|
@@ -27118,25 +27548,83 @@ Lists the VAT payments HMRC received from the company between `from` (2017-12-01
|
|
|
27118
27548
|
<dd>
|
|
27119
27549
|
|
|
27120
27550
|
```ruby
|
|
27121
|
-
client.declarations.
|
|
27122
|
-
|
|
27123
|
-
|
|
27124
|
-
|
|
27125
|
-
|
|
27126
|
-
|
|
27127
|
-
|
|
27128
|
-
|
|
27129
|
-
|
|
27130
|
-
|
|
27131
|
-
|
|
27132
|
-
|
|
27133
|
-
|
|
27134
|
-
|
|
27135
|
-
|
|
27551
|
+
client.declarations.gb_p45get(employee_id: "employeeId")
|
|
27552
|
+
```
|
|
27553
|
+
</dd>
|
|
27554
|
+
</dl>
|
|
27555
|
+
</dd>
|
|
27556
|
+
</dl>
|
|
27557
|
+
|
|
27558
|
+
#### ⚙️ Parameters
|
|
27559
|
+
|
|
27560
|
+
<dl>
|
|
27561
|
+
<dd>
|
|
27562
|
+
|
|
27563
|
+
<dl>
|
|
27564
|
+
<dd>
|
|
27565
|
+
|
|
27566
|
+
**employee_id:** `String`
|
|
27567
|
+
|
|
27568
|
+
</dd>
|
|
27569
|
+
</dl>
|
|
27570
|
+
|
|
27571
|
+
<dl>
|
|
27572
|
+
<dd>
|
|
27573
|
+
|
|
27574
|
+
**request_options:** `Nordlet::Declarations::RequestOptions`
|
|
27575
|
+
|
|
27576
|
+
</dd>
|
|
27577
|
+
</dl>
|
|
27578
|
+
</dd>
|
|
27579
|
+
</dl>
|
|
27580
|
+
|
|
27581
|
+
|
|
27582
|
+
</dd>
|
|
27583
|
+
</dl>
|
|
27584
|
+
</details>
|
|
27585
|
+
|
|
27586
|
+
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">gb_vat_obligations_list</a>(request) -> Nordlet::Declarations::Types::GbVatObligationsListDeclarationsResponse</code></summary>
|
|
27587
|
+
<dl>
|
|
27588
|
+
<dd>
|
|
27589
|
+
|
|
27590
|
+
#### 📝 Description
|
|
27591
|
+
|
|
27592
|
+
<dl>
|
|
27593
|
+
<dd>
|
|
27594
|
+
|
|
27595
|
+
<dl>
|
|
27596
|
+
<dd>
|
|
27597
|
+
|
|
27598
|
+
Lists the company's VAT return periods as HMRC holds them: open (`status` O) or fulfilled (F). Without `status`, `from` and `to` are required and at most 366 days apart. `device` carries the facts of the user's browser that HMRC requires.
|
|
27599
|
+
</dd>
|
|
27600
|
+
</dl>
|
|
27601
|
+
</dd>
|
|
27602
|
+
</dl>
|
|
27603
|
+
|
|
27604
|
+
#### 🔌 Usage
|
|
27605
|
+
|
|
27606
|
+
<dl>
|
|
27607
|
+
<dd>
|
|
27608
|
+
|
|
27609
|
+
<dl>
|
|
27610
|
+
<dd>
|
|
27611
|
+
|
|
27612
|
+
```ruby
|
|
27613
|
+
client.declarations.gb_vat_obligations_list(device: {
|
|
27614
|
+
user_agent: "userAgent",
|
|
27615
|
+
device_id: "deviceId",
|
|
27616
|
+
screens: [{
|
|
27617
|
+
width: 1000000,
|
|
27618
|
+
height: 1000000,
|
|
27619
|
+
scaling_factor: 1.1,
|
|
27620
|
+
colour_depth: 1000000
|
|
27621
|
+
}],
|
|
27622
|
+
window_size: {
|
|
27623
|
+
width: 1000000,
|
|
27624
|
+
height: 1000000
|
|
27136
27625
|
},
|
|
27137
|
-
|
|
27138
|
-
|
|
27139
|
-
)
|
|
27626
|
+
timezone: "timezone"
|
|
27627
|
+
})
|
|
27140
27628
|
```
|
|
27141
27629
|
</dd>
|
|
27142
27630
|
</dl>
|
|
@@ -27151,7 +27639,294 @@ client.declarations.gb_vat_payments_list(
|
|
|
27151
27639
|
<dl>
|
|
27152
27640
|
<dd>
|
|
27153
27641
|
|
|
27154
|
-
**device:** `Nordlet::Declarations::Types::
|
|
27642
|
+
**device:** `Nordlet::Declarations::Types::GbVatObligationsListDeclarationsRequestDevice` — Facts of the browser the user files from, which HMRC requires with every VAT (MTD) API call: `navigator.userAgent`, a UUID the browser keeps for the device, every screen (width, height, scaling factor, colour depth in bits), the window size in pixels and the time zone as `UTC±hh:mm`.
|
|
27643
|
+
|
|
27644
|
+
</dd>
|
|
27645
|
+
</dl>
|
|
27646
|
+
|
|
27647
|
+
<dl>
|
|
27648
|
+
<dd>
|
|
27649
|
+
|
|
27650
|
+
**from:** `String`
|
|
27651
|
+
|
|
27652
|
+
</dd>
|
|
27653
|
+
</dl>
|
|
27654
|
+
|
|
27655
|
+
<dl>
|
|
27656
|
+
<dd>
|
|
27657
|
+
|
|
27658
|
+
**to:** `String`
|
|
27659
|
+
|
|
27660
|
+
</dd>
|
|
27661
|
+
</dl>
|
|
27662
|
+
|
|
27663
|
+
<dl>
|
|
27664
|
+
<dd>
|
|
27665
|
+
|
|
27666
|
+
**status:** `Nordlet::Declarations::Types::GbVatObligationsListDeclarationsRequestStatus`
|
|
27667
|
+
|
|
27668
|
+
</dd>
|
|
27669
|
+
</dl>
|
|
27670
|
+
|
|
27671
|
+
<dl>
|
|
27672
|
+
<dd>
|
|
27673
|
+
|
|
27674
|
+
**request_options:** `Nordlet::Declarations::RequestOptions`
|
|
27675
|
+
|
|
27676
|
+
</dd>
|
|
27677
|
+
</dl>
|
|
27678
|
+
</dd>
|
|
27679
|
+
</dl>
|
|
27680
|
+
|
|
27681
|
+
|
|
27682
|
+
</dd>
|
|
27683
|
+
</dl>
|
|
27684
|
+
</details>
|
|
27685
|
+
|
|
27686
|
+
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">gb_vat_returns_get</a>(request) -> Nordlet::Declarations::Types::GbVatReturnsGetDeclarationsResponse</code></summary>
|
|
27687
|
+
<dl>
|
|
27688
|
+
<dd>
|
|
27689
|
+
|
|
27690
|
+
#### 📝 Description
|
|
27691
|
+
|
|
27692
|
+
<dl>
|
|
27693
|
+
<dd>
|
|
27694
|
+
|
|
27695
|
+
<dl>
|
|
27696
|
+
<dd>
|
|
27697
|
+
|
|
27698
|
+
Reads a VAT return the company submitted to HMRC, by the `periodKey` of its obligation. Answers 404 when HMRC has no return for the period.
|
|
27699
|
+
</dd>
|
|
27700
|
+
</dl>
|
|
27701
|
+
</dd>
|
|
27702
|
+
</dl>
|
|
27703
|
+
|
|
27704
|
+
#### 🔌 Usage
|
|
27705
|
+
|
|
27706
|
+
<dl>
|
|
27707
|
+
<dd>
|
|
27708
|
+
|
|
27709
|
+
<dl>
|
|
27710
|
+
<dd>
|
|
27711
|
+
|
|
27712
|
+
```ruby
|
|
27713
|
+
client.declarations.gb_vat_returns_get(
|
|
27714
|
+
device: {
|
|
27715
|
+
user_agent: "userAgent",
|
|
27716
|
+
device_id: "deviceId",
|
|
27717
|
+
screens: [{
|
|
27718
|
+
width: 1000000,
|
|
27719
|
+
height: 1000000,
|
|
27720
|
+
scaling_factor: 1.1,
|
|
27721
|
+
colour_depth: 1000000
|
|
27722
|
+
}],
|
|
27723
|
+
window_size: {
|
|
27724
|
+
width: 1000000,
|
|
27725
|
+
height: 1000000
|
|
27726
|
+
},
|
|
27727
|
+
timezone: "timezone"
|
|
27728
|
+
},
|
|
27729
|
+
period_key: "periodKey"
|
|
27730
|
+
)
|
|
27731
|
+
```
|
|
27732
|
+
</dd>
|
|
27733
|
+
</dl>
|
|
27734
|
+
</dd>
|
|
27735
|
+
</dl>
|
|
27736
|
+
|
|
27737
|
+
#### ⚙️ Parameters
|
|
27738
|
+
|
|
27739
|
+
<dl>
|
|
27740
|
+
<dd>
|
|
27741
|
+
|
|
27742
|
+
<dl>
|
|
27743
|
+
<dd>
|
|
27744
|
+
|
|
27745
|
+
**device:** `Nordlet::Declarations::Types::GbVatReturnsGetDeclarationsRequestDevice` — Facts of the browser the user files from, which HMRC requires with every VAT (MTD) API call: `navigator.userAgent`, a UUID the browser keeps for the device, every screen (width, height, scaling factor, colour depth in bits), the window size in pixels and the time zone as `UTC±hh:mm`.
|
|
27746
|
+
|
|
27747
|
+
</dd>
|
|
27748
|
+
</dl>
|
|
27749
|
+
|
|
27750
|
+
<dl>
|
|
27751
|
+
<dd>
|
|
27752
|
+
|
|
27753
|
+
**period_key:** `String`
|
|
27754
|
+
|
|
27755
|
+
</dd>
|
|
27756
|
+
</dl>
|
|
27757
|
+
|
|
27758
|
+
<dl>
|
|
27759
|
+
<dd>
|
|
27760
|
+
|
|
27761
|
+
**request_options:** `Nordlet::Declarations::RequestOptions`
|
|
27762
|
+
|
|
27763
|
+
</dd>
|
|
27764
|
+
</dl>
|
|
27765
|
+
</dd>
|
|
27766
|
+
</dl>
|
|
27767
|
+
|
|
27768
|
+
|
|
27769
|
+
</dd>
|
|
27770
|
+
</dl>
|
|
27771
|
+
</details>
|
|
27772
|
+
|
|
27773
|
+
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">gb_vat_liabilities_list</a>(request) -> Nordlet::Declarations::Types::GbVatLiabilitiesListDeclarationsResponse</code></summary>
|
|
27774
|
+
<dl>
|
|
27775
|
+
<dd>
|
|
27776
|
+
|
|
27777
|
+
#### 📝 Description
|
|
27778
|
+
|
|
27779
|
+
<dl>
|
|
27780
|
+
<dd>
|
|
27781
|
+
|
|
27782
|
+
<dl>
|
|
27783
|
+
<dd>
|
|
27784
|
+
|
|
27785
|
+
Lists the company's VAT liabilities HMRC holds whose period ends between `from` (2017-12-01 or later) and `to` (today or earlier), at most 365 days apart.
|
|
27786
|
+
</dd>
|
|
27787
|
+
</dl>
|
|
27788
|
+
</dd>
|
|
27789
|
+
</dl>
|
|
27790
|
+
|
|
27791
|
+
#### 🔌 Usage
|
|
27792
|
+
|
|
27793
|
+
<dl>
|
|
27794
|
+
<dd>
|
|
27795
|
+
|
|
27796
|
+
<dl>
|
|
27797
|
+
<dd>
|
|
27798
|
+
|
|
27799
|
+
```ruby
|
|
27800
|
+
client.declarations.gb_vat_liabilities_list(
|
|
27801
|
+
device: {
|
|
27802
|
+
user_agent: "userAgent",
|
|
27803
|
+
device_id: "deviceId",
|
|
27804
|
+
screens: [{
|
|
27805
|
+
width: 1000000,
|
|
27806
|
+
height: 1000000,
|
|
27807
|
+
scaling_factor: 1.1,
|
|
27808
|
+
colour_depth: 1000000
|
|
27809
|
+
}],
|
|
27810
|
+
window_size: {
|
|
27811
|
+
width: 1000000,
|
|
27812
|
+
height: 1000000
|
|
27813
|
+
},
|
|
27814
|
+
timezone: "timezone"
|
|
27815
|
+
},
|
|
27816
|
+
from: "2026-07-01",
|
|
27817
|
+
to: "2026-07-01"
|
|
27818
|
+
)
|
|
27819
|
+
```
|
|
27820
|
+
</dd>
|
|
27821
|
+
</dl>
|
|
27822
|
+
</dd>
|
|
27823
|
+
</dl>
|
|
27824
|
+
|
|
27825
|
+
#### ⚙️ Parameters
|
|
27826
|
+
|
|
27827
|
+
<dl>
|
|
27828
|
+
<dd>
|
|
27829
|
+
|
|
27830
|
+
<dl>
|
|
27831
|
+
<dd>
|
|
27832
|
+
|
|
27833
|
+
**device:** `Nordlet::Declarations::Types::GbVatLiabilitiesListDeclarationsRequestDevice` — Facts of the browser the user files from, which HMRC requires with every VAT (MTD) API call: `navigator.userAgent`, a UUID the browser keeps for the device, every screen (width, height, scaling factor, colour depth in bits), the window size in pixels and the time zone as `UTC±hh:mm`.
|
|
27834
|
+
|
|
27835
|
+
</dd>
|
|
27836
|
+
</dl>
|
|
27837
|
+
|
|
27838
|
+
<dl>
|
|
27839
|
+
<dd>
|
|
27840
|
+
|
|
27841
|
+
**from:** `String`
|
|
27842
|
+
|
|
27843
|
+
</dd>
|
|
27844
|
+
</dl>
|
|
27845
|
+
|
|
27846
|
+
<dl>
|
|
27847
|
+
<dd>
|
|
27848
|
+
|
|
27849
|
+
**to:** `String`
|
|
27850
|
+
|
|
27851
|
+
</dd>
|
|
27852
|
+
</dl>
|
|
27853
|
+
|
|
27854
|
+
<dl>
|
|
27855
|
+
<dd>
|
|
27856
|
+
|
|
27857
|
+
**request_options:** `Nordlet::Declarations::RequestOptions`
|
|
27858
|
+
|
|
27859
|
+
</dd>
|
|
27860
|
+
</dl>
|
|
27861
|
+
</dd>
|
|
27862
|
+
</dl>
|
|
27863
|
+
|
|
27864
|
+
|
|
27865
|
+
</dd>
|
|
27866
|
+
</dl>
|
|
27867
|
+
</details>
|
|
27868
|
+
|
|
27869
|
+
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">gb_vat_payments_list</a>(request) -> Nordlet::Declarations::Types::GbVatPaymentsListDeclarationsResponse</code></summary>
|
|
27870
|
+
<dl>
|
|
27871
|
+
<dd>
|
|
27872
|
+
|
|
27873
|
+
#### 📝 Description
|
|
27874
|
+
|
|
27875
|
+
<dl>
|
|
27876
|
+
<dd>
|
|
27877
|
+
|
|
27878
|
+
<dl>
|
|
27879
|
+
<dd>
|
|
27880
|
+
|
|
27881
|
+
Lists the VAT payments HMRC received from the company between `from` (2017-12-01 or later) and `to` (today or earlier), at most 365 days apart.
|
|
27882
|
+
</dd>
|
|
27883
|
+
</dl>
|
|
27884
|
+
</dd>
|
|
27885
|
+
</dl>
|
|
27886
|
+
|
|
27887
|
+
#### 🔌 Usage
|
|
27888
|
+
|
|
27889
|
+
<dl>
|
|
27890
|
+
<dd>
|
|
27891
|
+
|
|
27892
|
+
<dl>
|
|
27893
|
+
<dd>
|
|
27894
|
+
|
|
27895
|
+
```ruby
|
|
27896
|
+
client.declarations.gb_vat_payments_list(
|
|
27897
|
+
device: {
|
|
27898
|
+
user_agent: "userAgent",
|
|
27899
|
+
device_id: "deviceId",
|
|
27900
|
+
screens: [{
|
|
27901
|
+
width: 1000000,
|
|
27902
|
+
height: 1000000,
|
|
27903
|
+
scaling_factor: 1.1,
|
|
27904
|
+
colour_depth: 1000000
|
|
27905
|
+
}],
|
|
27906
|
+
window_size: {
|
|
27907
|
+
width: 1000000,
|
|
27908
|
+
height: 1000000
|
|
27909
|
+
},
|
|
27910
|
+
timezone: "timezone"
|
|
27911
|
+
},
|
|
27912
|
+
from: "2026-07-01",
|
|
27913
|
+
to: "2026-07-01"
|
|
27914
|
+
)
|
|
27915
|
+
```
|
|
27916
|
+
</dd>
|
|
27917
|
+
</dl>
|
|
27918
|
+
</dd>
|
|
27919
|
+
</dl>
|
|
27920
|
+
|
|
27921
|
+
#### ⚙️ Parameters
|
|
27922
|
+
|
|
27923
|
+
<dl>
|
|
27924
|
+
<dd>
|
|
27925
|
+
|
|
27926
|
+
<dl>
|
|
27927
|
+
<dd>
|
|
27928
|
+
|
|
27929
|
+
**device:** `Nordlet::Declarations::Types::GbVatPaymentsListDeclarationsRequestDevice` — Facts of the browser the user files from, which HMRC requires with every VAT (MTD) API call: `navigator.userAgent`, a UUID the browser keeps for the device, every screen (width, height, scaling factor, colour depth in bits), the window size in pixels and the time zone as `UTC±hh:mm`.
|
|
27155
27930
|
|
|
27156
27931
|
</dd>
|
|
27157
27932
|
</dl>
|
|
@@ -27464,6 +28239,130 @@ client.declarations.us_w2list(year: 1000000)
|
|
|
27464
28239
|
</dl>
|
|
27465
28240
|
|
|
27466
28241
|
|
|
28242
|
+
</dd>
|
|
28243
|
+
</dl>
|
|
28244
|
+
</details>
|
|
28245
|
+
|
|
28246
|
+
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">us_income_tax_return_get</a>(request) -> Nordlet::Declarations::Types::UsIncomeTaxReturnGetDeclarationsResponse</code></summary>
|
|
28247
|
+
<dl>
|
|
28248
|
+
<dd>
|
|
28249
|
+
|
|
28250
|
+
#### 📝 Description
|
|
28251
|
+
|
|
28252
|
+
<dl>
|
|
28253
|
+
<dd>
|
|
28254
|
+
|
|
28255
|
+
<dl>
|
|
28256
|
+
<dd>
|
|
28257
|
+
|
|
28258
|
+
The federal income tax return of the fiscal year that ends in `year`, chosen by the legal form: Form 1120 for a corporation, Form 1120-S for an S corporation, Form 1065 for a partnership, and for an LLC the return of the filing option `usLlcTaxReturn`. `page1` gives the income and deduction lines filled from the statement rows of the form (`ledger/statement-rows/list` with `scheme`) and the total lines computed as the form says (Form 1120 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); line 1b is the debit balance of the returns and allowances accounts. `scheduleL` gives each Schedule L line at the beginning and end of the year, `otherLines` the Schedule K and M-1 lines. Answers 422 for a company outside the US, a sole proprietorship, and an LLC without `usLlcTaxReturn`.
|
|
28259
|
+
</dd>
|
|
28260
|
+
</dl>
|
|
28261
|
+
</dd>
|
|
28262
|
+
</dl>
|
|
28263
|
+
|
|
28264
|
+
#### 🔌 Usage
|
|
28265
|
+
|
|
28266
|
+
<dl>
|
|
28267
|
+
<dd>
|
|
28268
|
+
|
|
28269
|
+
<dl>
|
|
28270
|
+
<dd>
|
|
28271
|
+
|
|
28272
|
+
```ruby
|
|
28273
|
+
client.declarations.us_income_tax_return_get(year: 1000000)
|
|
28274
|
+
```
|
|
28275
|
+
</dd>
|
|
28276
|
+
</dl>
|
|
28277
|
+
</dd>
|
|
28278
|
+
</dl>
|
|
28279
|
+
|
|
28280
|
+
#### ⚙️ Parameters
|
|
28281
|
+
|
|
28282
|
+
<dl>
|
|
28283
|
+
<dd>
|
|
28284
|
+
|
|
28285
|
+
<dl>
|
|
28286
|
+
<dd>
|
|
28287
|
+
|
|
28288
|
+
**year:** `Integer`
|
|
28289
|
+
|
|
28290
|
+
</dd>
|
|
28291
|
+
</dl>
|
|
28292
|
+
|
|
28293
|
+
<dl>
|
|
28294
|
+
<dd>
|
|
28295
|
+
|
|
28296
|
+
**request_options:** `Nordlet::Declarations::RequestOptions`
|
|
28297
|
+
|
|
28298
|
+
</dd>
|
|
28299
|
+
</dl>
|
|
28300
|
+
</dd>
|
|
28301
|
+
</dl>
|
|
28302
|
+
|
|
28303
|
+
|
|
28304
|
+
</dd>
|
|
28305
|
+
</dl>
|
|
28306
|
+
</details>
|
|
28307
|
+
|
|
28308
|
+
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">us1099nec_list</a>(request) -> Nordlet::Declarations::Types::Us1099NecListDeclarationsResponse</code></summary>
|
|
28309
|
+
<dl>
|
|
28310
|
+
<dd>
|
|
28311
|
+
|
|
28312
|
+
#### 📝 Description
|
|
28313
|
+
|
|
28314
|
+
<dl>
|
|
28315
|
+
<dd>
|
|
28316
|
+
|
|
28317
|
+
<dl>
|
|
28318
|
+
<dd>
|
|
28319
|
+
|
|
28320
|
+
The Forms 1099-NEC of a calendar year: one per partner marked with `identifiers.nonemployeeCompensation` = `yes` whose payments in the year reach the threshold (2026: $2,000), box 1 the payments on its registered purchase invoices less those on its credit notes, by payment date, in the company currency at the invoice rate, without settlements by credit note or advance. A partner whose Form W-9 tax classification is a C or S corporation (`c-corporation`, `s-corporation`, `llc-c`, `llc-s`) is listed in `excluded`. The recipient name type is `I` for a partner of type `person` and `B` otherwise. Answers 422 for a company outside the US and for a year whose threshold Nordlet does not have.
|
|
28321
|
+
</dd>
|
|
28322
|
+
</dl>
|
|
28323
|
+
</dd>
|
|
28324
|
+
</dl>
|
|
28325
|
+
|
|
28326
|
+
#### 🔌 Usage
|
|
28327
|
+
|
|
28328
|
+
<dl>
|
|
28329
|
+
<dd>
|
|
28330
|
+
|
|
28331
|
+
<dl>
|
|
28332
|
+
<dd>
|
|
28333
|
+
|
|
28334
|
+
```ruby
|
|
28335
|
+
client.declarations.us1099nec_list(year: 1000000)
|
|
28336
|
+
```
|
|
28337
|
+
</dd>
|
|
28338
|
+
</dl>
|
|
28339
|
+
</dd>
|
|
28340
|
+
</dl>
|
|
28341
|
+
|
|
28342
|
+
#### ⚙️ Parameters
|
|
28343
|
+
|
|
28344
|
+
<dl>
|
|
28345
|
+
<dd>
|
|
28346
|
+
|
|
28347
|
+
<dl>
|
|
28348
|
+
<dd>
|
|
28349
|
+
|
|
28350
|
+
**year:** `Integer`
|
|
28351
|
+
|
|
28352
|
+
</dd>
|
|
28353
|
+
</dl>
|
|
28354
|
+
|
|
28355
|
+
<dl>
|
|
28356
|
+
<dd>
|
|
28357
|
+
|
|
28358
|
+
**request_options:** `Nordlet::Declarations::RequestOptions`
|
|
28359
|
+
|
|
28360
|
+
</dd>
|
|
28361
|
+
</dl>
|
|
28362
|
+
</dd>
|
|
28363
|
+
</dl>
|
|
28364
|
+
|
|
28365
|
+
|
|
27467
28366
|
</dd>
|
|
27468
28367
|
</dl>
|
|
27469
28368
|
</details>
|
|
@@ -27480,7 +28379,7 @@ client.declarations.us_w2list(year: 1000000)
|
|
|
27480
28379
|
<dl>
|
|
27481
28380
|
<dd>
|
|
27482
28381
|
|
|
27483
|
-
The Delaware withholding of a month (YYYY-MM), a quarter (YYYY-Qn) or a year (YYYY
|
|
28382
|
+
The Delaware withholding of a month (YYYY-MM), a quarter (YYYY-Qn) or a year (YYYY) from the approved US payroll runs paid in it: the employees with Delaware income tax withheld, their wages and the tax withheld, and `wthTax`, the boxes of Form WTH-TAX (taxpayer ID `deWithholdingAccount`, the tax period, line 1 the tax withheld, line 2 the amount remitted, here equal to line 1). Answers 422 for a company outside the US.
|
|
27484
28383
|
</dd>
|
|
27485
28384
|
</dl>
|
|
27486
28385
|
</dd>
|
|
@@ -27526,6 +28425,76 @@ client.declarations.us_de_withholding_get(period: "period")
|
|
|
27526
28425
|
</dl>
|
|
27527
28426
|
|
|
27528
28427
|
|
|
28428
|
+
</dd>
|
|
28429
|
+
</dl>
|
|
28430
|
+
</details>
|
|
28431
|
+
|
|
28432
|
+
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">us_de_withholding_reconciliation_get</a>(request) -> Nordlet::Declarations::Types::UsDeWithholdingReconciliationGetDeclarationsResponse</code></summary>
|
|
28433
|
+
<dl>
|
|
28434
|
+
<dd>
|
|
28435
|
+
|
|
28436
|
+
#### 📝 Description
|
|
28437
|
+
|
|
28438
|
+
<dl>
|
|
28439
|
+
<dd>
|
|
28440
|
+
|
|
28441
|
+
<dl>
|
|
28442
|
+
<dd>
|
|
28443
|
+
|
|
28444
|
+
The lines of the Delaware annual reconciliation, Form WTH-REC, of a year from the approved US payroll runs paid in it: line 1 the Delaware wages, line 2 the number of Forms W-2, line 3 the Delaware income tax withheld, and the withholding worksheet of tax withheld by month of the pay date. `taxPaid` is the tax paid to the Division of Revenue in each month, January to December; with it the response fills the tax paid column, line 4, line 5a (overpayment), line 5b (balance due) and line 6 (total remittance), without it those are null. Answers 422 for a company outside the US.
|
|
28445
|
+
</dd>
|
|
28446
|
+
</dl>
|
|
28447
|
+
</dd>
|
|
28448
|
+
</dl>
|
|
28449
|
+
|
|
28450
|
+
#### 🔌 Usage
|
|
28451
|
+
|
|
28452
|
+
<dl>
|
|
28453
|
+
<dd>
|
|
28454
|
+
|
|
28455
|
+
<dl>
|
|
28456
|
+
<dd>
|
|
28457
|
+
|
|
28458
|
+
```ruby
|
|
28459
|
+
client.declarations.us_de_withholding_reconciliation_get(year: 1000000)
|
|
28460
|
+
```
|
|
28461
|
+
</dd>
|
|
28462
|
+
</dl>
|
|
28463
|
+
</dd>
|
|
28464
|
+
</dl>
|
|
28465
|
+
|
|
28466
|
+
#### ⚙️ Parameters
|
|
28467
|
+
|
|
28468
|
+
<dl>
|
|
28469
|
+
<dd>
|
|
28470
|
+
|
|
28471
|
+
<dl>
|
|
28472
|
+
<dd>
|
|
28473
|
+
|
|
28474
|
+
**year:** `Integer`
|
|
28475
|
+
|
|
28476
|
+
</dd>
|
|
28477
|
+
</dl>
|
|
28478
|
+
|
|
28479
|
+
<dl>
|
|
28480
|
+
<dd>
|
|
28481
|
+
|
|
28482
|
+
**tax_paid:** `Internal::Types::Array[String]`
|
|
28483
|
+
|
|
28484
|
+
</dd>
|
|
28485
|
+
</dl>
|
|
28486
|
+
|
|
28487
|
+
<dl>
|
|
28488
|
+
<dd>
|
|
28489
|
+
|
|
28490
|
+
**request_options:** `Nordlet::Declarations::RequestOptions`
|
|
28491
|
+
|
|
28492
|
+
</dd>
|
|
28493
|
+
</dl>
|
|
28494
|
+
</dd>
|
|
28495
|
+
</dl>
|
|
28496
|
+
|
|
28497
|
+
|
|
27529
28498
|
</dd>
|
|
27530
28499
|
</dl>
|
|
27531
28500
|
</details>
|
|
@@ -27542,7 +28511,7 @@ client.declarations.us_de_withholding_get(period: "period")
|
|
|
27542
28511
|
<dl>
|
|
27543
28512
|
<dd>
|
|
27544
28513
|
|
|
27545
|
-
The Delaware unemployment insurance figures of a quarter from the approved US payroll runs paid in it, for the employees charged Delaware unemployment insurance: the total wages, the wages above each employee's yearly wage base, the taxable wages, the contributions, and each employee with the social security number (`personalCode`) and the wages of the quarter. Answers 422 for a company outside the US.
|
|
28514
|
+
The Delaware unemployment insurance figures of a quarter from the approved US payroll runs paid in it, for the employees charged Delaware unemployment insurance: the total wages, the wages above each employee's yearly wage base, the taxable wages, the contributions, and each employee with the social security number (`personalCode`) and the wages of the quarter. `uc8` gives the lines of Form UC-8: line 1 the covered workers of each month in a payroll period that includes the 12th, lines 2 to 4 the gross covered, excess and taxable wages, line 5 the 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 6 (approved credit), 8 (interest) and 9 (penalty) are `approvedCredit`, `interest` and `penalty` when given, otherwise null and counted as zero. `uc8a` gives Form UC-8A in pages of 30 rows (social security number, first initial, last name, gross covered wages; Nordlet keeps no middle initial) with line 31 of each page, line 32 the total of the pages after the first and line 33 the grand total. Answers 422 for a company outside the US.
|
|
27546
28515
|
</dd>
|
|
27547
28516
|
</dl>
|
|
27548
28517
|
</dd>
|
|
@@ -27591,6 +28560,30 @@ client.declarations.us_de_unemployment_get(
|
|
|
27591
28560
|
<dl>
|
|
27592
28561
|
<dd>
|
|
27593
28562
|
|
|
28563
|
+
**approved_credit:** `String`
|
|
28564
|
+
|
|
28565
|
+
</dd>
|
|
28566
|
+
</dl>
|
|
28567
|
+
|
|
28568
|
+
<dl>
|
|
28569
|
+
<dd>
|
|
28570
|
+
|
|
28571
|
+
**interest:** `String`
|
|
28572
|
+
|
|
28573
|
+
</dd>
|
|
28574
|
+
</dl>
|
|
28575
|
+
|
|
28576
|
+
<dl>
|
|
28577
|
+
<dd>
|
|
28578
|
+
|
|
28579
|
+
**penalty:** `String`
|
|
28580
|
+
|
|
28581
|
+
</dd>
|
|
28582
|
+
</dl>
|
|
28583
|
+
|
|
28584
|
+
<dl>
|
|
28585
|
+
<dd>
|
|
28586
|
+
|
|
27594
28587
|
**request_options:** `Nordlet::Declarations::RequestOptions`
|
|
27595
28588
|
|
|
27596
28589
|
</dd>
|
|
@@ -27696,7 +28689,7 @@ client.declarations.us_de_gross_receipts_get(
|
|
|
27696
28689
|
<dl>
|
|
27697
28690
|
<dd>
|
|
27698
28691
|
|
|
27699
|
-
The sales of a US company per state between two issue dates, to see where its sales may oblige it to collect a state's sales tax: the number and net amount of the issued sale invoices and credit notes (subtracted) by the state of the
|
|
28692
|
+
The sales of a US company per state between two issue dates, to see where its sales may oblige it to collect a state's sales tax: the number and net amount of the issued sale invoices and credit notes (subtracted) by the state of the document's `deliveryAddress`, else of the customer's address (`subdivision`), the sales delivered in the US without a state, and the sales delivered outside the US. Advance invoices are left out because the final invoice carries the sale; amounts in another currency are at the rate stored on the invoice, and an invoice without one is left out with a warning. Answers 422 for a company outside the US.
|
|
27700
28693
|
</dd>
|
|
27701
28694
|
</dl>
|
|
27702
28695
|
</dd>
|
|
@@ -27753,6 +28746,79 @@ client.declarations.us_state_sales_get(
|
|
|
27753
28746
|
</dl>
|
|
27754
28747
|
|
|
27755
28748
|
|
|
28749
|
+
</dd>
|
|
28750
|
+
</dl>
|
|
28751
|
+
</details>
|
|
28752
|
+
|
|
28753
|
+
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">us_sales_tax_get</a>(request) -> Nordlet::Declarations::Types::UsSalesTaxGetDeclarationsResponse</code></summary>
|
|
28754
|
+
<dl>
|
|
28755
|
+
<dd>
|
|
28756
|
+
|
|
28757
|
+
#### 📝 Description
|
|
28758
|
+
|
|
28759
|
+
<dl>
|
|
28760
|
+
<dd>
|
|
28761
|
+
|
|
28762
|
+
<dl>
|
|
28763
|
+
<dd>
|
|
28764
|
+
|
|
28765
|
+
The sales tax a US company charged between two issue dates, per state (`salesTaxJurisdiction` of the document), for its state sales tax returns: the number of issued invoices and credit notes (subtracted) with sales tax, their net amount split into `taxableSales` and `exemptSales` (documents charged no sales tax under the customer's certificate of exemption, `salesTaxExemptionId`), and their sales tax, which `sales/invoices/issue` credited to the sales tax payable account. Amounts in another currency are at the rate stored on the document, and a document without one is left out with a warning. Answers 422 for a company outside the US.
|
|
28766
|
+
</dd>
|
|
28767
|
+
</dl>
|
|
28768
|
+
</dd>
|
|
28769
|
+
</dl>
|
|
28770
|
+
|
|
28771
|
+
#### 🔌 Usage
|
|
28772
|
+
|
|
28773
|
+
<dl>
|
|
28774
|
+
<dd>
|
|
28775
|
+
|
|
28776
|
+
<dl>
|
|
28777
|
+
<dd>
|
|
28778
|
+
|
|
28779
|
+
```ruby
|
|
28780
|
+
client.declarations.us_sales_tax_get(
|
|
28781
|
+
from: "2026-07-01",
|
|
28782
|
+
to: "2026-07-01"
|
|
28783
|
+
)
|
|
28784
|
+
```
|
|
28785
|
+
</dd>
|
|
28786
|
+
</dl>
|
|
28787
|
+
</dd>
|
|
28788
|
+
</dl>
|
|
28789
|
+
|
|
28790
|
+
#### ⚙️ Parameters
|
|
28791
|
+
|
|
28792
|
+
<dl>
|
|
28793
|
+
<dd>
|
|
28794
|
+
|
|
28795
|
+
<dl>
|
|
28796
|
+
<dd>
|
|
28797
|
+
|
|
28798
|
+
**from:** `String`
|
|
28799
|
+
|
|
28800
|
+
</dd>
|
|
28801
|
+
</dl>
|
|
28802
|
+
|
|
28803
|
+
<dl>
|
|
28804
|
+
<dd>
|
|
28805
|
+
|
|
28806
|
+
**to:** `String`
|
|
28807
|
+
|
|
28808
|
+
</dd>
|
|
28809
|
+
</dl>
|
|
28810
|
+
|
|
28811
|
+
<dl>
|
|
28812
|
+
<dd>
|
|
28813
|
+
|
|
28814
|
+
**request_options:** `Nordlet::Declarations::RequestOptions`
|
|
28815
|
+
|
|
28816
|
+
</dd>
|
|
28817
|
+
</dl>
|
|
28818
|
+
</dd>
|
|
28819
|
+
</dl>
|
|
28820
|
+
|
|
28821
|
+
|
|
27756
28822
|
</dd>
|
|
27757
28823
|
</dl>
|
|
27758
28824
|
</details>
|
|
@@ -27922,6 +28988,87 @@ client.declarations.us_workweeks_list(
|
|
|
27922
28988
|
</dl>
|
|
27923
28989
|
|
|
27924
28990
|
|
|
28991
|
+
</dd>
|
|
28992
|
+
</dl>
|
|
28993
|
+
</details>
|
|
28994
|
+
|
|
28995
|
+
<details><summary><code>client.declarations.<a href="/lib/nordlet/declarations/client.rb">us_flsa_records_list</a>(request) -> Nordlet::Declarations::Types::UsFlsaRecordsListDeclarationsResponse</code></summary>
|
|
28996
|
+
<dl>
|
|
28997
|
+
<dd>
|
|
28998
|
+
|
|
28999
|
+
#### 📝 Description
|
|
29000
|
+
|
|
29001
|
+
<dl>
|
|
29002
|
+
<dd>
|
|
29003
|
+
|
|
29004
|
+
<dl>
|
|
29005
|
+
<dd>
|
|
29006
|
+
|
|
29007
|
+
The payroll and time records that 29 CFR 516.2(a) requires for each employee of a US company (or the one `employeeId`) over the period: name and `code`, home address with zip code, date of birth when the employee is under 19 on `from`, `usSex`, the occupation (the position of a contract of the period), the day and time the workweek begins (`usWorkweekStart`, `usWorkweekStartTime`), the hours of each workday and workweek with the regular hourly rate of a workweek with overtime and the straight-time earnings of the workweek (hourly contracts), and for each approved payroll run that overlaps the period the basis of pay, the regular pay, the overtime pay and hours, the straight-time earnings and the overtime premium (the overtime pay less the overtime hours at the hourly rate), the additions and deductions, the total wages, the pay date and the pay period. Figures that need an hourly contract are null without one, with a warning; missing employee data is listed in `warnings`. Answers 422 for a company outside the US.
|
|
29008
|
+
</dd>
|
|
29009
|
+
</dl>
|
|
29010
|
+
</dd>
|
|
29011
|
+
</dl>
|
|
29012
|
+
|
|
29013
|
+
#### 🔌 Usage
|
|
29014
|
+
|
|
29015
|
+
<dl>
|
|
29016
|
+
<dd>
|
|
29017
|
+
|
|
29018
|
+
<dl>
|
|
29019
|
+
<dd>
|
|
29020
|
+
|
|
29021
|
+
```ruby
|
|
29022
|
+
client.declarations.us_flsa_records_list(
|
|
29023
|
+
from: "2026-07-01",
|
|
29024
|
+
to: "2026-07-01"
|
|
29025
|
+
)
|
|
29026
|
+
```
|
|
29027
|
+
</dd>
|
|
29028
|
+
</dl>
|
|
29029
|
+
</dd>
|
|
29030
|
+
</dl>
|
|
29031
|
+
|
|
29032
|
+
#### ⚙️ Parameters
|
|
29033
|
+
|
|
29034
|
+
<dl>
|
|
29035
|
+
<dd>
|
|
29036
|
+
|
|
29037
|
+
<dl>
|
|
29038
|
+
<dd>
|
|
29039
|
+
|
|
29040
|
+
**from:** `String`
|
|
29041
|
+
|
|
29042
|
+
</dd>
|
|
29043
|
+
</dl>
|
|
29044
|
+
|
|
29045
|
+
<dl>
|
|
29046
|
+
<dd>
|
|
29047
|
+
|
|
29048
|
+
**to:** `String`
|
|
29049
|
+
|
|
29050
|
+
</dd>
|
|
29051
|
+
</dl>
|
|
29052
|
+
|
|
29053
|
+
<dl>
|
|
29054
|
+
<dd>
|
|
29055
|
+
|
|
29056
|
+
**employee_id:** `String`
|
|
29057
|
+
|
|
29058
|
+
</dd>
|
|
29059
|
+
</dl>
|
|
29060
|
+
|
|
29061
|
+
<dl>
|
|
29062
|
+
<dd>
|
|
29063
|
+
|
|
29064
|
+
**request_options:** `Nordlet::Declarations::RequestOptions`
|
|
29065
|
+
|
|
29066
|
+
</dd>
|
|
29067
|
+
</dl>
|
|
29068
|
+
</dd>
|
|
29069
|
+
</dl>
|
|
29070
|
+
|
|
29071
|
+
|
|
27925
29072
|
</dd>
|
|
27926
29073
|
</dl>
|
|
27927
29074
|
</details>
|
|
@@ -39053,7 +40200,7 @@ client.payroll.lines_attendance(id: "id")
|
|
|
39053
40200
|
<dl>
|
|
39054
40201
|
<dd>
|
|
39055
40202
|
|
|
39056
|
-
Posts the run's journal entry dated the last day of the run's period and sets the status to `approved`: the wage expense (net pay, income tax, employee contributions and deductions) and the employer contributions are debited; the net payable, the income tax, the social contributions (on one account, or split between the employee and employer accounts when their codes differ) and the deductions are credited. The accounts default to the payroll accounts of the company's chart template; each can be given per call (`incomeTaxAccountCode` and `socialContributionsAccountCode` among them). Answers 409 when the run is not a draft or the accounting period is locked, 422 when the run has no lines or nothing to post, and emits `payroll_run.approved`. For an Irish company with the automation of the `ie-payroll-withholding` deadline switched on, the month's payroll submission is sent at once and a failure is added to the run's `warnings`. For a Lithuanian company the unused leave days a line paid as compensation, recorded per balance year when the run was created, are added to the used days of the leave balances. For a US company whose filing option `usDepositSchedule` is `semiweekly`, the federal tax deposit of the run's pay date is added to the calendar (`us-tax-deposit-semiweekly`, the pay date as period), due on the Wednesday after a Wednesday to Friday payday and the Friday after a Saturday to Tuesday payday, moved past District of Columbia legal holidays. Undo with `payroll/runs/reverse`, pay with `payroll/payments/export`.
|
|
40203
|
+
Posts the run's journal entry dated the last day of the run's period and sets the status to `approved`: the wage expense (net pay, income tax, employee contributions and deductions) and the employer contributions are debited; the net payable, the income tax, the social contributions (on one account, or split between the employee and employer accounts when their codes differ) and the deductions are credited. The accounts default to the payroll accounts of the company's chart template; each can be given per call (`incomeTaxAccountCode` and `socialContributionsAccountCode` among them). Answers 409 when the run is not a draft or the accounting period is locked, 422 when the run has no lines or nothing to post, and emits `payroll_run.approved`. For an Irish company with the automation of the `ie-payroll-withholding` deadline switched on, the month's payroll submission is sent at once and a failure is added to the run's `warnings`; for a UK company with the automation of `gb-paye-fps` switched on, the Full Payment Submission of the run is sent to HMRC at once (period: the tax month of the pay date, named by the calendar month in which it starts on the 6th), together with any approved run of that tax month not yet reported, and a failure is added to the run's `warnings`. For a Lithuanian company the unused leave days a line paid as compensation, recorded per balance year when the run was created, are added to the used days of the leave balances. For a US company whose filing option `usDepositSchedule` is `semiweekly`, the federal tax deposit of the run's pay date is added to the calendar (`us-tax-deposit-semiweekly`, the pay date as period), due on the Wednesday after a Wednesday to Friday payday and the Friday after a Saturday to Tuesday payday, moved past District of Columbia legal holidays. Undo with `payroll/runs/reverse`, pay with `payroll/payments/export`.
|
|
39057
40204
|
</dd>
|
|
39058
40205
|
</dl>
|
|
39059
40206
|
</dd>
|