xero-ruby 2.5.0 → 2.7.0
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/README.md +46 -7
- data/lib/xero-ruby.rb +4 -3
- data/lib/xero-ruby/api/accounting_api.rb +446 -441
- data/lib/xero-ruby/api/asset_api.rb +3 -8
- data/lib/xero-ruby/api/files_api.rb +49 -56
- data/lib/xero-ruby/api/payroll_au_api.rb +63 -64
- data/lib/xero-ruby/api/payroll_nz_api.rb +171 -172
- data/lib/xero-ruby/api/payroll_uk_api.rb +173 -174
- data/lib/xero-ruby/api/project_api.rb +45 -46
- data/lib/xero-ruby/api_client.rb +28 -90
- data/lib/xero-ruby/api_error.rb +1 -2
- data/lib/xero-ruby/configuration.rb +3 -4
- data/lib/xero-ruby/models/accounting/account.rb +15 -8
- data/lib/xero-ruby/models/accounting/account_type.rb +1 -2
- data/lib/xero-ruby/models/accounting/accounts.rb +15 -7
- data/lib/xero-ruby/models/accounting/accounts_payable.rb +15 -7
- data/lib/xero-ruby/models/accounting/accounts_receivable.rb +15 -7
- data/lib/xero-ruby/models/accounting/action.rb +15 -7
- data/lib/xero-ruby/models/accounting/actions.rb +15 -7
- data/lib/xero-ruby/models/accounting/address.rb +15 -7
- data/lib/xero-ruby/models/accounting/address_for_organisation.rb +15 -7
- data/lib/xero-ruby/models/accounting/allocation.rb +15 -7
- data/lib/xero-ruby/models/accounting/allocations.rb +15 -7
- data/lib/xero-ruby/models/accounting/attachment.rb +15 -7
- data/lib/xero-ruby/models/accounting/attachments.rb +15 -7
- data/lib/xero-ruby/models/accounting/balance_details.rb +15 -7
- data/lib/xero-ruby/models/accounting/balances.rb +15 -7
- data/lib/xero-ruby/models/accounting/bank_transaction.rb +15 -7
- data/lib/xero-ruby/models/accounting/bank_transactions.rb +15 -7
- data/lib/xero-ruby/models/accounting/bank_transfer.rb +15 -7
- data/lib/xero-ruby/models/accounting/bank_transfers.rb +15 -7
- data/lib/xero-ruby/models/accounting/batch_payment.rb +15 -7
- data/lib/xero-ruby/models/accounting/batch_payment_details.rb +15 -7
- data/lib/xero-ruby/models/accounting/batch_payments.rb +15 -7
- data/lib/xero-ruby/models/accounting/bill.rb +15 -7
- data/lib/xero-ruby/models/accounting/branding_theme.rb +15 -7
- data/lib/xero-ruby/models/accounting/branding_themes.rb +15 -7
- data/lib/xero-ruby/models/accounting/cis_org_setting.rb +15 -7
- data/lib/xero-ruby/models/{files/file_response204.rb → accounting/cis_org_settings.rb} +30 -20
- data/lib/xero-ruby/models/accounting/cis_setting.rb +15 -7
- data/lib/xero-ruby/models/accounting/cis_settings.rb +15 -7
- data/lib/xero-ruby/models/accounting/contact.rb +15 -7
- data/lib/xero-ruby/models/accounting/contact_group.rb +15 -7
- data/lib/xero-ruby/models/accounting/contact_groups.rb +15 -7
- data/lib/xero-ruby/models/accounting/contact_person.rb +15 -7
- data/lib/xero-ruby/models/accounting/contacts.rb +15 -7
- data/lib/xero-ruby/models/accounting/conversion_balances.rb +15 -7
- data/lib/xero-ruby/models/accounting/conversion_date.rb +15 -7
- data/lib/xero-ruby/models/accounting/country_code.rb +1 -2
- data/lib/xero-ruby/models/accounting/credit_note.rb +32 -12
- data/lib/xero-ruby/models/accounting/credit_notes.rb +15 -7
- data/lib/xero-ruby/models/accounting/currencies.rb +15 -7
- data/lib/xero-ruby/models/accounting/currency.rb +15 -7
- data/lib/xero-ruby/models/accounting/currency_code.rb +1 -2
- data/lib/xero-ruby/models/accounting/element.rb +15 -7
- data/lib/xero-ruby/models/accounting/employee.rb +15 -7
- data/lib/xero-ruby/models/accounting/employees.rb +15 -7
- data/lib/xero-ruby/models/accounting/error.rb +15 -7
- data/lib/xero-ruby/models/accounting/expense_claim.rb +15 -7
- data/lib/xero-ruby/models/accounting/expense_claims.rb +15 -7
- data/lib/xero-ruby/models/accounting/external_link.rb +15 -7
- data/lib/xero-ruby/models/accounting/history_record.rb +15 -7
- data/lib/xero-ruby/models/accounting/history_records.rb +15 -7
- data/lib/xero-ruby/models/accounting/import_summary.rb +15 -7
- data/lib/xero-ruby/models/accounting/import_summary_accounts.rb +15 -7
- data/lib/xero-ruby/models/accounting/import_summary_object.rb +15 -7
- data/lib/xero-ruby/models/accounting/import_summary_organisation.rb +15 -7
- data/lib/xero-ruby/models/accounting/invoice.rb +15 -7
- data/lib/xero-ruby/models/accounting/invoice_reminder.rb +15 -7
- data/lib/xero-ruby/models/accounting/invoice_reminders.rb +15 -7
- data/lib/xero-ruby/models/accounting/invoices.rb +15 -7
- data/lib/xero-ruby/models/accounting/item.rb +15 -7
- data/lib/xero-ruby/models/accounting/items.rb +15 -7
- data/lib/xero-ruby/models/accounting/journal.rb +15 -7
- data/lib/xero-ruby/models/accounting/journal_line.rb +15 -7
- data/lib/xero-ruby/models/accounting/journals.rb +15 -7
- data/lib/xero-ruby/models/accounting/line_amount_types.rb +1 -2
- data/lib/xero-ruby/models/accounting/line_item.rb +15 -7
- data/lib/xero-ruby/models/accounting/line_item_tracking.rb +15 -7
- data/lib/xero-ruby/models/accounting/linked_transaction.rb +15 -7
- data/lib/xero-ruby/models/accounting/linked_transactions.rb +15 -7
- data/lib/xero-ruby/models/accounting/manual_journal.rb +15 -7
- data/lib/xero-ruby/models/accounting/manual_journal_line.rb +15 -7
- data/lib/xero-ruby/models/accounting/manual_journals.rb +15 -7
- data/lib/xero-ruby/models/accounting/online_invoice.rb +15 -7
- data/lib/xero-ruby/models/accounting/online_invoices.rb +15 -7
- data/lib/xero-ruby/models/accounting/organisation.rb +15 -9
- data/lib/xero-ruby/models/accounting/organisations.rb +15 -7
- data/lib/xero-ruby/models/accounting/overpayment.rb +15 -7
- data/lib/xero-ruby/models/accounting/overpayments.rb +15 -7
- data/lib/xero-ruby/models/accounting/payment.rb +26 -8
- data/lib/xero-ruby/models/accounting/payment_delete.rb +15 -7
- data/lib/xero-ruby/models/accounting/payment_service.rb +15 -7
- data/lib/xero-ruby/models/accounting/payment_services.rb +15 -7
- data/lib/xero-ruby/models/accounting/payment_term.rb +15 -7
- data/lib/xero-ruby/models/accounting/payment_term_type.rb +1 -2
- data/lib/xero-ruby/models/accounting/payments.rb +15 -7
- data/lib/xero-ruby/models/accounting/phone.rb +15 -7
- data/lib/xero-ruby/models/accounting/prepayment.rb +15 -7
- data/lib/xero-ruby/models/accounting/prepayments.rb +15 -7
- data/lib/xero-ruby/models/accounting/purchase.rb +15 -7
- data/lib/xero-ruby/models/accounting/purchase_order.rb +15 -7
- data/lib/xero-ruby/models/accounting/purchase_orders.rb +15 -7
- data/lib/xero-ruby/models/accounting/quote.rb +15 -7
- data/lib/xero-ruby/models/accounting/quote_line_amount_types.rb +1 -2
- data/lib/xero-ruby/models/accounting/quote_status_codes.rb +1 -2
- data/lib/xero-ruby/models/accounting/quotes.rb +15 -7
- data/lib/xero-ruby/models/accounting/receipt.rb +15 -7
- data/lib/xero-ruby/models/accounting/receipts.rb +15 -7
- data/lib/xero-ruby/models/accounting/repeating_invoice.rb +15 -7
- data/lib/xero-ruby/models/accounting/repeating_invoices.rb +15 -7
- data/lib/xero-ruby/models/accounting/report.rb +15 -7
- data/lib/xero-ruby/models/accounting/report_attribute.rb +15 -7
- data/lib/xero-ruby/models/accounting/report_cell.rb +15 -7
- data/lib/xero-ruby/models/accounting/report_fields.rb +15 -7
- data/lib/xero-ruby/models/accounting/report_row.rb +15 -7
- data/lib/xero-ruby/models/accounting/report_rows.rb +15 -7
- data/lib/xero-ruby/models/accounting/report_with_row.rb +15 -7
- data/lib/xero-ruby/models/accounting/report_with_rows.rb +15 -7
- data/lib/xero-ruby/models/accounting/reports.rb +15 -7
- data/lib/xero-ruby/models/accounting/request_empty.rb +15 -7
- data/lib/xero-ruby/models/accounting/row_type.rb +1 -2
- data/lib/xero-ruby/models/accounting/sales_tracking_category.rb +15 -7
- data/lib/xero-ruby/models/accounting/schedule.rb +15 -7
- data/lib/xero-ruby/models/accounting/setup.rb +15 -7
- data/lib/xero-ruby/models/accounting/tax_component.rb +15 -7
- data/lib/xero-ruby/models/accounting/tax_rate.rb +15 -7
- data/lib/xero-ruby/models/accounting/tax_rates.rb +15 -7
- data/lib/xero-ruby/models/accounting/tax_type.rb +1 -2
- data/lib/xero-ruby/models/accounting/ten_ninety_nine_contact.rb +15 -7
- data/lib/xero-ruby/models/accounting/time_zone.rb +1 -2
- data/lib/xero-ruby/models/accounting/tracking_categories.rb +15 -7
- data/lib/xero-ruby/models/accounting/tracking_category.rb +15 -7
- data/lib/xero-ruby/models/accounting/tracking_option.rb +15 -7
- data/lib/xero-ruby/models/accounting/tracking_options.rb +15 -7
- data/lib/xero-ruby/models/accounting/user.rb +15 -7
- data/lib/xero-ruby/models/accounting/users.rb +15 -7
- data/lib/xero-ruby/models/accounting/validation_error.rb +15 -7
- data/lib/xero-ruby/models/assets/asset.rb +15 -7
- data/lib/xero-ruby/models/assets/asset_status.rb +1 -2
- data/lib/xero-ruby/models/assets/asset_status_query_param.rb +1 -2
- data/lib/xero-ruby/models/assets/asset_type.rb +15 -7
- data/lib/xero-ruby/models/assets/assets.rb +15 -7
- data/lib/xero-ruby/models/assets/book_depreciation_detail.rb +15 -7
- data/lib/xero-ruby/models/assets/book_depreciation_setting.rb +15 -7
- data/lib/xero-ruby/models/assets/error.rb +15 -7
- data/lib/xero-ruby/models/assets/field_validation_errors_element.rb +16 -8
- data/lib/xero-ruby/models/assets/pagination.rb +15 -7
- data/lib/xero-ruby/models/assets/resource_validation_errors_element.rb +16 -8
- data/lib/xero-ruby/models/assets/setting.rb +15 -7
- data/lib/xero-ruby/models/files/association.rb +15 -7
- data/lib/xero-ruby/models/files/file_object.rb +15 -7
- data/lib/xero-ruby/models/files/files.rb +15 -7
- data/lib/xero-ruby/models/files/folder.rb +15 -7
- data/lib/xero-ruby/models/files/folders.rb +15 -7
- data/lib/xero-ruby/models/files/inline_object.rb +15 -7
- data/lib/xero-ruby/models/files/object_group.rb +1 -2
- data/lib/xero-ruby/models/files/object_type.rb +1 -2
- data/lib/xero-ruby/models/files/user.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/account.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/account_type.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/allowance_type.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/api_exception.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/bank_account.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/calendar_type.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/deduction_line.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/deduction_type.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/deduction_type_calculation_type.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/earnings_line.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/earnings_rate.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/earnings_rate_calculation_type.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/earnings_type.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/employee.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/employee_status.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/employees.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/employment_basis.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/employment_termination_payment_type.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/entitlement_final_pay_payout_type.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/home_address.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/leave_accrual_line.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/leave_application.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/leave_applications.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/leave_balance.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/leave_earnings_line.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/leave_line.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/leave_line_calculation_type.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/leave_lines.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/leave_period.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/leave_period_status.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/leave_type.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/leave_type_contribution_type.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/manual_tax_type.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/opening_balances.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/pay_item.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/pay_items.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/pay_run.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/pay_run_status.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/pay_runs.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/pay_template.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/payment_frequency_type.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/payroll_calendar.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/payroll_calendars.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/payslip.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/payslip_lines.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/payslip_object.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/payslip_summary.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/payslips.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/rate_type.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/reimbursement_line.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/reimbursement_lines.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/reimbursement_type.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/residency_status.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/settings.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/settings_object.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/settings_tracking_categories.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/settings_tracking_categories_employee_groups.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/settings_tracking_categories_timesheet_categories.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/state.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/super_fund.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/super_fund_product.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/super_fund_products.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/super_fund_type.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/super_funds.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/super_line.rb +16 -8
- data/lib/xero-ruby/models/payroll_au/super_membership.rb +16 -8
- data/lib/xero-ruby/models/payroll_au/superannuation_calculation_type.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/superannuation_contribution_type.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/superannuation_line.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/tax_declaration.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/tax_line.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/tfn_exemption_type.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/timesheet.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/timesheet_line.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/timesheet_object.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/timesheet_status.rb +1 -2
- data/lib/xero-ruby/models/payroll_au/timesheets.rb +15 -7
- data/lib/xero-ruby/models/payroll_au/validation_error.rb +15 -7
- data/lib/xero-ruby/models/payroll_nz/account.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/accounts.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/address.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/bank_account.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/benefit.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/calendar_type.rb +0 -1
- data/lib/xero-ruby/models/payroll_nz/deduction.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/deduction_line.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/deduction_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/deductions.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/earnings_line.rb +15 -7
- data/lib/xero-ruby/models/payroll_nz/earnings_order.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/earnings_order_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/earnings_orders.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/earnings_rate.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/earnings_rate_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/earnings_rates.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/earnings_template.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/earnings_template_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_earnings_templates.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_leave.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_leave_balance.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_leave_balances.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_leave_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_leave_setup.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_leave_setup_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_leave_type.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_leave_type_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_leave_types.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_leaves.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_opening_balance.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_opening_balances_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_pay_template.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_pay_template_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_pay_templates.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_balance.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_balance_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_summary.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_leaves_summaries.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leave.rb +15 -7
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leave_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leaves.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_tax.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employee_tax_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employees.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employment.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/employment_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/gross_earnings_history.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/invalid_field.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/leave_accrual_line.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/leave_earnings_line.rb +15 -7
- data/lib/xero-ruby/models/payroll_nz/leave_period.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/leave_periods.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/leave_type.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/leave_type_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/leave_types.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/pagination.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/pay_run.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/pay_run_calendar.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/pay_run_calendar_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/pay_run_calendars.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/pay_run_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/pay_runs.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/pay_slip.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/pay_slip_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/pay_slips.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/payment_line.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/payment_method.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/payment_method_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/problem.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/reimbursement.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/reimbursement_line.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/reimbursement_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/reimbursements.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/salary_and_wage.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/salary_and_wage_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/salary_and_wages.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/settings.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/statutory_deduction.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/statutory_deduction_category.rb +0 -1
- data/lib/xero-ruby/models/payroll_nz/statutory_deduction_line.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/statutory_deduction_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/statutory_deductions.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/superannuation_line.rb +15 -7
- data/lib/xero-ruby/models/payroll_nz/superannuation_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/superannuations.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/tax_code.rb +0 -1
- data/lib/xero-ruby/models/payroll_nz/tax_line.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/tax_settings.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/timesheet.rb +15 -7
- data/lib/xero-ruby/models/payroll_nz/timesheet_earnings_line.rb +15 -7
- data/lib/xero-ruby/models/payroll_nz/timesheet_line.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/timesheet_line_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/timesheet_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/timesheets.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/tracking_categories.rb +14 -6
- data/lib/xero-ruby/models/payroll_nz/tracking_category.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/account.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/accounts.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/address.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/bank_account.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/benefit.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/benefit_line.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/benefit_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/benefits.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/court_order_line.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/deduction.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/deduction_line.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/deduction_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/deductions.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/earnings_line.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/earnings_order.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/earnings_order_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/earnings_orders.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/earnings_rate.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/earnings_rate_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/earnings_rates.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/earnings_template.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/earnings_template_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_leave.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_leave_balance.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_leave_balances.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_leave_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_leave_type.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_leave_type_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_leave_types.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_leaves.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_opening_balances.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_opening_balances_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_pay_template.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_pay_template_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_pay_templates.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_balance.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_balance_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_summary.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_leaves_summaries.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leave.rb +15 -7
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leave_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leaves.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_tax.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employee_tax_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employees.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employment.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/employment_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/invalid_field.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/leave_accrual_line.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/leave_earnings_line.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/leave_period.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/leave_periods.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/leave_type.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/leave_type_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/leave_types.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/pagination.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/pay_run.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/pay_run_calendar.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/pay_run_calendar_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/pay_run_calendars.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/pay_run_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/pay_runs.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/payment_line.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/payment_method.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/payment_method_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/payslip.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/payslip_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/payslips.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/problem.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/reimbursement.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/reimbursement_line.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/reimbursement_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/reimbursements.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/salary_and_wage.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/salary_and_wage_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/salary_and_wages.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/settings.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/statutory_deduction.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/statutory_deduction_category.rb +0 -1
- data/lib/xero-ruby/models/payroll_uk/tax_line.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/timesheet.rb +15 -7
- data/lib/xero-ruby/models/payroll_uk/timesheet_earnings_line.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/timesheet_line.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/timesheet_line_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/timesheet_object.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/timesheets.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/tracking_categories.rb +14 -6
- data/lib/xero-ruby/models/payroll_uk/tracking_category.rb +14 -6
- data/lib/xero-ruby/models/projects/amount.rb +14 -6
- data/lib/xero-ruby/models/projects/charge_type.rb +0 -1
- data/lib/xero-ruby/models/projects/currency_code.rb +0 -1
- data/lib/xero-ruby/models/projects/error.rb +14 -6
- data/lib/xero-ruby/models/projects/pagination.rb +14 -6
- data/lib/xero-ruby/models/projects/project.rb +14 -6
- data/lib/xero-ruby/models/projects/project_create_or_update.rb +14 -6
- data/lib/xero-ruby/models/projects/project_patch.rb +14 -6
- data/lib/xero-ruby/models/projects/project_status.rb +0 -1
- data/lib/xero-ruby/models/projects/project_user.rb +14 -6
- data/lib/xero-ruby/models/projects/project_users.rb +14 -6
- data/lib/xero-ruby/models/projects/projects.rb +14 -6
- data/lib/xero-ruby/models/projects/task.rb +14 -6
- data/lib/xero-ruby/models/projects/task_create_or_update.rb +14 -6
- data/lib/xero-ruby/models/projects/tasks.rb +14 -6
- data/lib/xero-ruby/models/projects/time_entries.rb +14 -6
- data/lib/xero-ruby/models/projects/time_entry.rb +14 -6
- data/lib/xero-ruby/models/projects/time_entry_create_or_update.rb +14 -6
- data/lib/xero-ruby/string_serialization.rb +52 -0
- data/lib/xero-ruby/version.rb +3 -3
- data/lib/xero-ruby/where.rb +65 -0
- data/spec/api_client_spec.rb +101 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/helper_methods_spec.rb +82 -0
- data/spec/where_spec.rb +82 -0
- metadata +12 -456
- data/CODE_OF_CONDUCT.md +0 -76
- data/CONTRIBUTING.md +0 -82
- data/Gemfile +0 -9
- data/Gemfile.lock +0 -68
- data/LICENSE +0 -21
- data/Rakefile +0 -10
- data/build_notes.md +0 -52
- data/docs/accounting/Account.md +0 -55
- data/docs/accounting/AccountType.md +0 -16
- data/docs/accounting/AccountingApi.md +0 -15310
- data/docs/accounting/Accounts.md +0 -17
- data/docs/accounting/AccountsPayable.md +0 -19
- data/docs/accounting/AccountsReceivable.md +0 -19
- data/docs/accounting/Action.md +0 -19
- data/docs/accounting/Actions.md +0 -17
- data/docs/accounting/Address.md +0 -35
- data/docs/accounting/AddressForOrganisation.md +0 -35
- data/docs/accounting/Allocation.md +0 -31
- data/docs/accounting/Allocations.md +0 -17
- data/docs/accounting/Attachment.md +0 -27
- data/docs/accounting/Attachments.md +0 -17
- data/docs/accounting/BalanceDetails.md +0 -21
- data/docs/accounting/Balances.md +0 -19
- data/docs/accounting/BankTransaction.md +0 -59
- data/docs/accounting/BankTransactions.md +0 -17
- data/docs/accounting/BankTransfer.md +0 -37
- data/docs/accounting/BankTransfers.md +0 -17
- data/docs/accounting/BatchPayment.md +0 -47
- data/docs/accounting/BatchPaymentDetails.md +0 -25
- data/docs/accounting/BatchPayments.md +0 -17
- data/docs/accounting/Bill.md +0 -19
- data/docs/accounting/BrandingTheme.md +0 -27
- data/docs/accounting/BrandingThemes.md +0 -17
- data/docs/accounting/CISOrgSetting.md +0 -21
- data/docs/accounting/CISSetting.md +0 -19
- data/docs/accounting/CISSettings.md +0 -17
- data/docs/accounting/Contact.md +0 -93
- data/docs/accounting/ContactGroup.md +0 -23
- data/docs/accounting/ContactGroups.md +0 -17
- data/docs/accounting/ContactPerson.md +0 -23
- data/docs/accounting/Contacts.md +0 -17
- data/docs/accounting/ConversionBalances.md +0 -21
- data/docs/accounting/ConversionDate.md +0 -19
- data/docs/accounting/CountryCode.md +0 -16
- data/docs/accounting/CreditNote.md +0 -73
- data/docs/accounting/CreditNotes.md +0 -17
- data/docs/accounting/Currencies.md +0 -17
- data/docs/accounting/Currency.md +0 -19
- data/docs/accounting/CurrencyCode.md +0 -16
- data/docs/accounting/Element.md +0 -31
- data/docs/accounting/Employee.md +0 -31
- data/docs/accounting/Employees.md +0 -17
- data/docs/accounting/Error.md +0 -23
- data/docs/accounting/ExpenseClaim.md +0 -39
- data/docs/accounting/ExpenseClaims.md +0 -17
- data/docs/accounting/ExternalLink.md +0 -21
- data/docs/accounting/HistoryRecord.md +0 -23
- data/docs/accounting/HistoryRecords.md +0 -17
- data/docs/accounting/ImportSummary.md +0 -19
- data/docs/accounting/ImportSummaryAccounts.md +0 -33
- data/docs/accounting/ImportSummaryObject.md +0 -17
- data/docs/accounting/ImportSummaryOrganisation.md +0 -17
- data/docs/accounting/Invoice.md +0 -95
- data/docs/accounting/InvoiceReminder.md +0 -17
- data/docs/accounting/InvoiceReminders.md +0 -17
- data/docs/accounting/Invoices.md +0 -17
- data/docs/accounting/Item.md +0 -47
- data/docs/accounting/Items.md +0 -17
- data/docs/accounting/Journal.md +0 -31
- data/docs/accounting/JournalLine.md +0 -39
- data/docs/accounting/Journals.md +0 -17
- data/docs/accounting/LineAmountTypes.md +0 -16
- data/docs/accounting/LineItem.md +0 -41
- data/docs/accounting/LineItemTracking.md +0 -23
- data/docs/accounting/LinkedTransaction.md +0 -37
- data/docs/accounting/LinkedTransactions.md +0 -17
- data/docs/accounting/ManualJournal.md +0 -43
- data/docs/accounting/ManualJournalLine.md +0 -31
- data/docs/accounting/ManualJournals.md +0 -17
- data/docs/accounting/OnlineInvoice.md +0 -17
- data/docs/accounting/OnlineInvoices.md +0 -17
- data/docs/accounting/Organisation.md +0 -81
- data/docs/accounting/Organisations.md +0 -17
- data/docs/accounting/Overpayment.md +0 -53
- data/docs/accounting/Overpayments.md +0 -17
- data/docs/accounting/Payment.md +0 -63
- data/docs/accounting/PaymentDelete.md +0 -17
- data/docs/accounting/PaymentService.md +0 -27
- data/docs/accounting/PaymentServices.md +0 -17
- data/docs/accounting/PaymentTerm.md +0 -19
- data/docs/accounting/PaymentTermType.md +0 -16
- data/docs/accounting/Payments.md +0 -17
- data/docs/accounting/Phone.md +0 -23
- data/docs/accounting/Prepayment.md +0 -53
- data/docs/accounting/Prepayments.md +0 -17
- data/docs/accounting/Purchase.md +0 -23
- data/docs/accounting/PurchaseOrder.md +0 -71
- data/docs/accounting/PurchaseOrders.md +0 -17
- data/docs/accounting/Quote.md +0 -63
- data/docs/accounting/QuoteLineAmountTypes.md +0 -16
- data/docs/accounting/QuoteStatusCodes.md +0 -16
- data/docs/accounting/Quotes.md +0 -17
- data/docs/accounting/Receipt.md +0 -51
- data/docs/accounting/Receipts.md +0 -17
- data/docs/accounting/RepeatingInvoice.md +0 -47
- data/docs/accounting/RepeatingInvoices.md +0 -17
- data/docs/accounting/Report.md +0 -29
- data/docs/accounting/ReportAttribute.md +0 -19
- data/docs/accounting/ReportCell.md +0 -19
- data/docs/accounting/ReportFields.md +0 -21
- data/docs/accounting/ReportRow.md +0 -21
- data/docs/accounting/ReportRows.md +0 -23
- data/docs/accounting/ReportWithRow.md +0 -33
- data/docs/accounting/ReportWithRows.md +0 -17
- data/docs/accounting/Reports.md +0 -17
- data/docs/accounting/RequestEmpty.md +0 -17
- data/docs/accounting/RowType.md +0 -16
- data/docs/accounting/SalesTrackingCategory.md +0 -19
- data/docs/accounting/Schedule.md +0 -29
- data/docs/accounting/Setup.md +0 -21
- data/docs/accounting/TaxComponent.md +0 -23
- data/docs/accounting/TaxRate.md +0 -39
- data/docs/accounting/TaxRates.md +0 -17
- data/docs/accounting/TaxType.md +0 -16
- data/docs/accounting/TenNinetyNineContact.md +0 -59
- data/docs/accounting/TimeZone.md +0 -16
- data/docs/accounting/TrackingCategories.md +0 -17
- data/docs/accounting/TrackingCategory.md +0 -27
- data/docs/accounting/TrackingOption.md +0 -23
- data/docs/accounting/TrackingOptions.md +0 -17
- data/docs/accounting/User.md +0 -29
- data/docs/accounting/Users.md +0 -17
- data/docs/accounting/ValidationError.md +0 -17
- data/docs/assets/Asset.md +0 -47
- data/docs/assets/AssetApi.md +0 -426
- data/docs/assets/AssetStatus.md +0 -16
- data/docs/assets/AssetStatusQueryParam.md +0 -16
- data/docs/assets/AssetType.md +0 -29
- data/docs/assets/Assets.md +0 -19
- data/docs/assets/BookDepreciationDetail.md +0 -29
- data/docs/assets/BookDepreciationSetting.md +0 -31
- data/docs/assets/Error.md +0 -25
- data/docs/assets/FieldValidationErrorsElement.md +0 -27
- data/docs/assets/Pagination.md +0 -23
- data/docs/assets/ResourceValidationErrorsElement.md +0 -25
- data/docs/assets/Setting.md +0 -31
- data/docs/files/Association.md +0 -23
- data/docs/files/FileObject.md +0 -31
- data/docs/files/FileResponse204.md +0 -17
- data/docs/files/Files.md +0 -23
- data/docs/files/FilesApi.md +0 -1116
- data/docs/files/Folder.md +0 -25
- data/docs/files/Folders.md +0 -17
- data/docs/files/InlineObject.md +0 -23
- data/docs/files/ObjectGroup.md +0 -16
- data/docs/files/ObjectType.md +0 -16
- data/docs/files/User.md +0 -25
- data/docs/payroll_au/APIException.md +0 -21
- data/docs/payroll_au/Account.md +0 -23
- data/docs/payroll_au/AccountType.md +0 -16
- data/docs/payroll_au/AllowanceType.md +0 -16
- data/docs/payroll_au/BankAccount.md +0 -27
- data/docs/payroll_au/CalendarType.md +0 -16
- data/docs/payroll_au/DeductionLine.md +0 -25
- data/docs/payroll_au/DeductionType.md +0 -33
- data/docs/payroll_au/DeductionTypeCalculationType.md +0 -16
- data/docs/payroll_au/EarningsLine.md +0 -33
- data/docs/payroll_au/EarningsRate.md +0 -49
- data/docs/payroll_au/EarningsRateCalculationType.md +0 -16
- data/docs/payroll_au/EarningsType.md +0 -16
- data/docs/payroll_au/Employee.md +0 -77
- data/docs/payroll_au/EmployeeStatus.md +0 -16
- data/docs/payroll_au/Employees.md +0 -17
- data/docs/payroll_au/EmploymentBasis.md +0 -16
- data/docs/payroll_au/EmploymentTerminationPaymentType.md +0 -16
- data/docs/payroll_au/EntitlementFinalPayPayoutType.md +0 -16
- data/docs/payroll_au/HomeAddress.md +0 -27
- data/docs/payroll_au/LeaveAccrualLine.md +0 -21
- data/docs/payroll_au/LeaveApplication.md +0 -35
- data/docs/payroll_au/LeaveApplications.md +0 -17
- data/docs/payroll_au/LeaveBalance.md +0 -23
- data/docs/payroll_au/LeaveEarningsLine.md +0 -21
- data/docs/payroll_au/LeaveLine.md +0 -31
- data/docs/payroll_au/LeaveLineCalculationType.md +0 -16
- data/docs/payroll_au/LeaveLines.md +0 -17
- data/docs/payroll_au/LeavePeriod.md +0 -23
- data/docs/payroll_au/LeavePeriodStatus.md +0 -16
- data/docs/payroll_au/LeaveType.md +0 -33
- data/docs/payroll_au/LeaveTypeContributionType.md +0 -16
- data/docs/payroll_au/ManualTaxType.md +0 -16
- data/docs/payroll_au/OpeningBalances.md +0 -29
- data/docs/payroll_au/PayItem.md +0 -23
- data/docs/payroll_au/PayItems.md +0 -17
- data/docs/payroll_au/PayRun.md +0 -47
- data/docs/payroll_au/PayRunStatus.md +0 -16
- data/docs/payroll_au/PayRuns.md +0 -17
- data/docs/payroll_au/PayTemplate.md +0 -25
- data/docs/payroll_au/PaymentFrequencyType.md +0 -16
- data/docs/payroll_au/PayrollAuApi.md +0 -2018
- data/docs/payroll_au/PayrollCalendar.md +0 -29
- data/docs/payroll_au/PayrollCalendars.md +0 -17
- data/docs/payroll_au/Payslip.md +0 -53
- data/docs/payroll_au/PayslipLines.md +0 -31
- data/docs/payroll_au/PayslipObject.md +0 -17
- data/docs/payroll_au/PayslipSummary.md +0 -39
- data/docs/payroll_au/Payslips.md +0 -17
- data/docs/payroll_au/RateType.md +0 -16
- data/docs/payroll_au/ReimbursementLine.md +0 -23
- data/docs/payroll_au/ReimbursementLines.md +0 -17
- data/docs/payroll_au/ReimbursementType.md +0 -25
- data/docs/payroll_au/ResidencyStatus.md +0 -16
- data/docs/payroll_au/Settings.md +0 -21
- data/docs/payroll_au/SettingsObject.md +0 -17
- data/docs/payroll_au/SettingsTrackingCategories.md +0 -19
- data/docs/payroll_au/SettingsTrackingCategoriesEmployeeGroups.md +0 -19
- data/docs/payroll_au/SettingsTrackingCategoriesTimesheetCategories.md +0 -19
- data/docs/payroll_au/State.md +0 -16
- data/docs/payroll_au/SuperFund.md +0 -41
- data/docs/payroll_au/SuperFundProduct.md +0 -23
- data/docs/payroll_au/SuperFundProducts.md +0 -17
- data/docs/payroll_au/SuperFundType.md +0 -16
- data/docs/payroll_au/SuperFunds.md +0 -17
- data/docs/payroll_au/SuperLine.md +0 -31
- data/docs/payroll_au/SuperMembership.md +0 -21
- data/docs/payroll_au/SuperannuationCalculationType.md +0 -16
- data/docs/payroll_au/SuperannuationContributionType.md +0 -16
- data/docs/payroll_au/SuperannuationLine.md +0 -33
- data/docs/payroll_au/TFNExemptionType.md +0 -16
- data/docs/payroll_au/TaxDeclaration.md +0 -47
- data/docs/payroll_au/TaxLine.md +0 -27
- data/docs/payroll_au/Timesheet.md +0 -33
- data/docs/payroll_au/TimesheetLine.md +0 -23
- data/docs/payroll_au/TimesheetObject.md +0 -17
- data/docs/payroll_au/TimesheetStatus.md +0 -16
- data/docs/payroll_au/Timesheets.md +0 -17
- data/docs/payroll_au/ValidationError.md +0 -17
- data/docs/payroll_nz/Account.md +0 -23
- data/docs/payroll_nz/Accounts.md +0 -17
- data/docs/payroll_nz/Address.md +0 -27
- data/docs/payroll_nz/BankAccount.md +0 -31
- data/docs/payroll_nz/Benefit.md +0 -35
- data/docs/payroll_nz/CalendarType.md +0 -16
- data/docs/payroll_nz/Deduction.md +0 -27
- data/docs/payroll_nz/DeductionLine.md +0 -25
- data/docs/payroll_nz/DeductionObject.md +0 -21
- data/docs/payroll_nz/Deductions.md +0 -21
- data/docs/payroll_nz/EarningsLine.md +0 -35
- data/docs/payroll_nz/EarningsOrder.md +0 -25
- data/docs/payroll_nz/EarningsOrderObject.md +0 -21
- data/docs/payroll_nz/EarningsOrders.md +0 -21
- data/docs/payroll_nz/EarningsRate.md +0 -35
- data/docs/payroll_nz/EarningsRateObject.md +0 -21
- data/docs/payroll_nz/EarningsRates.md +0 -21
- data/docs/payroll_nz/EarningsTemplate.md +0 -27
- data/docs/payroll_nz/EarningsTemplateObject.md +0 -21
- data/docs/payroll_nz/Employee.md +0 -43
- data/docs/payroll_nz/EmployeeEarningsTemplates.md +0 -21
- data/docs/payroll_nz/EmployeeLeave.md +0 -29
- data/docs/payroll_nz/EmployeeLeaveBalance.md +0 -23
- data/docs/payroll_nz/EmployeeLeaveBalances.md +0 -21
- data/docs/payroll_nz/EmployeeLeaveObject.md +0 -21
- data/docs/payroll_nz/EmployeeLeaveSetup.md +0 -29
- data/docs/payroll_nz/EmployeeLeaveSetupObject.md +0 -21
- data/docs/payroll_nz/EmployeeLeaveType.md +0 -35
- data/docs/payroll_nz/EmployeeLeaveTypeObject.md +0 -21
- data/docs/payroll_nz/EmployeeLeaveTypes.md +0 -21
- data/docs/payroll_nz/EmployeeLeaves.md +0 -21
- data/docs/payroll_nz/EmployeeObject.md +0 -21
- data/docs/payroll_nz/EmployeeOpeningBalance.md +0 -23
- data/docs/payroll_nz/EmployeeOpeningBalancesObject.md +0 -21
- data/docs/payroll_nz/EmployeePayTemplate.md +0 -19
- data/docs/payroll_nz/EmployeePayTemplateObject.md +0 -21
- data/docs/payroll_nz/EmployeePayTemplates.md +0 -21
- data/docs/payroll_nz/EmployeeStatutoryLeaveBalance.md +0 -21
- data/docs/payroll_nz/EmployeeStatutoryLeaveBalanceObject.md +0 -21
- data/docs/payroll_nz/EmployeeStatutoryLeaveSummary.md +0 -29
- data/docs/payroll_nz/EmployeeStatutoryLeavesSummaries.md +0 -21
- data/docs/payroll_nz/EmployeeStatutorySickLeave.md +0 -47
- data/docs/payroll_nz/EmployeeStatutorySickLeaveObject.md +0 -21
- data/docs/payroll_nz/EmployeeStatutorySickLeaves.md +0 -21
- data/docs/payroll_nz/EmployeeTax.md +0 -47
- data/docs/payroll_nz/EmployeeTaxObject.md +0 -21
- data/docs/payroll_nz/Employees.md +0 -21
- data/docs/payroll_nz/Employment.md +0 -21
- data/docs/payroll_nz/EmploymentObject.md +0 -21
- data/docs/payroll_nz/GrossEarningsHistory.md +0 -19
- data/docs/payroll_nz/InvalidField.md +0 -19
- data/docs/payroll_nz/LeaveAccrualLine.md +0 -19
- data/docs/payroll_nz/LeaveEarningsLine.md +0 -35
- data/docs/payroll_nz/LeavePeriod.md +0 -23
- data/docs/payroll_nz/LeavePeriods.md +0 -21
- data/docs/payroll_nz/LeaveType.md +0 -27
- data/docs/payroll_nz/LeaveTypeObject.md +0 -21
- data/docs/payroll_nz/LeaveTypes.md +0 -21
- data/docs/payroll_nz/Pagination.md +0 -23
- data/docs/payroll_nz/PayRun.md +0 -39
- data/docs/payroll_nz/PayRunCalendar.md +0 -29
- data/docs/payroll_nz/PayRunCalendarObject.md +0 -21
- data/docs/payroll_nz/PayRunCalendars.md +0 -21
- data/docs/payroll_nz/PayRunObject.md +0 -21
- data/docs/payroll_nz/PayRuns.md +0 -21
- data/docs/payroll_nz/PaySlip.md +0 -75
- data/docs/payroll_nz/PaySlipObject.md +0 -21
- data/docs/payroll_nz/PaySlips.md +0 -21
- data/docs/payroll_nz/PaymentLine.md +0 -25
- data/docs/payroll_nz/PaymentMethod.md +0 -19
- data/docs/payroll_nz/PaymentMethodObject.md +0 -21
- data/docs/payroll_nz/PayrollNzApi.md +0 -4544
- data/docs/payroll_nz/Problem.md +0 -27
- data/docs/payroll_nz/Reimbursement.md +0 -33
- data/docs/payroll_nz/ReimbursementLine.md +0 -25
- data/docs/payroll_nz/ReimbursementObject.md +0 -21
- data/docs/payroll_nz/Reimbursements.md +0 -21
- data/docs/payroll_nz/SalaryAndWage.md +0 -35
- data/docs/payroll_nz/SalaryAndWageObject.md +0 -21
- data/docs/payroll_nz/SalaryAndWages.md +0 -21
- data/docs/payroll_nz/Settings.md +0 -21
- data/docs/payroll_nz/StatutoryDeduction.md +0 -25
- data/docs/payroll_nz/StatutoryDeductionCategory.md +0 -16
- data/docs/payroll_nz/StatutoryDeductionLine.md +0 -23
- data/docs/payroll_nz/StatutoryDeductionObject.md +0 -21
- data/docs/payroll_nz/StatutoryDeductions.md +0 -21
- data/docs/payroll_nz/SuperannuationLine.md +0 -27
- data/docs/payroll_nz/SuperannuationObject.md +0 -21
- data/docs/payroll_nz/Superannuations.md +0 -21
- data/docs/payroll_nz/TaxCode.md +0 -16
- data/docs/payroll_nz/TaxLine.md +0 -25
- data/docs/payroll_nz/TaxSettings.md +0 -27
- data/docs/payroll_nz/Timesheet.md +0 -33
- data/docs/payroll_nz/TimesheetEarningsLine.md +0 -35
- data/docs/payroll_nz/TimesheetLine.md +0 -25
- data/docs/payroll_nz/TimesheetLineObject.md +0 -21
- data/docs/payroll_nz/TimesheetObject.md +0 -21
- data/docs/payroll_nz/Timesheets.md +0 -21
- data/docs/payroll_nz/TrackingCategories.md +0 -21
- data/docs/payroll_nz/TrackingCategory.md +0 -19
- data/docs/payroll_uk/Account.md +0 -23
- data/docs/payroll_uk/Accounts.md +0 -17
- data/docs/payroll_uk/Address.md +0 -25
- data/docs/payroll_uk/BankAccount.md +0 -21
- data/docs/payroll_uk/Benefit.md +0 -43
- data/docs/payroll_uk/BenefitLine.md +0 -25
- data/docs/payroll_uk/BenefitObject.md +0 -21
- data/docs/payroll_uk/Benefits.md +0 -21
- data/docs/payroll_uk/CourtOrderLine.md +0 -19
- data/docs/payroll_uk/Deduction.md +0 -47
- data/docs/payroll_uk/DeductionLine.md +0 -23
- data/docs/payroll_uk/DeductionObject.md +0 -21
- data/docs/payroll_uk/Deductions.md +0 -21
- data/docs/payroll_uk/EarningsLine.md +0 -33
- data/docs/payroll_uk/EarningsOrder.md +0 -25
- data/docs/payroll_uk/EarningsOrderObject.md +0 -21
- data/docs/payroll_uk/EarningsOrders.md +0 -21
- data/docs/payroll_uk/EarningsRate.md +0 -35
- data/docs/payroll_uk/EarningsRateObject.md +0 -21
- data/docs/payroll_uk/EarningsRates.md +0 -21
- data/docs/payroll_uk/EarningsTemplate.md +0 -27
- data/docs/payroll_uk/EarningsTemplateObject.md +0 -21
- data/docs/payroll_uk/Employee.md +0 -45
- data/docs/payroll_uk/EmployeeLeave.md +0 -29
- data/docs/payroll_uk/EmployeeLeaveBalance.md +0 -23
- data/docs/payroll_uk/EmployeeLeaveBalances.md +0 -21
- data/docs/payroll_uk/EmployeeLeaveObject.md +0 -21
- data/docs/payroll_uk/EmployeeLeaveType.md +0 -27
- data/docs/payroll_uk/EmployeeLeaveTypeObject.md +0 -21
- data/docs/payroll_uk/EmployeeLeaveTypes.md +0 -21
- data/docs/payroll_uk/EmployeeLeaves.md +0 -21
- data/docs/payroll_uk/EmployeeObject.md +0 -21
- data/docs/payroll_uk/EmployeeOpeningBalances.md +0 -27
- data/docs/payroll_uk/EmployeeOpeningBalancesObject.md +0 -21
- data/docs/payroll_uk/EmployeePayTemplate.md +0 -19
- data/docs/payroll_uk/EmployeePayTemplateObject.md +0 -21
- data/docs/payroll_uk/EmployeePayTemplates.md +0 -21
- data/docs/payroll_uk/EmployeeStatutoryLeaveBalance.md +0 -21
- data/docs/payroll_uk/EmployeeStatutoryLeaveBalanceObject.md +0 -21
- data/docs/payroll_uk/EmployeeStatutoryLeaveSummary.md +0 -29
- data/docs/payroll_uk/EmployeeStatutoryLeavesSummaries.md +0 -21
- data/docs/payroll_uk/EmployeeStatutorySickLeave.md +0 -47
- data/docs/payroll_uk/EmployeeStatutorySickLeaveObject.md +0 -21
- data/docs/payroll_uk/EmployeeStatutorySickLeaves.md +0 -21
- data/docs/payroll_uk/EmployeeTax.md +0 -37
- data/docs/payroll_uk/EmployeeTaxObject.md +0 -21
- data/docs/payroll_uk/Employees.md +0 -21
- data/docs/payroll_uk/Employment.md +0 -23
- data/docs/payroll_uk/EmploymentObject.md +0 -21
- data/docs/payroll_uk/InvalidField.md +0 -19
- data/docs/payroll_uk/LeaveAccrualLine.md +0 -19
- data/docs/payroll_uk/LeaveEarningsLine.md +0 -27
- data/docs/payroll_uk/LeavePeriod.md +0 -23
- data/docs/payroll_uk/LeavePeriods.md +0 -21
- data/docs/payroll_uk/LeaveType.md +0 -31
- data/docs/payroll_uk/LeaveTypeObject.md +0 -21
- data/docs/payroll_uk/LeaveTypes.md +0 -21
- data/docs/payroll_uk/Pagination.md +0 -23
- data/docs/payroll_uk/PayRun.md +0 -39
- data/docs/payroll_uk/PayRunCalendar.md +0 -29
- data/docs/payroll_uk/PayRunCalendarObject.md +0 -21
- data/docs/payroll_uk/PayRunCalendars.md +0 -21
- data/docs/payroll_uk/PayRunObject.md +0 -21
- data/docs/payroll_uk/PayRuns.md +0 -21
- data/docs/payroll_uk/PaymentLine.md +0 -25
- data/docs/payroll_uk/PaymentMethod.md +0 -19
- data/docs/payroll_uk/PaymentMethodObject.md +0 -21
- data/docs/payroll_uk/PayrollUkApi.md +0 -4683
- data/docs/payroll_uk/Payslip.md +0 -71
- data/docs/payroll_uk/PayslipObject.md +0 -21
- data/docs/payroll_uk/Payslips.md +0 -21
- data/docs/payroll_uk/Problem.md +0 -27
- data/docs/payroll_uk/Reimbursement.md +0 -23
- data/docs/payroll_uk/ReimbursementLine.md +0 -21
- data/docs/payroll_uk/ReimbursementObject.md +0 -21
- data/docs/payroll_uk/Reimbursements.md +0 -21
- data/docs/payroll_uk/SalaryAndWage.md +0 -33
- data/docs/payroll_uk/SalaryAndWageObject.md +0 -21
- data/docs/payroll_uk/SalaryAndWages.md +0 -21
- data/docs/payroll_uk/Settings.md +0 -21
- data/docs/payroll_uk/StatutoryDeduction.md +0 -25
- data/docs/payroll_uk/StatutoryDeductionCategory.md +0 -16
- data/docs/payroll_uk/TaxLine.md +0 -27
- data/docs/payroll_uk/Timesheet.md +0 -33
- data/docs/payroll_uk/TimesheetEarningsLine.md +0 -27
- data/docs/payroll_uk/TimesheetLine.md +0 -25
- data/docs/payroll_uk/TimesheetLineObject.md +0 -21
- data/docs/payroll_uk/TimesheetObject.md +0 -21
- data/docs/payroll_uk/Timesheets.md +0 -21
- data/docs/payroll_uk/TrackingCategories.md +0 -21
- data/docs/payroll_uk/TrackingCategory.md +0 -19
- data/docs/projects/Amount.md +0 -19
- data/docs/projects/ChargeType.md +0 -16
- data/docs/projects/CurrencyCode.md +0 -16
- data/docs/projects/Error.md +0 -19
- data/docs/projects/Pagination.md +0 -23
- data/docs/projects/Project.md +0 -59
- data/docs/projects/ProjectApi.md +0 -956
- data/docs/projects/ProjectCreateOrUpdate.md +0 -23
- data/docs/projects/ProjectPatch.md +0 -17
- data/docs/projects/ProjectStatus.md +0 -16
- data/docs/projects/ProjectUser.md +0 -21
- data/docs/projects/ProjectUsers.md +0 -19
- data/docs/projects/Projects.md +0 -19
- data/docs/projects/Task.md +0 -45
- data/docs/projects/TaskCreateOrUpdate.md +0 -23
- data/docs/projects/Tasks.md +0 -19
- data/docs/projects/TimeEntries.md +0 -19
- data/docs/projects/TimeEntry.md +0 -33
- data/docs/projects/TimeEntryCreateOrUpdate.md +0 -25
- data/git_push.sh +0 -55
- data/spec/files/models/file_response204_spec.rb +0 -41
- data/xero-ruby.gemspec +0 -38
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 30a7bb87ce9cfceb77f481f5cdc6359b767aa5fec1f4026bd21fb79b8de303f3
|
|
4
|
+
data.tar.gz: 60992fcee98c7e596922ef53b5a7f8f4e10cacc690306c35155d8139d602eeaa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4cc57b00a6dd63d307bc2073270bf41f96135a7e866c2815c2fd802e5ecfb87d1f2187e83fb9001ad66c880c0c49f16a821e2e09fd20d7cf35b84a606357d909
|
|
7
|
+
data.tar.gz: 2568596be9f223d4baac9d48d2b83a4df3eae8bacacc62b1f7fdc12a94a89ee79bf388607fe77ac55e5e5e85dddace40144e37eb5064801f0ef9a241ccb0aaae
|
data/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# xero-ruby
|
|
2
2
|
Xero Ruby SDK for OAuth 2.0 generated from [Xero API OpenAPI Spec](https://github.com/XeroAPI/Xero-OpenAPI).
|
|
3
3
|
|
|
4
|
-
[](https://rubygems.org/gems/xero-ruby)
|
|
5
5
|
|
|
6
6
|
# Documentation
|
|
7
|
-
Xero Ruby SDK supports Xero's OAuth2.0 authentication and
|
|
7
|
+
Xero Ruby SDK supports Xero's OAuth2.0 authentication and the following Xero API sets.
|
|
8
8
|
|
|
9
9
|
## API Client Docs
|
|
10
10
|
* [Accounting Api Docs](/docs/accounting/AccountingApi.md)
|
|
@@ -51,7 +51,7 @@ gem 'xero-ruby'
|
|
|
51
51
|
|
|
52
52
|
### Creating a Client
|
|
53
53
|
* Get the credential values from an API application at https://developer.xero.com/myapps/.
|
|
54
|
-
* Include [neccesary scopes](https://developer.xero.com/documentation/oauth2/scopes) as
|
|
54
|
+
* Include [neccesary scopes](https://developer.xero.com/documentation/oauth2/scopes) as a space-seperated list
|
|
55
55
|
* example => "`openid profile email accounting.transactions accounting.settings`"
|
|
56
56
|
```
|
|
57
57
|
require 'xero-ruby'
|
|
@@ -61,7 +61,8 @@ creds = {
|
|
|
61
61
|
client_id: ENV['CLIENT_ID'],
|
|
62
62
|
client_secret: ENV['CLIENT_SECRET'],
|
|
63
63
|
redirect_uri: ENV['REDIRECT_URI'],
|
|
64
|
-
scopes: ENV['SCOPES']
|
|
64
|
+
scopes: ENV['SCOPES'],
|
|
65
|
+
state: "this-can-be-a-custom-state-parameter" # optional
|
|
65
66
|
}
|
|
66
67
|
xero_client ||= XeroRuby::ApiClient.new(credentials: creds)
|
|
67
68
|
```
|
|
@@ -86,6 +87,9 @@ In your callback route catch, calling `get_token_set_from_callback` will exchang
|
|
|
86
87
|
token_set = xero_client.get_token_set_from_callback(params)
|
|
87
88
|
|
|
88
89
|
# save token_set JSON in a datastore in relation to the user authentication
|
|
90
|
+
|
|
91
|
+
puts params['state']
|
|
92
|
+
=> "this-can-be-a-custom-state-parameter"
|
|
89
93
|
```
|
|
90
94
|
|
|
91
95
|
## Making API calls once you have a token_set
|
|
@@ -179,6 +183,10 @@ accounts = xero_client.accounting_api.get_accounts(tenant_id).accounts
|
|
|
179
183
|
invoices = { invoices: [{ type: XeroRuby::Accounting::Invoice::ACCREC, contact: { contact_id: contacts[0].contact_id }, line_items: [{ description: "Big Agency", quantity: BigDecimal("2.0"), unit_amount: BigDecimal("50.99"), account_code: "600", tax_type: XeroRuby::Accounting::TaxType::NONE }], date: "2019-03-11", due_date: "2018-12-10", reference: "Website Design", status: XeroRuby::Accounting::Invoice::DRAFT }]}
|
|
180
184
|
invoice = xero_client.accounting_api.create_invoices(tenant_id, invoices).invoices.first
|
|
181
185
|
|
|
186
|
+
# display out all the serialized data as a hash
|
|
187
|
+
puts invoices.attributes
|
|
188
|
+
=> {type: 'ACCREC', line_items: [...]}
|
|
189
|
+
|
|
182
190
|
# Create History
|
|
183
191
|
payment = xero_client.accounting_api.get_payments(tenant_id).payments.first
|
|
184
192
|
history_records = { history_records: [{ details: "This payment now has some History!" }]}
|
|
@@ -291,11 +299,21 @@ opts = {
|
|
|
291
299
|
order: 'UpdatedDateUtc DESC',
|
|
292
300
|
where: {
|
|
293
301
|
is_customer: ['==', true],
|
|
294
|
-
is_supplier: ['==', true]
|
|
302
|
+
is_supplier: ['==', true],
|
|
303
|
+
name: ['StartsWith', 'Rick']
|
|
295
304
|
}
|
|
296
305
|
}
|
|
297
306
|
xero_client.accounting_api.get_contacts(tenant_id, opts).contacts
|
|
298
307
|
|
|
308
|
+
# for more complex where filtering that requires a null check, pass those in as a string
|
|
309
|
+
# see https://developer.xero.com/documentation/api/requests-and-responses for more
|
|
310
|
+
|
|
311
|
+
opts = {
|
|
312
|
+
where: {
|
|
313
|
+
email_address: '!=null&&EmailAddress.StartsWith("chris.knight@")'
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
299
317
|
# Bank Transactions
|
|
300
318
|
opts = {
|
|
301
319
|
if_modified_since: (DateTime.now - 1.year).to_s,
|
|
@@ -320,11 +338,32 @@ xero_client.accounting_api.get_bank_transfers(tenant_id, opts).bank_transfers
|
|
|
320
338
|
1) Not all `opts` parameter combinations are available for all endpoints, and there are likely some undiscovered edge cases. If you encounter a filter / sort / where clause that seems buggy open an issue and we will dig.
|
|
321
339
|
|
|
322
340
|
2) Some opts string values may need PascalCasing to match casing defined in our [core API docs](https://developer.xero.com/documentation/api/api-overview).
|
|
323
|
-
|
|
341
|
+
* `opts = { order: 'UpdatedDateUtc DESC'}`
|
|
324
342
|
|
|
325
343
|
3) If you have use cases outside of these examples let us know.
|
|
326
344
|
|
|
327
345
|
## Sample App
|
|
328
346
|
The best resource to understanding how to best leverage this SDK is the sample applications showing all the features of the gem.
|
|
329
347
|
> https://github.com/XeroAPI/xero-ruby-oauth2-starter (Sinatra - simple getting started)
|
|
330
|
-
> https://github.com/XeroAPI/xero-ruby-oauth2-app (Rails - full featured examples)
|
|
348
|
+
> https://github.com/XeroAPI/xero-ruby-oauth2-app (Rails - full featured examples)
|
|
349
|
+
|
|
350
|
+
## Contributing
|
|
351
|
+
Most of the repo code is auto generated but PR's on issues you encounter are highly encouraged. Xero maintainers will re-incorporate them back into the core SDK build. To develop this gem locally against your project you can use the following development pattern:
|
|
352
|
+
|
|
353
|
+
> xero-ruby
|
|
354
|
+
```bash
|
|
355
|
+
gem build
|
|
356
|
+
mv xero-ruby-<vsn>.gem xero-ruby.gem
|
|
357
|
+
pwd
|
|
358
|
+
=> /Users/your.user/code/sdks/xero-ruby/
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
> https://github.com/XeroAPI/xero-ruby-oauth2-app
|
|
362
|
+
Replace gem file with local path:
|
|
363
|
+
```bash
|
|
364
|
+
gem 'xero-ruby', path: '/Users/your.user/code/sdks/xero-ruby/'
|
|
365
|
+
bundle install
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
## Testing
|
|
369
|
+
* `rspec spec/`
|
data/lib/xero-ruby.rb
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#Accounting API
|
|
2
|
+
#Xero Accounting API
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2.8.0
|
|
7
6
|
Contact: api@xero.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 4.3.1
|
|
@@ -11,6 +10,8 @@ OpenAPI Generator version: 4.3.1
|
|
|
11
10
|
=end
|
|
12
11
|
|
|
13
12
|
# Common files
|
|
13
|
+
require 'xero-ruby/string_serialization'
|
|
14
|
+
require 'xero-ruby/where'
|
|
14
15
|
require 'xero-ruby/api_client'
|
|
15
16
|
require 'xero-ruby/api_error'
|
|
16
17
|
require 'xero-ruby/version'
|
|
@@ -286,7 +287,6 @@ require 'xero-ruby/models/payroll_au/timesheets'
|
|
|
286
287
|
require 'xero-ruby/models/payroll_au/validation_error'
|
|
287
288
|
require 'xero-ruby/models/files/association'
|
|
288
289
|
require 'xero-ruby/models/files/file_object'
|
|
289
|
-
require 'xero-ruby/models/files/file_response204'
|
|
290
290
|
require 'xero-ruby/models/files/files'
|
|
291
291
|
require 'xero-ruby/models/files/folder'
|
|
292
292
|
require 'xero-ruby/models/files/folders'
|
|
@@ -350,6 +350,7 @@ require 'xero-ruby/models/accounting/bill'
|
|
|
350
350
|
require 'xero-ruby/models/accounting/branding_theme'
|
|
351
351
|
require 'xero-ruby/models/accounting/branding_themes'
|
|
352
352
|
require 'xero-ruby/models/accounting/cis_org_setting'
|
|
353
|
+
require 'xero-ruby/models/accounting/cis_org_settings'
|
|
353
354
|
require 'xero-ruby/models/accounting/cis_setting'
|
|
354
355
|
require 'xero-ruby/models/accounting/cis_settings'
|
|
355
356
|
require 'xero-ruby/models/accounting/contact'
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#Accounting API
|
|
2
|
+
#Xero Accounting API
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2.8.0
|
|
7
6
|
Contact: api@xero.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 4.3.1
|
|
@@ -17,7 +16,7 @@ module XeroRuby
|
|
|
17
16
|
def initialize(api_client = ApiClient.new)
|
|
18
17
|
@api_client = api_client
|
|
19
18
|
end
|
|
20
|
-
#
|
|
19
|
+
# Creates a new chart of accounts
|
|
21
20
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
22
21
|
# @param account [Account] Account object in body of request
|
|
23
22
|
# @param [Hash] opts the optional parameters
|
|
@@ -27,7 +26,7 @@ module XeroRuby
|
|
|
27
26
|
data
|
|
28
27
|
end
|
|
29
28
|
|
|
30
|
-
#
|
|
29
|
+
# Creates a new chart of accounts
|
|
31
30
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
32
31
|
# @param account [Account] Account object in body of request
|
|
33
32
|
# @param [Hash] opts the optional parameters
|
|
@@ -93,7 +92,7 @@ module XeroRuby
|
|
|
93
92
|
return data, status_code, headers
|
|
94
93
|
end
|
|
95
94
|
|
|
96
|
-
#
|
|
95
|
+
# Creates an attachment on a specific account
|
|
97
96
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
98
97
|
# @param account_id [String] Unique identifier for Account object
|
|
99
98
|
# @param file_name [String] Name of the attachment
|
|
@@ -105,7 +104,7 @@ module XeroRuby
|
|
|
105
104
|
data
|
|
106
105
|
end
|
|
107
106
|
|
|
108
|
-
#
|
|
107
|
+
# Creates an attachment on a specific account
|
|
109
108
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
110
109
|
# @param account_id [String] Unique identifier for Account object
|
|
111
110
|
# @param file_name [String] Name of the attachment
|
|
@@ -181,7 +180,7 @@ module XeroRuby
|
|
|
181
180
|
return data, status_code, headers
|
|
182
181
|
end
|
|
183
182
|
|
|
184
|
-
#
|
|
183
|
+
# Creates an attachment for a specific bank transaction by filename
|
|
185
184
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
186
185
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
187
186
|
# @param file_name [String] The name of the file being attached
|
|
@@ -193,7 +192,7 @@ module XeroRuby
|
|
|
193
192
|
data
|
|
194
193
|
end
|
|
195
194
|
|
|
196
|
-
#
|
|
195
|
+
# Creates an attachment for a specific bank transaction by filename
|
|
197
196
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
198
197
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
199
198
|
# @param file_name [String] The name of the file being attached
|
|
@@ -269,7 +268,7 @@ module XeroRuby
|
|
|
269
268
|
return data, status_code, headers
|
|
270
269
|
end
|
|
271
270
|
|
|
272
|
-
#
|
|
271
|
+
# Creates a history record for a specific bank transactions
|
|
273
272
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
274
273
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
275
274
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -280,7 +279,7 @@ module XeroRuby
|
|
|
280
279
|
data
|
|
281
280
|
end
|
|
282
281
|
|
|
283
|
-
#
|
|
282
|
+
# Creates a history record for a specific bank transactions
|
|
284
283
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
285
284
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
286
285
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -351,7 +350,7 @@ module XeroRuby
|
|
|
351
350
|
return data, status_code, headers
|
|
352
351
|
end
|
|
353
352
|
|
|
354
|
-
#
|
|
353
|
+
# Creates one or more spent or received money transaction
|
|
355
354
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
356
355
|
# @param bank_transactions [BankTransactions] BankTransactions with an array of BankTransaction objects in body of request
|
|
357
356
|
# @param [Hash] opts the optional parameters
|
|
@@ -363,7 +362,7 @@ module XeroRuby
|
|
|
363
362
|
data
|
|
364
363
|
end
|
|
365
364
|
|
|
366
|
-
#
|
|
365
|
+
# Creates one or more spent or received money transaction
|
|
367
366
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
368
367
|
# @param bank_transactions [BankTransactions] BankTransactions with an array of BankTransaction objects in body of request
|
|
369
368
|
# @param [Hash] opts the optional parameters
|
|
@@ -433,7 +432,7 @@ module XeroRuby
|
|
|
433
432
|
return data, status_code, headers
|
|
434
433
|
end
|
|
435
434
|
|
|
436
|
-
#
|
|
435
|
+
# Creates a bank transfer
|
|
437
436
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
438
437
|
# @param bank_transfers [BankTransfers] BankTransfers with array of BankTransfer objects in request body
|
|
439
438
|
# @param [Hash] opts the optional parameters
|
|
@@ -443,7 +442,7 @@ module XeroRuby
|
|
|
443
442
|
data
|
|
444
443
|
end
|
|
445
444
|
|
|
446
|
-
#
|
|
445
|
+
# Creates a bank transfer
|
|
447
446
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
448
447
|
# @param bank_transfers [BankTransfers] BankTransfers with array of BankTransfer objects in request body
|
|
449
448
|
# @param [Hash] opts the optional parameters
|
|
@@ -595,6 +594,7 @@ module XeroRuby
|
|
|
595
594
|
return data, status_code, headers
|
|
596
595
|
end
|
|
597
596
|
|
|
597
|
+
# Creates a history record for a specific bank transfer
|
|
598
598
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
599
599
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
600
600
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -605,6 +605,7 @@ module XeroRuby
|
|
|
605
605
|
data
|
|
606
606
|
end
|
|
607
607
|
|
|
608
|
+
# Creates a history record for a specific bank transfer
|
|
608
609
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
609
610
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
610
611
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -675,7 +676,7 @@ module XeroRuby
|
|
|
675
676
|
return data, status_code, headers
|
|
676
677
|
end
|
|
677
678
|
|
|
678
|
-
#
|
|
679
|
+
# Creates one or many batch payments for invoices
|
|
679
680
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
680
681
|
# @param batch_payments [BatchPayments] BatchPayments with an array of Payments in body of request
|
|
681
682
|
# @param [Hash] opts the optional parameters
|
|
@@ -686,7 +687,7 @@ module XeroRuby
|
|
|
686
687
|
data
|
|
687
688
|
end
|
|
688
689
|
|
|
689
|
-
#
|
|
690
|
+
# Creates one or many batch payments for invoices
|
|
690
691
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
691
692
|
# @param batch_payments [BatchPayments] BatchPayments with an array of Payments in body of request
|
|
692
693
|
# @param [Hash] opts the optional parameters
|
|
@@ -754,7 +755,7 @@ module XeroRuby
|
|
|
754
755
|
return data, status_code, headers
|
|
755
756
|
end
|
|
756
757
|
|
|
757
|
-
#
|
|
758
|
+
# Creates a history record for a specific batch payment
|
|
758
759
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
759
760
|
# @param batch_payment_id [String] Unique identifier for BatchPayment
|
|
760
761
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -765,7 +766,7 @@ module XeroRuby
|
|
|
765
766
|
data
|
|
766
767
|
end
|
|
767
768
|
|
|
768
|
-
#
|
|
769
|
+
# Creates a history record for a specific batch payment
|
|
769
770
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
770
771
|
# @param batch_payment_id [String] Unique identifier for BatchPayment
|
|
771
772
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -836,7 +837,7 @@ module XeroRuby
|
|
|
836
837
|
return data, status_code, headers
|
|
837
838
|
end
|
|
838
839
|
|
|
839
|
-
#
|
|
840
|
+
# Creates a new custom payment service for a specific branding theme
|
|
840
841
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
841
842
|
# @param branding_theme_id [String] Unique identifier for a Branding Theme
|
|
842
843
|
# @param payment_service [PaymentService] PaymentService object in body of request
|
|
@@ -847,7 +848,7 @@ module XeroRuby
|
|
|
847
848
|
data
|
|
848
849
|
end
|
|
849
850
|
|
|
850
|
-
#
|
|
851
|
+
# Creates a new custom payment service for a specific branding theme
|
|
851
852
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
852
853
|
# @param branding_theme_id [String] Unique identifier for a Branding Theme
|
|
853
854
|
# @param payment_service [PaymentService] PaymentService object in body of request
|
|
@@ -1004,7 +1005,7 @@ module XeroRuby
|
|
|
1004
1005
|
return data, status_code, headers
|
|
1005
1006
|
end
|
|
1006
1007
|
|
|
1007
|
-
#
|
|
1008
|
+
# Creates a contact group
|
|
1008
1009
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1009
1010
|
# @param contact_groups [ContactGroups] ContactGroups with an array of names in request body
|
|
1010
1011
|
# @param [Hash] opts the optional parameters
|
|
@@ -1014,7 +1015,7 @@ module XeroRuby
|
|
|
1014
1015
|
data
|
|
1015
1016
|
end
|
|
1016
1017
|
|
|
1017
|
-
#
|
|
1018
|
+
# Creates a contact group
|
|
1018
1019
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1019
1020
|
# @param contact_groups [ContactGroups] ContactGroups with an array of names in request body
|
|
1020
1021
|
# @param [Hash] opts the optional parameters
|
|
@@ -1080,10 +1081,10 @@ module XeroRuby
|
|
|
1080
1081
|
return data, status_code, headers
|
|
1081
1082
|
end
|
|
1082
1083
|
|
|
1083
|
-
#
|
|
1084
|
+
# Creates contacts to a specific contact group
|
|
1084
1085
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1085
1086
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
1086
|
-
# @param contacts [Contacts] Contacts with array of contacts
|
|
1087
|
+
# @param contacts [Contacts] Contacts with array of contacts specifying the ContactID to be added to ContactGroup in body of request
|
|
1087
1088
|
# @param [Hash] opts the optional parameters
|
|
1088
1089
|
# @return [Contacts]
|
|
1089
1090
|
def create_contact_group_contacts(xero_tenant_id, contact_group_id, contacts, opts = {})
|
|
@@ -1091,10 +1092,10 @@ module XeroRuby
|
|
|
1091
1092
|
data
|
|
1092
1093
|
end
|
|
1093
1094
|
|
|
1094
|
-
#
|
|
1095
|
+
# Creates contacts to a specific contact group
|
|
1095
1096
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1096
1097
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
1097
|
-
# @param contacts [Contacts] Contacts with array of contacts
|
|
1098
|
+
# @param contacts [Contacts] Contacts with array of contacts specifying the ContactID to be added to ContactGroup in body of request
|
|
1098
1099
|
# @param [Hash] opts the optional parameters
|
|
1099
1100
|
# @return [Array<(Contacts, Integer, Hash)>] Contacts data, response status code and response headers
|
|
1100
1101
|
def create_contact_group_contacts_with_http_info(xero_tenant_id, contact_group_id, contacts, opts = {})
|
|
@@ -1162,7 +1163,7 @@ module XeroRuby
|
|
|
1162
1163
|
return data, status_code, headers
|
|
1163
1164
|
end
|
|
1164
1165
|
|
|
1165
|
-
#
|
|
1166
|
+
# Creates a new history record for a specific contact
|
|
1166
1167
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1167
1168
|
# @param contact_id [String] Unique identifier for a Contact
|
|
1168
1169
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -1173,7 +1174,7 @@ module XeroRuby
|
|
|
1173
1174
|
data
|
|
1174
1175
|
end
|
|
1175
1176
|
|
|
1176
|
-
#
|
|
1177
|
+
# Creates a new history record for a specific contact
|
|
1177
1178
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1178
1179
|
# @param contact_id [String] Unique identifier for a Contact
|
|
1179
1180
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -1244,7 +1245,7 @@ module XeroRuby
|
|
|
1244
1245
|
return data, status_code, headers
|
|
1245
1246
|
end
|
|
1246
1247
|
|
|
1247
|
-
#
|
|
1248
|
+
# Creates multiple contacts (bulk) in a Xero organisation
|
|
1248
1249
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1249
1250
|
# @param contacts [Contacts] Contacts with an array of Contact objects to create in body of request
|
|
1250
1251
|
# @param [Hash] opts the optional parameters
|
|
@@ -1255,7 +1256,7 @@ module XeroRuby
|
|
|
1255
1256
|
data
|
|
1256
1257
|
end
|
|
1257
1258
|
|
|
1258
|
-
#
|
|
1259
|
+
# Creates multiple contacts (bulk) in a Xero organisation
|
|
1259
1260
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1260
1261
|
# @param contacts [Contacts] Contacts with an array of Contact objects to create in body of request
|
|
1261
1262
|
# @param [Hash] opts the optional parameters
|
|
@@ -1323,7 +1324,7 @@ module XeroRuby
|
|
|
1323
1324
|
return data, status_code, headers
|
|
1324
1325
|
end
|
|
1325
1326
|
|
|
1326
|
-
#
|
|
1327
|
+
# Creates allocation for a specific credit note
|
|
1327
1328
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1328
1329
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
1329
1330
|
# @param allocations [Allocations] Allocations with array of Allocation object in body of request.
|
|
@@ -1335,7 +1336,7 @@ module XeroRuby
|
|
|
1335
1336
|
data
|
|
1336
1337
|
end
|
|
1337
1338
|
|
|
1338
|
-
#
|
|
1339
|
+
# Creates allocation for a specific credit note
|
|
1339
1340
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1340
1341
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
1341
1342
|
# @param allocations [Allocations] Allocations with array of Allocation object in body of request.
|
|
@@ -1408,7 +1409,7 @@ module XeroRuby
|
|
|
1408
1409
|
return data, status_code, headers
|
|
1409
1410
|
end
|
|
1410
1411
|
|
|
1411
|
-
#
|
|
1412
|
+
# Creates an attachment for a specific credit note
|
|
1412
1413
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1413
1414
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
1414
1415
|
# @param file_name [String] Name of the file you are attaching to Credit Note
|
|
@@ -1421,7 +1422,7 @@ module XeroRuby
|
|
|
1421
1422
|
data
|
|
1422
1423
|
end
|
|
1423
1424
|
|
|
1424
|
-
#
|
|
1425
|
+
# Creates an attachment for a specific credit note
|
|
1425
1426
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1426
1427
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
1427
1428
|
# @param file_name [String] Name of the file you are attaching to Credit Note
|
|
@@ -1499,7 +1500,7 @@ module XeroRuby
|
|
|
1499
1500
|
return data, status_code, headers
|
|
1500
1501
|
end
|
|
1501
1502
|
|
|
1502
|
-
#
|
|
1503
|
+
# Retrieves history records of a specific credit note
|
|
1503
1504
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1504
1505
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
1505
1506
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -1510,7 +1511,7 @@ module XeroRuby
|
|
|
1510
1511
|
data
|
|
1511
1512
|
end
|
|
1512
1513
|
|
|
1513
|
-
#
|
|
1514
|
+
# Retrieves history records of a specific credit note
|
|
1514
1515
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1515
1516
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
1516
1517
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -1581,7 +1582,7 @@ module XeroRuby
|
|
|
1581
1582
|
return data, status_code, headers
|
|
1582
1583
|
end
|
|
1583
1584
|
|
|
1584
|
-
#
|
|
1585
|
+
# Creates a new credit note
|
|
1585
1586
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1586
1587
|
# @param credit_notes [CreditNotes] Credit Notes with array of CreditNote object in body of request
|
|
1587
1588
|
# @param [Hash] opts the optional parameters
|
|
@@ -1593,7 +1594,7 @@ module XeroRuby
|
|
|
1593
1594
|
data
|
|
1594
1595
|
end
|
|
1595
1596
|
|
|
1596
|
-
#
|
|
1597
|
+
# Creates a new credit note
|
|
1597
1598
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1598
1599
|
# @param credit_notes [CreditNotes] Credit Notes with array of CreditNote object in body of request
|
|
1599
1600
|
# @param [Hash] opts the optional parameters
|
|
@@ -1663,8 +1664,9 @@ module XeroRuby
|
|
|
1663
1664
|
return data, status_code, headers
|
|
1664
1665
|
end
|
|
1665
1666
|
|
|
1667
|
+
# Create a new currency for a Xero organisation
|
|
1666
1668
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1667
|
-
# @param currency [Currency] Currency
|
|
1669
|
+
# @param currency [Currency] Currency object in the body of request
|
|
1668
1670
|
# @param [Hash] opts the optional parameters
|
|
1669
1671
|
# @return [Currencies]
|
|
1670
1672
|
def create_currency(xero_tenant_id, currency, opts = {})
|
|
@@ -1672,8 +1674,9 @@ module XeroRuby
|
|
|
1672
1674
|
data
|
|
1673
1675
|
end
|
|
1674
1676
|
|
|
1677
|
+
# Create a new currency for a Xero organisation
|
|
1675
1678
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1676
|
-
# @param currency [Currency] Currency
|
|
1679
|
+
# @param currency [Currency] Currency object in the body of request
|
|
1677
1680
|
# @param [Hash] opts the optional parameters
|
|
1678
1681
|
# @return [Array<(Currencies, Integer, Hash)>] Currencies data, response status code and response headers
|
|
1679
1682
|
def create_currency_with_http_info(xero_tenant_id, currency, opts = {})
|
|
@@ -1737,7 +1740,7 @@ module XeroRuby
|
|
|
1737
1740
|
return data, status_code, headers
|
|
1738
1741
|
end
|
|
1739
1742
|
|
|
1740
|
-
#
|
|
1743
|
+
# Creates new employees used in Xero payrun
|
|
1741
1744
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1742
1745
|
# @param employees [Employees] Employees with array of Employee object in body of request
|
|
1743
1746
|
# @param [Hash] opts the optional parameters
|
|
@@ -1748,7 +1751,7 @@ module XeroRuby
|
|
|
1748
1751
|
data
|
|
1749
1752
|
end
|
|
1750
1753
|
|
|
1751
|
-
#
|
|
1754
|
+
# Creates new employees used in Xero payrun
|
|
1752
1755
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1753
1756
|
# @param employees [Employees] Employees with array of Employee object in body of request
|
|
1754
1757
|
# @param [Hash] opts the optional parameters
|
|
@@ -1816,7 +1819,7 @@ module XeroRuby
|
|
|
1816
1819
|
return data, status_code, headers
|
|
1817
1820
|
end
|
|
1818
1821
|
|
|
1819
|
-
#
|
|
1822
|
+
# Creates a history record for a specific expense claim
|
|
1820
1823
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1821
1824
|
# @param expense_claim_id [String] Unique identifier for a ExpenseClaim
|
|
1822
1825
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -1827,7 +1830,7 @@ module XeroRuby
|
|
|
1827
1830
|
data
|
|
1828
1831
|
end
|
|
1829
1832
|
|
|
1830
|
-
#
|
|
1833
|
+
# Creates a history record for a specific expense claim
|
|
1831
1834
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1832
1835
|
# @param expense_claim_id [String] Unique identifier for a ExpenseClaim
|
|
1833
1836
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -1898,7 +1901,7 @@ module XeroRuby
|
|
|
1898
1901
|
return data, status_code, headers
|
|
1899
1902
|
end
|
|
1900
1903
|
|
|
1901
|
-
#
|
|
1904
|
+
# Creates expense claims
|
|
1902
1905
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1903
1906
|
# @param expense_claims [ExpenseClaims] ExpenseClaims with array of ExpenseClaim object in body of request
|
|
1904
1907
|
# @param [Hash] opts the optional parameters
|
|
@@ -1908,7 +1911,7 @@ module XeroRuby
|
|
|
1908
1911
|
data
|
|
1909
1912
|
end
|
|
1910
1913
|
|
|
1911
|
-
#
|
|
1914
|
+
# Creates expense claims
|
|
1912
1915
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1913
1916
|
# @param expense_claims [ExpenseClaims] ExpenseClaims with array of ExpenseClaim object in body of request
|
|
1914
1917
|
# @param [Hash] opts the optional parameters
|
|
@@ -1974,7 +1977,7 @@ module XeroRuby
|
|
|
1974
1977
|
return data, status_code, headers
|
|
1975
1978
|
end
|
|
1976
1979
|
|
|
1977
|
-
#
|
|
1980
|
+
# Creates an attachment for a specific invoice or purchase bill by filename
|
|
1978
1981
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1979
1982
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
1980
1983
|
# @param file_name [String] Name of the file you are attaching
|
|
@@ -1987,7 +1990,7 @@ module XeroRuby
|
|
|
1987
1990
|
data
|
|
1988
1991
|
end
|
|
1989
1992
|
|
|
1990
|
-
#
|
|
1993
|
+
# Creates an attachment for a specific invoice or purchase bill by filename
|
|
1991
1994
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1992
1995
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
1993
1996
|
# @param file_name [String] Name of the file you are attaching
|
|
@@ -2065,7 +2068,7 @@ module XeroRuby
|
|
|
2065
2068
|
return data, status_code, headers
|
|
2066
2069
|
end
|
|
2067
2070
|
|
|
2068
|
-
#
|
|
2071
|
+
# Creates a history record for a specific invoice
|
|
2069
2072
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2070
2073
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
2071
2074
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -2076,7 +2079,7 @@ module XeroRuby
|
|
|
2076
2079
|
data
|
|
2077
2080
|
end
|
|
2078
2081
|
|
|
2079
|
-
#
|
|
2082
|
+
# Creates a history record for a specific invoice
|
|
2080
2083
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2081
2084
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
2082
2085
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -2147,7 +2150,7 @@ module XeroRuby
|
|
|
2147
2150
|
return data, status_code, headers
|
|
2148
2151
|
end
|
|
2149
2152
|
|
|
2150
|
-
#
|
|
2153
|
+
# Creates one or more sales invoices or purchase bills
|
|
2151
2154
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2152
2155
|
# @param invoices [Invoices] Invoices with an array of invoice objects in body of request
|
|
2153
2156
|
# @param [Hash] opts the optional parameters
|
|
@@ -2159,7 +2162,7 @@ module XeroRuby
|
|
|
2159
2162
|
data
|
|
2160
2163
|
end
|
|
2161
2164
|
|
|
2162
|
-
#
|
|
2165
|
+
# Creates one or more sales invoices or purchase bills
|
|
2163
2166
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2164
2167
|
# @param invoices [Invoices] Invoices with an array of invoice objects in body of request
|
|
2165
2168
|
# @param [Hash] opts the optional parameters
|
|
@@ -2229,7 +2232,7 @@ module XeroRuby
|
|
|
2229
2232
|
return data, status_code, headers
|
|
2230
2233
|
end
|
|
2231
2234
|
|
|
2232
|
-
#
|
|
2235
|
+
# Creates a history record for a specific item
|
|
2233
2236
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2234
2237
|
# @param item_id [String] Unique identifier for an Item
|
|
2235
2238
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -2240,7 +2243,7 @@ module XeroRuby
|
|
|
2240
2243
|
data
|
|
2241
2244
|
end
|
|
2242
2245
|
|
|
2243
|
-
#
|
|
2246
|
+
# Creates a history record for a specific item
|
|
2244
2247
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2245
2248
|
# @param item_id [String] Unique identifier for an Item
|
|
2246
2249
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -2311,7 +2314,7 @@ module XeroRuby
|
|
|
2311
2314
|
return data, status_code, headers
|
|
2312
2315
|
end
|
|
2313
2316
|
|
|
2314
|
-
#
|
|
2317
|
+
# Creates one or more items
|
|
2315
2318
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2316
2319
|
# @param items [Items] Items with an array of Item objects in body of request
|
|
2317
2320
|
# @param [Hash] opts the optional parameters
|
|
@@ -2323,7 +2326,7 @@ module XeroRuby
|
|
|
2323
2326
|
data
|
|
2324
2327
|
end
|
|
2325
2328
|
|
|
2326
|
-
#
|
|
2329
|
+
# Creates one or more items
|
|
2327
2330
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2328
2331
|
# @param items [Items] Items with an array of Item objects in body of request
|
|
2329
2332
|
# @param [Hash] opts the optional parameters
|
|
@@ -2393,7 +2396,7 @@ module XeroRuby
|
|
|
2393
2396
|
return data, status_code, headers
|
|
2394
2397
|
end
|
|
2395
2398
|
|
|
2396
|
-
#
|
|
2399
|
+
# Creates linked transactions (billable expenses)
|
|
2397
2400
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2398
2401
|
# @param linked_transaction [LinkedTransaction] LinkedTransaction object in body of request
|
|
2399
2402
|
# @param [Hash] opts the optional parameters
|
|
@@ -2403,7 +2406,7 @@ module XeroRuby
|
|
|
2403
2406
|
data
|
|
2404
2407
|
end
|
|
2405
2408
|
|
|
2406
|
-
#
|
|
2409
|
+
# Creates linked transactions (billable expenses)
|
|
2407
2410
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2408
2411
|
# @param linked_transaction [LinkedTransaction] LinkedTransaction object in body of request
|
|
2409
2412
|
# @param [Hash] opts the optional parameters
|
|
@@ -2469,7 +2472,7 @@ module XeroRuby
|
|
|
2469
2472
|
return data, status_code, headers
|
|
2470
2473
|
end
|
|
2471
2474
|
|
|
2472
|
-
#
|
|
2475
|
+
# Creates a specific attachment for a specific manual journal by file name
|
|
2473
2476
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2474
2477
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
2475
2478
|
# @param file_name [String] The name of the file being attached to a ManualJournal
|
|
@@ -2481,7 +2484,7 @@ module XeroRuby
|
|
|
2481
2484
|
data
|
|
2482
2485
|
end
|
|
2483
2486
|
|
|
2484
|
-
#
|
|
2487
|
+
# Creates a specific attachment for a specific manual journal by file name
|
|
2485
2488
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2486
2489
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
2487
2490
|
# @param file_name [String] The name of the file being attached to a ManualJournal
|
|
@@ -2557,7 +2560,7 @@ module XeroRuby
|
|
|
2557
2560
|
return data, status_code, headers
|
|
2558
2561
|
end
|
|
2559
2562
|
|
|
2560
|
-
#
|
|
2563
|
+
# Creates a history record for a specific manual journal
|
|
2561
2564
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2562
2565
|
# @param manual_journal_id [String] Xero generated unique identifier for a manual journal
|
|
2563
2566
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -2568,7 +2571,7 @@ module XeroRuby
|
|
|
2568
2571
|
data
|
|
2569
2572
|
end
|
|
2570
2573
|
|
|
2571
|
-
#
|
|
2574
|
+
# Creates a history record for a specific manual journal
|
|
2572
2575
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2573
2576
|
# @param manual_journal_id [String] Xero generated unique identifier for a manual journal
|
|
2574
2577
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -2639,7 +2642,7 @@ module XeroRuby
|
|
|
2639
2642
|
return data, status_code, headers
|
|
2640
2643
|
end
|
|
2641
2644
|
|
|
2642
|
-
#
|
|
2645
|
+
# Creates one or more manual journals
|
|
2643
2646
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2644
2647
|
# @param manual_journals [ManualJournals] ManualJournals array with ManualJournal object in body of request
|
|
2645
2648
|
# @param [Hash] opts the optional parameters
|
|
@@ -2650,7 +2653,7 @@ module XeroRuby
|
|
|
2650
2653
|
data
|
|
2651
2654
|
end
|
|
2652
2655
|
|
|
2653
|
-
#
|
|
2656
|
+
# Creates one or more manual journals
|
|
2654
2657
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2655
2658
|
# @param manual_journals [ManualJournals] ManualJournals array with ManualJournal object in body of request
|
|
2656
2659
|
# @param [Hash] opts the optional parameters
|
|
@@ -2718,7 +2721,7 @@ module XeroRuby
|
|
|
2718
2721
|
return data, status_code, headers
|
|
2719
2722
|
end
|
|
2720
2723
|
|
|
2721
|
-
#
|
|
2724
|
+
# Creates a single allocation for a specific overpayment
|
|
2722
2725
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2723
2726
|
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
2724
2727
|
# @param allocations [Allocations] Allocations array with Allocation object in body of request
|
|
@@ -2730,7 +2733,7 @@ module XeroRuby
|
|
|
2730
2733
|
data
|
|
2731
2734
|
end
|
|
2732
2735
|
|
|
2733
|
-
#
|
|
2736
|
+
# Creates a single allocation for a specific overpayment
|
|
2734
2737
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2735
2738
|
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
2736
2739
|
# @param allocations [Allocations] Allocations array with Allocation object in body of request
|
|
@@ -2803,7 +2806,7 @@ module XeroRuby
|
|
|
2803
2806
|
return data, status_code, headers
|
|
2804
2807
|
end
|
|
2805
2808
|
|
|
2806
|
-
#
|
|
2809
|
+
# Creates a history record for a specific overpayment
|
|
2807
2810
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2808
2811
|
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
2809
2812
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -2814,7 +2817,7 @@ module XeroRuby
|
|
|
2814
2817
|
data
|
|
2815
2818
|
end
|
|
2816
2819
|
|
|
2817
|
-
#
|
|
2820
|
+
# Creates a history record for a specific overpayment
|
|
2818
2821
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2819
2822
|
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
2820
2823
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -2885,7 +2888,7 @@ module XeroRuby
|
|
|
2885
2888
|
return data, status_code, headers
|
|
2886
2889
|
end
|
|
2887
2890
|
|
|
2888
|
-
#
|
|
2891
|
+
# Creates a single payment for invoice or credit notes
|
|
2889
2892
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2890
2893
|
# @param payment [Payment] Request body with a single Payment object
|
|
2891
2894
|
# @param [Hash] opts the optional parameters
|
|
@@ -2895,7 +2898,7 @@ module XeroRuby
|
|
|
2895
2898
|
data
|
|
2896
2899
|
end
|
|
2897
2900
|
|
|
2898
|
-
#
|
|
2901
|
+
# Creates a single payment for invoice or credit notes
|
|
2899
2902
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2900
2903
|
# @param payment [Payment] Request body with a single Payment object
|
|
2901
2904
|
# @param [Hash] opts the optional parameters
|
|
@@ -2961,7 +2964,7 @@ module XeroRuby
|
|
|
2961
2964
|
return data, status_code, headers
|
|
2962
2965
|
end
|
|
2963
2966
|
|
|
2964
|
-
#
|
|
2967
|
+
# Creates a history record for a specific payment
|
|
2965
2968
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2966
2969
|
# @param payment_id [String] Unique identifier for a Payment
|
|
2967
2970
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -2972,7 +2975,7 @@ module XeroRuby
|
|
|
2972
2975
|
data
|
|
2973
2976
|
end
|
|
2974
2977
|
|
|
2975
|
-
#
|
|
2978
|
+
# Creates a history record for a specific payment
|
|
2976
2979
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2977
2980
|
# @param payment_id [String] Unique identifier for a Payment
|
|
2978
2981
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -3043,7 +3046,7 @@ module XeroRuby
|
|
|
3043
3046
|
return data, status_code, headers
|
|
3044
3047
|
end
|
|
3045
3048
|
|
|
3046
|
-
#
|
|
3049
|
+
# Creates a payment service
|
|
3047
3050
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3048
3051
|
# @param payment_services [PaymentServices] PaymentServices array with PaymentService object in body of request
|
|
3049
3052
|
# @param [Hash] opts the optional parameters
|
|
@@ -3053,7 +3056,7 @@ module XeroRuby
|
|
|
3053
3056
|
data
|
|
3054
3057
|
end
|
|
3055
3058
|
|
|
3056
|
-
#
|
|
3059
|
+
# Creates a payment service
|
|
3057
3060
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3058
3061
|
# @param payment_services [PaymentServices] PaymentServices array with PaymentService object in body of request
|
|
3059
3062
|
# @param [Hash] opts the optional parameters
|
|
@@ -3119,7 +3122,7 @@ module XeroRuby
|
|
|
3119
3122
|
return data, status_code, headers
|
|
3120
3123
|
end
|
|
3121
3124
|
|
|
3122
|
-
#
|
|
3125
|
+
# Creates multiple payments for invoices or credit notes
|
|
3123
3126
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3124
3127
|
# @param payments [Payments] Payments array with Payment object in body of request
|
|
3125
3128
|
# @param [Hash] opts the optional parameters
|
|
@@ -3130,7 +3133,7 @@ module XeroRuby
|
|
|
3130
3133
|
data
|
|
3131
3134
|
end
|
|
3132
3135
|
|
|
3133
|
-
#
|
|
3136
|
+
# Creates multiple payments for invoices or credit notes
|
|
3134
3137
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3135
3138
|
# @param payments [Payments] Payments array with Payment object in body of request
|
|
3136
3139
|
# @param [Hash] opts the optional parameters
|
|
@@ -3283,7 +3286,7 @@ module XeroRuby
|
|
|
3283
3286
|
return data, status_code, headers
|
|
3284
3287
|
end
|
|
3285
3288
|
|
|
3286
|
-
#
|
|
3289
|
+
# Creates a history record for a specific prepayment
|
|
3287
3290
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3288
3291
|
# @param prepayment_id [String] Unique identifier for a PrePayment
|
|
3289
3292
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -3294,7 +3297,7 @@ module XeroRuby
|
|
|
3294
3297
|
data
|
|
3295
3298
|
end
|
|
3296
3299
|
|
|
3297
|
-
#
|
|
3300
|
+
# Creates a history record for a specific prepayment
|
|
3298
3301
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3299
3302
|
# @param prepayment_id [String] Unique identifier for a PrePayment
|
|
3300
3303
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -3365,7 +3368,7 @@ module XeroRuby
|
|
|
3365
3368
|
return data, status_code, headers
|
|
3366
3369
|
end
|
|
3367
3370
|
|
|
3368
|
-
#
|
|
3371
|
+
# Creates attachment for a specific purchase order
|
|
3369
3372
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3370
3373
|
# @param purchase_order_id [String] Unique identifier for Purchase Order object
|
|
3371
3374
|
# @param file_name [String] Name of the attachment
|
|
@@ -3377,7 +3380,7 @@ module XeroRuby
|
|
|
3377
3380
|
data
|
|
3378
3381
|
end
|
|
3379
3382
|
|
|
3380
|
-
#
|
|
3383
|
+
# Creates attachment for a specific purchase order
|
|
3381
3384
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3382
3385
|
# @param purchase_order_id [String] Unique identifier for Purchase Order object
|
|
3383
3386
|
# @param file_name [String] Name of the attachment
|
|
@@ -3453,7 +3456,7 @@ module XeroRuby
|
|
|
3453
3456
|
return data, status_code, headers
|
|
3454
3457
|
end
|
|
3455
3458
|
|
|
3456
|
-
#
|
|
3459
|
+
# Creates a history record for a specific purchase orders
|
|
3457
3460
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3458
3461
|
# @param purchase_order_id [String] Unique identifier for a PurchaseOrder
|
|
3459
3462
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -3464,7 +3467,7 @@ module XeroRuby
|
|
|
3464
3467
|
data
|
|
3465
3468
|
end
|
|
3466
3469
|
|
|
3467
|
-
#
|
|
3470
|
+
# Creates a history record for a specific purchase orders
|
|
3468
3471
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3469
3472
|
# @param purchase_order_id [String] Unique identifier for a PurchaseOrder
|
|
3470
3473
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -3535,7 +3538,7 @@ module XeroRuby
|
|
|
3535
3538
|
return data, status_code, headers
|
|
3536
3539
|
end
|
|
3537
3540
|
|
|
3538
|
-
#
|
|
3541
|
+
# Creates one or more purchase orders
|
|
3539
3542
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3540
3543
|
# @param purchase_orders [PurchaseOrders] PurchaseOrders with an array of PurchaseOrder object in body of request
|
|
3541
3544
|
# @param [Hash] opts the optional parameters
|
|
@@ -3546,7 +3549,7 @@ module XeroRuby
|
|
|
3546
3549
|
data
|
|
3547
3550
|
end
|
|
3548
3551
|
|
|
3549
|
-
#
|
|
3552
|
+
# Creates one or more purchase orders
|
|
3550
3553
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3551
3554
|
# @param purchase_orders [PurchaseOrders] PurchaseOrders with an array of PurchaseOrder object in body of request
|
|
3552
3555
|
# @param [Hash] opts the optional parameters
|
|
@@ -3614,7 +3617,7 @@ module XeroRuby
|
|
|
3614
3617
|
return data, status_code, headers
|
|
3615
3618
|
end
|
|
3616
3619
|
|
|
3617
|
-
#
|
|
3620
|
+
# Creates attachment for a specific quote
|
|
3618
3621
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3619
3622
|
# @param quote_id [String] Unique identifier for Quote object
|
|
3620
3623
|
# @param file_name [String] Name of the attachment
|
|
@@ -3626,7 +3629,7 @@ module XeroRuby
|
|
|
3626
3629
|
data
|
|
3627
3630
|
end
|
|
3628
3631
|
|
|
3629
|
-
#
|
|
3632
|
+
# Creates attachment for a specific quote
|
|
3630
3633
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3631
3634
|
# @param quote_id [String] Unique identifier for Quote object
|
|
3632
3635
|
# @param file_name [String] Name of the attachment
|
|
@@ -3702,7 +3705,7 @@ module XeroRuby
|
|
|
3702
3705
|
return data, status_code, headers
|
|
3703
3706
|
end
|
|
3704
3707
|
|
|
3705
|
-
#
|
|
3708
|
+
# Creates a history record for a specific quote
|
|
3706
3709
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3707
3710
|
# @param quote_id [String] Unique identifier for an Quote
|
|
3708
3711
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -3713,7 +3716,7 @@ module XeroRuby
|
|
|
3713
3716
|
data
|
|
3714
3717
|
end
|
|
3715
3718
|
|
|
3716
|
-
#
|
|
3719
|
+
# Creates a history record for a specific quote
|
|
3717
3720
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3718
3721
|
# @param quote_id [String] Unique identifier for an Quote
|
|
3719
3722
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -3784,7 +3787,7 @@ module XeroRuby
|
|
|
3784
3787
|
return data, status_code, headers
|
|
3785
3788
|
end
|
|
3786
3789
|
|
|
3787
|
-
#
|
|
3790
|
+
# Create one or more quotes
|
|
3788
3791
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3789
3792
|
# @param quotes [Quotes] Quotes with an array of Quote object in body of request
|
|
3790
3793
|
# @param [Hash] opts the optional parameters
|
|
@@ -3795,7 +3798,7 @@ module XeroRuby
|
|
|
3795
3798
|
data
|
|
3796
3799
|
end
|
|
3797
3800
|
|
|
3798
|
-
#
|
|
3801
|
+
# Create one or more quotes
|
|
3799
3802
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3800
3803
|
# @param quotes [Quotes] Quotes with an array of Quote object in body of request
|
|
3801
3804
|
# @param [Hash] opts the optional parameters
|
|
@@ -3863,7 +3866,7 @@ module XeroRuby
|
|
|
3863
3866
|
return data, status_code, headers
|
|
3864
3867
|
end
|
|
3865
3868
|
|
|
3866
|
-
#
|
|
3869
|
+
# Creates draft expense claim receipts for any user
|
|
3867
3870
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3868
3871
|
# @param receipts [Receipts] Receipts with an array of Receipt object in body of request
|
|
3869
3872
|
# @param [Hash] opts the optional parameters
|
|
@@ -3874,7 +3877,7 @@ module XeroRuby
|
|
|
3874
3877
|
data
|
|
3875
3878
|
end
|
|
3876
3879
|
|
|
3877
|
-
#
|
|
3880
|
+
# Creates draft expense claim receipts for any user
|
|
3878
3881
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3879
3882
|
# @param receipts [Receipts] Receipts with an array of Receipt object in body of request
|
|
3880
3883
|
# @param [Hash] opts the optional parameters
|
|
@@ -3942,7 +3945,7 @@ module XeroRuby
|
|
|
3942
3945
|
return data, status_code, headers
|
|
3943
3946
|
end
|
|
3944
3947
|
|
|
3945
|
-
#
|
|
3948
|
+
# Creates an attachment on a specific expense claim receipts by file name
|
|
3946
3949
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3947
3950
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
3948
3951
|
# @param file_name [String] The name of the file being attached to the Receipt
|
|
@@ -3954,7 +3957,7 @@ module XeroRuby
|
|
|
3954
3957
|
data
|
|
3955
3958
|
end
|
|
3956
3959
|
|
|
3957
|
-
#
|
|
3960
|
+
# Creates an attachment on a specific expense claim receipts by file name
|
|
3958
3961
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3959
3962
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
3960
3963
|
# @param file_name [String] The name of the file being attached to the Receipt
|
|
@@ -4030,7 +4033,7 @@ module XeroRuby
|
|
|
4030
4033
|
return data, status_code, headers
|
|
4031
4034
|
end
|
|
4032
4035
|
|
|
4033
|
-
#
|
|
4036
|
+
# Creates a history record for a specific receipt
|
|
4034
4037
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4035
4038
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
4036
4039
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -4041,7 +4044,7 @@ module XeroRuby
|
|
|
4041
4044
|
data
|
|
4042
4045
|
end
|
|
4043
4046
|
|
|
4044
|
-
#
|
|
4047
|
+
# Creates a history record for a specific receipt
|
|
4045
4048
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4046
4049
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
4047
4050
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -4112,7 +4115,7 @@ module XeroRuby
|
|
|
4112
4115
|
return data, status_code, headers
|
|
4113
4116
|
end
|
|
4114
4117
|
|
|
4115
|
-
#
|
|
4118
|
+
# Creates an attachment from a specific repeating invoices by file name
|
|
4116
4119
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4117
4120
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
4118
4121
|
# @param file_name [String] The name of the file being attached to a Repeating Invoice
|
|
@@ -4124,7 +4127,7 @@ module XeroRuby
|
|
|
4124
4127
|
data
|
|
4125
4128
|
end
|
|
4126
4129
|
|
|
4127
|
-
#
|
|
4130
|
+
# Creates an attachment from a specific repeating invoices by file name
|
|
4128
4131
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4129
4132
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
4130
4133
|
# @param file_name [String] The name of the file being attached to a Repeating Invoice
|
|
@@ -4200,7 +4203,7 @@ module XeroRuby
|
|
|
4200
4203
|
return data, status_code, headers
|
|
4201
4204
|
end
|
|
4202
4205
|
|
|
4203
|
-
#
|
|
4206
|
+
# Creates a history record for a specific repeating invoice
|
|
4204
4207
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4205
4208
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
4206
4209
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -4211,7 +4214,7 @@ module XeroRuby
|
|
|
4211
4214
|
data
|
|
4212
4215
|
end
|
|
4213
4216
|
|
|
4214
|
-
#
|
|
4217
|
+
# Creates a history record for a specific repeating invoice
|
|
4215
4218
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4216
4219
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
4217
4220
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -4282,7 +4285,7 @@ module XeroRuby
|
|
|
4282
4285
|
return data, status_code, headers
|
|
4283
4286
|
end
|
|
4284
4287
|
|
|
4285
|
-
#
|
|
4288
|
+
# Creates one or more tax rates
|
|
4286
4289
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4287
4290
|
# @param tax_rates [TaxRates] TaxRates array with TaxRate object in body of request
|
|
4288
4291
|
# @param [Hash] opts the optional parameters
|
|
@@ -4292,7 +4295,7 @@ module XeroRuby
|
|
|
4292
4295
|
data
|
|
4293
4296
|
end
|
|
4294
4297
|
|
|
4295
|
-
#
|
|
4298
|
+
# Creates one or more tax rates
|
|
4296
4299
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4297
4300
|
# @param tax_rates [TaxRates] TaxRates array with TaxRate object in body of request
|
|
4298
4301
|
# @param [Hash] opts the optional parameters
|
|
@@ -4358,7 +4361,7 @@ module XeroRuby
|
|
|
4358
4361
|
return data, status_code, headers
|
|
4359
4362
|
end
|
|
4360
4363
|
|
|
4361
|
-
#
|
|
4364
|
+
# Create tracking categories
|
|
4362
4365
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4363
4366
|
# @param tracking_category [TrackingCategory] TrackingCategory object in body of request
|
|
4364
4367
|
# @param [Hash] opts the optional parameters
|
|
@@ -4368,7 +4371,7 @@ module XeroRuby
|
|
|
4368
4371
|
data
|
|
4369
4372
|
end
|
|
4370
4373
|
|
|
4371
|
-
#
|
|
4374
|
+
# Create tracking categories
|
|
4372
4375
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4373
4376
|
# @param tracking_category [TrackingCategory] TrackingCategory object in body of request
|
|
4374
4377
|
# @param [Hash] opts the optional parameters
|
|
@@ -4434,7 +4437,7 @@ module XeroRuby
|
|
|
4434
4437
|
return data, status_code, headers
|
|
4435
4438
|
end
|
|
4436
4439
|
|
|
4437
|
-
#
|
|
4440
|
+
# Creates options for a specific tracking category
|
|
4438
4441
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4439
4442
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
4440
4443
|
# @param tracking_option [TrackingOption] TrackingOption object in body of request
|
|
@@ -4445,7 +4448,7 @@ module XeroRuby
|
|
|
4445
4448
|
data
|
|
4446
4449
|
end
|
|
4447
4450
|
|
|
4448
|
-
#
|
|
4451
|
+
# Creates options for a specific tracking category
|
|
4449
4452
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4450
4453
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
4451
4454
|
# @param tracking_option [TrackingOption] TrackingOption object in body of request
|
|
@@ -4516,7 +4519,7 @@ module XeroRuby
|
|
|
4516
4519
|
return data, status_code, headers
|
|
4517
4520
|
end
|
|
4518
4521
|
|
|
4519
|
-
#
|
|
4522
|
+
# Deletes a chart of accounts
|
|
4520
4523
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4521
4524
|
# @param account_id [String] Unique identifier for retrieving single object
|
|
4522
4525
|
# @param [Hash] opts the optional parameters
|
|
@@ -4526,7 +4529,7 @@ module XeroRuby
|
|
|
4526
4529
|
data
|
|
4527
4530
|
end
|
|
4528
4531
|
|
|
4529
|
-
#
|
|
4532
|
+
# Deletes a chart of accounts
|
|
4530
4533
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4531
4534
|
# @param account_id [String] Unique identifier for retrieving single object
|
|
4532
4535
|
# @param [Hash] opts the optional parameters
|
|
@@ -4590,7 +4593,7 @@ module XeroRuby
|
|
|
4590
4593
|
return data, status_code, headers
|
|
4591
4594
|
end
|
|
4592
4595
|
|
|
4593
|
-
#
|
|
4596
|
+
# Deletes a specific contact from a contact group using a unique contact Id
|
|
4594
4597
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4595
4598
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
4596
4599
|
# @param contact_id [String] Unique identifier for a Contact
|
|
@@ -4601,7 +4604,7 @@ module XeroRuby
|
|
|
4601
4604
|
nil
|
|
4602
4605
|
end
|
|
4603
4606
|
|
|
4604
|
-
#
|
|
4607
|
+
# Deletes a specific contact from a contact group using a unique contact Id
|
|
4605
4608
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4606
4609
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
4607
4610
|
# @param contact_id [String] Unique identifier for a Contact
|
|
@@ -4670,7 +4673,7 @@ module XeroRuby
|
|
|
4670
4673
|
return data, status_code, headers
|
|
4671
4674
|
end
|
|
4672
4675
|
|
|
4673
|
-
#
|
|
4676
|
+
# Deletes all contacts from a specific contact group
|
|
4674
4677
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4675
4678
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
4676
4679
|
# @param [Hash] opts the optional parameters
|
|
@@ -4680,7 +4683,7 @@ module XeroRuby
|
|
|
4680
4683
|
nil
|
|
4681
4684
|
end
|
|
4682
4685
|
|
|
4683
|
-
#
|
|
4686
|
+
# Deletes all contacts from a specific contact group
|
|
4684
4687
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4685
4688
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
4686
4689
|
# @param [Hash] opts the optional parameters
|
|
@@ -4742,7 +4745,7 @@ module XeroRuby
|
|
|
4742
4745
|
return data, status_code, headers
|
|
4743
4746
|
end
|
|
4744
4747
|
|
|
4745
|
-
#
|
|
4748
|
+
# Deletes a specific item
|
|
4746
4749
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4747
4750
|
# @param item_id [String] Unique identifier for an Item
|
|
4748
4751
|
# @param [Hash] opts the optional parameters
|
|
@@ -4752,7 +4755,7 @@ module XeroRuby
|
|
|
4752
4755
|
nil
|
|
4753
4756
|
end
|
|
4754
4757
|
|
|
4755
|
-
#
|
|
4758
|
+
# Deletes a specific item
|
|
4756
4759
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4757
4760
|
# @param item_id [String] Unique identifier for an Item
|
|
4758
4761
|
# @param [Hash] opts the optional parameters
|
|
@@ -4816,7 +4819,7 @@ module XeroRuby
|
|
|
4816
4819
|
return data, status_code, headers
|
|
4817
4820
|
end
|
|
4818
4821
|
|
|
4819
|
-
#
|
|
4822
|
+
# Deletes a specific linked transactions (billable expenses)
|
|
4820
4823
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4821
4824
|
# @param linked_transaction_id [String] Unique identifier for a LinkedTransaction
|
|
4822
4825
|
# @param [Hash] opts the optional parameters
|
|
@@ -4826,7 +4829,7 @@ module XeroRuby
|
|
|
4826
4829
|
nil
|
|
4827
4830
|
end
|
|
4828
4831
|
|
|
4829
|
-
#
|
|
4832
|
+
# Deletes a specific linked transactions (billable expenses)
|
|
4830
4833
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4831
4834
|
# @param linked_transaction_id [String] Unique identifier for a LinkedTransaction
|
|
4832
4835
|
# @param [Hash] opts the optional parameters
|
|
@@ -4890,7 +4893,7 @@ module XeroRuby
|
|
|
4890
4893
|
return data, status_code, headers
|
|
4891
4894
|
end
|
|
4892
4895
|
|
|
4893
|
-
#
|
|
4896
|
+
# Updates a specific payment for invoices and credit notes
|
|
4894
4897
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4895
4898
|
# @param payment_id [String] Unique identifier for a Payment
|
|
4896
4899
|
# @param payment_delete [PaymentDelete]
|
|
@@ -4901,7 +4904,7 @@ module XeroRuby
|
|
|
4901
4904
|
data
|
|
4902
4905
|
end
|
|
4903
4906
|
|
|
4904
|
-
#
|
|
4907
|
+
# Updates a specific payment for invoices and credit notes
|
|
4905
4908
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4906
4909
|
# @param payment_id [String] Unique identifier for a Payment
|
|
4907
4910
|
# @param payment_delete [PaymentDelete]
|
|
@@ -4972,7 +4975,7 @@ module XeroRuby
|
|
|
4972
4975
|
return data, status_code, headers
|
|
4973
4976
|
end
|
|
4974
4977
|
|
|
4975
|
-
#
|
|
4978
|
+
# Deletes a specific tracking category
|
|
4976
4979
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4977
4980
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
4978
4981
|
# @param [Hash] opts the optional parameters
|
|
@@ -4982,7 +4985,7 @@ module XeroRuby
|
|
|
4982
4985
|
data
|
|
4983
4986
|
end
|
|
4984
4987
|
|
|
4985
|
-
#
|
|
4988
|
+
# Deletes a specific tracking category
|
|
4986
4989
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4987
4990
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
4988
4991
|
# @param [Hash] opts the optional parameters
|
|
@@ -5046,7 +5049,7 @@ module XeroRuby
|
|
|
5046
5049
|
return data, status_code, headers
|
|
5047
5050
|
end
|
|
5048
5051
|
|
|
5049
|
-
#
|
|
5052
|
+
# Deletes a specific option for a specific tracking category
|
|
5050
5053
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5051
5054
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
5052
5055
|
# @param tracking_option_id [String] Unique identifier for a Tracking Option
|
|
@@ -5057,7 +5060,7 @@ module XeroRuby
|
|
|
5057
5060
|
data
|
|
5058
5061
|
end
|
|
5059
5062
|
|
|
5060
|
-
#
|
|
5063
|
+
# Deletes a specific option for a specific tracking category
|
|
5061
5064
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5062
5065
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
5063
5066
|
# @param tracking_option_id [String] Unique identifier for a Tracking Option
|
|
@@ -5126,7 +5129,7 @@ module XeroRuby
|
|
|
5126
5129
|
return data, status_code, headers
|
|
5127
5130
|
end
|
|
5128
5131
|
|
|
5129
|
-
#
|
|
5132
|
+
# Sends a copy of a specific invoice to related contact via email
|
|
5130
5133
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5131
5134
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
5132
5135
|
# @param request_empty [RequestEmpty]
|
|
@@ -5137,7 +5140,7 @@ module XeroRuby
|
|
|
5137
5140
|
nil
|
|
5138
5141
|
end
|
|
5139
5142
|
|
|
5140
|
-
#
|
|
5143
|
+
# Sends a copy of a specific invoice to related contact via email
|
|
5141
5144
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5142
5145
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
5143
5146
|
# @param request_empty [RequestEmpty]
|
|
@@ -5208,7 +5211,7 @@ module XeroRuby
|
|
|
5208
5211
|
return data, status_code, headers
|
|
5209
5212
|
end
|
|
5210
5213
|
|
|
5211
|
-
#
|
|
5214
|
+
# Retrieves a single chart of accounts by using a unique account Id
|
|
5212
5215
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5213
5216
|
# @param account_id [String] Unique identifier for retrieving single object
|
|
5214
5217
|
# @param [Hash] opts the optional parameters
|
|
@@ -5218,7 +5221,7 @@ module XeroRuby
|
|
|
5218
5221
|
data
|
|
5219
5222
|
end
|
|
5220
5223
|
|
|
5221
|
-
#
|
|
5224
|
+
# Retrieves a single chart of accounts by using a unique account Id
|
|
5222
5225
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5223
5226
|
# @param account_id [String] Unique identifier for retrieving single object
|
|
5224
5227
|
# @param [Hash] opts the optional parameters
|
|
@@ -5282,7 +5285,7 @@ module XeroRuby
|
|
|
5282
5285
|
return data, status_code, headers
|
|
5283
5286
|
end
|
|
5284
5287
|
|
|
5285
|
-
#
|
|
5288
|
+
# Retrieves an attachment for a specific account by filename
|
|
5286
5289
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5287
5290
|
# @param account_id [String] Unique identifier for Account object
|
|
5288
5291
|
# @param file_name [String] Name of the attachment
|
|
@@ -5294,7 +5297,7 @@ module XeroRuby
|
|
|
5294
5297
|
data
|
|
5295
5298
|
end
|
|
5296
5299
|
|
|
5297
|
-
#
|
|
5300
|
+
# Retrieves an attachment for a specific account by filename
|
|
5298
5301
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5299
5302
|
# @param account_id [String] Unique identifier for Account object
|
|
5300
5303
|
# @param file_name [String] Name of the attachment
|
|
@@ -5369,7 +5372,7 @@ module XeroRuby
|
|
|
5369
5372
|
return data, status_code, headers
|
|
5370
5373
|
end
|
|
5371
5374
|
|
|
5372
|
-
#
|
|
5375
|
+
# Retrieves a specific attachment from a specific account using a unique attachment Id
|
|
5373
5376
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5374
5377
|
# @param account_id [String] Unique identifier for Account object
|
|
5375
5378
|
# @param attachment_id [String] Unique identifier for Attachment object
|
|
@@ -5381,7 +5384,7 @@ module XeroRuby
|
|
|
5381
5384
|
data
|
|
5382
5385
|
end
|
|
5383
5386
|
|
|
5384
|
-
#
|
|
5387
|
+
# Retrieves a specific attachment from a specific account using a unique attachment Id
|
|
5385
5388
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5386
5389
|
# @param account_id [String] Unique identifier for Account object
|
|
5387
5390
|
# @param attachment_id [String] Unique identifier for Attachment object
|
|
@@ -5456,7 +5459,7 @@ module XeroRuby
|
|
|
5456
5459
|
return data, status_code, headers
|
|
5457
5460
|
end
|
|
5458
5461
|
|
|
5459
|
-
#
|
|
5462
|
+
# Retrieves attachments for a specific accounts by using a unique account Id
|
|
5460
5463
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5461
5464
|
# @param account_id [String] Unique identifier for Account object
|
|
5462
5465
|
# @param [Hash] opts the optional parameters
|
|
@@ -5466,7 +5469,7 @@ module XeroRuby
|
|
|
5466
5469
|
data
|
|
5467
5470
|
end
|
|
5468
5471
|
|
|
5469
|
-
#
|
|
5472
|
+
# Retrieves attachments for a specific accounts by using a unique account Id
|
|
5470
5473
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5471
5474
|
# @param account_id [String] Unique identifier for Account object
|
|
5472
5475
|
# @param [Hash] opts the optional parameters
|
|
@@ -5530,7 +5533,7 @@ module XeroRuby
|
|
|
5530
5533
|
return data, status_code, headers
|
|
5531
5534
|
end
|
|
5532
5535
|
|
|
5533
|
-
#
|
|
5536
|
+
# Retrieves the full chart of accounts
|
|
5534
5537
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5535
5538
|
# @param [Hash] opts the optional parameters
|
|
5536
5539
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -5542,7 +5545,7 @@ module XeroRuby
|
|
|
5542
5545
|
data
|
|
5543
5546
|
end
|
|
5544
5547
|
|
|
5545
|
-
#
|
|
5548
|
+
# Retrieves the full chart of accounts
|
|
5546
5549
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5547
5550
|
# @param [Hash] opts the optional parameters
|
|
5548
5551
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -5607,7 +5610,7 @@ module XeroRuby
|
|
|
5607
5610
|
return data, status_code, headers
|
|
5608
5611
|
end
|
|
5609
5612
|
|
|
5610
|
-
#
|
|
5613
|
+
# Retrieves a single spent or received money transaction by using a unique bank transaction Id
|
|
5611
5614
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5612
5615
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
5613
5616
|
# @param [Hash] opts the optional parameters
|
|
@@ -5618,7 +5621,7 @@ module XeroRuby
|
|
|
5618
5621
|
data
|
|
5619
5622
|
end
|
|
5620
5623
|
|
|
5621
|
-
#
|
|
5624
|
+
# Retrieves a single spent or received money transaction by using a unique bank transaction Id
|
|
5622
5625
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5623
5626
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
5624
5627
|
# @param [Hash] opts the optional parameters
|
|
@@ -5684,7 +5687,7 @@ module XeroRuby
|
|
|
5684
5687
|
return data, status_code, headers
|
|
5685
5688
|
end
|
|
5686
5689
|
|
|
5687
|
-
#
|
|
5690
|
+
# Retrieves a specific attachment from a specific bank transaction by filename
|
|
5688
5691
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5689
5692
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
5690
5693
|
# @param file_name [String] The name of the file being attached
|
|
@@ -5696,7 +5699,7 @@ module XeroRuby
|
|
|
5696
5699
|
data
|
|
5697
5700
|
end
|
|
5698
5701
|
|
|
5699
|
-
#
|
|
5702
|
+
# Retrieves a specific attachment from a specific bank transaction by filename
|
|
5700
5703
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5701
5704
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
5702
5705
|
# @param file_name [String] The name of the file being attached
|
|
@@ -5771,7 +5774,7 @@ module XeroRuby
|
|
|
5771
5774
|
return data, status_code, headers
|
|
5772
5775
|
end
|
|
5773
5776
|
|
|
5774
|
-
#
|
|
5777
|
+
# Retrieves specific attachments from a specific BankTransaction using a unique attachment Id
|
|
5775
5778
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5776
5779
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
5777
5780
|
# @param attachment_id [String] Xero generated unique identifier for an attachment
|
|
@@ -5783,7 +5786,7 @@ module XeroRuby
|
|
|
5783
5786
|
data
|
|
5784
5787
|
end
|
|
5785
5788
|
|
|
5786
|
-
#
|
|
5789
|
+
# Retrieves specific attachments from a specific BankTransaction using a unique attachment Id
|
|
5787
5790
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5788
5791
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
5789
5792
|
# @param attachment_id [String] Xero generated unique identifier for an attachment
|
|
@@ -5858,7 +5861,7 @@ module XeroRuby
|
|
|
5858
5861
|
return data, status_code, headers
|
|
5859
5862
|
end
|
|
5860
5863
|
|
|
5861
|
-
#
|
|
5864
|
+
# Retrieves any attachments from a specific bank transactions
|
|
5862
5865
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5863
5866
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
5864
5867
|
# @param [Hash] opts the optional parameters
|
|
@@ -5868,7 +5871,7 @@ module XeroRuby
|
|
|
5868
5871
|
data
|
|
5869
5872
|
end
|
|
5870
5873
|
|
|
5871
|
-
#
|
|
5874
|
+
# Retrieves any attachments from a specific bank transactions
|
|
5872
5875
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5873
5876
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
5874
5877
|
# @param [Hash] opts the optional parameters
|
|
@@ -5932,7 +5935,7 @@ module XeroRuby
|
|
|
5932
5935
|
return data, status_code, headers
|
|
5933
5936
|
end
|
|
5934
5937
|
|
|
5935
|
-
#
|
|
5938
|
+
# Retrieves any spent or received money transactions
|
|
5936
5939
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5937
5940
|
# @param [Hash] opts the optional parameters
|
|
5938
5941
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -5946,7 +5949,7 @@ module XeroRuby
|
|
|
5946
5949
|
data
|
|
5947
5950
|
end
|
|
5948
5951
|
|
|
5949
|
-
#
|
|
5952
|
+
# Retrieves any spent or received money transactions
|
|
5950
5953
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5951
5954
|
# @param [Hash] opts the optional parameters
|
|
5952
5955
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -6015,7 +6018,7 @@ module XeroRuby
|
|
|
6015
6018
|
return data, status_code, headers
|
|
6016
6019
|
end
|
|
6017
6020
|
|
|
6018
|
-
#
|
|
6021
|
+
# Retrieves history from a specific bank transaction using a unique bank transaction Id
|
|
6019
6022
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6020
6023
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
6021
6024
|
# @param [Hash] opts the optional parameters
|
|
@@ -6025,7 +6028,7 @@ module XeroRuby
|
|
|
6025
6028
|
data
|
|
6026
6029
|
end
|
|
6027
6030
|
|
|
6028
|
-
#
|
|
6031
|
+
# Retrieves history from a specific bank transaction using a unique bank transaction Id
|
|
6029
6032
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6030
6033
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
6031
6034
|
# @param [Hash] opts the optional parameters
|
|
@@ -6089,7 +6092,7 @@ module XeroRuby
|
|
|
6089
6092
|
return data, status_code, headers
|
|
6090
6093
|
end
|
|
6091
6094
|
|
|
6092
|
-
#
|
|
6095
|
+
# Retrieves specific bank transfers by using a unique bank transfer Id
|
|
6093
6096
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6094
6097
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6095
6098
|
# @param [Hash] opts the optional parameters
|
|
@@ -6099,7 +6102,7 @@ module XeroRuby
|
|
|
6099
6102
|
data
|
|
6100
6103
|
end
|
|
6101
6104
|
|
|
6102
|
-
#
|
|
6105
|
+
# Retrieves specific bank transfers by using a unique bank transfer Id
|
|
6103
6106
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6104
6107
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6105
6108
|
# @param [Hash] opts the optional parameters
|
|
@@ -6163,7 +6166,7 @@ module XeroRuby
|
|
|
6163
6166
|
return data, status_code, headers
|
|
6164
6167
|
end
|
|
6165
6168
|
|
|
6166
|
-
#
|
|
6169
|
+
# Retrieves a specific attachment on a specific bank transfer by file name
|
|
6167
6170
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6168
6171
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6169
6172
|
# @param file_name [String] The name of the file being attached to a Bank Transfer
|
|
@@ -6175,7 +6178,7 @@ module XeroRuby
|
|
|
6175
6178
|
data
|
|
6176
6179
|
end
|
|
6177
6180
|
|
|
6178
|
-
#
|
|
6181
|
+
# Retrieves a specific attachment on a specific bank transfer by file name
|
|
6179
6182
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6180
6183
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6181
6184
|
# @param file_name [String] The name of the file being attached to a Bank Transfer
|
|
@@ -6250,7 +6253,7 @@ module XeroRuby
|
|
|
6250
6253
|
return data, status_code, headers
|
|
6251
6254
|
end
|
|
6252
6255
|
|
|
6253
|
-
#
|
|
6256
|
+
# Retrieves a specific attachment from a specific bank transfer using a unique attachment ID
|
|
6254
6257
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6255
6258
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6256
6259
|
# @param attachment_id [String] Xero generated unique identifier for an Attachment to a bank transfer
|
|
@@ -6262,7 +6265,7 @@ module XeroRuby
|
|
|
6262
6265
|
data
|
|
6263
6266
|
end
|
|
6264
6267
|
|
|
6265
|
-
#
|
|
6268
|
+
# Retrieves a specific attachment from a specific bank transfer using a unique attachment ID
|
|
6266
6269
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6267
6270
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6268
6271
|
# @param attachment_id [String] Xero generated unique identifier for an Attachment to a bank transfer
|
|
@@ -6337,7 +6340,7 @@ module XeroRuby
|
|
|
6337
6340
|
return data, status_code, headers
|
|
6338
6341
|
end
|
|
6339
6342
|
|
|
6340
|
-
#
|
|
6343
|
+
# Retrieves attachments from a specific bank transfer
|
|
6341
6344
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6342
6345
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6343
6346
|
# @param [Hash] opts the optional parameters
|
|
@@ -6347,7 +6350,7 @@ module XeroRuby
|
|
|
6347
6350
|
data
|
|
6348
6351
|
end
|
|
6349
6352
|
|
|
6350
|
-
#
|
|
6353
|
+
# Retrieves attachments from a specific bank transfer
|
|
6351
6354
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6352
6355
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6353
6356
|
# @param [Hash] opts the optional parameters
|
|
@@ -6411,7 +6414,7 @@ module XeroRuby
|
|
|
6411
6414
|
return data, status_code, headers
|
|
6412
6415
|
end
|
|
6413
6416
|
|
|
6414
|
-
#
|
|
6417
|
+
# Retrieves history from a specific bank transfer using a unique bank transfer Id
|
|
6415
6418
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6416
6419
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6417
6420
|
# @param [Hash] opts the optional parameters
|
|
@@ -6421,7 +6424,7 @@ module XeroRuby
|
|
|
6421
6424
|
data
|
|
6422
6425
|
end
|
|
6423
6426
|
|
|
6424
|
-
#
|
|
6427
|
+
# Retrieves history from a specific bank transfer using a unique bank transfer Id
|
|
6425
6428
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6426
6429
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6427
6430
|
# @param [Hash] opts the optional parameters
|
|
@@ -6485,7 +6488,7 @@ module XeroRuby
|
|
|
6485
6488
|
return data, status_code, headers
|
|
6486
6489
|
end
|
|
6487
6490
|
|
|
6488
|
-
#
|
|
6491
|
+
# Retrieves all bank transfers
|
|
6489
6492
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6490
6493
|
# @param [Hash] opts the optional parameters
|
|
6491
6494
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -6497,7 +6500,7 @@ module XeroRuby
|
|
|
6497
6500
|
data
|
|
6498
6501
|
end
|
|
6499
6502
|
|
|
6500
|
-
#
|
|
6503
|
+
# Retrieves all bank transfers
|
|
6501
6504
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6502
6505
|
# @param [Hash] opts the optional parameters
|
|
6503
6506
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -6562,7 +6565,7 @@ module XeroRuby
|
|
|
6562
6565
|
return data, status_code, headers
|
|
6563
6566
|
end
|
|
6564
6567
|
|
|
6565
|
-
#
|
|
6568
|
+
# Retrieves history from a specific batch payment
|
|
6566
6569
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6567
6570
|
# @param batch_payment_id [String] Unique identifier for BatchPayment
|
|
6568
6571
|
# @param [Hash] opts the optional parameters
|
|
@@ -6572,7 +6575,7 @@ module XeroRuby
|
|
|
6572
6575
|
data
|
|
6573
6576
|
end
|
|
6574
6577
|
|
|
6575
|
-
#
|
|
6578
|
+
# Retrieves history from a specific batch payment
|
|
6576
6579
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6577
6580
|
# @param batch_payment_id [String] Unique identifier for BatchPayment
|
|
6578
6581
|
# @param [Hash] opts the optional parameters
|
|
@@ -6636,7 +6639,7 @@ module XeroRuby
|
|
|
6636
6639
|
return data, status_code, headers
|
|
6637
6640
|
end
|
|
6638
6641
|
|
|
6639
|
-
#
|
|
6642
|
+
# Retrieves either one or many batch payments for invoices
|
|
6640
6643
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6641
6644
|
# @param [Hash] opts the optional parameters
|
|
6642
6645
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -6648,7 +6651,7 @@ module XeroRuby
|
|
|
6648
6651
|
data
|
|
6649
6652
|
end
|
|
6650
6653
|
|
|
6651
|
-
#
|
|
6654
|
+
# Retrieves either one or many batch payments for invoices
|
|
6652
6655
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6653
6656
|
# @param [Hash] opts the optional parameters
|
|
6654
6657
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -6713,7 +6716,7 @@ module XeroRuby
|
|
|
6713
6716
|
return data, status_code, headers
|
|
6714
6717
|
end
|
|
6715
6718
|
|
|
6716
|
-
#
|
|
6719
|
+
# Retrieves a specific branding theme using a unique branding theme Id
|
|
6717
6720
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6718
6721
|
# @param branding_theme_id [String] Unique identifier for a Branding Theme
|
|
6719
6722
|
# @param [Hash] opts the optional parameters
|
|
@@ -6723,7 +6726,7 @@ module XeroRuby
|
|
|
6723
6726
|
data
|
|
6724
6727
|
end
|
|
6725
6728
|
|
|
6726
|
-
#
|
|
6729
|
+
# Retrieves a specific branding theme using a unique branding theme Id
|
|
6727
6730
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6728
6731
|
# @param branding_theme_id [String] Unique identifier for a Branding Theme
|
|
6729
6732
|
# @param [Hash] opts the optional parameters
|
|
@@ -6787,7 +6790,7 @@ module XeroRuby
|
|
|
6787
6790
|
return data, status_code, headers
|
|
6788
6791
|
end
|
|
6789
6792
|
|
|
6790
|
-
#
|
|
6793
|
+
# Retrieves the payment services for a specific branding theme
|
|
6791
6794
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6792
6795
|
# @param branding_theme_id [String] Unique identifier for a Branding Theme
|
|
6793
6796
|
# @param [Hash] opts the optional parameters
|
|
@@ -6797,7 +6800,7 @@ module XeroRuby
|
|
|
6797
6800
|
data
|
|
6798
6801
|
end
|
|
6799
6802
|
|
|
6800
|
-
#
|
|
6803
|
+
# Retrieves the payment services for a specific branding theme
|
|
6801
6804
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6802
6805
|
# @param branding_theme_id [String] Unique identifier for a Branding Theme
|
|
6803
6806
|
# @param [Hash] opts the optional parameters
|
|
@@ -6861,7 +6864,7 @@ module XeroRuby
|
|
|
6861
6864
|
return data, status_code, headers
|
|
6862
6865
|
end
|
|
6863
6866
|
|
|
6864
|
-
#
|
|
6867
|
+
# Retrieves all the branding themes
|
|
6865
6868
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6866
6869
|
# @param [Hash] opts the optional parameters
|
|
6867
6870
|
# @return [BrandingThemes]
|
|
@@ -6870,7 +6873,7 @@ module XeroRuby
|
|
|
6870
6873
|
data
|
|
6871
6874
|
end
|
|
6872
6875
|
|
|
6873
|
-
#
|
|
6876
|
+
# Retrieves all the branding themes
|
|
6874
6877
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6875
6878
|
# @param [Hash] opts the optional parameters
|
|
6876
6879
|
# @return [Array<(BrandingThemes, Integer, Hash)>] BrandingThemes data, response status code and response headers
|
|
@@ -6929,7 +6932,7 @@ module XeroRuby
|
|
|
6929
6932
|
return data, status_code, headers
|
|
6930
6933
|
end
|
|
6931
6934
|
|
|
6932
|
-
#
|
|
6935
|
+
# Retrieves a specific contacts in a Xero organisation using a unique contact Id
|
|
6933
6936
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6934
6937
|
# @param contact_id [String] Unique identifier for a Contact
|
|
6935
6938
|
# @param [Hash] opts the optional parameters
|
|
@@ -6939,7 +6942,7 @@ module XeroRuby
|
|
|
6939
6942
|
data
|
|
6940
6943
|
end
|
|
6941
6944
|
|
|
6942
|
-
#
|
|
6945
|
+
# Retrieves a specific contacts in a Xero organisation using a unique contact Id
|
|
6943
6946
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6944
6947
|
# @param contact_id [String] Unique identifier for a Contact
|
|
6945
6948
|
# @param [Hash] opts the optional parameters
|
|
@@ -7003,7 +7006,7 @@ module XeroRuby
|
|
|
7003
7006
|
return data, status_code, headers
|
|
7004
7007
|
end
|
|
7005
7008
|
|
|
7006
|
-
#
|
|
7009
|
+
# Retrieves a specific attachment from a specific contact by file name
|
|
7007
7010
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7008
7011
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7009
7012
|
# @param file_name [String] Name for the file you are attaching
|
|
@@ -7015,7 +7018,7 @@ module XeroRuby
|
|
|
7015
7018
|
data
|
|
7016
7019
|
end
|
|
7017
7020
|
|
|
7018
|
-
#
|
|
7021
|
+
# Retrieves a specific attachment from a specific contact by file name
|
|
7019
7022
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7020
7023
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7021
7024
|
# @param file_name [String] Name for the file you are attaching
|
|
@@ -7090,7 +7093,7 @@ module XeroRuby
|
|
|
7090
7093
|
return data, status_code, headers
|
|
7091
7094
|
end
|
|
7092
7095
|
|
|
7093
|
-
#
|
|
7096
|
+
# Retrieves a specific attachment from a specific contact using a unique attachment Id
|
|
7094
7097
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7095
7098
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7096
7099
|
# @param attachment_id [String] Unique identifier for a Attachment
|
|
@@ -7102,7 +7105,7 @@ module XeroRuby
|
|
|
7102
7105
|
data
|
|
7103
7106
|
end
|
|
7104
7107
|
|
|
7105
|
-
#
|
|
7108
|
+
# Retrieves a specific attachment from a specific contact using a unique attachment Id
|
|
7106
7109
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7107
7110
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7108
7111
|
# @param attachment_id [String] Unique identifier for a Attachment
|
|
@@ -7177,7 +7180,7 @@ module XeroRuby
|
|
|
7177
7180
|
return data, status_code, headers
|
|
7178
7181
|
end
|
|
7179
7182
|
|
|
7180
|
-
#
|
|
7183
|
+
# Retrieves attachments for a specific contact in a Xero organisation
|
|
7181
7184
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7182
7185
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7183
7186
|
# @param [Hash] opts the optional parameters
|
|
@@ -7187,7 +7190,7 @@ module XeroRuby
|
|
|
7187
7190
|
data
|
|
7188
7191
|
end
|
|
7189
7192
|
|
|
7190
|
-
#
|
|
7193
|
+
# Retrieves attachments for a specific contact in a Xero organisation
|
|
7191
7194
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7192
7195
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7193
7196
|
# @param [Hash] opts the optional parameters
|
|
@@ -7251,7 +7254,7 @@ module XeroRuby
|
|
|
7251
7254
|
return data, status_code, headers
|
|
7252
7255
|
end
|
|
7253
7256
|
|
|
7254
|
-
#
|
|
7257
|
+
# Retrieves a specific contact by contact number in a Xero organisation
|
|
7255
7258
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7256
7259
|
# @param contact_number [String] This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50).
|
|
7257
7260
|
# @param [Hash] opts the optional parameters
|
|
@@ -7261,7 +7264,7 @@ module XeroRuby
|
|
|
7261
7264
|
data
|
|
7262
7265
|
end
|
|
7263
7266
|
|
|
7264
|
-
#
|
|
7267
|
+
# Retrieves a specific contact by contact number in a Xero organisation
|
|
7265
7268
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7266
7269
|
# @param contact_number [String] This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50).
|
|
7267
7270
|
# @param [Hash] opts the optional parameters
|
|
@@ -7325,7 +7328,7 @@ module XeroRuby
|
|
|
7325
7328
|
return data, status_code, headers
|
|
7326
7329
|
end
|
|
7327
7330
|
|
|
7328
|
-
#
|
|
7331
|
+
# Retrieves CIS settings for a specific contact in a Xero organisation
|
|
7329
7332
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7330
7333
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7331
7334
|
# @param [Hash] opts the optional parameters
|
|
@@ -7335,7 +7338,7 @@ module XeroRuby
|
|
|
7335
7338
|
data
|
|
7336
7339
|
end
|
|
7337
7340
|
|
|
7338
|
-
#
|
|
7341
|
+
# Retrieves CIS settings for a specific contact in a Xero organisation
|
|
7339
7342
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7340
7343
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7341
7344
|
# @param [Hash] opts the optional parameters
|
|
@@ -7399,7 +7402,7 @@ module XeroRuby
|
|
|
7399
7402
|
return data, status_code, headers
|
|
7400
7403
|
end
|
|
7401
7404
|
|
|
7402
|
-
#
|
|
7405
|
+
# Retrieves a specific contact group by using a unique contact group Id
|
|
7403
7406
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7404
7407
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
7405
7408
|
# @param [Hash] opts the optional parameters
|
|
@@ -7409,7 +7412,7 @@ module XeroRuby
|
|
|
7409
7412
|
data
|
|
7410
7413
|
end
|
|
7411
7414
|
|
|
7412
|
-
#
|
|
7415
|
+
# Retrieves a specific contact group by using a unique contact group Id
|
|
7413
7416
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7414
7417
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
7415
7418
|
# @param [Hash] opts the optional parameters
|
|
@@ -7473,7 +7476,7 @@ module XeroRuby
|
|
|
7473
7476
|
return data, status_code, headers
|
|
7474
7477
|
end
|
|
7475
7478
|
|
|
7476
|
-
#
|
|
7479
|
+
# Retrieves the contact Id and name of all the contacts in a contact group
|
|
7477
7480
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7478
7481
|
# @param [Hash] opts the optional parameters
|
|
7479
7482
|
# @option opts [String] :where Filter by an any element
|
|
@@ -7484,7 +7487,7 @@ module XeroRuby
|
|
|
7484
7487
|
data
|
|
7485
7488
|
end
|
|
7486
7489
|
|
|
7487
|
-
#
|
|
7490
|
+
# Retrieves the contact Id and name of all the contacts in a contact group
|
|
7488
7491
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7489
7492
|
# @param [Hash] opts the optional parameters
|
|
7490
7493
|
# @option opts [String] :where Filter by an any element
|
|
@@ -7547,7 +7550,7 @@ module XeroRuby
|
|
|
7547
7550
|
return data, status_code, headers
|
|
7548
7551
|
end
|
|
7549
7552
|
|
|
7550
|
-
#
|
|
7553
|
+
# Retrieves history records for a specific contact
|
|
7551
7554
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7552
7555
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7553
7556
|
# @param [Hash] opts the optional parameters
|
|
@@ -7557,7 +7560,7 @@ module XeroRuby
|
|
|
7557
7560
|
data
|
|
7558
7561
|
end
|
|
7559
7562
|
|
|
7560
|
-
#
|
|
7563
|
+
# Retrieves history records for a specific contact
|
|
7561
7564
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7562
7565
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7563
7566
|
# @param [Hash] opts the optional parameters
|
|
@@ -7621,7 +7624,7 @@ module XeroRuby
|
|
|
7621
7624
|
return data, status_code, headers
|
|
7622
7625
|
end
|
|
7623
7626
|
|
|
7624
|
-
#
|
|
7627
|
+
# Retrieves all contacts in a Xero organisation
|
|
7625
7628
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7626
7629
|
# @param [Hash] opts the optional parameters
|
|
7627
7630
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -7636,7 +7639,7 @@ module XeroRuby
|
|
|
7636
7639
|
data
|
|
7637
7640
|
end
|
|
7638
7641
|
|
|
7639
|
-
#
|
|
7642
|
+
# Retrieves all contacts in a Xero organisation
|
|
7640
7643
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7641
7644
|
# @param [Hash] opts the optional parameters
|
|
7642
7645
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -7707,7 +7710,7 @@ module XeroRuby
|
|
|
7707
7710
|
return data, status_code, headers
|
|
7708
7711
|
end
|
|
7709
7712
|
|
|
7710
|
-
#
|
|
7713
|
+
# Retrieves a specific credit note using a unique credit note Id
|
|
7711
7714
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7712
7715
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
7713
7716
|
# @param [Hash] opts the optional parameters
|
|
@@ -7718,7 +7721,7 @@ module XeroRuby
|
|
|
7718
7721
|
data
|
|
7719
7722
|
end
|
|
7720
7723
|
|
|
7721
|
-
#
|
|
7724
|
+
# Retrieves a specific credit note using a unique credit note Id
|
|
7722
7725
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7723
7726
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
7724
7727
|
# @param [Hash] opts the optional parameters
|
|
@@ -7784,7 +7787,7 @@ module XeroRuby
|
|
|
7784
7787
|
return data, status_code, headers
|
|
7785
7788
|
end
|
|
7786
7789
|
|
|
7787
|
-
#
|
|
7790
|
+
# Retrieves credit notes as PDF files
|
|
7788
7791
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7789
7792
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
7790
7793
|
# @param [Hash] opts the optional parameters
|
|
@@ -7794,7 +7797,7 @@ module XeroRuby
|
|
|
7794
7797
|
data
|
|
7795
7798
|
end
|
|
7796
7799
|
|
|
7797
|
-
#
|
|
7800
|
+
# Retrieves credit notes as PDF files
|
|
7798
7801
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7799
7802
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
7800
7803
|
# @param [Hash] opts the optional parameters
|
|
@@ -7858,7 +7861,7 @@ module XeroRuby
|
|
|
7858
7861
|
return data, status_code, headers
|
|
7859
7862
|
end
|
|
7860
7863
|
|
|
7861
|
-
#
|
|
7864
|
+
# Retrieves a specific attachment on a specific credit note by file name
|
|
7862
7865
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7863
7866
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
7864
7867
|
# @param file_name [String] Name of the file you are attaching to Credit Note
|
|
@@ -7870,7 +7873,7 @@ module XeroRuby
|
|
|
7870
7873
|
data
|
|
7871
7874
|
end
|
|
7872
7875
|
|
|
7873
|
-
#
|
|
7876
|
+
# Retrieves a specific attachment on a specific credit note by file name
|
|
7874
7877
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7875
7878
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
7876
7879
|
# @param file_name [String] Name of the file you are attaching to Credit Note
|
|
@@ -7945,7 +7948,7 @@ module XeroRuby
|
|
|
7945
7948
|
return data, status_code, headers
|
|
7946
7949
|
end
|
|
7947
7950
|
|
|
7948
|
-
#
|
|
7951
|
+
# Retrieves a specific attachment from a specific credit note using a unique attachment Id
|
|
7949
7952
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7950
7953
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
7951
7954
|
# @param attachment_id [String] Unique identifier for a Attachment
|
|
@@ -7957,7 +7960,7 @@ module XeroRuby
|
|
|
7957
7960
|
data
|
|
7958
7961
|
end
|
|
7959
7962
|
|
|
7960
|
-
#
|
|
7963
|
+
# Retrieves a specific attachment from a specific credit note using a unique attachment Id
|
|
7961
7964
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7962
7965
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
7963
7966
|
# @param attachment_id [String] Unique identifier for a Attachment
|
|
@@ -8032,7 +8035,7 @@ module XeroRuby
|
|
|
8032
8035
|
return data, status_code, headers
|
|
8033
8036
|
end
|
|
8034
8037
|
|
|
8035
|
-
#
|
|
8038
|
+
# Retrieves attachments for a specific credit notes
|
|
8036
8039
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8037
8040
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
8038
8041
|
# @param [Hash] opts the optional parameters
|
|
@@ -8042,7 +8045,7 @@ module XeroRuby
|
|
|
8042
8045
|
data
|
|
8043
8046
|
end
|
|
8044
8047
|
|
|
8045
|
-
#
|
|
8048
|
+
# Retrieves attachments for a specific credit notes
|
|
8046
8049
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8047
8050
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
8048
8051
|
# @param [Hash] opts the optional parameters
|
|
@@ -8106,7 +8109,7 @@ module XeroRuby
|
|
|
8106
8109
|
return data, status_code, headers
|
|
8107
8110
|
end
|
|
8108
8111
|
|
|
8109
|
-
#
|
|
8112
|
+
# Retrieves history records of a specific credit note
|
|
8110
8113
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8111
8114
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
8112
8115
|
# @param [Hash] opts the optional parameters
|
|
@@ -8116,7 +8119,7 @@ module XeroRuby
|
|
|
8116
8119
|
data
|
|
8117
8120
|
end
|
|
8118
8121
|
|
|
8119
|
-
#
|
|
8122
|
+
# Retrieves history records of a specific credit note
|
|
8120
8123
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8121
8124
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
8122
8125
|
# @param [Hash] opts the optional parameters
|
|
@@ -8180,7 +8183,7 @@ module XeroRuby
|
|
|
8180
8183
|
return data, status_code, headers
|
|
8181
8184
|
end
|
|
8182
8185
|
|
|
8183
|
-
#
|
|
8186
|
+
# Retrieves any credit notes
|
|
8184
8187
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8185
8188
|
# @param [Hash] opts the optional parameters
|
|
8186
8189
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -8194,7 +8197,7 @@ module XeroRuby
|
|
|
8194
8197
|
data
|
|
8195
8198
|
end
|
|
8196
8199
|
|
|
8197
|
-
#
|
|
8200
|
+
# Retrieves any credit notes
|
|
8198
8201
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8199
8202
|
# @param [Hash] opts the optional parameters
|
|
8200
8203
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -8263,7 +8266,7 @@ module XeroRuby
|
|
|
8263
8266
|
return data, status_code, headers
|
|
8264
8267
|
end
|
|
8265
8268
|
|
|
8266
|
-
#
|
|
8269
|
+
# Retrieves currencies for your Xero organisation
|
|
8267
8270
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8268
8271
|
# @param [Hash] opts the optional parameters
|
|
8269
8272
|
# @option opts [String] :where Filter by an any element
|
|
@@ -8274,7 +8277,7 @@ module XeroRuby
|
|
|
8274
8277
|
data
|
|
8275
8278
|
end
|
|
8276
8279
|
|
|
8277
|
-
#
|
|
8280
|
+
# Retrieves currencies for your Xero organisation
|
|
8278
8281
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8279
8282
|
# @param [Hash] opts the optional parameters
|
|
8280
8283
|
# @option opts [String] :where Filter by an any element
|
|
@@ -8337,7 +8340,7 @@ module XeroRuby
|
|
|
8337
8340
|
return data, status_code, headers
|
|
8338
8341
|
end
|
|
8339
8342
|
|
|
8340
|
-
#
|
|
8343
|
+
# Retrieves a specific employee used in Xero payrun using a unique employee Id
|
|
8341
8344
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8342
8345
|
# @param employee_id [String] Unique identifier for a Employee
|
|
8343
8346
|
# @param [Hash] opts the optional parameters
|
|
@@ -8347,7 +8350,7 @@ module XeroRuby
|
|
|
8347
8350
|
data
|
|
8348
8351
|
end
|
|
8349
8352
|
|
|
8350
|
-
#
|
|
8353
|
+
# Retrieves a specific employee used in Xero payrun using a unique employee Id
|
|
8351
8354
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8352
8355
|
# @param employee_id [String] Unique identifier for a Employee
|
|
8353
8356
|
# @param [Hash] opts the optional parameters
|
|
@@ -8411,7 +8414,7 @@ module XeroRuby
|
|
|
8411
8414
|
return data, status_code, headers
|
|
8412
8415
|
end
|
|
8413
8416
|
|
|
8414
|
-
#
|
|
8417
|
+
# Retrieves employees used in Xero payrun
|
|
8415
8418
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8416
8419
|
# @param [Hash] opts the optional parameters
|
|
8417
8420
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -8423,7 +8426,7 @@ module XeroRuby
|
|
|
8423
8426
|
data
|
|
8424
8427
|
end
|
|
8425
8428
|
|
|
8426
|
-
#
|
|
8429
|
+
# Retrieves employees used in Xero payrun
|
|
8427
8430
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8428
8431
|
# @param [Hash] opts the optional parameters
|
|
8429
8432
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -8488,7 +8491,7 @@ module XeroRuby
|
|
|
8488
8491
|
return data, status_code, headers
|
|
8489
8492
|
end
|
|
8490
8493
|
|
|
8491
|
-
#
|
|
8494
|
+
# Retrieves a specific expense claim using a unique expense claim Id
|
|
8492
8495
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8493
8496
|
# @param expense_claim_id [String] Unique identifier for a ExpenseClaim
|
|
8494
8497
|
# @param [Hash] opts the optional parameters
|
|
@@ -8498,7 +8501,7 @@ module XeroRuby
|
|
|
8498
8501
|
data
|
|
8499
8502
|
end
|
|
8500
8503
|
|
|
8501
|
-
#
|
|
8504
|
+
# Retrieves a specific expense claim using a unique expense claim Id
|
|
8502
8505
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8503
8506
|
# @param expense_claim_id [String] Unique identifier for a ExpenseClaim
|
|
8504
8507
|
# @param [Hash] opts the optional parameters
|
|
@@ -8562,7 +8565,7 @@ module XeroRuby
|
|
|
8562
8565
|
return data, status_code, headers
|
|
8563
8566
|
end
|
|
8564
8567
|
|
|
8565
|
-
#
|
|
8568
|
+
# Retrieves history records of a specific expense claim
|
|
8566
8569
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8567
8570
|
# @param expense_claim_id [String] Unique identifier for a ExpenseClaim
|
|
8568
8571
|
# @param [Hash] opts the optional parameters
|
|
@@ -8572,7 +8575,7 @@ module XeroRuby
|
|
|
8572
8575
|
data
|
|
8573
8576
|
end
|
|
8574
8577
|
|
|
8575
|
-
#
|
|
8578
|
+
# Retrieves history records of a specific expense claim
|
|
8576
8579
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8577
8580
|
# @param expense_claim_id [String] Unique identifier for a ExpenseClaim
|
|
8578
8581
|
# @param [Hash] opts the optional parameters
|
|
@@ -8636,7 +8639,7 @@ module XeroRuby
|
|
|
8636
8639
|
return data, status_code, headers
|
|
8637
8640
|
end
|
|
8638
8641
|
|
|
8639
|
-
#
|
|
8642
|
+
# Retrieves expense claims
|
|
8640
8643
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8641
8644
|
# @param [Hash] opts the optional parameters
|
|
8642
8645
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -8648,7 +8651,7 @@ module XeroRuby
|
|
|
8648
8651
|
data
|
|
8649
8652
|
end
|
|
8650
8653
|
|
|
8651
|
-
#
|
|
8654
|
+
# Retrieves expense claims
|
|
8652
8655
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8653
8656
|
# @param [Hash] opts the optional parameters
|
|
8654
8657
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -8713,7 +8716,7 @@ module XeroRuby
|
|
|
8713
8716
|
return data, status_code, headers
|
|
8714
8717
|
end
|
|
8715
8718
|
|
|
8716
|
-
#
|
|
8719
|
+
# Retrieves a specific sales invoice or purchase bill using a unique invoice Id
|
|
8717
8720
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8718
8721
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
8719
8722
|
# @param [Hash] opts the optional parameters
|
|
@@ -8724,7 +8727,7 @@ module XeroRuby
|
|
|
8724
8727
|
data
|
|
8725
8728
|
end
|
|
8726
8729
|
|
|
8727
|
-
#
|
|
8730
|
+
# Retrieves a specific sales invoice or purchase bill using a unique invoice Id
|
|
8728
8731
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8729
8732
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
8730
8733
|
# @param [Hash] opts the optional parameters
|
|
@@ -8790,7 +8793,7 @@ module XeroRuby
|
|
|
8790
8793
|
return data, status_code, headers
|
|
8791
8794
|
end
|
|
8792
8795
|
|
|
8793
|
-
#
|
|
8796
|
+
# Retrieves invoices or purchase bills as PDF files
|
|
8794
8797
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8795
8798
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
8796
8799
|
# @param [Hash] opts the optional parameters
|
|
@@ -8800,7 +8803,7 @@ module XeroRuby
|
|
|
8800
8803
|
data
|
|
8801
8804
|
end
|
|
8802
8805
|
|
|
8803
|
-
#
|
|
8806
|
+
# Retrieves invoices or purchase bills as PDF files
|
|
8804
8807
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8805
8808
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
8806
8809
|
# @param [Hash] opts the optional parameters
|
|
@@ -8864,7 +8867,7 @@ module XeroRuby
|
|
|
8864
8867
|
return data, status_code, headers
|
|
8865
8868
|
end
|
|
8866
8869
|
|
|
8867
|
-
#
|
|
8870
|
+
# Retrieves an attachment from a specific invoice or purchase bill by filename
|
|
8868
8871
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8869
8872
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
8870
8873
|
# @param file_name [String] Name of the file you are attaching
|
|
@@ -8876,7 +8879,7 @@ module XeroRuby
|
|
|
8876
8879
|
data
|
|
8877
8880
|
end
|
|
8878
8881
|
|
|
8879
|
-
#
|
|
8882
|
+
# Retrieves an attachment from a specific invoice or purchase bill by filename
|
|
8880
8883
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8881
8884
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
8882
8885
|
# @param file_name [String] Name of the file you are attaching
|
|
@@ -8951,7 +8954,7 @@ module XeroRuby
|
|
|
8951
8954
|
return data, status_code, headers
|
|
8952
8955
|
end
|
|
8953
8956
|
|
|
8954
|
-
#
|
|
8957
|
+
# Retrieves a specific attachment from a specific invoices or purchase bills by using a unique attachment Id
|
|
8955
8958
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8956
8959
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
8957
8960
|
# @param attachment_id [String] Unique identifier for an Attachment
|
|
@@ -8963,7 +8966,7 @@ module XeroRuby
|
|
|
8963
8966
|
data
|
|
8964
8967
|
end
|
|
8965
8968
|
|
|
8966
|
-
#
|
|
8969
|
+
# Retrieves a specific attachment from a specific invoices or purchase bills by using a unique attachment Id
|
|
8967
8970
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8968
8971
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
8969
8972
|
# @param attachment_id [String] Unique identifier for an Attachment
|
|
@@ -9038,7 +9041,7 @@ module XeroRuby
|
|
|
9038
9041
|
return data, status_code, headers
|
|
9039
9042
|
end
|
|
9040
9043
|
|
|
9041
|
-
#
|
|
9044
|
+
# Retrieves attachments for a specific invoice or purchase bill
|
|
9042
9045
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9043
9046
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
9044
9047
|
# @param [Hash] opts the optional parameters
|
|
@@ -9048,7 +9051,7 @@ module XeroRuby
|
|
|
9048
9051
|
data
|
|
9049
9052
|
end
|
|
9050
9053
|
|
|
9051
|
-
#
|
|
9054
|
+
# Retrieves attachments for a specific invoice or purchase bill
|
|
9052
9055
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9053
9056
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
9054
9057
|
# @param [Hash] opts the optional parameters
|
|
@@ -9112,7 +9115,7 @@ module XeroRuby
|
|
|
9112
9115
|
return data, status_code, headers
|
|
9113
9116
|
end
|
|
9114
9117
|
|
|
9115
|
-
#
|
|
9118
|
+
# Retrieves history records for a specific invoice
|
|
9116
9119
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9117
9120
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
9118
9121
|
# @param [Hash] opts the optional parameters
|
|
@@ -9122,7 +9125,7 @@ module XeroRuby
|
|
|
9122
9125
|
data
|
|
9123
9126
|
end
|
|
9124
9127
|
|
|
9125
|
-
#
|
|
9128
|
+
# Retrieves history records for a specific invoice
|
|
9126
9129
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9127
9130
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
9128
9131
|
# @param [Hash] opts the optional parameters
|
|
@@ -9186,7 +9189,7 @@ module XeroRuby
|
|
|
9186
9189
|
return data, status_code, headers
|
|
9187
9190
|
end
|
|
9188
9191
|
|
|
9189
|
-
#
|
|
9192
|
+
# Retrieves invoice reminder settings
|
|
9190
9193
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9191
9194
|
# @param [Hash] opts the optional parameters
|
|
9192
9195
|
# @return [InvoiceReminders]
|
|
@@ -9195,7 +9198,7 @@ module XeroRuby
|
|
|
9195
9198
|
data
|
|
9196
9199
|
end
|
|
9197
9200
|
|
|
9198
|
-
#
|
|
9201
|
+
# Retrieves invoice reminder settings
|
|
9199
9202
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9200
9203
|
# @param [Hash] opts the optional parameters
|
|
9201
9204
|
# @return [Array<(InvoiceReminders, Integer, Hash)>] InvoiceReminders data, response status code and response headers
|
|
@@ -9254,7 +9257,7 @@ module XeroRuby
|
|
|
9254
9257
|
return data, status_code, headers
|
|
9255
9258
|
end
|
|
9256
9259
|
|
|
9257
|
-
#
|
|
9260
|
+
# Retrieves sales invoices or purchase bills
|
|
9258
9261
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9259
9262
|
# @param [Hash] opts the optional parameters
|
|
9260
9263
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -9274,7 +9277,7 @@ module XeroRuby
|
|
|
9274
9277
|
data
|
|
9275
9278
|
end
|
|
9276
9279
|
|
|
9277
|
-
#
|
|
9280
|
+
# Retrieves sales invoices or purchase bills
|
|
9278
9281
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9279
9282
|
# @param [Hash] opts the optional parameters
|
|
9280
9283
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -9355,7 +9358,7 @@ module XeroRuby
|
|
|
9355
9358
|
return data, status_code, headers
|
|
9356
9359
|
end
|
|
9357
9360
|
|
|
9358
|
-
#
|
|
9361
|
+
# Retrieves a specific item using a unique item Id
|
|
9359
9362
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9360
9363
|
# @param item_id [String] Unique identifier for an Item
|
|
9361
9364
|
# @param [Hash] opts the optional parameters
|
|
@@ -9366,7 +9369,7 @@ module XeroRuby
|
|
|
9366
9369
|
data
|
|
9367
9370
|
end
|
|
9368
9371
|
|
|
9369
|
-
#
|
|
9372
|
+
# Retrieves a specific item using a unique item Id
|
|
9370
9373
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9371
9374
|
# @param item_id [String] Unique identifier for an Item
|
|
9372
9375
|
# @param [Hash] opts the optional parameters
|
|
@@ -9432,7 +9435,7 @@ module XeroRuby
|
|
|
9432
9435
|
return data, status_code, headers
|
|
9433
9436
|
end
|
|
9434
9437
|
|
|
9435
|
-
#
|
|
9438
|
+
# Retrieves history for a specific item
|
|
9436
9439
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9437
9440
|
# @param item_id [String] Unique identifier for an Item
|
|
9438
9441
|
# @param [Hash] opts the optional parameters
|
|
@@ -9442,7 +9445,7 @@ module XeroRuby
|
|
|
9442
9445
|
data
|
|
9443
9446
|
end
|
|
9444
9447
|
|
|
9445
|
-
#
|
|
9448
|
+
# Retrieves history for a specific item
|
|
9446
9449
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9447
9450
|
# @param item_id [String] Unique identifier for an Item
|
|
9448
9451
|
# @param [Hash] opts the optional parameters
|
|
@@ -9506,7 +9509,7 @@ module XeroRuby
|
|
|
9506
9509
|
return data, status_code, headers
|
|
9507
9510
|
end
|
|
9508
9511
|
|
|
9509
|
-
#
|
|
9512
|
+
# Retrieves items
|
|
9510
9513
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9511
9514
|
# @param [Hash] opts the optional parameters
|
|
9512
9515
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -9519,7 +9522,7 @@ module XeroRuby
|
|
|
9519
9522
|
data
|
|
9520
9523
|
end
|
|
9521
9524
|
|
|
9522
|
-
#
|
|
9525
|
+
# Retrieves items
|
|
9523
9526
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9524
9527
|
# @param [Hash] opts the optional parameters
|
|
9525
9528
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -9586,7 +9589,7 @@ module XeroRuby
|
|
|
9586
9589
|
return data, status_code, headers
|
|
9587
9590
|
end
|
|
9588
9591
|
|
|
9589
|
-
#
|
|
9592
|
+
# Retrieves a specific journal using a unique journal Id.
|
|
9590
9593
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9591
9594
|
# @param journal_id [String] Unique identifier for a Journal
|
|
9592
9595
|
# @param [Hash] opts the optional parameters
|
|
@@ -9596,7 +9599,7 @@ module XeroRuby
|
|
|
9596
9599
|
data
|
|
9597
9600
|
end
|
|
9598
9601
|
|
|
9599
|
-
#
|
|
9602
|
+
# Retrieves a specific journal using a unique journal Id.
|
|
9600
9603
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9601
9604
|
# @param journal_id [String] Unique identifier for a Journal
|
|
9602
9605
|
# @param [Hash] opts the optional parameters
|
|
@@ -9660,7 +9663,7 @@ module XeroRuby
|
|
|
9660
9663
|
return data, status_code, headers
|
|
9661
9664
|
end
|
|
9662
9665
|
|
|
9663
|
-
#
|
|
9666
|
+
# Retrieves journals
|
|
9664
9667
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9665
9668
|
# @param [Hash] opts the optional parameters
|
|
9666
9669
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -9672,7 +9675,7 @@ module XeroRuby
|
|
|
9672
9675
|
data
|
|
9673
9676
|
end
|
|
9674
9677
|
|
|
9675
|
-
#
|
|
9678
|
+
# Retrieves journals
|
|
9676
9679
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9677
9680
|
# @param [Hash] opts the optional parameters
|
|
9678
9681
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -9737,7 +9740,7 @@ module XeroRuby
|
|
|
9737
9740
|
return data, status_code, headers
|
|
9738
9741
|
end
|
|
9739
9742
|
|
|
9740
|
-
#
|
|
9743
|
+
# Retrieves a specific linked transaction (billable expenses) using a unique linked transaction Id
|
|
9741
9744
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9742
9745
|
# @param linked_transaction_id [String] Unique identifier for a LinkedTransaction
|
|
9743
9746
|
# @param [Hash] opts the optional parameters
|
|
@@ -9747,7 +9750,7 @@ module XeroRuby
|
|
|
9747
9750
|
data
|
|
9748
9751
|
end
|
|
9749
9752
|
|
|
9750
|
-
#
|
|
9753
|
+
# Retrieves a specific linked transaction (billable expenses) using a unique linked transaction Id
|
|
9751
9754
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9752
9755
|
# @param linked_transaction_id [String] Unique identifier for a LinkedTransaction
|
|
9753
9756
|
# @param [Hash] opts the optional parameters
|
|
@@ -9811,14 +9814,14 @@ module XeroRuby
|
|
|
9811
9814
|
return data, status_code, headers
|
|
9812
9815
|
end
|
|
9813
9816
|
|
|
9814
|
-
#
|
|
9817
|
+
# Retrieves linked transactions (billable expenses)
|
|
9815
9818
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9816
9819
|
# @param [Hash] opts the optional parameters
|
|
9817
9820
|
# @option opts [Integer] :page Up to 100 linked transactions will be returned in a single API call. Use the page parameter to specify the page to be returned e.g. page=1.
|
|
9818
9821
|
# @option opts [String] :linked_transaction_id The Xero identifier for an Linked Transaction
|
|
9819
9822
|
# @option opts [String] :source_transaction_id Filter by the SourceTransactionID. Get the linked transactions created from a particular ACCPAY invoice
|
|
9820
9823
|
# @option opts [String] :contact_id Filter by the ContactID. Get all the linked transactions that have been assigned to a particular customer.
|
|
9821
|
-
# @option opts [String] :status Filter by the combination of ContactID and Status. Get the linked transactions
|
|
9824
|
+
# @option opts [String] :status Filter by the combination of ContactID and Status. Get the linked transactions associated to a customer and with a status
|
|
9822
9825
|
# @option opts [String] :target_transaction_id Filter by the TargetTransactionID. Get all the linked transactions allocated to a particular ACCREC invoice
|
|
9823
9826
|
# @return [LinkedTransactions]
|
|
9824
9827
|
def get_linked_transactions(xero_tenant_id, opts = {})
|
|
@@ -9826,14 +9829,14 @@ module XeroRuby
|
|
|
9826
9829
|
data
|
|
9827
9830
|
end
|
|
9828
9831
|
|
|
9829
|
-
#
|
|
9832
|
+
# Retrieves linked transactions (billable expenses)
|
|
9830
9833
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9831
9834
|
# @param [Hash] opts the optional parameters
|
|
9832
9835
|
# @option opts [Integer] :page Up to 100 linked transactions will be returned in a single API call. Use the page parameter to specify the page to be returned e.g. page=1.
|
|
9833
9836
|
# @option opts [String] :linked_transaction_id The Xero identifier for an Linked Transaction
|
|
9834
9837
|
# @option opts [String] :source_transaction_id Filter by the SourceTransactionID. Get the linked transactions created from a particular ACCPAY invoice
|
|
9835
9838
|
# @option opts [String] :contact_id Filter by the ContactID. Get all the linked transactions that have been assigned to a particular customer.
|
|
9836
|
-
# @option opts [String] :status Filter by the combination of ContactID and Status. Get the linked transactions
|
|
9839
|
+
# @option opts [String] :status Filter by the combination of ContactID and Status. Get the linked transactions associated to a customer and with a status
|
|
9837
9840
|
# @option opts [String] :target_transaction_id Filter by the TargetTransactionID. Get all the linked transactions allocated to a particular ACCREC invoice
|
|
9838
9841
|
# @return [Array<(LinkedTransactions, Integer, Hash)>] LinkedTransactions data, response status code and response headers
|
|
9839
9842
|
def get_linked_transactions_with_http_info(xero_tenant_id, opts = {})
|
|
@@ -9897,7 +9900,7 @@ module XeroRuby
|
|
|
9897
9900
|
return data, status_code, headers
|
|
9898
9901
|
end
|
|
9899
9902
|
|
|
9900
|
-
#
|
|
9903
|
+
# Retrieves a specific manual journal
|
|
9901
9904
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9902
9905
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
9903
9906
|
# @param [Hash] opts the optional parameters
|
|
@@ -9907,7 +9910,7 @@ module XeroRuby
|
|
|
9907
9910
|
data
|
|
9908
9911
|
end
|
|
9909
9912
|
|
|
9910
|
-
#
|
|
9913
|
+
# Retrieves a specific manual journal
|
|
9911
9914
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9912
9915
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
9913
9916
|
# @param [Hash] opts the optional parameters
|
|
@@ -9971,7 +9974,7 @@ module XeroRuby
|
|
|
9971
9974
|
return data, status_code, headers
|
|
9972
9975
|
end
|
|
9973
9976
|
|
|
9974
|
-
#
|
|
9977
|
+
# Retrieves a specific attachment from a specific manual journal by file name
|
|
9975
9978
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9976
9979
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
9977
9980
|
# @param file_name [String] The name of the file being attached to a ManualJournal
|
|
@@ -9983,7 +9986,7 @@ module XeroRuby
|
|
|
9983
9986
|
data
|
|
9984
9987
|
end
|
|
9985
9988
|
|
|
9986
|
-
#
|
|
9989
|
+
# Retrieves a specific attachment from a specific manual journal by file name
|
|
9987
9990
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9988
9991
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
9989
9992
|
# @param file_name [String] The name of the file being attached to a ManualJournal
|
|
@@ -10058,7 +10061,7 @@ module XeroRuby
|
|
|
10058
10061
|
return data, status_code, headers
|
|
10059
10062
|
end
|
|
10060
10063
|
|
|
10061
|
-
# Allows you to retrieve
|
|
10064
|
+
# Allows you to retrieve a specific attachment from a specific manual journal using a unique attachment Id
|
|
10062
10065
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10063
10066
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
10064
10067
|
# @param attachment_id [String] Unique identifier for a Attachment
|
|
@@ -10070,7 +10073,7 @@ module XeroRuby
|
|
|
10070
10073
|
data
|
|
10071
10074
|
end
|
|
10072
10075
|
|
|
10073
|
-
# Allows you to retrieve
|
|
10076
|
+
# Allows you to retrieve a specific attachment from a specific manual journal using a unique attachment Id
|
|
10074
10077
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10075
10078
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
10076
10079
|
# @param attachment_id [String] Unique identifier for a Attachment
|
|
@@ -10145,7 +10148,7 @@ module XeroRuby
|
|
|
10145
10148
|
return data, status_code, headers
|
|
10146
10149
|
end
|
|
10147
10150
|
|
|
10148
|
-
#
|
|
10151
|
+
# Retrieves attachment for a specific manual journal
|
|
10149
10152
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10150
10153
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
10151
10154
|
# @param [Hash] opts the optional parameters
|
|
@@ -10155,7 +10158,7 @@ module XeroRuby
|
|
|
10155
10158
|
data
|
|
10156
10159
|
end
|
|
10157
10160
|
|
|
10158
|
-
#
|
|
10161
|
+
# Retrieves attachment for a specific manual journal
|
|
10159
10162
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10160
10163
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
10161
10164
|
# @param [Hash] opts the optional parameters
|
|
@@ -10219,7 +10222,7 @@ module XeroRuby
|
|
|
10219
10222
|
return data, status_code, headers
|
|
10220
10223
|
end
|
|
10221
10224
|
|
|
10222
|
-
#
|
|
10225
|
+
# Retrieves manual journals
|
|
10223
10226
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10224
10227
|
# @param [Hash] opts the optional parameters
|
|
10225
10228
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -10232,7 +10235,7 @@ module XeroRuby
|
|
|
10232
10235
|
data
|
|
10233
10236
|
end
|
|
10234
10237
|
|
|
10235
|
-
#
|
|
10238
|
+
# Retrieves manual journals
|
|
10236
10239
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10237
10240
|
# @param [Hash] opts the optional parameters
|
|
10238
10241
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -10299,7 +10302,7 @@ module XeroRuby
|
|
|
10299
10302
|
return data, status_code, headers
|
|
10300
10303
|
end
|
|
10301
10304
|
|
|
10302
|
-
#
|
|
10305
|
+
# Retrieves history for a specific manual journal
|
|
10303
10306
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10304
10307
|
# @param manual_journal_id [String] Xero generated unique identifier for a manual journal
|
|
10305
10308
|
# @param [Hash] opts the optional parameters
|
|
@@ -10309,7 +10312,7 @@ module XeroRuby
|
|
|
10309
10312
|
data
|
|
10310
10313
|
end
|
|
10311
10314
|
|
|
10312
|
-
#
|
|
10315
|
+
# Retrieves history for a specific manual journal
|
|
10313
10316
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10314
10317
|
# @param manual_journal_id [String] Xero generated unique identifier for a manual journal
|
|
10315
10318
|
# @param [Hash] opts the optional parameters
|
|
@@ -10373,7 +10376,7 @@ module XeroRuby
|
|
|
10373
10376
|
return data, status_code, headers
|
|
10374
10377
|
end
|
|
10375
10378
|
|
|
10376
|
-
#
|
|
10379
|
+
# Retrieves a URL to an online invoice
|
|
10377
10380
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10378
10381
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
10379
10382
|
# @param [Hash] opts the optional parameters
|
|
@@ -10383,7 +10386,7 @@ module XeroRuby
|
|
|
10383
10386
|
data
|
|
10384
10387
|
end
|
|
10385
10388
|
|
|
10386
|
-
#
|
|
10389
|
+
# Retrieves a URL to an online invoice
|
|
10387
10390
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10388
10391
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
10389
10392
|
# @param [Hash] opts the optional parameters
|
|
@@ -10447,7 +10450,7 @@ module XeroRuby
|
|
|
10447
10450
|
return data, status_code, headers
|
|
10448
10451
|
end
|
|
10449
10452
|
|
|
10450
|
-
#
|
|
10453
|
+
# Retrieves a list of the key actions your app has permission to perform in the connected Xero organisation.
|
|
10451
10454
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10452
10455
|
# @param [Hash] opts the optional parameters
|
|
10453
10456
|
# @return [Actions]
|
|
@@ -10456,7 +10459,7 @@ module XeroRuby
|
|
|
10456
10459
|
data
|
|
10457
10460
|
end
|
|
10458
10461
|
|
|
10459
|
-
#
|
|
10462
|
+
# Retrieves a list of the key actions your app has permission to perform in the connected Xero organisation.
|
|
10460
10463
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10461
10464
|
# @param [Hash] opts the optional parameters
|
|
10462
10465
|
# @return [Array<(Actions, Integer, Hash)>] Actions data, response status code and response headers
|
|
@@ -10515,21 +10518,21 @@ module XeroRuby
|
|
|
10515
10518
|
return data, status_code, headers
|
|
10516
10519
|
end
|
|
10517
10520
|
|
|
10518
|
-
#
|
|
10521
|
+
# Retrieves the CIS settings for the Xero organistaion.
|
|
10519
10522
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10520
10523
|
# @param organisation_id [String] The unique Xero identifier for an organisation
|
|
10521
10524
|
# @param [Hash] opts the optional parameters
|
|
10522
|
-
# @return [
|
|
10525
|
+
# @return [CISOrgSettings]
|
|
10523
10526
|
def get_organisation_cis_settings(xero_tenant_id, organisation_id, opts = {})
|
|
10524
10527
|
data, _status_code, _headers = get_organisation_cis_settings_with_http_info(xero_tenant_id, organisation_id, opts)
|
|
10525
10528
|
data
|
|
10526
10529
|
end
|
|
10527
10530
|
|
|
10528
|
-
#
|
|
10531
|
+
# Retrieves the CIS settings for the Xero organistaion.
|
|
10529
10532
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10530
10533
|
# @param organisation_id [String] The unique Xero identifier for an organisation
|
|
10531
10534
|
# @param [Hash] opts the optional parameters
|
|
10532
|
-
# @return [Array<(
|
|
10535
|
+
# @return [Array<(CISOrgSettings, Integer, Hash)>] CISOrgSettings data, response status code and response headers
|
|
10533
10536
|
def get_organisation_cis_settings_with_http_info(xero_tenant_id, organisation_id, opts = {})
|
|
10534
10537
|
if @api_client.config.debugging
|
|
10535
10538
|
@api_client.config.logger.debug 'Calling API: AccountingApi.get_organisation_cis_settings ...'
|
|
@@ -10568,7 +10571,7 @@ module XeroRuby
|
|
|
10568
10571
|
post_body = opts[:body]
|
|
10569
10572
|
|
|
10570
10573
|
# return_type
|
|
10571
|
-
return_type = opts[:return_type] || '
|
|
10574
|
+
return_type = opts[:return_type] || 'CISOrgSettings'
|
|
10572
10575
|
|
|
10573
10576
|
# auth_names
|
|
10574
10577
|
auth_names = opts[:auth_names] || ['OAuth2']
|
|
@@ -10589,7 +10592,7 @@ module XeroRuby
|
|
|
10589
10592
|
return data, status_code, headers
|
|
10590
10593
|
end
|
|
10591
10594
|
|
|
10592
|
-
#
|
|
10595
|
+
# Retrieves Xero organisation details
|
|
10593
10596
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10594
10597
|
# @param [Hash] opts the optional parameters
|
|
10595
10598
|
# @return [Organisations]
|
|
@@ -10598,7 +10601,7 @@ module XeroRuby
|
|
|
10598
10601
|
data
|
|
10599
10602
|
end
|
|
10600
10603
|
|
|
10601
|
-
#
|
|
10604
|
+
# Retrieves Xero organisation details
|
|
10602
10605
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10603
10606
|
# @param [Hash] opts the optional parameters
|
|
10604
10607
|
# @return [Array<(Organisations, Integer, Hash)>] Organisations data, response status code and response headers
|
|
@@ -10657,7 +10660,7 @@ module XeroRuby
|
|
|
10657
10660
|
return data, status_code, headers
|
|
10658
10661
|
end
|
|
10659
10662
|
|
|
10660
|
-
#
|
|
10663
|
+
# Retrieves a specific overpayment using a unique overpayment Id
|
|
10661
10664
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10662
10665
|
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
10663
10666
|
# @param [Hash] opts the optional parameters
|
|
@@ -10667,7 +10670,7 @@ module XeroRuby
|
|
|
10667
10670
|
data
|
|
10668
10671
|
end
|
|
10669
10672
|
|
|
10670
|
-
#
|
|
10673
|
+
# Retrieves a specific overpayment using a unique overpayment Id
|
|
10671
10674
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10672
10675
|
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
10673
10676
|
# @param [Hash] opts the optional parameters
|
|
@@ -10731,7 +10734,7 @@ module XeroRuby
|
|
|
10731
10734
|
return data, status_code, headers
|
|
10732
10735
|
end
|
|
10733
10736
|
|
|
10734
|
-
#
|
|
10737
|
+
# Retrieves history records of a specific overpayment
|
|
10735
10738
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10736
10739
|
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
10737
10740
|
# @param [Hash] opts the optional parameters
|
|
@@ -10741,7 +10744,7 @@ module XeroRuby
|
|
|
10741
10744
|
data
|
|
10742
10745
|
end
|
|
10743
10746
|
|
|
10744
|
-
#
|
|
10747
|
+
# Retrieves history records of a specific overpayment
|
|
10745
10748
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10746
10749
|
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
10747
10750
|
# @param [Hash] opts the optional parameters
|
|
@@ -10805,7 +10808,7 @@ module XeroRuby
|
|
|
10805
10808
|
return data, status_code, headers
|
|
10806
10809
|
end
|
|
10807
10810
|
|
|
10808
|
-
#
|
|
10811
|
+
# Retrieves overpayments
|
|
10809
10812
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10810
10813
|
# @param [Hash] opts the optional parameters
|
|
10811
10814
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -10819,7 +10822,7 @@ module XeroRuby
|
|
|
10819
10822
|
data
|
|
10820
10823
|
end
|
|
10821
10824
|
|
|
10822
|
-
#
|
|
10825
|
+
# Retrieves overpayments
|
|
10823
10826
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10824
10827
|
# @param [Hash] opts the optional parameters
|
|
10825
10828
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -10888,7 +10891,7 @@ module XeroRuby
|
|
|
10888
10891
|
return data, status_code, headers
|
|
10889
10892
|
end
|
|
10890
10893
|
|
|
10891
|
-
#
|
|
10894
|
+
# Retrieves a specific payment for invoices and credit notes using a unique payment Id
|
|
10892
10895
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10893
10896
|
# @param payment_id [String] Unique identifier for a Payment
|
|
10894
10897
|
# @param [Hash] opts the optional parameters
|
|
@@ -10898,7 +10901,7 @@ module XeroRuby
|
|
|
10898
10901
|
data
|
|
10899
10902
|
end
|
|
10900
10903
|
|
|
10901
|
-
#
|
|
10904
|
+
# Retrieves a specific payment for invoices and credit notes using a unique payment Id
|
|
10902
10905
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10903
10906
|
# @param payment_id [String] Unique identifier for a Payment
|
|
10904
10907
|
# @param [Hash] opts the optional parameters
|
|
@@ -10962,7 +10965,7 @@ module XeroRuby
|
|
|
10962
10965
|
return data, status_code, headers
|
|
10963
10966
|
end
|
|
10964
10967
|
|
|
10965
|
-
#
|
|
10968
|
+
# Retrieves history records of a specific payment
|
|
10966
10969
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10967
10970
|
# @param payment_id [String] Unique identifier for a Payment
|
|
10968
10971
|
# @param [Hash] opts the optional parameters
|
|
@@ -10972,7 +10975,7 @@ module XeroRuby
|
|
|
10972
10975
|
data
|
|
10973
10976
|
end
|
|
10974
10977
|
|
|
10975
|
-
#
|
|
10978
|
+
# Retrieves history records of a specific payment
|
|
10976
10979
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10977
10980
|
# @param payment_id [String] Unique identifier for a Payment
|
|
10978
10981
|
# @param [Hash] opts the optional parameters
|
|
@@ -11036,7 +11039,7 @@ module XeroRuby
|
|
|
11036
11039
|
return data, status_code, headers
|
|
11037
11040
|
end
|
|
11038
11041
|
|
|
11039
|
-
#
|
|
11042
|
+
# Retrieves payment services
|
|
11040
11043
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11041
11044
|
# @param [Hash] opts the optional parameters
|
|
11042
11045
|
# @return [PaymentServices]
|
|
@@ -11045,7 +11048,7 @@ module XeroRuby
|
|
|
11045
11048
|
data
|
|
11046
11049
|
end
|
|
11047
11050
|
|
|
11048
|
-
#
|
|
11051
|
+
# Retrieves payment services
|
|
11049
11052
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11050
11053
|
# @param [Hash] opts the optional parameters
|
|
11051
11054
|
# @return [Array<(PaymentServices, Integer, Hash)>] PaymentServices data, response status code and response headers
|
|
@@ -11104,7 +11107,7 @@ module XeroRuby
|
|
|
11104
11107
|
return data, status_code, headers
|
|
11105
11108
|
end
|
|
11106
11109
|
|
|
11107
|
-
#
|
|
11110
|
+
# Retrieves payments for invoices and credit notes
|
|
11108
11111
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11109
11112
|
# @param [Hash] opts the optional parameters
|
|
11110
11113
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -11117,7 +11120,7 @@ module XeroRuby
|
|
|
11117
11120
|
data
|
|
11118
11121
|
end
|
|
11119
11122
|
|
|
11120
|
-
#
|
|
11123
|
+
# Retrieves payments for invoices and credit notes
|
|
11121
11124
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11122
11125
|
# @param [Hash] opts the optional parameters
|
|
11123
11126
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -11258,7 +11261,7 @@ module XeroRuby
|
|
|
11258
11261
|
return data, status_code, headers
|
|
11259
11262
|
end
|
|
11260
11263
|
|
|
11261
|
-
#
|
|
11264
|
+
# Retrieves history record for a specific prepayment
|
|
11262
11265
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11263
11266
|
# @param prepayment_id [String] Unique identifier for a PrePayment
|
|
11264
11267
|
# @param [Hash] opts the optional parameters
|
|
@@ -11268,7 +11271,7 @@ module XeroRuby
|
|
|
11268
11271
|
data
|
|
11269
11272
|
end
|
|
11270
11273
|
|
|
11271
|
-
#
|
|
11274
|
+
# Retrieves history record for a specific prepayment
|
|
11272
11275
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11273
11276
|
# @param prepayment_id [String] Unique identifier for a PrePayment
|
|
11274
11277
|
# @param [Hash] opts the optional parameters
|
|
@@ -11332,7 +11335,7 @@ module XeroRuby
|
|
|
11332
11335
|
return data, status_code, headers
|
|
11333
11336
|
end
|
|
11334
11337
|
|
|
11335
|
-
#
|
|
11338
|
+
# Retrieves prepayments
|
|
11336
11339
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11337
11340
|
# @param [Hash] opts the optional parameters
|
|
11338
11341
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -11346,7 +11349,7 @@ module XeroRuby
|
|
|
11346
11349
|
data
|
|
11347
11350
|
end
|
|
11348
11351
|
|
|
11349
|
-
#
|
|
11352
|
+
# Retrieves prepayments
|
|
11350
11353
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11351
11354
|
# @param [Hash] opts the optional parameters
|
|
11352
11355
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -11415,7 +11418,7 @@ module XeroRuby
|
|
|
11415
11418
|
return data, status_code, headers
|
|
11416
11419
|
end
|
|
11417
11420
|
|
|
11418
|
-
#
|
|
11421
|
+
# Retrieves a specific purchase order using a unique purchase order Id
|
|
11419
11422
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11420
11423
|
# @param purchase_order_id [String] Unique identifier for a PurchaseOrder
|
|
11421
11424
|
# @param [Hash] opts the optional parameters
|
|
@@ -11425,7 +11428,7 @@ module XeroRuby
|
|
|
11425
11428
|
data
|
|
11426
11429
|
end
|
|
11427
11430
|
|
|
11428
|
-
#
|
|
11431
|
+
# Retrieves a specific purchase order using a unique purchase order Id
|
|
11429
11432
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11430
11433
|
# @param purchase_order_id [String] Unique identifier for a PurchaseOrder
|
|
11431
11434
|
# @param [Hash] opts the optional parameters
|
|
@@ -11489,7 +11492,7 @@ module XeroRuby
|
|
|
11489
11492
|
return data, status_code, headers
|
|
11490
11493
|
end
|
|
11491
11494
|
|
|
11492
|
-
#
|
|
11495
|
+
# Retrieves specific purchase order as PDF files using a unique purchase order Id
|
|
11493
11496
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11494
11497
|
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
11495
11498
|
# @param [Hash] opts the optional parameters
|
|
@@ -11499,7 +11502,7 @@ module XeroRuby
|
|
|
11499
11502
|
data
|
|
11500
11503
|
end
|
|
11501
11504
|
|
|
11502
|
-
#
|
|
11505
|
+
# Retrieves specific purchase order as PDF files using a unique purchase order Id
|
|
11503
11506
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11504
11507
|
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
11505
11508
|
# @param [Hash] opts the optional parameters
|
|
@@ -11563,7 +11566,7 @@ module XeroRuby
|
|
|
11563
11566
|
return data, status_code, headers
|
|
11564
11567
|
end
|
|
11565
11568
|
|
|
11566
|
-
#
|
|
11569
|
+
# Retrieves a specific attachment for a specific purchase order by filename
|
|
11567
11570
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11568
11571
|
# @param purchase_order_id [String] Unique identifier for Purchase Order object
|
|
11569
11572
|
# @param file_name [String] Name of the attachment
|
|
@@ -11575,7 +11578,7 @@ module XeroRuby
|
|
|
11575
11578
|
data
|
|
11576
11579
|
end
|
|
11577
11580
|
|
|
11578
|
-
#
|
|
11581
|
+
# Retrieves a specific attachment for a specific purchase order by filename
|
|
11579
11582
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11580
11583
|
# @param purchase_order_id [String] Unique identifier for Purchase Order object
|
|
11581
11584
|
# @param file_name [String] Name of the attachment
|
|
@@ -11650,7 +11653,7 @@ module XeroRuby
|
|
|
11650
11653
|
return data, status_code, headers
|
|
11651
11654
|
end
|
|
11652
11655
|
|
|
11653
|
-
#
|
|
11656
|
+
# Retrieves specific attachment for a specific purchase order using a unique attachment Id
|
|
11654
11657
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11655
11658
|
# @param purchase_order_id [String] Unique identifier for Purchase Order object
|
|
11656
11659
|
# @param attachment_id [String] Unique identifier for Attachment object
|
|
@@ -11662,7 +11665,7 @@ module XeroRuby
|
|
|
11662
11665
|
data
|
|
11663
11666
|
end
|
|
11664
11667
|
|
|
11665
|
-
#
|
|
11668
|
+
# Retrieves specific attachment for a specific purchase order using a unique attachment Id
|
|
11666
11669
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11667
11670
|
# @param purchase_order_id [String] Unique identifier for Purchase Order object
|
|
11668
11671
|
# @param attachment_id [String] Unique identifier for Attachment object
|
|
@@ -11737,7 +11740,7 @@ module XeroRuby
|
|
|
11737
11740
|
return data, status_code, headers
|
|
11738
11741
|
end
|
|
11739
11742
|
|
|
11740
|
-
#
|
|
11743
|
+
# Retrieves attachments for a specific purchase order
|
|
11741
11744
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11742
11745
|
# @param purchase_order_id [String] Unique identifier for Purchase Orders object
|
|
11743
11746
|
# @param [Hash] opts the optional parameters
|
|
@@ -11747,7 +11750,7 @@ module XeroRuby
|
|
|
11747
11750
|
data
|
|
11748
11751
|
end
|
|
11749
11752
|
|
|
11750
|
-
#
|
|
11753
|
+
# Retrieves attachments for a specific purchase order
|
|
11751
11754
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11752
11755
|
# @param purchase_order_id [String] Unique identifier for Purchase Orders object
|
|
11753
11756
|
# @param [Hash] opts the optional parameters
|
|
@@ -11811,7 +11814,7 @@ module XeroRuby
|
|
|
11811
11814
|
return data, status_code, headers
|
|
11812
11815
|
end
|
|
11813
11816
|
|
|
11814
|
-
#
|
|
11817
|
+
# Retrieves a specific purchase order using purchase order number
|
|
11815
11818
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11816
11819
|
# @param purchase_order_number [String] Unique identifier for a PurchaseOrder
|
|
11817
11820
|
# @param [Hash] opts the optional parameters
|
|
@@ -11821,7 +11824,7 @@ module XeroRuby
|
|
|
11821
11824
|
data
|
|
11822
11825
|
end
|
|
11823
11826
|
|
|
11824
|
-
#
|
|
11827
|
+
# Retrieves a specific purchase order using purchase order number
|
|
11825
11828
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11826
11829
|
# @param purchase_order_number [String] Unique identifier for a PurchaseOrder
|
|
11827
11830
|
# @param [Hash] opts the optional parameters
|
|
@@ -11885,7 +11888,7 @@ module XeroRuby
|
|
|
11885
11888
|
return data, status_code, headers
|
|
11886
11889
|
end
|
|
11887
11890
|
|
|
11888
|
-
#
|
|
11891
|
+
# Retrieves history for a specific purchase order
|
|
11889
11892
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11890
11893
|
# @param purchase_order_id [String] Unique identifier for a PurchaseOrder
|
|
11891
11894
|
# @param [Hash] opts the optional parameters
|
|
@@ -11895,7 +11898,7 @@ module XeroRuby
|
|
|
11895
11898
|
data
|
|
11896
11899
|
end
|
|
11897
11900
|
|
|
11898
|
-
#
|
|
11901
|
+
# Retrieves history for a specific purchase order
|
|
11899
11902
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11900
11903
|
# @param purchase_order_id [String] Unique identifier for a PurchaseOrder
|
|
11901
11904
|
# @param [Hash] opts the optional parameters
|
|
@@ -11959,7 +11962,7 @@ module XeroRuby
|
|
|
11959
11962
|
return data, status_code, headers
|
|
11960
11963
|
end
|
|
11961
11964
|
|
|
11962
|
-
#
|
|
11965
|
+
# Retrieves purchase orders
|
|
11963
11966
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11964
11967
|
# @param [Hash] opts the optional parameters
|
|
11965
11968
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -11974,7 +11977,7 @@ module XeroRuby
|
|
|
11974
11977
|
data
|
|
11975
11978
|
end
|
|
11976
11979
|
|
|
11977
|
-
#
|
|
11980
|
+
# Retrieves purchase orders
|
|
11978
11981
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11979
11982
|
# @param [Hash] opts the optional parameters
|
|
11980
11983
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -12049,7 +12052,7 @@ module XeroRuby
|
|
|
12049
12052
|
return data, status_code, headers
|
|
12050
12053
|
end
|
|
12051
12054
|
|
|
12052
|
-
#
|
|
12055
|
+
# Retrieves a specific quote using a unique quote Id
|
|
12053
12056
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12054
12057
|
# @param quote_id [String] Unique identifier for an Quote
|
|
12055
12058
|
# @param [Hash] opts the optional parameters
|
|
@@ -12059,7 +12062,7 @@ module XeroRuby
|
|
|
12059
12062
|
data
|
|
12060
12063
|
end
|
|
12061
12064
|
|
|
12062
|
-
#
|
|
12065
|
+
# Retrieves a specific quote using a unique quote Id
|
|
12063
12066
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12064
12067
|
# @param quote_id [String] Unique identifier for an Quote
|
|
12065
12068
|
# @param [Hash] opts the optional parameters
|
|
@@ -12123,7 +12126,7 @@ module XeroRuby
|
|
|
12123
12126
|
return data, status_code, headers
|
|
12124
12127
|
end
|
|
12125
12128
|
|
|
12126
|
-
#
|
|
12129
|
+
# Retrieves a specific quote as a PDF file using a unique quote Id
|
|
12127
12130
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12128
12131
|
# @param quote_id [String] Unique identifier for an Quote
|
|
12129
12132
|
# @param [Hash] opts the optional parameters
|
|
@@ -12133,7 +12136,7 @@ module XeroRuby
|
|
|
12133
12136
|
data
|
|
12134
12137
|
end
|
|
12135
12138
|
|
|
12136
|
-
#
|
|
12139
|
+
# Retrieves a specific quote as a PDF file using a unique quote Id
|
|
12137
12140
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12138
12141
|
# @param quote_id [String] Unique identifier for an Quote
|
|
12139
12142
|
# @param [Hash] opts the optional parameters
|
|
@@ -12197,7 +12200,7 @@ module XeroRuby
|
|
|
12197
12200
|
return data, status_code, headers
|
|
12198
12201
|
end
|
|
12199
12202
|
|
|
12200
|
-
#
|
|
12203
|
+
# Retrieves a specific attachment from a specific quote by filename
|
|
12201
12204
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12202
12205
|
# @param quote_id [String] Unique identifier for Quote object
|
|
12203
12206
|
# @param file_name [String] Name of the attachment
|
|
@@ -12209,7 +12212,7 @@ module XeroRuby
|
|
|
12209
12212
|
data
|
|
12210
12213
|
end
|
|
12211
12214
|
|
|
12212
|
-
#
|
|
12215
|
+
# Retrieves a specific attachment from a specific quote by filename
|
|
12213
12216
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12214
12217
|
# @param quote_id [String] Unique identifier for Quote object
|
|
12215
12218
|
# @param file_name [String] Name of the attachment
|
|
@@ -12284,7 +12287,7 @@ module XeroRuby
|
|
|
12284
12287
|
return data, status_code, headers
|
|
12285
12288
|
end
|
|
12286
12289
|
|
|
12287
|
-
#
|
|
12290
|
+
# Retrieves a specific attachment from a specific quote using a unique attachment Id
|
|
12288
12291
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12289
12292
|
# @param quote_id [String] Unique identifier for Quote object
|
|
12290
12293
|
# @param attachment_id [String] Unique identifier for Attachment object
|
|
@@ -12296,7 +12299,7 @@ module XeroRuby
|
|
|
12296
12299
|
data
|
|
12297
12300
|
end
|
|
12298
12301
|
|
|
12299
|
-
#
|
|
12302
|
+
# Retrieves a specific attachment from a specific quote using a unique attachment Id
|
|
12300
12303
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12301
12304
|
# @param quote_id [String] Unique identifier for Quote object
|
|
12302
12305
|
# @param attachment_id [String] Unique identifier for Attachment object
|
|
@@ -12371,7 +12374,7 @@ module XeroRuby
|
|
|
12371
12374
|
return data, status_code, headers
|
|
12372
12375
|
end
|
|
12373
12376
|
|
|
12374
|
-
#
|
|
12377
|
+
# Retrieves attachments for a specific quote
|
|
12375
12378
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12376
12379
|
# @param quote_id [String] Unique identifier for Quote object
|
|
12377
12380
|
# @param [Hash] opts the optional parameters
|
|
@@ -12381,7 +12384,7 @@ module XeroRuby
|
|
|
12381
12384
|
data
|
|
12382
12385
|
end
|
|
12383
12386
|
|
|
12384
|
-
#
|
|
12387
|
+
# Retrieves attachments for a specific quote
|
|
12385
12388
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12386
12389
|
# @param quote_id [String] Unique identifier for Quote object
|
|
12387
12390
|
# @param [Hash] opts the optional parameters
|
|
@@ -12445,7 +12448,7 @@ module XeroRuby
|
|
|
12445
12448
|
return data, status_code, headers
|
|
12446
12449
|
end
|
|
12447
12450
|
|
|
12448
|
-
#
|
|
12451
|
+
# Retrieves history records of a specific quote
|
|
12449
12452
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12450
12453
|
# @param quote_id [String] Unique identifier for an Quote
|
|
12451
12454
|
# @param [Hash] opts the optional parameters
|
|
@@ -12455,7 +12458,7 @@ module XeroRuby
|
|
|
12455
12458
|
data
|
|
12456
12459
|
end
|
|
12457
12460
|
|
|
12458
|
-
#
|
|
12461
|
+
# Retrieves history records of a specific quote
|
|
12459
12462
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12460
12463
|
# @param quote_id [String] Unique identifier for an Quote
|
|
12461
12464
|
# @param [Hash] opts the optional parameters
|
|
@@ -12519,7 +12522,7 @@ module XeroRuby
|
|
|
12519
12522
|
return data, status_code, headers
|
|
12520
12523
|
end
|
|
12521
12524
|
|
|
12522
|
-
#
|
|
12525
|
+
# Retrieves sales quotes
|
|
12523
12526
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12524
12527
|
# @param [Hash] opts the optional parameters
|
|
12525
12528
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -12538,7 +12541,7 @@ module XeroRuby
|
|
|
12538
12541
|
data
|
|
12539
12542
|
end
|
|
12540
12543
|
|
|
12541
|
-
#
|
|
12544
|
+
# Retrieves sales quotes
|
|
12542
12545
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12543
12546
|
# @param [Hash] opts the optional parameters
|
|
12544
12547
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -12617,7 +12620,7 @@ module XeroRuby
|
|
|
12617
12620
|
return data, status_code, headers
|
|
12618
12621
|
end
|
|
12619
12622
|
|
|
12620
|
-
#
|
|
12623
|
+
# Retrieves a specific draft expense claim receipt by using a unique receipt Id
|
|
12621
12624
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12622
12625
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12623
12626
|
# @param [Hash] opts the optional parameters
|
|
@@ -12628,7 +12631,7 @@ module XeroRuby
|
|
|
12628
12631
|
data
|
|
12629
12632
|
end
|
|
12630
12633
|
|
|
12631
|
-
#
|
|
12634
|
+
# Retrieves a specific draft expense claim receipt by using a unique receipt Id
|
|
12632
12635
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12633
12636
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12634
12637
|
# @param [Hash] opts the optional parameters
|
|
@@ -12694,7 +12697,7 @@ module XeroRuby
|
|
|
12694
12697
|
return data, status_code, headers
|
|
12695
12698
|
end
|
|
12696
12699
|
|
|
12697
|
-
#
|
|
12700
|
+
# Retrieves a specific attachment from a specific expense claim receipts by file name
|
|
12698
12701
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12699
12702
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12700
12703
|
# @param file_name [String] The name of the file being attached to the Receipt
|
|
@@ -12706,7 +12709,7 @@ module XeroRuby
|
|
|
12706
12709
|
data
|
|
12707
12710
|
end
|
|
12708
12711
|
|
|
12709
|
-
#
|
|
12712
|
+
# Retrieves a specific attachment from a specific expense claim receipts by file name
|
|
12710
12713
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12711
12714
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12712
12715
|
# @param file_name [String] The name of the file being attached to the Receipt
|
|
@@ -12781,7 +12784,7 @@ module XeroRuby
|
|
|
12781
12784
|
return data, status_code, headers
|
|
12782
12785
|
end
|
|
12783
12786
|
|
|
12784
|
-
#
|
|
12787
|
+
# Retrieves a specific attachments from a specific expense claim receipts by using a unique attachment Id
|
|
12785
12788
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12786
12789
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12787
12790
|
# @param attachment_id [String] Unique identifier for a Attachment
|
|
@@ -12793,7 +12796,7 @@ module XeroRuby
|
|
|
12793
12796
|
data
|
|
12794
12797
|
end
|
|
12795
12798
|
|
|
12796
|
-
#
|
|
12799
|
+
# Retrieves a specific attachments from a specific expense claim receipts by using a unique attachment Id
|
|
12797
12800
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12798
12801
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12799
12802
|
# @param attachment_id [String] Unique identifier for a Attachment
|
|
@@ -12868,7 +12871,7 @@ module XeroRuby
|
|
|
12868
12871
|
return data, status_code, headers
|
|
12869
12872
|
end
|
|
12870
12873
|
|
|
12871
|
-
#
|
|
12874
|
+
# Retrieves attachments for a specific expense claim receipt
|
|
12872
12875
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12873
12876
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12874
12877
|
# @param [Hash] opts the optional parameters
|
|
@@ -12878,7 +12881,7 @@ module XeroRuby
|
|
|
12878
12881
|
data
|
|
12879
12882
|
end
|
|
12880
12883
|
|
|
12881
|
-
#
|
|
12884
|
+
# Retrieves attachments for a specific expense claim receipt
|
|
12882
12885
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12883
12886
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12884
12887
|
# @param [Hash] opts the optional parameters
|
|
@@ -12942,7 +12945,7 @@ module XeroRuby
|
|
|
12942
12945
|
return data, status_code, headers
|
|
12943
12946
|
end
|
|
12944
12947
|
|
|
12945
|
-
#
|
|
12948
|
+
# Retrieves a history record for a specific receipt
|
|
12946
12949
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12947
12950
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12948
12951
|
# @param [Hash] opts the optional parameters
|
|
@@ -12952,7 +12955,7 @@ module XeroRuby
|
|
|
12952
12955
|
data
|
|
12953
12956
|
end
|
|
12954
12957
|
|
|
12955
|
-
#
|
|
12958
|
+
# Retrieves a history record for a specific receipt
|
|
12956
12959
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12957
12960
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12958
12961
|
# @param [Hash] opts the optional parameters
|
|
@@ -13016,7 +13019,7 @@ module XeroRuby
|
|
|
13016
13019
|
return data, status_code, headers
|
|
13017
13020
|
end
|
|
13018
13021
|
|
|
13019
|
-
#
|
|
13022
|
+
# Retrieves draft expense claim receipts for any user
|
|
13020
13023
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13021
13024
|
# @param [Hash] opts the optional parameters
|
|
13022
13025
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -13029,7 +13032,7 @@ module XeroRuby
|
|
|
13029
13032
|
data
|
|
13030
13033
|
end
|
|
13031
13034
|
|
|
13032
|
-
#
|
|
13035
|
+
# Retrieves draft expense claim receipts for any user
|
|
13033
13036
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13034
13037
|
# @param [Hash] opts the optional parameters
|
|
13035
13038
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -13096,7 +13099,7 @@ module XeroRuby
|
|
|
13096
13099
|
return data, status_code, headers
|
|
13097
13100
|
end
|
|
13098
13101
|
|
|
13099
|
-
#
|
|
13102
|
+
# Retrieves a specific repeating invoice by using a unique repeating invoice Id
|
|
13100
13103
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13101
13104
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13102
13105
|
# @param [Hash] opts the optional parameters
|
|
@@ -13106,7 +13109,7 @@ module XeroRuby
|
|
|
13106
13109
|
data
|
|
13107
13110
|
end
|
|
13108
13111
|
|
|
13109
|
-
#
|
|
13112
|
+
# Retrieves a specific repeating invoice by using a unique repeating invoice Id
|
|
13110
13113
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13111
13114
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13112
13115
|
# @param [Hash] opts the optional parameters
|
|
@@ -13170,7 +13173,7 @@ module XeroRuby
|
|
|
13170
13173
|
return data, status_code, headers
|
|
13171
13174
|
end
|
|
13172
13175
|
|
|
13173
|
-
#
|
|
13176
|
+
# Retrieves a specific attachment from a specific repeating invoices by file name
|
|
13174
13177
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13175
13178
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13176
13179
|
# @param file_name [String] The name of the file being attached to a Repeating Invoice
|
|
@@ -13182,7 +13185,7 @@ module XeroRuby
|
|
|
13182
13185
|
data
|
|
13183
13186
|
end
|
|
13184
13187
|
|
|
13185
|
-
#
|
|
13188
|
+
# Retrieves a specific attachment from a specific repeating invoices by file name
|
|
13186
13189
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13187
13190
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13188
13191
|
# @param file_name [String] The name of the file being attached to a Repeating Invoice
|
|
@@ -13257,7 +13260,7 @@ module XeroRuby
|
|
|
13257
13260
|
return data, status_code, headers
|
|
13258
13261
|
end
|
|
13259
13262
|
|
|
13260
|
-
#
|
|
13263
|
+
# Retrieves a specific attachment from a specific repeating invoice
|
|
13261
13264
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13262
13265
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13263
13266
|
# @param attachment_id [String] Unique identifier for a Attachment
|
|
@@ -13269,7 +13272,7 @@ module XeroRuby
|
|
|
13269
13272
|
data
|
|
13270
13273
|
end
|
|
13271
13274
|
|
|
13272
|
-
#
|
|
13275
|
+
# Retrieves a specific attachment from a specific repeating invoice
|
|
13273
13276
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13274
13277
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13275
13278
|
# @param attachment_id [String] Unique identifier for a Attachment
|
|
@@ -13344,7 +13347,7 @@ module XeroRuby
|
|
|
13344
13347
|
return data, status_code, headers
|
|
13345
13348
|
end
|
|
13346
13349
|
|
|
13347
|
-
#
|
|
13350
|
+
# Retrieves attachments from a specific repeating invoice
|
|
13348
13351
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13349
13352
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13350
13353
|
# @param [Hash] opts the optional parameters
|
|
@@ -13354,7 +13357,7 @@ module XeroRuby
|
|
|
13354
13357
|
data
|
|
13355
13358
|
end
|
|
13356
13359
|
|
|
13357
|
-
#
|
|
13360
|
+
# Retrieves attachments from a specific repeating invoice
|
|
13358
13361
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13359
13362
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13360
13363
|
# @param [Hash] opts the optional parameters
|
|
@@ -13418,7 +13421,7 @@ module XeroRuby
|
|
|
13418
13421
|
return data, status_code, headers
|
|
13419
13422
|
end
|
|
13420
13423
|
|
|
13421
|
-
#
|
|
13424
|
+
# Retrieves history record for a specific repeating invoice
|
|
13422
13425
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13423
13426
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13424
13427
|
# @param [Hash] opts the optional parameters
|
|
@@ -13428,7 +13431,7 @@ module XeroRuby
|
|
|
13428
13431
|
data
|
|
13429
13432
|
end
|
|
13430
13433
|
|
|
13431
|
-
#
|
|
13434
|
+
# Retrieves history record for a specific repeating invoice
|
|
13432
13435
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13433
13436
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13434
13437
|
# @param [Hash] opts the optional parameters
|
|
@@ -13492,7 +13495,7 @@ module XeroRuby
|
|
|
13492
13495
|
return data, status_code, headers
|
|
13493
13496
|
end
|
|
13494
13497
|
|
|
13495
|
-
#
|
|
13498
|
+
# Retrieves repeating invoices
|
|
13496
13499
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13497
13500
|
# @param [Hash] opts the optional parameters
|
|
13498
13501
|
# @option opts [String] :where Filter by an any element
|
|
@@ -13503,7 +13506,7 @@ module XeroRuby
|
|
|
13503
13506
|
data
|
|
13504
13507
|
end
|
|
13505
13508
|
|
|
13506
|
-
#
|
|
13509
|
+
# Retrieves repeating invoices
|
|
13507
13510
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13508
13511
|
# @param [Hash] opts the optional parameters
|
|
13509
13512
|
# @option opts [String] :where Filter by an any element
|
|
@@ -13566,7 +13569,7 @@ module XeroRuby
|
|
|
13566
13569
|
return data, status_code, headers
|
|
13567
13570
|
end
|
|
13568
13571
|
|
|
13569
|
-
#
|
|
13572
|
+
# Retrieves report for aged payables by contact
|
|
13570
13573
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13571
13574
|
# @param contact_id [String] Unique identifier for a Contact
|
|
13572
13575
|
# @param [Hash] opts the optional parameters
|
|
@@ -13579,7 +13582,7 @@ module XeroRuby
|
|
|
13579
13582
|
data
|
|
13580
13583
|
end
|
|
13581
13584
|
|
|
13582
|
-
#
|
|
13585
|
+
# Retrieves report for aged payables by contact
|
|
13583
13586
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13584
13587
|
# @param contact_id [String] Unique identifier for a Contact
|
|
13585
13588
|
# @param [Hash] opts the optional parameters
|
|
@@ -13650,7 +13653,7 @@ module XeroRuby
|
|
|
13650
13653
|
return data, status_code, headers
|
|
13651
13654
|
end
|
|
13652
13655
|
|
|
13653
|
-
#
|
|
13656
|
+
# Retrieves report for aged receivables by contact
|
|
13654
13657
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13655
13658
|
# @param contact_id [String] Unique identifier for a Contact
|
|
13656
13659
|
# @param [Hash] opts the optional parameters
|
|
@@ -13663,7 +13666,7 @@ module XeroRuby
|
|
|
13663
13666
|
data
|
|
13664
13667
|
end
|
|
13665
13668
|
|
|
13666
|
-
#
|
|
13669
|
+
# Retrieves report for aged receivables by contact
|
|
13667
13670
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13668
13671
|
# @param contact_id [String] Unique identifier for a Contact
|
|
13669
13672
|
# @param [Hash] opts the optional parameters
|
|
@@ -13734,7 +13737,7 @@ module XeroRuby
|
|
|
13734
13737
|
return data, status_code, headers
|
|
13735
13738
|
end
|
|
13736
13739
|
|
|
13737
|
-
#
|
|
13740
|
+
# Retrieves a specific report for BAS using a unique report Id (only valid for AU orgs)
|
|
13738
13741
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13739
13742
|
# @param report_id [String] Unique identifier for a Report
|
|
13740
13743
|
# @param [Hash] opts the optional parameters
|
|
@@ -13744,7 +13747,7 @@ module XeroRuby
|
|
|
13744
13747
|
data
|
|
13745
13748
|
end
|
|
13746
13749
|
|
|
13747
|
-
#
|
|
13750
|
+
# Retrieves a specific report for BAS using a unique report Id (only valid for AU orgs)
|
|
13748
13751
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13749
13752
|
# @param report_id [String] Unique identifier for a Report
|
|
13750
13753
|
# @param [Hash] opts the optional parameters
|
|
@@ -13808,7 +13811,7 @@ module XeroRuby
|
|
|
13808
13811
|
return data, status_code, headers
|
|
13809
13812
|
end
|
|
13810
13813
|
|
|
13811
|
-
#
|
|
13814
|
+
# Retrieves report for BAS (only valid for AU orgs)
|
|
13812
13815
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13813
13816
|
# @param [Hash] opts the optional parameters
|
|
13814
13817
|
# @return [ReportWithRows]
|
|
@@ -13817,7 +13820,7 @@ module XeroRuby
|
|
|
13817
13820
|
data
|
|
13818
13821
|
end
|
|
13819
13822
|
|
|
13820
|
-
#
|
|
13823
|
+
# Retrieves report for BAS (only valid for AU orgs)
|
|
13821
13824
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13822
13825
|
# @param [Hash] opts the optional parameters
|
|
13823
13826
|
# @return [Array<(ReportWithRows, Integer, Hash)>] ReportWithRows data, response status code and response headers
|
|
@@ -13876,7 +13879,7 @@ module XeroRuby
|
|
|
13876
13879
|
return data, status_code, headers
|
|
13877
13880
|
end
|
|
13878
13881
|
|
|
13879
|
-
#
|
|
13882
|
+
# Retrieves report for balancesheet
|
|
13880
13883
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13881
13884
|
# @param [Hash] opts the optional parameters
|
|
13882
13885
|
# @option opts [Date] :date The date of the Balance Sheet report
|
|
@@ -13892,7 +13895,7 @@ module XeroRuby
|
|
|
13892
13895
|
data
|
|
13893
13896
|
end
|
|
13894
13897
|
|
|
13895
|
-
#
|
|
13898
|
+
# Retrieves report for balancesheet
|
|
13896
13899
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13897
13900
|
# @param [Hash] opts the optional parameters
|
|
13898
13901
|
# @option opts [Date] :date The date of the Balance Sheet report
|
|
@@ -13969,7 +13972,7 @@ module XeroRuby
|
|
|
13969
13972
|
return data, status_code, headers
|
|
13970
13973
|
end
|
|
13971
13974
|
|
|
13972
|
-
#
|
|
13975
|
+
# Retrieves report for bank summary
|
|
13973
13976
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13974
13977
|
# @param [Hash] opts the optional parameters
|
|
13975
13978
|
# @option opts [Date] :from_date The from date for the Bank Summary report e.g. 2018-03-31
|
|
@@ -13980,7 +13983,7 @@ module XeroRuby
|
|
|
13980
13983
|
data
|
|
13981
13984
|
end
|
|
13982
13985
|
|
|
13983
|
-
#
|
|
13986
|
+
# Retrieves report for bank summary
|
|
13984
13987
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13985
13988
|
# @param [Hash] opts the optional parameters
|
|
13986
13989
|
# @option opts [Date] :from_date The from date for the Bank Summary report e.g. 2018-03-31
|
|
@@ -14043,7 +14046,7 @@ module XeroRuby
|
|
|
14043
14046
|
return data, status_code, headers
|
|
14044
14047
|
end
|
|
14045
14048
|
|
|
14046
|
-
#
|
|
14049
|
+
# Retrieves report for budget summary
|
|
14047
14050
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14048
14051
|
# @param [Hash] opts the optional parameters
|
|
14049
14052
|
# @option opts [Date] :date The date for the Bank Summary report e.g. 2018-03-31
|
|
@@ -14055,7 +14058,7 @@ module XeroRuby
|
|
|
14055
14058
|
data
|
|
14056
14059
|
end
|
|
14057
14060
|
|
|
14058
|
-
#
|
|
14061
|
+
# Retrieves report for budget summary
|
|
14059
14062
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14060
14063
|
# @param [Hash] opts the optional parameters
|
|
14061
14064
|
# @option opts [Date] :date The date for the Bank Summary report e.g. 2018-03-31
|
|
@@ -14120,7 +14123,7 @@ module XeroRuby
|
|
|
14120
14123
|
return data, status_code, headers
|
|
14121
14124
|
end
|
|
14122
14125
|
|
|
14123
|
-
#
|
|
14126
|
+
# Retrieves report for executive summary
|
|
14124
14127
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14125
14128
|
# @param [Hash] opts the optional parameters
|
|
14126
14129
|
# @option opts [Date] :date The date for the Bank Summary report e.g. 2018-03-31
|
|
@@ -14130,7 +14133,7 @@ module XeroRuby
|
|
|
14130
14133
|
data
|
|
14131
14134
|
end
|
|
14132
14135
|
|
|
14133
|
-
#
|
|
14136
|
+
# Retrieves report for executive summary
|
|
14134
14137
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14135
14138
|
# @param [Hash] opts the optional parameters
|
|
14136
14139
|
# @option opts [Date] :date The date for the Bank Summary report e.g. 2018-03-31
|
|
@@ -14191,7 +14194,7 @@ module XeroRuby
|
|
|
14191
14194
|
return data, status_code, headers
|
|
14192
14195
|
end
|
|
14193
14196
|
|
|
14194
|
-
#
|
|
14197
|
+
# Retrieves report for profit and loss
|
|
14195
14198
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14196
14199
|
# @param [Hash] opts the optional parameters
|
|
14197
14200
|
# @option opts [Date] :from_date The from date for the ProfitAndLoss report e.g. 2018-03-31
|
|
@@ -14210,7 +14213,7 @@ module XeroRuby
|
|
|
14210
14213
|
data
|
|
14211
14214
|
end
|
|
14212
14215
|
|
|
14213
|
-
#
|
|
14216
|
+
# Retrieves report for profit and loss
|
|
14214
14217
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14215
14218
|
# @param [Hash] opts the optional parameters
|
|
14216
14219
|
# @option opts [Date] :from_date The from date for the ProfitAndLoss report e.g. 2018-03-31
|
|
@@ -14293,7 +14296,7 @@ module XeroRuby
|
|
|
14293
14296
|
return data, status_code, headers
|
|
14294
14297
|
end
|
|
14295
14298
|
|
|
14296
|
-
#
|
|
14299
|
+
# Retrieve reports for 1099
|
|
14297
14300
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14298
14301
|
# @param [Hash] opts the optional parameters
|
|
14299
14302
|
# @option opts [String] :report_year The year of the 1099 report
|
|
@@ -14303,7 +14306,7 @@ module XeroRuby
|
|
|
14303
14306
|
data
|
|
14304
14307
|
end
|
|
14305
14308
|
|
|
14306
|
-
#
|
|
14309
|
+
# Retrieve reports for 1099
|
|
14307
14310
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14308
14311
|
# @param [Hash] opts the optional parameters
|
|
14309
14312
|
# @option opts [String] :report_year The year of the 1099 report
|
|
@@ -14364,7 +14367,7 @@ module XeroRuby
|
|
|
14364
14367
|
return data, status_code, headers
|
|
14365
14368
|
end
|
|
14366
14369
|
|
|
14367
|
-
#
|
|
14370
|
+
# Retrieves report for trial balance
|
|
14368
14371
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14369
14372
|
# @param [Hash] opts the optional parameters
|
|
14370
14373
|
# @option opts [Date] :date The date for the Trial Balance report e.g. 2018-03-31
|
|
@@ -14375,7 +14378,7 @@ module XeroRuby
|
|
|
14375
14378
|
data
|
|
14376
14379
|
end
|
|
14377
14380
|
|
|
14378
|
-
#
|
|
14381
|
+
# Retrieves report for trial balance
|
|
14379
14382
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14380
14383
|
# @param [Hash] opts the optional parameters
|
|
14381
14384
|
# @option opts [Date] :date The date for the Trial Balance report e.g. 2018-03-31
|
|
@@ -14438,7 +14441,7 @@ module XeroRuby
|
|
|
14438
14441
|
return data, status_code, headers
|
|
14439
14442
|
end
|
|
14440
14443
|
|
|
14441
|
-
#
|
|
14444
|
+
# Retrieves tax rates
|
|
14442
14445
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14443
14446
|
# @param [Hash] opts the optional parameters
|
|
14444
14447
|
# @option opts [String] :where Filter by an any element
|
|
@@ -14450,7 +14453,7 @@ module XeroRuby
|
|
|
14450
14453
|
data
|
|
14451
14454
|
end
|
|
14452
14455
|
|
|
14453
|
-
#
|
|
14456
|
+
# Retrieves tax rates
|
|
14454
14457
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14455
14458
|
# @param [Hash] opts the optional parameters
|
|
14456
14459
|
# @option opts [String] :where Filter by an any element
|
|
@@ -14515,7 +14518,7 @@ module XeroRuby
|
|
|
14515
14518
|
return data, status_code, headers
|
|
14516
14519
|
end
|
|
14517
14520
|
|
|
14518
|
-
#
|
|
14521
|
+
# Retrieves tracking categories and options
|
|
14519
14522
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14520
14523
|
# @param [Hash] opts the optional parameters
|
|
14521
14524
|
# @option opts [String] :where Filter by an any element
|
|
@@ -14527,7 +14530,7 @@ module XeroRuby
|
|
|
14527
14530
|
data
|
|
14528
14531
|
end
|
|
14529
14532
|
|
|
14530
|
-
#
|
|
14533
|
+
# Retrieves tracking categories and options
|
|
14531
14534
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14532
14535
|
# @param [Hash] opts the optional parameters
|
|
14533
14536
|
# @option opts [String] :where Filter by an any element
|
|
@@ -14592,7 +14595,7 @@ module XeroRuby
|
|
|
14592
14595
|
return data, status_code, headers
|
|
14593
14596
|
end
|
|
14594
14597
|
|
|
14595
|
-
#
|
|
14598
|
+
# Retrieves specific tracking categories and options using a unique tracking category Id
|
|
14596
14599
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14597
14600
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
14598
14601
|
# @param [Hash] opts the optional parameters
|
|
@@ -14602,7 +14605,7 @@ module XeroRuby
|
|
|
14602
14605
|
data
|
|
14603
14606
|
end
|
|
14604
14607
|
|
|
14605
|
-
#
|
|
14608
|
+
# Retrieves specific tracking categories and options using a unique tracking category Id
|
|
14606
14609
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14607
14610
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
14608
14611
|
# @param [Hash] opts the optional parameters
|
|
@@ -14666,7 +14669,7 @@ module XeroRuby
|
|
|
14666
14669
|
return data, status_code, headers
|
|
14667
14670
|
end
|
|
14668
14671
|
|
|
14669
|
-
#
|
|
14672
|
+
# Retrieves a specific user
|
|
14670
14673
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14671
14674
|
# @param user_id [String] Unique identifier for a User
|
|
14672
14675
|
# @param [Hash] opts the optional parameters
|
|
@@ -14676,7 +14679,7 @@ module XeroRuby
|
|
|
14676
14679
|
data
|
|
14677
14680
|
end
|
|
14678
14681
|
|
|
14679
|
-
#
|
|
14682
|
+
# Retrieves a specific user
|
|
14680
14683
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14681
14684
|
# @param user_id [String] Unique identifier for a User
|
|
14682
14685
|
# @param [Hash] opts the optional parameters
|
|
@@ -14740,7 +14743,7 @@ module XeroRuby
|
|
|
14740
14743
|
return data, status_code, headers
|
|
14741
14744
|
end
|
|
14742
14745
|
|
|
14743
|
-
#
|
|
14746
|
+
# Retrieves users
|
|
14744
14747
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14745
14748
|
# @param [Hash] opts the optional parameters
|
|
14746
14749
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -14752,7 +14755,7 @@ module XeroRuby
|
|
|
14752
14755
|
data
|
|
14753
14756
|
end
|
|
14754
14757
|
|
|
14755
|
-
#
|
|
14758
|
+
# Retrieves users
|
|
14756
14759
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14757
14760
|
# @param [Hash] opts the optional parameters
|
|
14758
14761
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -14817,7 +14820,7 @@ module XeroRuby
|
|
|
14817
14820
|
return data, status_code, headers
|
|
14818
14821
|
end
|
|
14819
14822
|
|
|
14820
|
-
#
|
|
14823
|
+
# Sets the chart of accounts, the conversion date and conversion balances
|
|
14821
14824
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14822
14825
|
# @param setup [Setup] Object including an accounts array, a conversion balances array and a conversion date object in body of request
|
|
14823
14826
|
# @param [Hash] opts the optional parameters
|
|
@@ -14827,7 +14830,7 @@ module XeroRuby
|
|
|
14827
14830
|
data
|
|
14828
14831
|
end
|
|
14829
14832
|
|
|
14830
|
-
#
|
|
14833
|
+
# Sets the chart of accounts, the conversion date and conversion balances
|
|
14831
14834
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14832
14835
|
# @param setup [Setup] Object including an accounts array, a conversion balances array and a conversion date object in body of request
|
|
14833
14836
|
# @param [Hash] opts the optional parameters
|
|
@@ -14893,7 +14896,7 @@ module XeroRuby
|
|
|
14893
14896
|
return data, status_code, headers
|
|
14894
14897
|
end
|
|
14895
14898
|
|
|
14896
|
-
#
|
|
14899
|
+
# Updates a chart of accounts
|
|
14897
14900
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14898
14901
|
# @param account_id [String] Unique identifier for retrieving single object
|
|
14899
14902
|
# @param accounts [Accounts] Request of type Accounts array with one Account
|
|
@@ -14904,7 +14907,7 @@ module XeroRuby
|
|
|
14904
14907
|
data
|
|
14905
14908
|
end
|
|
14906
14909
|
|
|
14907
|
-
#
|
|
14910
|
+
# Updates a chart of accounts
|
|
14908
14911
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14909
14912
|
# @param account_id [String] Unique identifier for retrieving single object
|
|
14910
14913
|
# @param accounts [Accounts] Request of type Accounts array with one Account
|
|
@@ -14975,7 +14978,7 @@ module XeroRuby
|
|
|
14975
14978
|
return data, status_code, headers
|
|
14976
14979
|
end
|
|
14977
14980
|
|
|
14978
|
-
#
|
|
14981
|
+
# Updates attachment on a specific account by filename
|
|
14979
14982
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14980
14983
|
# @param account_id [String] Unique identifier for Account object
|
|
14981
14984
|
# @param file_name [String] Name of the attachment
|
|
@@ -14987,7 +14990,7 @@ module XeroRuby
|
|
|
14987
14990
|
data
|
|
14988
14991
|
end
|
|
14989
14992
|
|
|
14990
|
-
#
|
|
14993
|
+
# Updates attachment on a specific account by filename
|
|
14991
14994
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14992
14995
|
# @param account_id [String] Unique identifier for Account object
|
|
14993
14996
|
# @param file_name [String] Name of the attachment
|
|
@@ -15063,7 +15066,7 @@ module XeroRuby
|
|
|
15063
15066
|
return data, status_code, headers
|
|
15064
15067
|
end
|
|
15065
15068
|
|
|
15066
|
-
#
|
|
15069
|
+
# Updates a single spent or received money transaction
|
|
15067
15070
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15068
15071
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
15069
15072
|
# @param bank_transactions [BankTransactions]
|
|
@@ -15075,7 +15078,7 @@ module XeroRuby
|
|
|
15075
15078
|
data
|
|
15076
15079
|
end
|
|
15077
15080
|
|
|
15078
|
-
#
|
|
15081
|
+
# Updates a single spent or received money transaction
|
|
15079
15082
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15080
15083
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
15081
15084
|
# @param bank_transactions [BankTransactions]
|
|
@@ -15148,7 +15151,7 @@ module XeroRuby
|
|
|
15148
15151
|
return data, status_code, headers
|
|
15149
15152
|
end
|
|
15150
15153
|
|
|
15151
|
-
#
|
|
15154
|
+
# Updates a specific attachment from a specific bank transaction by filename
|
|
15152
15155
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15153
15156
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
15154
15157
|
# @param file_name [String] The name of the file being attached
|
|
@@ -15160,7 +15163,7 @@ module XeroRuby
|
|
|
15160
15163
|
data
|
|
15161
15164
|
end
|
|
15162
15165
|
|
|
15163
|
-
#
|
|
15166
|
+
# Updates a specific attachment from a specific bank transaction by filename
|
|
15164
15167
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15165
15168
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
15166
15169
|
# @param file_name [String] The name of the file being attached
|
|
@@ -15322,6 +15325,7 @@ module XeroRuby
|
|
|
15322
15325
|
return data, status_code, headers
|
|
15323
15326
|
end
|
|
15324
15327
|
|
|
15328
|
+
# Updates a specific contact in a Xero organisation
|
|
15325
15329
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15326
15330
|
# @param contact_id [String] Unique identifier for a Contact
|
|
15327
15331
|
# @param contacts [Contacts] an array of Contacts containing single Contact object with properties to update
|
|
@@ -15332,6 +15336,7 @@ module XeroRuby
|
|
|
15332
15336
|
data
|
|
15333
15337
|
end
|
|
15334
15338
|
|
|
15339
|
+
# Updates a specific contact in a Xero organisation
|
|
15335
15340
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15336
15341
|
# @param contact_id [String] Unique identifier for a Contact
|
|
15337
15342
|
# @param contacts [Contacts] an array of Contacts containing single Contact object with properties to update
|
|
@@ -15488,7 +15493,7 @@ module XeroRuby
|
|
|
15488
15493
|
return data, status_code, headers
|
|
15489
15494
|
end
|
|
15490
15495
|
|
|
15491
|
-
#
|
|
15496
|
+
# Updates a specific contact group
|
|
15492
15497
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15493
15498
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
15494
15499
|
# @param contact_groups [ContactGroups] an array of Contact groups with Name of specific group to update
|
|
@@ -15499,7 +15504,7 @@ module XeroRuby
|
|
|
15499
15504
|
data
|
|
15500
15505
|
end
|
|
15501
15506
|
|
|
15502
|
-
#
|
|
15507
|
+
# Updates a specific contact group
|
|
15503
15508
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15504
15509
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
15505
15510
|
# @param contact_groups [ContactGroups] an array of Contact groups with Name of specific group to update
|
|
@@ -15570,7 +15575,7 @@ module XeroRuby
|
|
|
15570
15575
|
return data, status_code, headers
|
|
15571
15576
|
end
|
|
15572
15577
|
|
|
15573
|
-
#
|
|
15578
|
+
# Updates a specific credit note
|
|
15574
15579
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15575
15580
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
15576
15581
|
# @param credit_notes [CreditNotes] an array of Credit Notes containing credit note details to update
|
|
@@ -15582,7 +15587,7 @@ module XeroRuby
|
|
|
15582
15587
|
data
|
|
15583
15588
|
end
|
|
15584
15589
|
|
|
15585
|
-
#
|
|
15590
|
+
# Updates a specific credit note
|
|
15586
15591
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15587
15592
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
15588
15593
|
# @param credit_notes [CreditNotes] an array of Credit Notes containing credit note details to update
|
|
@@ -15655,7 +15660,7 @@ module XeroRuby
|
|
|
15655
15660
|
return data, status_code, headers
|
|
15656
15661
|
end
|
|
15657
15662
|
|
|
15658
|
-
#
|
|
15663
|
+
# Updates attachments on a specific credit note by file name
|
|
15659
15664
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15660
15665
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
15661
15666
|
# @param file_name [String] Name of the file you are attaching to Credit Note
|
|
@@ -15667,7 +15672,7 @@ module XeroRuby
|
|
|
15667
15672
|
data
|
|
15668
15673
|
end
|
|
15669
15674
|
|
|
15670
|
-
#
|
|
15675
|
+
# Updates attachments on a specific credit note by file name
|
|
15671
15676
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15672
15677
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
15673
15678
|
# @param file_name [String] Name of the file you are attaching to Credit Note
|
|
@@ -15743,7 +15748,7 @@ module XeroRuby
|
|
|
15743
15748
|
return data, status_code, headers
|
|
15744
15749
|
end
|
|
15745
15750
|
|
|
15746
|
-
#
|
|
15751
|
+
# Updates a specific expense claims
|
|
15747
15752
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15748
15753
|
# @param expense_claim_id [String] Unique identifier for a ExpenseClaim
|
|
15749
15754
|
# @param expense_claims [ExpenseClaims]
|
|
@@ -15754,7 +15759,7 @@ module XeroRuby
|
|
|
15754
15759
|
data
|
|
15755
15760
|
end
|
|
15756
15761
|
|
|
15757
|
-
#
|
|
15762
|
+
# Updates a specific expense claims
|
|
15758
15763
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15759
15764
|
# @param expense_claim_id [String] Unique identifier for a ExpenseClaim
|
|
15760
15765
|
# @param expense_claims [ExpenseClaims]
|
|
@@ -15825,7 +15830,7 @@ module XeroRuby
|
|
|
15825
15830
|
return data, status_code, headers
|
|
15826
15831
|
end
|
|
15827
15832
|
|
|
15828
|
-
#
|
|
15833
|
+
# Updates a specific sales invoices or purchase bills
|
|
15829
15834
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15830
15835
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
15831
15836
|
# @param invoices [Invoices]
|
|
@@ -15837,7 +15842,7 @@ module XeroRuby
|
|
|
15837
15842
|
data
|
|
15838
15843
|
end
|
|
15839
15844
|
|
|
15840
|
-
#
|
|
15845
|
+
# Updates a specific sales invoices or purchase bills
|
|
15841
15846
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15842
15847
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
15843
15848
|
# @param invoices [Invoices]
|
|
@@ -15910,7 +15915,7 @@ module XeroRuby
|
|
|
15910
15915
|
return data, status_code, headers
|
|
15911
15916
|
end
|
|
15912
15917
|
|
|
15913
|
-
#
|
|
15918
|
+
# Updates an attachment from a specific invoices or purchase bill by filename
|
|
15914
15919
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15915
15920
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
15916
15921
|
# @param file_name [String] Name of the file you are attaching
|
|
@@ -15922,7 +15927,7 @@ module XeroRuby
|
|
|
15922
15927
|
data
|
|
15923
15928
|
end
|
|
15924
15929
|
|
|
15925
|
-
#
|
|
15930
|
+
# Updates an attachment from a specific invoices or purchase bill by filename
|
|
15926
15931
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15927
15932
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
15928
15933
|
# @param file_name [String] Name of the file you are attaching
|
|
@@ -15998,7 +16003,7 @@ module XeroRuby
|
|
|
15998
16003
|
return data, status_code, headers
|
|
15999
16004
|
end
|
|
16000
16005
|
|
|
16001
|
-
#
|
|
16006
|
+
# Updates a specific item
|
|
16002
16007
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16003
16008
|
# @param item_id [String] Unique identifier for an Item
|
|
16004
16009
|
# @param items [Items]
|
|
@@ -16010,7 +16015,7 @@ module XeroRuby
|
|
|
16010
16015
|
data
|
|
16011
16016
|
end
|
|
16012
16017
|
|
|
16013
|
-
#
|
|
16018
|
+
# Updates a specific item
|
|
16014
16019
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16015
16020
|
# @param item_id [String] Unique identifier for an Item
|
|
16016
16021
|
# @param items [Items]
|
|
@@ -16083,7 +16088,7 @@ module XeroRuby
|
|
|
16083
16088
|
return data, status_code, headers
|
|
16084
16089
|
end
|
|
16085
16090
|
|
|
16086
|
-
#
|
|
16091
|
+
# Updates a specific linked transactions (billable expenses)
|
|
16087
16092
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16088
16093
|
# @param linked_transaction_id [String] Unique identifier for a LinkedTransaction
|
|
16089
16094
|
# @param linked_transactions [LinkedTransactions]
|
|
@@ -16094,7 +16099,7 @@ module XeroRuby
|
|
|
16094
16099
|
data
|
|
16095
16100
|
end
|
|
16096
16101
|
|
|
16097
|
-
#
|
|
16102
|
+
# Updates a specific linked transactions (billable expenses)
|
|
16098
16103
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16099
16104
|
# @param linked_transaction_id [String] Unique identifier for a LinkedTransaction
|
|
16100
16105
|
# @param linked_transactions [LinkedTransactions]
|
|
@@ -16165,7 +16170,7 @@ module XeroRuby
|
|
|
16165
16170
|
return data, status_code, headers
|
|
16166
16171
|
end
|
|
16167
16172
|
|
|
16168
|
-
#
|
|
16173
|
+
# Updates a specific manual journal
|
|
16169
16174
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16170
16175
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
16171
16176
|
# @param manual_journals [ManualJournals]
|
|
@@ -16176,7 +16181,7 @@ module XeroRuby
|
|
|
16176
16181
|
data
|
|
16177
16182
|
end
|
|
16178
16183
|
|
|
16179
|
-
#
|
|
16184
|
+
# Updates a specific manual journal
|
|
16180
16185
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16181
16186
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
16182
16187
|
# @param manual_journals [ManualJournals]
|
|
@@ -16247,7 +16252,7 @@ module XeroRuby
|
|
|
16247
16252
|
return data, status_code, headers
|
|
16248
16253
|
end
|
|
16249
16254
|
|
|
16250
|
-
#
|
|
16255
|
+
# Updates a specific attachment from a specific manual journal by file name
|
|
16251
16256
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16252
16257
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
16253
16258
|
# @param file_name [String] The name of the file being attached to a ManualJournal
|
|
@@ -16259,7 +16264,7 @@ module XeroRuby
|
|
|
16259
16264
|
data
|
|
16260
16265
|
end
|
|
16261
16266
|
|
|
16262
|
-
#
|
|
16267
|
+
# Updates a specific attachment from a specific manual journal by file name
|
|
16263
16268
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16264
16269
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
16265
16270
|
# @param file_name [String] The name of the file being attached to a ManualJournal
|
|
@@ -16335,7 +16340,7 @@ module XeroRuby
|
|
|
16335
16340
|
return data, status_code, headers
|
|
16336
16341
|
end
|
|
16337
16342
|
|
|
16338
|
-
#
|
|
16343
|
+
# Updates or creates one or more spent or received money transaction
|
|
16339
16344
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16340
16345
|
# @param bank_transactions [BankTransactions]
|
|
16341
16346
|
# @param [Hash] opts the optional parameters
|
|
@@ -16347,7 +16352,7 @@ module XeroRuby
|
|
|
16347
16352
|
data
|
|
16348
16353
|
end
|
|
16349
16354
|
|
|
16350
|
-
#
|
|
16355
|
+
# Updates or creates one or more spent or received money transaction
|
|
16351
16356
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16352
16357
|
# @param bank_transactions [BankTransactions]
|
|
16353
16358
|
# @param [Hash] opts the optional parameters
|
|
@@ -16417,7 +16422,7 @@ module XeroRuby
|
|
|
16417
16422
|
return data, status_code, headers
|
|
16418
16423
|
end
|
|
16419
16424
|
|
|
16420
|
-
#
|
|
16425
|
+
# Updates or creates one or more contacts in a Xero organisation
|
|
16421
16426
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16422
16427
|
# @param contacts [Contacts]
|
|
16423
16428
|
# @param [Hash] opts the optional parameters
|
|
@@ -16428,7 +16433,7 @@ module XeroRuby
|
|
|
16428
16433
|
data
|
|
16429
16434
|
end
|
|
16430
16435
|
|
|
16431
|
-
#
|
|
16436
|
+
# Updates or creates one or more contacts in a Xero organisation
|
|
16432
16437
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16433
16438
|
# @param contacts [Contacts]
|
|
16434
16439
|
# @param [Hash] opts the optional parameters
|
|
@@ -16496,7 +16501,7 @@ module XeroRuby
|
|
|
16496
16501
|
return data, status_code, headers
|
|
16497
16502
|
end
|
|
16498
16503
|
|
|
16499
|
-
#
|
|
16504
|
+
# Updates or creates one or more credit notes
|
|
16500
16505
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16501
16506
|
# @param credit_notes [CreditNotes] an array of Credit Notes with a single CreditNote object.
|
|
16502
16507
|
# @param [Hash] opts the optional parameters
|
|
@@ -16508,7 +16513,7 @@ module XeroRuby
|
|
|
16508
16513
|
data
|
|
16509
16514
|
end
|
|
16510
16515
|
|
|
16511
|
-
#
|
|
16516
|
+
# Updates or creates one or more credit notes
|
|
16512
16517
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16513
16518
|
# @param credit_notes [CreditNotes] an array of Credit Notes with a single CreditNote object.
|
|
16514
16519
|
# @param [Hash] opts the optional parameters
|
|
@@ -16578,7 +16583,7 @@ module XeroRuby
|
|
|
16578
16583
|
return data, status_code, headers
|
|
16579
16584
|
end
|
|
16580
16585
|
|
|
16581
|
-
#
|
|
16586
|
+
# Creates a single new employees used in Xero payrun
|
|
16582
16587
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16583
16588
|
# @param employees [Employees] Employees with array of Employee object in body of request
|
|
16584
16589
|
# @param [Hash] opts the optional parameters
|
|
@@ -16589,7 +16594,7 @@ module XeroRuby
|
|
|
16589
16594
|
data
|
|
16590
16595
|
end
|
|
16591
16596
|
|
|
16592
|
-
#
|
|
16597
|
+
# Creates a single new employees used in Xero payrun
|
|
16593
16598
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16594
16599
|
# @param employees [Employees] Employees with array of Employee object in body of request
|
|
16595
16600
|
# @param [Hash] opts the optional parameters
|
|
@@ -16657,7 +16662,7 @@ module XeroRuby
|
|
|
16657
16662
|
return data, status_code, headers
|
|
16658
16663
|
end
|
|
16659
16664
|
|
|
16660
|
-
#
|
|
16665
|
+
# Updates or creates one or more sales invoices or purchase bills
|
|
16661
16666
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16662
16667
|
# @param invoices [Invoices]
|
|
16663
16668
|
# @param [Hash] opts the optional parameters
|
|
@@ -16669,7 +16674,7 @@ module XeroRuby
|
|
|
16669
16674
|
data
|
|
16670
16675
|
end
|
|
16671
16676
|
|
|
16672
|
-
#
|
|
16677
|
+
# Updates or creates one or more sales invoices or purchase bills
|
|
16673
16678
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16674
16679
|
# @param invoices [Invoices]
|
|
16675
16680
|
# @param [Hash] opts the optional parameters
|
|
@@ -16739,7 +16744,7 @@ module XeroRuby
|
|
|
16739
16744
|
return data, status_code, headers
|
|
16740
16745
|
end
|
|
16741
16746
|
|
|
16742
|
-
#
|
|
16747
|
+
# Updates or creates one or more items
|
|
16743
16748
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16744
16749
|
# @param items [Items]
|
|
16745
16750
|
# @param [Hash] opts the optional parameters
|
|
@@ -16751,7 +16756,7 @@ module XeroRuby
|
|
|
16751
16756
|
data
|
|
16752
16757
|
end
|
|
16753
16758
|
|
|
16754
|
-
#
|
|
16759
|
+
# Updates or creates one or more items
|
|
16755
16760
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16756
16761
|
# @param items [Items]
|
|
16757
16762
|
# @param [Hash] opts the optional parameters
|
|
@@ -16821,7 +16826,7 @@ module XeroRuby
|
|
|
16821
16826
|
return data, status_code, headers
|
|
16822
16827
|
end
|
|
16823
16828
|
|
|
16824
|
-
#
|
|
16829
|
+
# Updates or creates a single manual journal
|
|
16825
16830
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16826
16831
|
# @param manual_journals [ManualJournals] ManualJournals array with ManualJournal object in body of request
|
|
16827
16832
|
# @param [Hash] opts the optional parameters
|
|
@@ -16832,7 +16837,7 @@ module XeroRuby
|
|
|
16832
16837
|
data
|
|
16833
16838
|
end
|
|
16834
16839
|
|
|
16835
|
-
#
|
|
16840
|
+
# Updates or creates a single manual journal
|
|
16836
16841
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16837
16842
|
# @param manual_journals [ManualJournals] ManualJournals array with ManualJournal object in body of request
|
|
16838
16843
|
# @param [Hash] opts the optional parameters
|
|
@@ -16900,7 +16905,7 @@ module XeroRuby
|
|
|
16900
16905
|
return data, status_code, headers
|
|
16901
16906
|
end
|
|
16902
16907
|
|
|
16903
|
-
#
|
|
16908
|
+
# Updates or creates one or more purchase orders
|
|
16904
16909
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16905
16910
|
# @param purchase_orders [PurchaseOrders]
|
|
16906
16911
|
# @param [Hash] opts the optional parameters
|
|
@@ -16911,7 +16916,7 @@ module XeroRuby
|
|
|
16911
16916
|
data
|
|
16912
16917
|
end
|
|
16913
16918
|
|
|
16914
|
-
#
|
|
16919
|
+
# Updates or creates one or more purchase orders
|
|
16915
16920
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16916
16921
|
# @param purchase_orders [PurchaseOrders]
|
|
16917
16922
|
# @param [Hash] opts the optional parameters
|
|
@@ -16979,7 +16984,7 @@ module XeroRuby
|
|
|
16979
16984
|
return data, status_code, headers
|
|
16980
16985
|
end
|
|
16981
16986
|
|
|
16982
|
-
#
|
|
16987
|
+
# Updates or creates one or more quotes
|
|
16983
16988
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16984
16989
|
# @param quotes [Quotes]
|
|
16985
16990
|
# @param [Hash] opts the optional parameters
|
|
@@ -16990,7 +16995,7 @@ module XeroRuby
|
|
|
16990
16995
|
data
|
|
16991
16996
|
end
|
|
16992
16997
|
|
|
16993
|
-
#
|
|
16998
|
+
# Updates or creates one or more quotes
|
|
16994
16999
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16995
17000
|
# @param quotes [Quotes]
|
|
16996
17001
|
# @param [Hash] opts the optional parameters
|
|
@@ -17058,7 +17063,7 @@ module XeroRuby
|
|
|
17058
17063
|
return data, status_code, headers
|
|
17059
17064
|
end
|
|
17060
17065
|
|
|
17061
|
-
#
|
|
17066
|
+
# Updates a specific purchase order
|
|
17062
17067
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17063
17068
|
# @param purchase_order_id [String] Unique identifier for a PurchaseOrder
|
|
17064
17069
|
# @param purchase_orders [PurchaseOrders]
|
|
@@ -17069,7 +17074,7 @@ module XeroRuby
|
|
|
17069
17074
|
data
|
|
17070
17075
|
end
|
|
17071
17076
|
|
|
17072
|
-
#
|
|
17077
|
+
# Updates a specific purchase order
|
|
17073
17078
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17074
17079
|
# @param purchase_order_id [String] Unique identifier for a PurchaseOrder
|
|
17075
17080
|
# @param purchase_orders [PurchaseOrders]
|
|
@@ -17140,7 +17145,7 @@ module XeroRuby
|
|
|
17140
17145
|
return data, status_code, headers
|
|
17141
17146
|
end
|
|
17142
17147
|
|
|
17143
|
-
#
|
|
17148
|
+
# Updates a specific attachment for a specific purchase order by filename
|
|
17144
17149
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17145
17150
|
# @param purchase_order_id [String] Unique identifier for Purchase Order object
|
|
17146
17151
|
# @param file_name [String] Name of the attachment
|
|
@@ -17152,7 +17157,7 @@ module XeroRuby
|
|
|
17152
17157
|
data
|
|
17153
17158
|
end
|
|
17154
17159
|
|
|
17155
|
-
#
|
|
17160
|
+
# Updates a specific attachment for a specific purchase order by filename
|
|
17156
17161
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17157
17162
|
# @param purchase_order_id [String] Unique identifier for Purchase Order object
|
|
17158
17163
|
# @param file_name [String] Name of the attachment
|
|
@@ -17228,7 +17233,7 @@ module XeroRuby
|
|
|
17228
17233
|
return data, status_code, headers
|
|
17229
17234
|
end
|
|
17230
17235
|
|
|
17231
|
-
#
|
|
17236
|
+
# Updates a specific quote
|
|
17232
17237
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17233
17238
|
# @param quote_id [String] Unique identifier for an Quote
|
|
17234
17239
|
# @param quotes [Quotes]
|
|
@@ -17239,7 +17244,7 @@ module XeroRuby
|
|
|
17239
17244
|
data
|
|
17240
17245
|
end
|
|
17241
17246
|
|
|
17242
|
-
#
|
|
17247
|
+
# Updates a specific quote
|
|
17243
17248
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17244
17249
|
# @param quote_id [String] Unique identifier for an Quote
|
|
17245
17250
|
# @param quotes [Quotes]
|
|
@@ -17310,7 +17315,7 @@ module XeroRuby
|
|
|
17310
17315
|
return data, status_code, headers
|
|
17311
17316
|
end
|
|
17312
17317
|
|
|
17313
|
-
#
|
|
17318
|
+
# Updates a specific attachment from a specific quote by filename
|
|
17314
17319
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17315
17320
|
# @param quote_id [String] Unique identifier for Quote object
|
|
17316
17321
|
# @param file_name [String] Name of the attachment
|
|
@@ -17322,7 +17327,7 @@ module XeroRuby
|
|
|
17322
17327
|
data
|
|
17323
17328
|
end
|
|
17324
17329
|
|
|
17325
|
-
#
|
|
17330
|
+
# Updates a specific attachment from a specific quote by filename
|
|
17326
17331
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17327
17332
|
# @param quote_id [String] Unique identifier for Quote object
|
|
17328
17333
|
# @param file_name [String] Name of the attachment
|
|
@@ -17398,7 +17403,7 @@ module XeroRuby
|
|
|
17398
17403
|
return data, status_code, headers
|
|
17399
17404
|
end
|
|
17400
17405
|
|
|
17401
|
-
#
|
|
17406
|
+
# Updates a specific draft expense claim receipts
|
|
17402
17407
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17403
17408
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
17404
17409
|
# @param receipts [Receipts]
|
|
@@ -17410,7 +17415,7 @@ module XeroRuby
|
|
|
17410
17415
|
data
|
|
17411
17416
|
end
|
|
17412
17417
|
|
|
17413
|
-
#
|
|
17418
|
+
# Updates a specific draft expense claim receipts
|
|
17414
17419
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17415
17420
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
17416
17421
|
# @param receipts [Receipts]
|
|
@@ -17483,7 +17488,7 @@ module XeroRuby
|
|
|
17483
17488
|
return data, status_code, headers
|
|
17484
17489
|
end
|
|
17485
17490
|
|
|
17486
|
-
#
|
|
17491
|
+
# Updates a specific attachment on a specific expense claim receipts by file name
|
|
17487
17492
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17488
17493
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
17489
17494
|
# @param file_name [String] The name of the file being attached to the Receipt
|
|
@@ -17495,7 +17500,7 @@ module XeroRuby
|
|
|
17495
17500
|
data
|
|
17496
17501
|
end
|
|
17497
17502
|
|
|
17498
|
-
#
|
|
17503
|
+
# Updates a specific attachment on a specific expense claim receipts by file name
|
|
17499
17504
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17500
17505
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
17501
17506
|
# @param file_name [String] The name of the file being attached to the Receipt
|
|
@@ -17571,7 +17576,7 @@ module XeroRuby
|
|
|
17571
17576
|
return data, status_code, headers
|
|
17572
17577
|
end
|
|
17573
17578
|
|
|
17574
|
-
#
|
|
17579
|
+
# Updates a specific attachment from a specific repeating invoices by file name
|
|
17575
17580
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17576
17581
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
17577
17582
|
# @param file_name [String] The name of the file being attached to a Repeating Invoice
|
|
@@ -17583,7 +17588,7 @@ module XeroRuby
|
|
|
17583
17588
|
data
|
|
17584
17589
|
end
|
|
17585
17590
|
|
|
17586
|
-
#
|
|
17591
|
+
# Updates a specific attachment from a specific repeating invoices by file name
|
|
17587
17592
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17588
17593
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
17589
17594
|
# @param file_name [String] The name of the file being attached to a Repeating Invoice
|
|
@@ -17659,7 +17664,7 @@ module XeroRuby
|
|
|
17659
17664
|
return data, status_code, headers
|
|
17660
17665
|
end
|
|
17661
17666
|
|
|
17662
|
-
#
|
|
17667
|
+
# Updates tax rates
|
|
17663
17668
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17664
17669
|
# @param tax_rates [TaxRates]
|
|
17665
17670
|
# @param [Hash] opts the optional parameters
|
|
@@ -17669,7 +17674,7 @@ module XeroRuby
|
|
|
17669
17674
|
data
|
|
17670
17675
|
end
|
|
17671
17676
|
|
|
17672
|
-
#
|
|
17677
|
+
# Updates tax rates
|
|
17673
17678
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17674
17679
|
# @param tax_rates [TaxRates]
|
|
17675
17680
|
# @param [Hash] opts the optional parameters
|
|
@@ -17735,7 +17740,7 @@ module XeroRuby
|
|
|
17735
17740
|
return data, status_code, headers
|
|
17736
17741
|
end
|
|
17737
17742
|
|
|
17738
|
-
#
|
|
17743
|
+
# Updates a specific tracking category
|
|
17739
17744
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17740
17745
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
17741
17746
|
# @param tracking_category [TrackingCategory]
|
|
@@ -17746,7 +17751,7 @@ module XeroRuby
|
|
|
17746
17751
|
data
|
|
17747
17752
|
end
|
|
17748
17753
|
|
|
17749
|
-
#
|
|
17754
|
+
# Updates a specific tracking category
|
|
17750
17755
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17751
17756
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
17752
17757
|
# @param tracking_category [TrackingCategory]
|
|
@@ -17817,7 +17822,7 @@ module XeroRuby
|
|
|
17817
17822
|
return data, status_code, headers
|
|
17818
17823
|
end
|
|
17819
17824
|
|
|
17820
|
-
#
|
|
17825
|
+
# Updates a specific option for a specific tracking category
|
|
17821
17826
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17822
17827
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
17823
17828
|
# @param tracking_option_id [String] Unique identifier for a Tracking Option
|
|
@@ -17829,7 +17834,7 @@ module XeroRuby
|
|
|
17829
17834
|
data
|
|
17830
17835
|
end
|
|
17831
17836
|
|
|
17832
|
-
#
|
|
17837
|
+
# Updates a specific option for a specific tracking category
|
|
17833
17838
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17834
17839
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
17835
17840
|
# @param tracking_option_id [String] Unique identifier for a Tracking Option
|