Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 32 additions & 32 deletions docs/payroll_au/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3596,7 +3596,7 @@ <h3>Usage and SDK Samples</h3>
idempotency_key = 'KEY_VALUE'

begin
response = xero_client.accounting_api.approve_leave_application(xero_tenant_id, leave_application_id, idempotency_key)
response = xero_client.payroll_au_api.approve_leave_application(xero_tenant_id, leave_application_id, idempotency_key)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling approve_leave_application: #{e}"
Expand Down Expand Up @@ -3744,7 +3744,7 @@ <h3>Usage and SDK Samples</h3>
}

begin
response = xero_client.accounting_api.create_employee(xero_tenant_id, employee, idempotency_key)
response = xero_client.payroll_au_api.create_employee(xero_tenant_id, employee, idempotency_key)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling create_employee: #{e}"
Expand Down Expand Up @@ -3893,7 +3893,7 @@ <h3>Usage and SDK Samples</h3>
}

begin
response = xero_client.accounting_api.create_leave_application(xero_tenant_id, leaveApplication, idempotency_key)
response = xero_client.payroll_au_api.create_leave_application(xero_tenant_id, leaveApplication, idempotency_key)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling create_leave_application: #{e}"
Expand Down Expand Up @@ -4075,7 +4075,7 @@ <h3>Usage and SDK Samples</h3>
}

begin
response = xero_client.accounting_api.create_pay_item(xero_tenant_id, payItem, idempotency_key)
response = xero_client.payroll_au_api.create_pay_item(xero_tenant_id, payItem, idempotency_key)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling create_pay_item: #{e}"
Expand Down Expand Up @@ -4234,7 +4234,7 @@ <h3>Usage and SDK Samples</h3>
}

begin
response = xero_client.accounting_api.create_pay_run(xero_tenant_id, payRun, idempotency_key)
response = xero_client.payroll_au_api.create_pay_run(xero_tenant_id, payRun, idempotency_key)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling create_pay_run: #{e}"
Expand Down Expand Up @@ -4384,7 +4384,7 @@ <h3>Usage and SDK Samples</h3>
payroll_calendars << payroll_calendar

begin
response = xero_client.accounting_api.create_payroll_calendar(xero_tenant_id, payrollCalendar, idempotency_key)
response = xero_client.payroll_au_api.create_payroll_calendar(xero_tenant_id, payrollCalendar, idempotency_key)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling create_payroll_calendar: #{e}"
Expand Down Expand Up @@ -4528,7 +4528,7 @@ <h3>Usage and SDK Samples</h3>
}

begin
response = xero_client.accounting_api.create_superfund(xero_tenant_id, superFund, idempotency_key)
response = xero_client.payroll_au_api.create_superfund(xero_tenant_id, superFund, idempotency_key)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling create_superfund: #{e}"
Expand Down Expand Up @@ -4676,7 +4676,7 @@ <h3>Usage and SDK Samples</h3>
}

begin
response = xero_client.accounting_api.create_timesheet(xero_tenant_id, timesheet, idempotency_key)
response = xero_client.payroll_au_api.create_timesheet(xero_tenant_id, timesheet, idempotency_key)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling create_timesheet: #{e}"
Expand Down Expand Up @@ -4815,7 +4815,7 @@ <h3>Usage and SDK Samples</h3>
employee_id = '4ff1e5cc-9835-40d5-bb18-09fdb118db9c'

begin
response = xero_client.accounting_api.get_employee(xero_tenant_id, employee_id)
response = xero_client.payroll_au_api.get_employee(xero_tenant_id, employee_id)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling get_employee: #{e}"
Expand Down Expand Up @@ -4936,7 +4936,7 @@ <h3>Usage and SDK Samples</h3>
page = 56

begin
response = xero_client.accounting_api.get_employees(xero_tenant_id, if_modified_since, where, order, page)
response = xero_client.payroll_au_api.get_employees(xero_tenant_id, if_modified_since, where, order, page)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling get_employees: #{e}"
Expand Down Expand Up @@ -5111,7 +5111,7 @@ <h3>Usage and SDK Samples</h3>
leave_application_id = '4ff1e5cc-9835-40d5-bb18-09fdb118db9c'

begin
response = xero_client.accounting_api.get_leave_application(xero_tenant_id, leave_application_id)
response = xero_client.payroll_au_api.get_leave_application(xero_tenant_id, leave_application_id)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling get_leave_application: #{e}"
Expand Down Expand Up @@ -5232,7 +5232,7 @@ <h3>Usage and SDK Samples</h3>
page = 56

begin
response = xero_client.accounting_api.get_leave_applications(xero_tenant_id, if_modified_since, where, order, page)
response = xero_client.payroll_au_api.get_leave_applications(xero_tenant_id, if_modified_since, where, order, page)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling get_leave_applications: #{e}"
Expand Down Expand Up @@ -5410,7 +5410,7 @@ <h3>Usage and SDK Samples</h3>
page = 56

begin
response = xero_client.accounting_api.get_leave_applications_v2(xero_tenant_id, if_modified_since, where, order, page)
response = xero_client.payroll_au_api.get_leave_applications_v2(xero_tenant_id, if_modified_since, where, order, page)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling get_leave_applications_v2: #{e}"
Expand Down Expand Up @@ -5588,7 +5588,7 @@ <h3>Usage and SDK Samples</h3>
page = 56

begin
response = xero_client.accounting_api.get_pay_items(xero_tenant_id, if_modified_since, where, order, page)
response = xero_client.payroll_au_api.get_pay_items(xero_tenant_id, if_modified_since, where, order, page)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling get_pay_items: #{e}"
Expand Down Expand Up @@ -5763,7 +5763,7 @@ <h3>Usage and SDK Samples</h3>
pay_run_id = '4ff1e5cc-9835-40d5-bb18-09fdb118db9c'

begin
response = xero_client.accounting_api.get_pay_run(xero_tenant_id, pay_run_id)
response = xero_client.payroll_au_api.get_pay_run(xero_tenant_id, pay_run_id)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling get_pay_run: #{e}"
Expand Down Expand Up @@ -5884,7 +5884,7 @@ <h3>Usage and SDK Samples</h3>
page = 56

begin
response = xero_client.accounting_api.get_pay_runs(xero_tenant_id, if_modified_since, where, order, page)
response = xero_client.payroll_au_api.get_pay_runs(xero_tenant_id, if_modified_since, where, order, page)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling get_pay_runs: #{e}"
Expand Down Expand Up @@ -6059,7 +6059,7 @@ <h3>Usage and SDK Samples</h3>
payroll_calendar_id = '4ff1e5cc-9835-40d5-bb18-09fdb118db9c'

begin
response = xero_client.accounting_api.get_payroll_calendar(xero_tenant_id, payroll_calendar_id)
response = xero_client.payroll_au_api.get_payroll_calendar(xero_tenant_id, payroll_calendar_id)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling get_payroll_calendar: #{e}"
Expand Down Expand Up @@ -6180,7 +6180,7 @@ <h3>Usage and SDK Samples</h3>
page = 56

begin
response = xero_client.accounting_api.get_payroll_calendars(xero_tenant_id, if_modified_since, where, order, page)
response = xero_client.payroll_au_api.get_payroll_calendars(xero_tenant_id, if_modified_since, where, order, page)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling get_payroll_calendars: #{e}"
Expand Down Expand Up @@ -6355,7 +6355,7 @@ <h3>Usage and SDK Samples</h3>
payslip_id = '4ff1e5cc-9835-40d5-bb18-09fdb118db9c'

begin
response = xero_client.accounting_api.get_payslip(xero_tenant_id, payslip_id)
response = xero_client.payroll_au_api.get_payslip(xero_tenant_id, payslip_id)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling get_payslip: #{e}"
Expand Down Expand Up @@ -6472,7 +6472,7 @@ <h3>Usage and SDK Samples</h3>
xero_tenant_id = 'xeroTenantId_example'

begin
response = xero_client.accounting_api.get_settings(xero_tenant_id)
response = xero_client.payroll_au_api.get_settings(xero_tenant_id)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling get_settings: #{e}"
Expand Down Expand Up @@ -6557,7 +6557,7 @@ <h3>Usage and SDK Samples</h3>
super_fund_id = '4ff1e5cc-9835-40d5-bb18-09fdb118db9c'

begin
response = xero_client.accounting_api.get_superfund(xero_tenant_id, super_fund_id)
response = xero_client.payroll_au_api.get_superfund(xero_tenant_id, super_fund_id)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling get_superfund: #{e}"
Expand Down Expand Up @@ -6676,7 +6676,7 @@ <h3>Usage and SDK Samples</h3>
uSI = 'OSF0001AU'

begin
response = xero_client.accounting_api.get_superfund_products(xero_tenant_id, aBN, uSI)
response = xero_client.payroll_au_api.get_superfund_products(xero_tenant_id, aBN, uSI)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling get_superfund_products: #{e}"
Expand Down Expand Up @@ -6811,7 +6811,7 @@ <h3>Usage and SDK Samples</h3>
page = 56

begin
response = xero_client.accounting_api.get_superfunds(xero_tenant_id, if_modified_since, where, order, page)
response = xero_client.payroll_au_api.get_superfunds(xero_tenant_id, if_modified_since, where, order, page)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling get_superfunds: #{e}"
Expand Down Expand Up @@ -6986,7 +6986,7 @@ <h3>Usage and SDK Samples</h3>
timesheet_id = '4ff1e5cc-9835-40d5-bb18-09fdb118db9c'

begin
response = xero_client.accounting_api.get_timesheet(xero_tenant_id, timesheet_id)
response = xero_client.payroll_au_api.get_timesheet(xero_tenant_id, timesheet_id)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling get_timesheet: #{e}"
Expand Down Expand Up @@ -7107,7 +7107,7 @@ <h3>Usage and SDK Samples</h3>
page = 56

begin
response = xero_client.accounting_api.get_timesheets(xero_tenant_id, if_modified_since, where, order, page)
response = xero_client.payroll_au_api.get_timesheets(xero_tenant_id, if_modified_since, where, order, page)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling get_timesheets: #{e}"
Expand Down Expand Up @@ -7283,7 +7283,7 @@ <h3>Usage and SDK Samples</h3>
idempotency_key = 'KEY_VALUE'

begin
response = xero_client.accounting_api.reject_leave_application(xero_tenant_id, leave_application_id, idempotency_key)
response = xero_client.payroll_au_api.reject_leave_application(xero_tenant_id, leave_application_id, idempotency_key)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling reject_leave_application: #{e}"
Expand Down Expand Up @@ -7432,7 +7432,7 @@ <h3>Usage and SDK Samples</h3>
}

begin
response = xero_client.accounting_api.update_employee(xero_tenant_id, employee_id, employee, idempotency_key)
response = xero_client.payroll_au_api.update_employee(xero_tenant_id, employee_id, employee, idempotency_key)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling update_employee: #{e}"
Expand Down Expand Up @@ -7615,7 +7615,7 @@ <h3>Usage and SDK Samples</h3>
}

begin
response = xero_client.accounting_api.update_leave_application(xero_tenant_id, leave_application_id, leaveApplication, idempotency_key)
response = xero_client.payroll_au_api.update_leave_application(xero_tenant_id, leave_application_id, leaveApplication, idempotency_key)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling update_leave_application: #{e}"
Expand Down Expand Up @@ -7792,7 +7792,7 @@ <h3>Usage and SDK Samples</h3>
}

begin
response = xero_client.accounting_api.update_pay_run(xero_tenant_id, pay_run_id, payRun, idempotency_key)
response = xero_client.payroll_au_api.update_pay_run(xero_tenant_id, pay_run_id, payRun, idempotency_key)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling update_pay_run: #{e}"
Expand Down Expand Up @@ -7979,7 +7979,7 @@ <h3>Usage and SDK Samples</h3>
payslip_lines << payslip_line

begin
response = xero_client.accounting_api.update_payslip(xero_tenant_id, payslip_id, payslipLines, idempotency_key)
response = xero_client.payroll_au_api.update_payslip(xero_tenant_id, payslip_id, payslipLines, idempotency_key)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling update_payslip: #{e}"
Expand Down Expand Up @@ -8166,7 +8166,7 @@ <h3>Usage and SDK Samples</h3>
}

begin
response = xero_client.accounting_api.update_superfund(xero_tenant_id, super_fund_id, superFund, idempotency_key)
response = xero_client.payroll_au_api.update_superfund(xero_tenant_id, super_fund_id, superFund, idempotency_key)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling update_superfund: #{e}"
Expand Down Expand Up @@ -8348,7 +8348,7 @@ <h3>Usage and SDK Samples</h3>
}

begin
response = xero_client.accounting_api.update_timesheet(xero_tenant_id, timesheet_id, timesheet, idempotency_key)
response = xero_client.payroll_au_api.update_timesheet(xero_tenant_id, timesheet_id, timesheet, idempotency_key)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling update_timesheet: #{e}"
Expand Down