xero-ruby 2.6.2 → 2.8.2
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 +47 -46
- data/lib/xero-ruby.rb +5 -3
- data/lib/xero-ruby/api/accounting_api.rb +568 -568
- data/lib/xero-ruby/api/asset_api.rb +3 -7
- data/lib/xero-ruby/api/files_api.rb +172 -69
- data/lib/xero-ruby/api/payroll_au_api.rb +63 -63
- data/lib/xero-ruby/api/payroll_nz_api.rb +171 -171
- data/lib/xero-ruby/api/payroll_uk_api.rb +177 -183
- data/lib/xero-ruby/api/project_api.rb +45 -45
- data/lib/xero-ruby/api_client.rb +25 -88
- data/lib/xero-ruby/api_error.rb +1 -1
- data/lib/xero-ruby/configuration.rb +3 -3
- data/lib/xero-ruby/models/accounting/account.rb +2 -2
- data/lib/xero-ruby/models/accounting/account_type.rb +1 -1
- data/lib/xero-ruby/models/accounting/accounts.rb +2 -2
- data/lib/xero-ruby/models/accounting/accounts_payable.rb +2 -2
- data/lib/xero-ruby/models/accounting/accounts_receivable.rb +2 -2
- data/lib/xero-ruby/models/accounting/action.rb +2 -2
- data/lib/xero-ruby/models/accounting/actions.rb +2 -2
- data/lib/xero-ruby/models/accounting/address.rb +2 -2
- data/lib/xero-ruby/models/accounting/address_for_organisation.rb +2 -2
- data/lib/xero-ruby/models/accounting/allocation.rb +2 -2
- data/lib/xero-ruby/models/accounting/allocations.rb +2 -2
- data/lib/xero-ruby/models/accounting/attachment.rb +2 -2
- data/lib/xero-ruby/models/accounting/attachments.rb +2 -2
- data/lib/xero-ruby/models/accounting/balance_details.rb +2 -2
- data/lib/xero-ruby/models/accounting/balances.rb +2 -2
- data/lib/xero-ruby/models/accounting/bank_transaction.rb +2 -2
- data/lib/xero-ruby/models/accounting/bank_transactions.rb +2 -2
- data/lib/xero-ruby/models/accounting/bank_transfer.rb +2 -2
- data/lib/xero-ruby/models/accounting/bank_transfers.rb +2 -2
- data/lib/xero-ruby/models/accounting/batch_payment.rb +18 -6
- data/lib/xero-ruby/models/accounting/batch_payment_details.rb +2 -2
- data/lib/xero-ruby/models/accounting/batch_payments.rb +2 -2
- data/lib/xero-ruby/models/accounting/bill.rb +2 -2
- data/lib/xero-ruby/models/accounting/branding_theme.rb +2 -2
- data/lib/xero-ruby/models/accounting/branding_themes.rb +2 -2
- data/lib/xero-ruby/models/accounting/cis_org_setting.rb +2 -2
- data/lib/xero-ruby/models/{files/file_response204.rb → accounting/cis_org_settings.rb} +17 -15
- data/lib/xero-ruby/models/accounting/cis_setting.rb +2 -2
- data/lib/xero-ruby/models/accounting/cis_settings.rb +2 -2
- data/lib/xero-ruby/models/accounting/contact.rb +2 -2
- data/lib/xero-ruby/models/accounting/contact_group.rb +2 -2
- data/lib/xero-ruby/models/accounting/contact_groups.rb +2 -2
- data/lib/xero-ruby/models/accounting/contact_person.rb +2 -2
- data/lib/xero-ruby/models/accounting/contacts.rb +2 -2
- data/lib/xero-ruby/models/accounting/conversion_balances.rb +2 -2
- data/lib/xero-ruby/models/accounting/conversion_date.rb +2 -2
- data/lib/xero-ruby/models/accounting/country_code.rb +1 -1
- data/lib/xero-ruby/models/accounting/credit_note.rb +19 -7
- data/lib/xero-ruby/models/accounting/credit_notes.rb +2 -2
- data/lib/xero-ruby/models/accounting/currencies.rb +2 -2
- data/lib/xero-ruby/models/accounting/currency.rb +2 -2
- data/lib/xero-ruby/models/accounting/currency_code.rb +1 -1
- data/lib/xero-ruby/models/accounting/element.rb +2 -2
- data/lib/xero-ruby/models/accounting/employee.rb +2 -2
- data/lib/xero-ruby/models/accounting/employees.rb +2 -2
- data/lib/xero-ruby/models/accounting/error.rb +2 -2
- data/lib/xero-ruby/models/accounting/expense_claim.rb +2 -2
- data/lib/xero-ruby/models/accounting/expense_claims.rb +2 -2
- data/lib/xero-ruby/models/accounting/external_link.rb +2 -2
- data/lib/xero-ruby/models/accounting/history_record.rb +2 -2
- data/lib/xero-ruby/models/accounting/history_records.rb +2 -2
- data/lib/xero-ruby/models/accounting/import_summary.rb +2 -2
- data/lib/xero-ruby/models/accounting/import_summary_accounts.rb +10 -10
- data/lib/xero-ruby/models/accounting/import_summary_object.rb +2 -2
- data/lib/xero-ruby/models/accounting/import_summary_organisation.rb +2 -2
- data/lib/xero-ruby/models/accounting/invoice.rb +2 -2
- data/lib/xero-ruby/models/accounting/invoice_reminder.rb +2 -2
- data/lib/xero-ruby/models/accounting/invoice_reminders.rb +2 -2
- data/lib/xero-ruby/models/accounting/invoices.rb +2 -2
- data/lib/xero-ruby/models/accounting/item.rb +2 -2
- data/lib/xero-ruby/models/accounting/items.rb +2 -2
- data/lib/xero-ruby/models/accounting/journal.rb +2 -2
- data/lib/xero-ruby/models/accounting/journal_line.rb +2 -2
- data/lib/xero-ruby/models/accounting/journals.rb +2 -2
- data/lib/xero-ruby/models/accounting/line_amount_types.rb +1 -1
- data/lib/xero-ruby/models/accounting/line_item.rb +2 -2
- data/lib/xero-ruby/models/accounting/line_item_tracking.rb +2 -2
- data/lib/xero-ruby/models/accounting/linked_transaction.rb +2 -2
- data/lib/xero-ruby/models/accounting/linked_transactions.rb +2 -2
- data/lib/xero-ruby/models/accounting/manual_journal.rb +2 -2
- data/lib/xero-ruby/models/accounting/manual_journal_line.rb +2 -2
- data/lib/xero-ruby/models/accounting/manual_journals.rb +2 -2
- data/lib/xero-ruby/models/accounting/online_invoice.rb +2 -2
- data/lib/xero-ruby/models/accounting/online_invoices.rb +2 -2
- data/lib/xero-ruby/models/accounting/organisation.rb +2 -2
- data/lib/xero-ruby/models/accounting/organisations.rb +2 -2
- data/lib/xero-ruby/models/accounting/overpayment.rb +2 -2
- data/lib/xero-ruby/models/accounting/overpayments.rb +2 -2
- data/lib/xero-ruby/models/accounting/payment.rb +13 -3
- data/lib/xero-ruby/models/accounting/payment_delete.rb +2 -2
- data/lib/xero-ruby/models/accounting/payment_service.rb +2 -2
- data/lib/xero-ruby/models/accounting/payment_services.rb +2 -2
- data/lib/xero-ruby/models/accounting/payment_term.rb +2 -2
- data/lib/xero-ruby/models/accounting/payment_term_type.rb +1 -1
- data/lib/xero-ruby/models/accounting/payments.rb +2 -2
- data/lib/xero-ruby/models/accounting/phone.rb +2 -2
- data/lib/xero-ruby/models/accounting/prepayment.rb +2 -2
- data/lib/xero-ruby/models/accounting/prepayments.rb +2 -2
- data/lib/xero-ruby/models/accounting/purchase.rb +2 -2
- data/lib/xero-ruby/models/accounting/purchase_order.rb +2 -2
- data/lib/xero-ruby/models/accounting/purchase_orders.rb +2 -2
- data/lib/xero-ruby/models/accounting/quote.rb +2 -2
- data/lib/xero-ruby/models/accounting/quote_line_amount_types.rb +1 -1
- data/lib/xero-ruby/models/accounting/quote_status_codes.rb +1 -1
- data/lib/xero-ruby/models/accounting/quotes.rb +2 -2
- data/lib/xero-ruby/models/accounting/receipt.rb +2 -2
- data/lib/xero-ruby/models/accounting/receipts.rb +2 -2
- data/lib/xero-ruby/models/accounting/repeating_invoice.rb +2 -2
- data/lib/xero-ruby/models/accounting/repeating_invoices.rb +2 -2
- data/lib/xero-ruby/models/accounting/report.rb +2 -2
- data/lib/xero-ruby/models/accounting/report_attribute.rb +2 -2
- data/lib/xero-ruby/models/accounting/report_cell.rb +2 -2
- data/lib/xero-ruby/models/accounting/report_fields.rb +2 -2
- data/lib/xero-ruby/models/accounting/report_row.rb +2 -2
- data/lib/xero-ruby/models/accounting/report_rows.rb +2 -2
- data/lib/xero-ruby/models/accounting/report_with_row.rb +2 -2
- data/lib/xero-ruby/models/accounting/report_with_rows.rb +2 -2
- data/lib/xero-ruby/models/accounting/reports.rb +2 -2
- data/lib/xero-ruby/models/accounting/request_empty.rb +2 -2
- data/lib/xero-ruby/models/accounting/row_type.rb +1 -1
- data/lib/xero-ruby/models/accounting/sales_tracking_category.rb +2 -2
- data/lib/xero-ruby/models/accounting/schedule.rb +2 -2
- data/lib/xero-ruby/models/accounting/setup.rb +2 -2
- data/lib/xero-ruby/models/accounting/tax_component.rb +2 -2
- data/lib/xero-ruby/models/accounting/tax_rate.rb +2 -2
- data/lib/xero-ruby/models/accounting/tax_rates.rb +2 -2
- data/lib/xero-ruby/models/accounting/tax_type.rb +1 -1
- data/lib/xero-ruby/models/accounting/ten_ninety_nine_contact.rb +2 -2
- data/lib/xero-ruby/models/accounting/time_zone.rb +1 -1
- data/lib/xero-ruby/models/accounting/tracking_categories.rb +2 -2
- data/lib/xero-ruby/models/accounting/tracking_category.rb +2 -2
- data/lib/xero-ruby/models/accounting/tracking_option.rb +2 -2
- data/lib/xero-ruby/models/accounting/tracking_options.rb +2 -2
- data/lib/xero-ruby/models/accounting/user.rb +2 -2
- data/lib/xero-ruby/models/accounting/users.rb +2 -2
- data/lib/xero-ruby/models/accounting/validation_error.rb +2 -2
- data/lib/xero-ruby/models/assets/asset.rb +2 -2
- data/lib/xero-ruby/models/assets/asset_status.rb +1 -1
- data/lib/xero-ruby/models/assets/asset_status_query_param.rb +1 -1
- data/lib/xero-ruby/models/assets/asset_type.rb +2 -2
- data/lib/xero-ruby/models/assets/assets.rb +2 -2
- data/lib/xero-ruby/models/assets/book_depreciation_detail.rb +2 -2
- data/lib/xero-ruby/models/assets/book_depreciation_setting.rb +2 -2
- data/lib/xero-ruby/models/assets/error.rb +2 -2
- data/lib/xero-ruby/models/assets/field_validation_errors_element.rb +3 -3
- data/lib/xero-ruby/models/assets/pagination.rb +2 -2
- data/lib/xero-ruby/models/assets/resource_validation_errors_element.rb +3 -3
- data/lib/xero-ruby/models/assets/setting.rb +2 -2
- data/lib/xero-ruby/models/files/association.rb +2 -2
- data/lib/xero-ruby/models/files/file_object.rb +2 -2
- data/lib/xero-ruby/models/files/files.rb +2 -2
- data/lib/xero-ruby/models/files/folder.rb +2 -2
- data/lib/xero-ruby/models/files/folders.rb +2 -2
- data/lib/xero-ruby/models/files/object_group.rb +1 -1
- data/lib/xero-ruby/models/files/object_type.rb +1 -1
- data/lib/xero-ruby/models/files/{inline_object.rb → upload_object.rb} +20 -5
- data/lib/xero-ruby/models/files/user.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/account.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/account_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/allowance_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/api_exception.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/bank_account.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/calendar_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/deduction_line.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/deduction_type.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/deduction_type_calculation_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/earnings_line.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/earnings_rate.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/earnings_rate_calculation_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/earnings_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/employee.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/employee_status.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/employees.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/employment_basis.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/employment_termination_payment_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/entitlement_final_pay_payout_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/home_address.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/leave_accrual_line.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/leave_application.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/leave_applications.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/leave_balance.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/leave_earnings_line.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/leave_line.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/leave_line_calculation_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/leave_lines.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/leave_period.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/leave_period_status.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/leave_type.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/leave_type_contribution_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/manual_tax_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/opening_balances.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/pay_item.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/pay_items.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/pay_run.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/pay_run_status.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/pay_runs.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/pay_template.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/payment_frequency_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/payroll_calendar.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/payroll_calendars.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/payslip.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/payslip_lines.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/payslip_object.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/payslip_summary.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/payslips.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/rate_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/reimbursement_line.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/reimbursement_lines.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/reimbursement_type.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/residency_status.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/settings.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/settings_object.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/settings_tracking_categories.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/settings_tracking_categories_employee_groups.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/settings_tracking_categories_timesheet_categories.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/state.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/super_fund.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/super_fund_product.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/super_fund_products.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/super_fund_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/super_funds.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/super_line.rb +3 -3
- data/lib/xero-ruby/models/payroll_au/super_membership.rb +3 -3
- data/lib/xero-ruby/models/payroll_au/superannuation_calculation_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/superannuation_contribution_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/superannuation_line.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/tax_declaration.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/tax_line.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/tfn_exemption_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/timesheet.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/timesheet_line.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/timesheet_object.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/timesheet_status.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/timesheets.rb +2 -2
- data/lib/xero-ruby/models/payroll_au/validation_error.rb +2 -2
- data/lib/xero-ruby/models/payroll_nz/account.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/accounts.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/address.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/bank_account.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/benefit.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/deduction.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/deduction_line.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/deduction_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/deductions.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/earnings_line.rb +2 -2
- data/lib/xero-ruby/models/payroll_nz/earnings_order.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/earnings_order_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/earnings_orders.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/earnings_rate.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/earnings_rate_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/earnings_rates.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/earnings_template.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/earnings_template_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_earnings_templates.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_leave.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_leave_balance.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_leave_balances.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_leave_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_leave_setup.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_leave_setup_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_leave_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_leave_type_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_leave_types.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_leaves.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_opening_balance.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_opening_balances_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_pay_template.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_pay_template_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_pay_templates.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_balance.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_balance_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_summary.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_leaves_summaries.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leave.rb +2 -2
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leave_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leaves.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_tax.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employee_tax_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employees.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employment.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/employment_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/gross_earnings_history.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/invalid_field.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/leave_accrual_line.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/leave_earnings_line.rb +2 -2
- data/lib/xero-ruby/models/payroll_nz/leave_period.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/leave_periods.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/leave_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/leave_type_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/leave_types.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/pagination.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/pay_run.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/pay_run_calendar.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/pay_run_calendar_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/pay_run_calendars.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/pay_run_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/pay_runs.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/pay_slip.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/pay_slip_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/pay_slips.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/payment_line.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/payment_method.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/payment_method_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/problem.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/reimbursement.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/reimbursement_line.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/reimbursement_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/reimbursements.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/salary_and_wage.rb +4 -3
- data/lib/xero-ruby/models/payroll_nz/salary_and_wage_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/salary_and_wages.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/settings.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/statutory_deduction.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/statutory_deduction_line.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/statutory_deduction_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/statutory_deductions.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/superannuation_line.rb +2 -2
- data/lib/xero-ruby/models/payroll_nz/superannuation_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/superannuations.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/tax_line.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/tax_settings.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/timesheet.rb +5 -4
- data/lib/xero-ruby/models/payroll_nz/timesheet_earnings_line.rb +2 -2
- data/lib/xero-ruby/models/payroll_nz/timesheet_line.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/timesheet_line_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/timesheet_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/timesheets.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/tracking_categories.rb +1 -1
- data/lib/xero-ruby/models/payroll_nz/tracking_category.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/account.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/accounts.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/address.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/bank_account.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/benefit.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/benefit_line.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/benefit_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/benefits.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/court_order_line.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/deduction.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/deduction_line.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/deduction_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/deductions.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/earnings_line.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/earnings_order.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/earnings_order_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/earnings_orders.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/earnings_rate.rb +10 -3
- data/lib/xero-ruby/models/payroll_uk/earnings_rate_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/earnings_rates.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/earnings_template.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/earnings_template_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_leave.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_leave_balance.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_leave_balances.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_leave_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_leave_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_leave_type_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_leave_types.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_leaves.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_opening_balances.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_opening_balances_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_pay_template.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_pay_template_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_pay_templates.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_balance.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_balance_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_summary.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_leaves_summaries.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leave.rb +2 -2
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leave_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leaves.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_tax.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employee_tax_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employees.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employment.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/employment_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/invalid_field.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/leave_accrual_line.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/leave_earnings_line.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/leave_period.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/leave_periods.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/leave_type.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/leave_type_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/leave_types.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/pagination.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/pay_run.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/pay_run_calendar.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/pay_run_calendar_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/pay_run_calendars.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/pay_run_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/pay_runs.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/payment_line.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/payment_method.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/payment_method_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/payslip.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/payslip_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/payslips.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/problem.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/reimbursement.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/reimbursement_line.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/reimbursement_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/reimbursements.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/salary_and_wage.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/salary_and_wage_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/salary_and_wages.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/settings.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/statutory_deduction.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/tax_line.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/timesheet.rb +2 -2
- data/lib/xero-ruby/models/payroll_uk/timesheet_earnings_line.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/timesheet_line.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/timesheet_line_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/timesheet_object.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/timesheets.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/tracking_categories.rb +1 -1
- data/lib/xero-ruby/models/payroll_uk/tracking_category.rb +1 -1
- data/lib/xero-ruby/models/projects/amount.rb +1 -1
- data/lib/xero-ruby/models/projects/error.rb +1 -1
- data/lib/xero-ruby/models/projects/pagination.rb +1 -1
- data/lib/xero-ruby/models/projects/project.rb +1 -1
- data/lib/xero-ruby/models/projects/project_create_or_update.rb +1 -1
- data/lib/xero-ruby/models/projects/project_patch.rb +1 -1
- data/lib/xero-ruby/models/projects/project_user.rb +1 -1
- data/lib/xero-ruby/models/projects/project_users.rb +1 -1
- data/lib/xero-ruby/models/projects/projects.rb +1 -1
- data/lib/xero-ruby/models/projects/task.rb +1 -1
- data/lib/xero-ruby/models/projects/task_create_or_update.rb +1 -1
- data/lib/xero-ruby/models/projects/tasks.rb +1 -1
- data/lib/xero-ruby/models/projects/time_entries.rb +1 -1
- data/lib/xero-ruby/models/projects/time_entry.rb +1 -1
- data/lib/xero-ruby/models/projects/time_entry_create_or_update.rb +1 -1
- 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 +3 -3
- data/spec/api_error_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/files/models/inline_object_spec.rb +3 -3
- data/spec/helper_methods_spec.rb +4 -4
- data/spec/where_spec.rb +82 -0
- metadata +9 -7
- data/spec/files/models/file_response204_spec.rb +0 -41
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 91ccbdaae622f0b53bfdc151848a3d007715f908a40011a43fee02b4b4fc5e94
|
|
4
|
+
data.tar.gz: b33bdd7f93264219a7cc1f7f3b3395e9977a537c73b7735cec432ad7cae89de6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 706da5b8834ea82840406d239472ad87f3b7b7ac6168f08e93ce9f2fea2f66b4a3ff473f74172fead3465b91113c99867bd1c5ca5da16159a284e11abdae26c7
|
|
7
|
+
data.tar.gz: 249d873213e1e2cfec1d015ca0c112d9893a281ee71593f5cc6ebdda5e951dfe5ff9e742bd666d8f3a9b63b881347180db9e2e01e3ef22b2edcca7deff427c47
|
data/README.md
CHANGED
|
@@ -1,28 +1,22 @@
|
|
|
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
7
|
Xero Ruby SDK supports Xero's OAuth2.0 authentication and the following Xero API sets.
|
|
8
8
|
|
|
9
|
-
##
|
|
10
|
-
* [
|
|
11
|
-
|
|
12
|
-
* [Project Api Docs](docs/projects/ProjectApi.md)
|
|
13
|
-
* [File Api Docs](docs/files/FileApi.md)
|
|
14
|
-
* [Payroll Docs (AU)](docs/payroll_au/PayrollAuApi.md)
|
|
15
|
-
* [Payroll Docs (NZ)](docs/payroll_nz/PayrollNzApi.md)
|
|
16
|
-
* [Payroll Docs (UK)](docs/payroll_uk/PayrollUkApi.md)
|
|
17
|
-
|
|
9
|
+
## SDK Documentation
|
|
10
|
+
* [API client methods](https://xeroapi.github.io/xero-ruby/accounting/index.html)
|
|
11
|
+
---
|
|
18
12
|
## API Model Docs
|
|
19
|
-
* [Accounting Models
|
|
20
|
-
* [Asset
|
|
21
|
-
* [Project
|
|
22
|
-
* [
|
|
23
|
-
* [Payroll
|
|
24
|
-
* [Payroll
|
|
25
|
-
* [Payroll
|
|
13
|
+
* [Accounting Models](/docs/accounting)
|
|
14
|
+
* [Asset Api Docs](/docs/assets/)
|
|
15
|
+
* [Project Api Docs](docs/projects/)
|
|
16
|
+
* [Files Api Docs](docs/files/)
|
|
17
|
+
* [Payroll Docs (AU)](docs/payroll_au/)
|
|
18
|
+
* [Payroll Docs (NZ)](docs/payroll_nz/)
|
|
19
|
+
* [Payroll Docs (UK)](docs/payroll_uk/)
|
|
26
20
|
|
|
27
21
|
## Sample Apps
|
|
28
22
|
We have two apps showing SDK usage.
|
|
@@ -31,9 +25,6 @@ We have two apps showing SDK usage.
|
|
|
31
25
|
|
|
32
26
|

|
|
33
27
|
|
|
34
|
-
## Looking for OAuth 1.0a support?
|
|
35
|
-
Check out the [Xeroizer](https://github.com/waynerobinson/xeroizer) gem (maintained by community).
|
|
36
|
-
|
|
37
28
|
---
|
|
38
29
|
## Installation
|
|
39
30
|
To install this gem to your current gemset.
|
|
@@ -49,9 +40,9 @@ gem 'xero-ruby'
|
|
|
49
40
|
* Create a [free Xero user account](https://www.xero.com/us/signup/api/)
|
|
50
41
|
* Login to your Xero developer [/myapps](https://developer.xero.com/myapps) dashboard & create an API application and note your API app's credentials.
|
|
51
42
|
|
|
52
|
-
### Creating a
|
|
43
|
+
### Creating a client
|
|
53
44
|
* 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 a space-
|
|
45
|
+
* Include [neccesary scopes](https://developer.xero.com/documentation/oauth2/scopes) as a space-seperated list
|
|
55
46
|
* example => "`openid profile email accounting.transactions accounting.settings`"
|
|
56
47
|
```
|
|
57
48
|
require 'xero-ruby'
|
|
@@ -77,10 +68,11 @@ To generate a valid `token_set` send a user to the `authorization_url`:
|
|
|
77
68
|
redirect_to @authorization_url
|
|
78
69
|
```
|
|
79
70
|
|
|
80
|
-
Xero will then redirect back to the URI defined in your
|
|
71
|
+
Xero will then redirect back to the URI defined in your `redirect_uri` config.
|
|
72
|
+
|
|
81
73
|
*This must match **exactly** with the variable in your /myapps dashboard.*
|
|
82
74
|
|
|
83
|
-
In your callback
|
|
75
|
+
In your callback, calling `get_token_set_from_callback` will exchange the temporary code Xero return, with a valid `token_set` that you can use to make API calls.
|
|
84
76
|
```ruby
|
|
85
77
|
# => http://localhost:3000/oauth/callback
|
|
86
78
|
|
|
@@ -93,11 +85,12 @@ puts params['state']
|
|
|
93
85
|
```
|
|
94
86
|
|
|
95
87
|
## Making API calls once you have a token_set
|
|
96
|
-
|
|
88
|
+
Once you already have a token_set stored from this initual user interaction, you can setup a new client by passing the whole token_set to `refresh_token_set` or `set_token_set`.
|
|
97
89
|
```ruby
|
|
98
|
-
xero_client.refresh_token_set(user.token_set)
|
|
99
|
-
|
|
100
90
|
xero_client.set_token_set(user.token_set)
|
|
91
|
+
|
|
92
|
+
xero_client.refresh_token_set(user.token_set)
|
|
93
|
+
# this will set the access_token on the client, and return a refreshed `token_set` you need to save.
|
|
101
94
|
```
|
|
102
95
|
A `token_set` contains data about your API connection most importantly :
|
|
103
96
|
* `access_token`
|
|
@@ -138,6 +131,11 @@ connections = xero_client.connections
|
|
|
138
131
|
"updatedDateUtc" => "2020-04-15T22:37:10.4943410"
|
|
139
132
|
}]
|
|
140
133
|
|
|
134
|
+
# To completely Revoke a user's access token and all their connections
|
|
135
|
+
# pass in the users token set to the #revoke_token api_client method
|
|
136
|
+
|
|
137
|
+
xero_client.revoke_token(user.token_set)
|
|
138
|
+
|
|
141
139
|
# disconnect an org from a user's connections. Pass the connection ['id'] not ['tenantId'].
|
|
142
140
|
# Useful if you want to enforce only a single org connection per token.
|
|
143
141
|
remaining_connections = xero_client.disconnect(connections[0]['id'])
|
|
@@ -155,7 +153,7 @@ require 'jwt'
|
|
|
155
153
|
|
|
156
154
|
def token_expired?
|
|
157
155
|
token_expiry = Time.at(decoded_access_token['exp'])
|
|
158
|
-
token_expiry
|
|
156
|
+
token_expiry < Time.now
|
|
159
157
|
end
|
|
160
158
|
|
|
161
159
|
def decoded_access_token
|
|
@@ -166,6 +164,7 @@ end
|
|
|
166
164
|
## API Usage
|
|
167
165
|
|
|
168
166
|
### Accounting API
|
|
167
|
+
> https://xeroapi.github.io/xero-ruby/accounting/index.html
|
|
169
168
|
```ruby
|
|
170
169
|
require 'xero-ruby'
|
|
171
170
|
|
|
@@ -174,8 +173,6 @@ xero_client.refresh_token_set(user.token_set)
|
|
|
174
173
|
tenant_id = user.active_tenant_id
|
|
175
174
|
# example of how to store the `tenantId` of the specific tenant (aka organisation)
|
|
176
175
|
|
|
177
|
-
# https://github.com/XeroAPI/xero-ruby/blob/master/accounting/lib/xero-ruby/api/accounting_api.rb
|
|
178
|
-
|
|
179
176
|
# Get Accounts
|
|
180
177
|
accounts = xero_client.accounting_api.get_accounts(tenant_id).accounts
|
|
181
178
|
|
|
@@ -184,7 +181,7 @@ invoices = { invoices: [{ type: XeroRuby::Accounting::Invoice::ACCREC, contact:
|
|
|
184
181
|
invoice = xero_client.accounting_api.create_invoices(tenant_id, invoices).invoices.first
|
|
185
182
|
|
|
186
183
|
# display out all the serialized data as a hash
|
|
187
|
-
puts invoices.
|
|
184
|
+
puts invoices.to_attributes
|
|
188
185
|
=> {type: 'ACCREC', line_items: [...]}
|
|
189
186
|
|
|
190
187
|
# Create History
|
|
@@ -203,10 +200,8 @@ attachment = xero_client.accounting_api.create_account_attachment_by_file_name(t
|
|
|
203
200
|
```
|
|
204
201
|
|
|
205
202
|
### Assets API
|
|
203
|
+
> https://github.com/XeroAPI/xero-ruby/blob/master/accounting/lib/xero-ruby/api/asset_api.rb
|
|
206
204
|
```ruby
|
|
207
|
-
# https://github.com/XeroAPI/xero-ruby/blob/master/accounting/lib/xero-ruby/api/asset_api.rb
|
|
208
|
-
|
|
209
|
-
# Create Asset
|
|
210
205
|
asset = {
|
|
211
206
|
"assetName": "AssetName: #{rand(10000)}",
|
|
212
207
|
"assetNumber": "Asset: #{rand(10000)}",
|
|
@@ -216,18 +211,14 @@ asset = xero_client.asset_api.create_asset(tenant_id, asset)
|
|
|
216
211
|
```
|
|
217
212
|
|
|
218
213
|
### Project API
|
|
214
|
+
> https://github.com/XeroAPI/xero-ruby/blob/master/docs/projects/ProjectApi.md
|
|
219
215
|
```ruby
|
|
220
|
-
# https://github.com/XeroAPI/xero-ruby/blob/master/docs/projects/ProjectApi.md
|
|
221
|
-
|
|
222
|
-
# Get Projects
|
|
223
216
|
projects = xero_client.project_api.get_projects(tenant_id).items
|
|
224
217
|
```
|
|
225
218
|
|
|
226
219
|
### Files API
|
|
220
|
+
> https://github.com/XeroAPI/xero-ruby/blob/master/docs/files/FileApi.md
|
|
227
221
|
```ruby
|
|
228
|
-
# https://github.com/XeroAPI/xero-ruby/blob/master/docs/files/FileApi.md
|
|
229
|
-
|
|
230
|
-
# Get Files
|
|
231
222
|
opts = {
|
|
232
223
|
pagesize: 50, # Integer | pass an optional page size value
|
|
233
224
|
page: 2, # Integer | number of records to skip for pagination
|
|
@@ -299,11 +290,21 @@ opts = {
|
|
|
299
290
|
order: 'UpdatedDateUtc DESC',
|
|
300
291
|
where: {
|
|
301
292
|
is_customer: ['==', true],
|
|
302
|
-
is_supplier: ['==', true]
|
|
293
|
+
is_supplier: ['==', true],
|
|
294
|
+
name: ['StartsWith', 'Rick']
|
|
303
295
|
}
|
|
304
296
|
}
|
|
305
297
|
xero_client.accounting_api.get_contacts(tenant_id, opts).contacts
|
|
306
298
|
|
|
299
|
+
# for more complex where filtering that requires a null check, pass those in as a string
|
|
300
|
+
# see https://developer.xero.com/documentation/api/requests-and-responses for more
|
|
301
|
+
|
|
302
|
+
opts = {
|
|
303
|
+
where: {
|
|
304
|
+
email_address: '!=null&&EmailAddress.StartsWith("chris.knight@")'
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
307
308
|
# Bank Transactions
|
|
308
309
|
opts = {
|
|
309
310
|
if_modified_since: (DateTime.now - 1.year).to_s,
|
|
@@ -328,7 +329,7 @@ xero_client.accounting_api.get_bank_transfers(tenant_id, opts).bank_transfers
|
|
|
328
329
|
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.
|
|
329
330
|
|
|
330
331
|
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).
|
|
331
|
-
|
|
332
|
+
* `opts = { order: 'UpdatedDateUtc DESC'}`
|
|
332
333
|
|
|
333
334
|
3) If you have use cases outside of these examples let us know.
|
|
334
335
|
|
|
@@ -345,15 +346,15 @@ Most of the repo code is auto generated but PR's on issues you encounter are hig
|
|
|
345
346
|
gem build
|
|
346
347
|
mv xero-ruby-<vsn>.gem xero-ruby.gem
|
|
347
348
|
pwd
|
|
348
|
-
=> /Users/
|
|
349
|
+
=> /Users/your.user/code/sdks/xero-ruby/
|
|
349
350
|
```
|
|
350
351
|
|
|
351
|
-
> xero-ruby-oauth2-app
|
|
352
|
+
> https://github.com/XeroAPI/xero-ruby-oauth2-app
|
|
352
353
|
Replace gem file with local path:
|
|
353
354
|
```bash
|
|
354
|
-
gem 'xero-ruby', path: '/Users/
|
|
355
|
+
gem 'xero-ruby', path: '/Users/your.user/code/sdks/xero-ruby/'
|
|
355
356
|
bundle install
|
|
356
357
|
```
|
|
357
358
|
|
|
358
359
|
## Testing
|
|
359
|
-
* `rspec spec/`
|
|
360
|
+
* `rspec spec/`
|
data/lib/xero-ruby.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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
|
|
|
@@ -10,6 +10,8 @@ OpenAPI Generator version: 4.3.1
|
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
# Common files
|
|
13
|
+
require 'xero-ruby/string_serialization'
|
|
14
|
+
require 'xero-ruby/where'
|
|
13
15
|
require 'xero-ruby/api_client'
|
|
14
16
|
require 'xero-ruby/api_error'
|
|
15
17
|
require 'xero-ruby/version'
|
|
@@ -285,13 +287,12 @@ require 'xero-ruby/models/payroll_au/timesheets'
|
|
|
285
287
|
require 'xero-ruby/models/payroll_au/validation_error'
|
|
286
288
|
require 'xero-ruby/models/files/association'
|
|
287
289
|
require 'xero-ruby/models/files/file_object'
|
|
288
|
-
require 'xero-ruby/models/files/file_response204'
|
|
289
290
|
require 'xero-ruby/models/files/files'
|
|
290
291
|
require 'xero-ruby/models/files/folder'
|
|
291
292
|
require 'xero-ruby/models/files/folders'
|
|
292
|
-
require 'xero-ruby/models/files/inline_object'
|
|
293
293
|
require 'xero-ruby/models/files/object_group'
|
|
294
294
|
require 'xero-ruby/models/files/object_type'
|
|
295
|
+
require 'xero-ruby/models/files/upload_object'
|
|
295
296
|
require 'xero-ruby/models/files/user'
|
|
296
297
|
require 'xero-ruby/models/projects/amount'
|
|
297
298
|
require 'xero-ruby/models/projects/charge_type'
|
|
@@ -349,6 +350,7 @@ require 'xero-ruby/models/accounting/bill'
|
|
|
349
350
|
require 'xero-ruby/models/accounting/branding_theme'
|
|
350
351
|
require 'xero-ruby/models/accounting/branding_themes'
|
|
351
352
|
require 'xero-ruby/models/accounting/cis_org_setting'
|
|
353
|
+
require 'xero-ruby/models/accounting/cis_org_settings'
|
|
352
354
|
require 'xero-ruby/models/accounting/cis_setting'
|
|
353
355
|
require 'xero-ruby/models/accounting/cis_settings'
|
|
354
356
|
require 'xero-ruby/models/accounting/contact'
|
|
@@ -1,5 +1,5 @@
|
|
|
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
|
|
|
@@ -16,7 +16,7 @@ module XeroRuby
|
|
|
16
16
|
def initialize(api_client = ApiClient.new)
|
|
17
17
|
@api_client = api_client
|
|
18
18
|
end
|
|
19
|
-
#
|
|
19
|
+
# Creates a new chart of accounts
|
|
20
20
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
21
21
|
# @param account [Account] Account object in body of request
|
|
22
22
|
# @param [Hash] opts the optional parameters
|
|
@@ -26,7 +26,7 @@ module XeroRuby
|
|
|
26
26
|
data
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
-
#
|
|
29
|
+
# Creates a new chart of accounts
|
|
30
30
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
31
31
|
# @param account [Account] Account object in body of request
|
|
32
32
|
# @param [Hash] opts the optional parameters
|
|
@@ -92,7 +92,7 @@ module XeroRuby
|
|
|
92
92
|
return data, status_code, headers
|
|
93
93
|
end
|
|
94
94
|
|
|
95
|
-
#
|
|
95
|
+
# Creates an attachment on a specific account
|
|
96
96
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
97
97
|
# @param account_id [String] Unique identifier for Account object
|
|
98
98
|
# @param file_name [String] Name of the attachment
|
|
@@ -104,7 +104,7 @@ module XeroRuby
|
|
|
104
104
|
data
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
-
#
|
|
107
|
+
# Creates an attachment on a specific account
|
|
108
108
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
109
109
|
# @param account_id [String] Unique identifier for Account object
|
|
110
110
|
# @param file_name [String] Name of the attachment
|
|
@@ -180,10 +180,10 @@ module XeroRuby
|
|
|
180
180
|
return data, status_code, headers
|
|
181
181
|
end
|
|
182
182
|
|
|
183
|
-
#
|
|
183
|
+
# Creates an attachment for a specific bank transaction by filename
|
|
184
184
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
185
185
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
186
|
-
# @param file_name [String]
|
|
186
|
+
# @param file_name [String] Name of the attachment
|
|
187
187
|
# @param body [String] Byte array of file in body of request
|
|
188
188
|
# @param [Hash] opts the optional parameters
|
|
189
189
|
# @return [Attachments]
|
|
@@ -192,10 +192,10 @@ module XeroRuby
|
|
|
192
192
|
data
|
|
193
193
|
end
|
|
194
194
|
|
|
195
|
-
#
|
|
195
|
+
# Creates an attachment for a specific bank transaction by filename
|
|
196
196
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
197
197
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
198
|
-
# @param file_name [String]
|
|
198
|
+
# @param file_name [String] Name of the attachment
|
|
199
199
|
# @param body [String] Byte array of file in body of request
|
|
200
200
|
# @param [Hash] opts the optional parameters
|
|
201
201
|
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
@@ -268,7 +268,7 @@ module XeroRuby
|
|
|
268
268
|
return data, status_code, headers
|
|
269
269
|
end
|
|
270
270
|
|
|
271
|
-
#
|
|
271
|
+
# Creates a history record for a specific bank transactions
|
|
272
272
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
273
273
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
274
274
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -279,7 +279,7 @@ module XeroRuby
|
|
|
279
279
|
data
|
|
280
280
|
end
|
|
281
281
|
|
|
282
|
-
#
|
|
282
|
+
# Creates a history record for a specific bank transactions
|
|
283
283
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
284
284
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
285
285
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -350,7 +350,7 @@ module XeroRuby
|
|
|
350
350
|
return data, status_code, headers
|
|
351
351
|
end
|
|
352
352
|
|
|
353
|
-
#
|
|
353
|
+
# Creates one or more spent or received money transaction
|
|
354
354
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
355
355
|
# @param bank_transactions [BankTransactions] BankTransactions with an array of BankTransaction objects in body of request
|
|
356
356
|
# @param [Hash] opts the optional parameters
|
|
@@ -362,7 +362,7 @@ module XeroRuby
|
|
|
362
362
|
data
|
|
363
363
|
end
|
|
364
364
|
|
|
365
|
-
#
|
|
365
|
+
# Creates one or more spent or received money transaction
|
|
366
366
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
367
367
|
# @param bank_transactions [BankTransactions] BankTransactions with an array of BankTransaction objects in body of request
|
|
368
368
|
# @param [Hash] opts the optional parameters
|
|
@@ -432,7 +432,7 @@ module XeroRuby
|
|
|
432
432
|
return data, status_code, headers
|
|
433
433
|
end
|
|
434
434
|
|
|
435
|
-
#
|
|
435
|
+
# Creates a bank transfer
|
|
436
436
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
437
437
|
# @param bank_transfers [BankTransfers] BankTransfers with array of BankTransfer objects in request body
|
|
438
438
|
# @param [Hash] opts the optional parameters
|
|
@@ -442,7 +442,7 @@ module XeroRuby
|
|
|
442
442
|
data
|
|
443
443
|
end
|
|
444
444
|
|
|
445
|
-
#
|
|
445
|
+
# Creates a bank transfer
|
|
446
446
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
447
447
|
# @param bank_transfers [BankTransfers] BankTransfers with array of BankTransfer objects in request body
|
|
448
448
|
# @param [Hash] opts the optional parameters
|
|
@@ -510,7 +510,7 @@ module XeroRuby
|
|
|
510
510
|
|
|
511
511
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
512
512
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
513
|
-
# @param file_name [String]
|
|
513
|
+
# @param file_name [String] Name of the attachment
|
|
514
514
|
# @param body [String] Byte array of file in body of request
|
|
515
515
|
# @param [Hash] opts the optional parameters
|
|
516
516
|
# @return [Attachments]
|
|
@@ -521,7 +521,7 @@ module XeroRuby
|
|
|
521
521
|
|
|
522
522
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
523
523
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
524
|
-
# @param file_name [String]
|
|
524
|
+
# @param file_name [String] Name of the attachment
|
|
525
525
|
# @param body [String] Byte array of file in body of request
|
|
526
526
|
# @param [Hash] opts the optional parameters
|
|
527
527
|
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
@@ -594,7 +594,7 @@ module XeroRuby
|
|
|
594
594
|
return data, status_code, headers
|
|
595
595
|
end
|
|
596
596
|
|
|
597
|
-
#
|
|
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,7 +605,7 @@ module XeroRuby
|
|
|
605
605
|
data
|
|
606
606
|
end
|
|
607
607
|
|
|
608
|
-
#
|
|
608
|
+
# Creates a history record for a specific bank transfer
|
|
609
609
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
610
610
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
611
611
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -676,7 +676,7 @@ module XeroRuby
|
|
|
676
676
|
return data, status_code, headers
|
|
677
677
|
end
|
|
678
678
|
|
|
679
|
-
#
|
|
679
|
+
# Creates one or many batch payments for invoices
|
|
680
680
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
681
681
|
# @param batch_payments [BatchPayments] BatchPayments with an array of Payments in body of request
|
|
682
682
|
# @param [Hash] opts the optional parameters
|
|
@@ -687,7 +687,7 @@ module XeroRuby
|
|
|
687
687
|
data
|
|
688
688
|
end
|
|
689
689
|
|
|
690
|
-
#
|
|
690
|
+
# Creates one or many batch payments for invoices
|
|
691
691
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
692
692
|
# @param batch_payments [BatchPayments] BatchPayments with an array of Payments in body of request
|
|
693
693
|
# @param [Hash] opts the optional parameters
|
|
@@ -755,7 +755,7 @@ module XeroRuby
|
|
|
755
755
|
return data, status_code, headers
|
|
756
756
|
end
|
|
757
757
|
|
|
758
|
-
#
|
|
758
|
+
# Creates a history record for a specific batch payment
|
|
759
759
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
760
760
|
# @param batch_payment_id [String] Unique identifier for BatchPayment
|
|
761
761
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -766,7 +766,7 @@ module XeroRuby
|
|
|
766
766
|
data
|
|
767
767
|
end
|
|
768
768
|
|
|
769
|
-
#
|
|
769
|
+
# Creates a history record for a specific batch payment
|
|
770
770
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
771
771
|
# @param batch_payment_id [String] Unique identifier for BatchPayment
|
|
772
772
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -837,7 +837,7 @@ module XeroRuby
|
|
|
837
837
|
return data, status_code, headers
|
|
838
838
|
end
|
|
839
839
|
|
|
840
|
-
#
|
|
840
|
+
# Creates a new custom payment service for a specific branding theme
|
|
841
841
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
842
842
|
# @param branding_theme_id [String] Unique identifier for a Branding Theme
|
|
843
843
|
# @param payment_service [PaymentService] PaymentService object in body of request
|
|
@@ -848,7 +848,7 @@ module XeroRuby
|
|
|
848
848
|
data
|
|
849
849
|
end
|
|
850
850
|
|
|
851
|
-
#
|
|
851
|
+
# Creates a new custom payment service for a specific branding theme
|
|
852
852
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
853
853
|
# @param branding_theme_id [String] Unique identifier for a Branding Theme
|
|
854
854
|
# @param payment_service [PaymentService] PaymentService object in body of request
|
|
@@ -921,7 +921,7 @@ module XeroRuby
|
|
|
921
921
|
|
|
922
922
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
923
923
|
# @param contact_id [String] Unique identifier for a Contact
|
|
924
|
-
# @param file_name [String] Name
|
|
924
|
+
# @param file_name [String] Name of the attachment
|
|
925
925
|
# @param body [String] Byte array of file in body of request
|
|
926
926
|
# @param [Hash] opts the optional parameters
|
|
927
927
|
# @return [Attachments]
|
|
@@ -932,7 +932,7 @@ module XeroRuby
|
|
|
932
932
|
|
|
933
933
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
934
934
|
# @param contact_id [String] Unique identifier for a Contact
|
|
935
|
-
# @param file_name [String] Name
|
|
935
|
+
# @param file_name [String] Name of the attachment
|
|
936
936
|
# @param body [String] Byte array of file in body of request
|
|
937
937
|
# @param [Hash] opts the optional parameters
|
|
938
938
|
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
@@ -1005,7 +1005,7 @@ module XeroRuby
|
|
|
1005
1005
|
return data, status_code, headers
|
|
1006
1006
|
end
|
|
1007
1007
|
|
|
1008
|
-
#
|
|
1008
|
+
# Creates a contact group
|
|
1009
1009
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1010
1010
|
# @param contact_groups [ContactGroups] ContactGroups with an array of names in request body
|
|
1011
1011
|
# @param [Hash] opts the optional parameters
|
|
@@ -1015,7 +1015,7 @@ module XeroRuby
|
|
|
1015
1015
|
data
|
|
1016
1016
|
end
|
|
1017
1017
|
|
|
1018
|
-
#
|
|
1018
|
+
# Creates a contact group
|
|
1019
1019
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1020
1020
|
# @param contact_groups [ContactGroups] ContactGroups with an array of names in request body
|
|
1021
1021
|
# @param [Hash] opts the optional parameters
|
|
@@ -1081,10 +1081,10 @@ module XeroRuby
|
|
|
1081
1081
|
return data, status_code, headers
|
|
1082
1082
|
end
|
|
1083
1083
|
|
|
1084
|
-
#
|
|
1084
|
+
# Creates contacts to a specific contact group
|
|
1085
1085
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1086
1086
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
1087
|
-
# @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
|
|
1088
1088
|
# @param [Hash] opts the optional parameters
|
|
1089
1089
|
# @return [Contacts]
|
|
1090
1090
|
def create_contact_group_contacts(xero_tenant_id, contact_group_id, contacts, opts = {})
|
|
@@ -1092,10 +1092,10 @@ module XeroRuby
|
|
|
1092
1092
|
data
|
|
1093
1093
|
end
|
|
1094
1094
|
|
|
1095
|
-
#
|
|
1095
|
+
# Creates contacts to a specific contact group
|
|
1096
1096
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1097
1097
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
1098
|
-
# @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
|
|
1099
1099
|
# @param [Hash] opts the optional parameters
|
|
1100
1100
|
# @return [Array<(Contacts, Integer, Hash)>] Contacts data, response status code and response headers
|
|
1101
1101
|
def create_contact_group_contacts_with_http_info(xero_tenant_id, contact_group_id, contacts, opts = {})
|
|
@@ -1163,7 +1163,7 @@ module XeroRuby
|
|
|
1163
1163
|
return data, status_code, headers
|
|
1164
1164
|
end
|
|
1165
1165
|
|
|
1166
|
-
#
|
|
1166
|
+
# Creates a new history record for a specific contact
|
|
1167
1167
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1168
1168
|
# @param contact_id [String] Unique identifier for a Contact
|
|
1169
1169
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -1174,7 +1174,7 @@ module XeroRuby
|
|
|
1174
1174
|
data
|
|
1175
1175
|
end
|
|
1176
1176
|
|
|
1177
|
-
#
|
|
1177
|
+
# Creates a new history record for a specific contact
|
|
1178
1178
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1179
1179
|
# @param contact_id [String] Unique identifier for a Contact
|
|
1180
1180
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -1245,7 +1245,7 @@ module XeroRuby
|
|
|
1245
1245
|
return data, status_code, headers
|
|
1246
1246
|
end
|
|
1247
1247
|
|
|
1248
|
-
#
|
|
1248
|
+
# Creates multiple contacts (bulk) in a Xero organisation
|
|
1249
1249
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1250
1250
|
# @param contacts [Contacts] Contacts with an array of Contact objects to create in body of request
|
|
1251
1251
|
# @param [Hash] opts the optional parameters
|
|
@@ -1256,7 +1256,7 @@ module XeroRuby
|
|
|
1256
1256
|
data
|
|
1257
1257
|
end
|
|
1258
1258
|
|
|
1259
|
-
#
|
|
1259
|
+
# Creates multiple contacts (bulk) in a Xero organisation
|
|
1260
1260
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1261
1261
|
# @param contacts [Contacts] Contacts with an array of Contact objects to create in body of request
|
|
1262
1262
|
# @param [Hash] opts the optional parameters
|
|
@@ -1324,7 +1324,7 @@ module XeroRuby
|
|
|
1324
1324
|
return data, status_code, headers
|
|
1325
1325
|
end
|
|
1326
1326
|
|
|
1327
|
-
#
|
|
1327
|
+
# Creates allocation for a specific credit note
|
|
1328
1328
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1329
1329
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
1330
1330
|
# @param allocations [Allocations] Allocations with array of Allocation object in body of request.
|
|
@@ -1336,7 +1336,7 @@ module XeroRuby
|
|
|
1336
1336
|
data
|
|
1337
1337
|
end
|
|
1338
1338
|
|
|
1339
|
-
#
|
|
1339
|
+
# Creates allocation for a specific credit note
|
|
1340
1340
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1341
1341
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
1342
1342
|
# @param allocations [Allocations] Allocations with array of Allocation object in body of request.
|
|
@@ -1409,10 +1409,10 @@ module XeroRuby
|
|
|
1409
1409
|
return data, status_code, headers
|
|
1410
1410
|
end
|
|
1411
1411
|
|
|
1412
|
-
#
|
|
1412
|
+
# Creates an attachment for a specific credit note
|
|
1413
1413
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1414
1414
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
1415
|
-
# @param file_name [String] Name of the
|
|
1415
|
+
# @param file_name [String] Name of the attachment
|
|
1416
1416
|
# @param body [String] Byte array of file in body of request
|
|
1417
1417
|
# @param [Hash] opts the optional parameters
|
|
1418
1418
|
# @option opts [Boolean] :include_online Allows an attachment to be seen by the end customer within their online invoice (default to false)
|
|
@@ -1422,10 +1422,10 @@ module XeroRuby
|
|
|
1422
1422
|
data
|
|
1423
1423
|
end
|
|
1424
1424
|
|
|
1425
|
-
#
|
|
1425
|
+
# Creates an attachment for a specific credit note
|
|
1426
1426
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1427
1427
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
1428
|
-
# @param file_name [String] Name of the
|
|
1428
|
+
# @param file_name [String] Name of the attachment
|
|
1429
1429
|
# @param body [String] Byte array of file in body of request
|
|
1430
1430
|
# @param [Hash] opts the optional parameters
|
|
1431
1431
|
# @option opts [Boolean] :include_online Allows an attachment to be seen by the end customer within their online invoice
|
|
@@ -1500,7 +1500,7 @@ module XeroRuby
|
|
|
1500
1500
|
return data, status_code, headers
|
|
1501
1501
|
end
|
|
1502
1502
|
|
|
1503
|
-
#
|
|
1503
|
+
# Retrieves history records of a specific credit note
|
|
1504
1504
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1505
1505
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
1506
1506
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -1511,7 +1511,7 @@ module XeroRuby
|
|
|
1511
1511
|
data
|
|
1512
1512
|
end
|
|
1513
1513
|
|
|
1514
|
-
#
|
|
1514
|
+
# Retrieves history records of a specific credit note
|
|
1515
1515
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1516
1516
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
1517
1517
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -1582,7 +1582,7 @@ module XeroRuby
|
|
|
1582
1582
|
return data, status_code, headers
|
|
1583
1583
|
end
|
|
1584
1584
|
|
|
1585
|
-
#
|
|
1585
|
+
# Creates a new credit note
|
|
1586
1586
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1587
1587
|
# @param credit_notes [CreditNotes] Credit Notes with array of CreditNote object in body of request
|
|
1588
1588
|
# @param [Hash] opts the optional parameters
|
|
@@ -1594,7 +1594,7 @@ module XeroRuby
|
|
|
1594
1594
|
data
|
|
1595
1595
|
end
|
|
1596
1596
|
|
|
1597
|
-
#
|
|
1597
|
+
# Creates a new credit note
|
|
1598
1598
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1599
1599
|
# @param credit_notes [CreditNotes] Credit Notes with array of CreditNote object in body of request
|
|
1600
1600
|
# @param [Hash] opts the optional parameters
|
|
@@ -1664,9 +1664,9 @@ module XeroRuby
|
|
|
1664
1664
|
return data, status_code, headers
|
|
1665
1665
|
end
|
|
1666
1666
|
|
|
1667
|
-
#
|
|
1667
|
+
# Create a new currency for a Xero organisation
|
|
1668
1668
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1669
|
-
# @param currency [Currency] Currency
|
|
1669
|
+
# @param currency [Currency] Currency object in the body of request
|
|
1670
1670
|
# @param [Hash] opts the optional parameters
|
|
1671
1671
|
# @return [Currencies]
|
|
1672
1672
|
def create_currency(xero_tenant_id, currency, opts = {})
|
|
@@ -1674,9 +1674,9 @@ module XeroRuby
|
|
|
1674
1674
|
data
|
|
1675
1675
|
end
|
|
1676
1676
|
|
|
1677
|
-
#
|
|
1677
|
+
# Create a new currency for a Xero organisation
|
|
1678
1678
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1679
|
-
# @param currency [Currency] Currency
|
|
1679
|
+
# @param currency [Currency] Currency object in the body of request
|
|
1680
1680
|
# @param [Hash] opts the optional parameters
|
|
1681
1681
|
# @return [Array<(Currencies, Integer, Hash)>] Currencies data, response status code and response headers
|
|
1682
1682
|
def create_currency_with_http_info(xero_tenant_id, currency, opts = {})
|
|
@@ -1740,7 +1740,7 @@ module XeroRuby
|
|
|
1740
1740
|
return data, status_code, headers
|
|
1741
1741
|
end
|
|
1742
1742
|
|
|
1743
|
-
#
|
|
1743
|
+
# Creates new employees used in Xero payrun
|
|
1744
1744
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1745
1745
|
# @param employees [Employees] Employees with array of Employee object in body of request
|
|
1746
1746
|
# @param [Hash] opts the optional parameters
|
|
@@ -1751,7 +1751,7 @@ module XeroRuby
|
|
|
1751
1751
|
data
|
|
1752
1752
|
end
|
|
1753
1753
|
|
|
1754
|
-
#
|
|
1754
|
+
# Creates new employees used in Xero payrun
|
|
1755
1755
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1756
1756
|
# @param employees [Employees] Employees with array of Employee object in body of request
|
|
1757
1757
|
# @param [Hash] opts the optional parameters
|
|
@@ -1819,7 +1819,7 @@ module XeroRuby
|
|
|
1819
1819
|
return data, status_code, headers
|
|
1820
1820
|
end
|
|
1821
1821
|
|
|
1822
|
-
#
|
|
1822
|
+
# Creates a history record for a specific expense claim
|
|
1823
1823
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1824
1824
|
# @param expense_claim_id [String] Unique identifier for a ExpenseClaim
|
|
1825
1825
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -1830,7 +1830,7 @@ module XeroRuby
|
|
|
1830
1830
|
data
|
|
1831
1831
|
end
|
|
1832
1832
|
|
|
1833
|
-
#
|
|
1833
|
+
# Creates a history record for a specific expense claim
|
|
1834
1834
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1835
1835
|
# @param expense_claim_id [String] Unique identifier for a ExpenseClaim
|
|
1836
1836
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -1901,7 +1901,7 @@ module XeroRuby
|
|
|
1901
1901
|
return data, status_code, headers
|
|
1902
1902
|
end
|
|
1903
1903
|
|
|
1904
|
-
#
|
|
1904
|
+
# Creates expense claims
|
|
1905
1905
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1906
1906
|
# @param expense_claims [ExpenseClaims] ExpenseClaims with array of ExpenseClaim object in body of request
|
|
1907
1907
|
# @param [Hash] opts the optional parameters
|
|
@@ -1911,7 +1911,7 @@ module XeroRuby
|
|
|
1911
1911
|
data
|
|
1912
1912
|
end
|
|
1913
1913
|
|
|
1914
|
-
#
|
|
1914
|
+
# Creates expense claims
|
|
1915
1915
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1916
1916
|
# @param expense_claims [ExpenseClaims] ExpenseClaims with array of ExpenseClaim object in body of request
|
|
1917
1917
|
# @param [Hash] opts the optional parameters
|
|
@@ -1977,10 +1977,10 @@ module XeroRuby
|
|
|
1977
1977
|
return data, status_code, headers
|
|
1978
1978
|
end
|
|
1979
1979
|
|
|
1980
|
-
#
|
|
1980
|
+
# Creates an attachment for a specific invoice or purchase bill by filename
|
|
1981
1981
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1982
1982
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
1983
|
-
# @param file_name [String] Name of the
|
|
1983
|
+
# @param file_name [String] Name of the attachment
|
|
1984
1984
|
# @param body [String] Byte array of file in body of request
|
|
1985
1985
|
# @param [Hash] opts the optional parameters
|
|
1986
1986
|
# @option opts [Boolean] :include_online Allows an attachment to be seen by the end customer within their online invoice (default to false)
|
|
@@ -1990,10 +1990,10 @@ module XeroRuby
|
|
|
1990
1990
|
data
|
|
1991
1991
|
end
|
|
1992
1992
|
|
|
1993
|
-
#
|
|
1993
|
+
# Creates an attachment for a specific invoice or purchase bill by filename
|
|
1994
1994
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1995
1995
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
1996
|
-
# @param file_name [String] Name of the
|
|
1996
|
+
# @param file_name [String] Name of the attachment
|
|
1997
1997
|
# @param body [String] Byte array of file in body of request
|
|
1998
1998
|
# @param [Hash] opts the optional parameters
|
|
1999
1999
|
# @option opts [Boolean] :include_online Allows an attachment to be seen by the end customer within their online invoice
|
|
@@ -2068,7 +2068,7 @@ module XeroRuby
|
|
|
2068
2068
|
return data, status_code, headers
|
|
2069
2069
|
end
|
|
2070
2070
|
|
|
2071
|
-
#
|
|
2071
|
+
# Creates a history record for a specific invoice
|
|
2072
2072
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2073
2073
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
2074
2074
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -2079,7 +2079,7 @@ module XeroRuby
|
|
|
2079
2079
|
data
|
|
2080
2080
|
end
|
|
2081
2081
|
|
|
2082
|
-
#
|
|
2082
|
+
# Creates a history record for a specific invoice
|
|
2083
2083
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2084
2084
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
2085
2085
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -2150,7 +2150,7 @@ module XeroRuby
|
|
|
2150
2150
|
return data, status_code, headers
|
|
2151
2151
|
end
|
|
2152
2152
|
|
|
2153
|
-
#
|
|
2153
|
+
# Creates one or more sales invoices or purchase bills
|
|
2154
2154
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2155
2155
|
# @param invoices [Invoices] Invoices with an array of invoice objects in body of request
|
|
2156
2156
|
# @param [Hash] opts the optional parameters
|
|
@@ -2162,7 +2162,7 @@ module XeroRuby
|
|
|
2162
2162
|
data
|
|
2163
2163
|
end
|
|
2164
2164
|
|
|
2165
|
-
#
|
|
2165
|
+
# Creates one or more sales invoices or purchase bills
|
|
2166
2166
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2167
2167
|
# @param invoices [Invoices] Invoices with an array of invoice objects in body of request
|
|
2168
2168
|
# @param [Hash] opts the optional parameters
|
|
@@ -2232,7 +2232,7 @@ module XeroRuby
|
|
|
2232
2232
|
return data, status_code, headers
|
|
2233
2233
|
end
|
|
2234
2234
|
|
|
2235
|
-
#
|
|
2235
|
+
# Creates a history record for a specific item
|
|
2236
2236
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2237
2237
|
# @param item_id [String] Unique identifier for an Item
|
|
2238
2238
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -2243,7 +2243,7 @@ module XeroRuby
|
|
|
2243
2243
|
data
|
|
2244
2244
|
end
|
|
2245
2245
|
|
|
2246
|
-
#
|
|
2246
|
+
# Creates a history record for a specific item
|
|
2247
2247
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2248
2248
|
# @param item_id [String] Unique identifier for an Item
|
|
2249
2249
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -2314,7 +2314,7 @@ module XeroRuby
|
|
|
2314
2314
|
return data, status_code, headers
|
|
2315
2315
|
end
|
|
2316
2316
|
|
|
2317
|
-
#
|
|
2317
|
+
# Creates one or more items
|
|
2318
2318
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2319
2319
|
# @param items [Items] Items with an array of Item objects in body of request
|
|
2320
2320
|
# @param [Hash] opts the optional parameters
|
|
@@ -2326,7 +2326,7 @@ module XeroRuby
|
|
|
2326
2326
|
data
|
|
2327
2327
|
end
|
|
2328
2328
|
|
|
2329
|
-
#
|
|
2329
|
+
# Creates one or more items
|
|
2330
2330
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2331
2331
|
# @param items [Items] Items with an array of Item objects in body of request
|
|
2332
2332
|
# @param [Hash] opts the optional parameters
|
|
@@ -2396,7 +2396,7 @@ module XeroRuby
|
|
|
2396
2396
|
return data, status_code, headers
|
|
2397
2397
|
end
|
|
2398
2398
|
|
|
2399
|
-
#
|
|
2399
|
+
# Creates linked transactions (billable expenses)
|
|
2400
2400
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2401
2401
|
# @param linked_transaction [LinkedTransaction] LinkedTransaction object in body of request
|
|
2402
2402
|
# @param [Hash] opts the optional parameters
|
|
@@ -2406,7 +2406,7 @@ module XeroRuby
|
|
|
2406
2406
|
data
|
|
2407
2407
|
end
|
|
2408
2408
|
|
|
2409
|
-
#
|
|
2409
|
+
# Creates linked transactions (billable expenses)
|
|
2410
2410
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2411
2411
|
# @param linked_transaction [LinkedTransaction] LinkedTransaction object in body of request
|
|
2412
2412
|
# @param [Hash] opts the optional parameters
|
|
@@ -2472,10 +2472,10 @@ module XeroRuby
|
|
|
2472
2472
|
return data, status_code, headers
|
|
2473
2473
|
end
|
|
2474
2474
|
|
|
2475
|
-
#
|
|
2475
|
+
# Creates a specific attachment for a specific manual journal by file name
|
|
2476
2476
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2477
2477
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
2478
|
-
# @param file_name [String]
|
|
2478
|
+
# @param file_name [String] Name of the attachment
|
|
2479
2479
|
# @param body [String] Byte array of file in body of request
|
|
2480
2480
|
# @param [Hash] opts the optional parameters
|
|
2481
2481
|
# @return [Attachments]
|
|
@@ -2484,10 +2484,10 @@ module XeroRuby
|
|
|
2484
2484
|
data
|
|
2485
2485
|
end
|
|
2486
2486
|
|
|
2487
|
-
#
|
|
2487
|
+
# Creates a specific attachment for a specific manual journal by file name
|
|
2488
2488
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2489
2489
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
2490
|
-
# @param file_name [String]
|
|
2490
|
+
# @param file_name [String] Name of the attachment
|
|
2491
2491
|
# @param body [String] Byte array of file in body of request
|
|
2492
2492
|
# @param [Hash] opts the optional parameters
|
|
2493
2493
|
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
@@ -2560,9 +2560,9 @@ module XeroRuby
|
|
|
2560
2560
|
return data, status_code, headers
|
|
2561
2561
|
end
|
|
2562
2562
|
|
|
2563
|
-
#
|
|
2563
|
+
# Creates a history record for a specific manual journal
|
|
2564
2564
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2565
|
-
# @param manual_journal_id [String]
|
|
2565
|
+
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
2566
2566
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
2567
2567
|
# @param [Hash] opts the optional parameters
|
|
2568
2568
|
# @return [HistoryRecords]
|
|
@@ -2571,9 +2571,9 @@ module XeroRuby
|
|
|
2571
2571
|
data
|
|
2572
2572
|
end
|
|
2573
2573
|
|
|
2574
|
-
#
|
|
2574
|
+
# Creates a history record for a specific manual journal
|
|
2575
2575
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2576
|
-
# @param manual_journal_id [String]
|
|
2576
|
+
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
2577
2577
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
2578
2578
|
# @param [Hash] opts the optional parameters
|
|
2579
2579
|
# @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
|
|
@@ -2642,7 +2642,7 @@ module XeroRuby
|
|
|
2642
2642
|
return data, status_code, headers
|
|
2643
2643
|
end
|
|
2644
2644
|
|
|
2645
|
-
#
|
|
2645
|
+
# Creates one or more manual journals
|
|
2646
2646
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2647
2647
|
# @param manual_journals [ManualJournals] ManualJournals array with ManualJournal object in body of request
|
|
2648
2648
|
# @param [Hash] opts the optional parameters
|
|
@@ -2653,7 +2653,7 @@ module XeroRuby
|
|
|
2653
2653
|
data
|
|
2654
2654
|
end
|
|
2655
2655
|
|
|
2656
|
-
#
|
|
2656
|
+
# Creates one or more manual journals
|
|
2657
2657
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2658
2658
|
# @param manual_journals [ManualJournals] ManualJournals array with ManualJournal object in body of request
|
|
2659
2659
|
# @param [Hash] opts the optional parameters
|
|
@@ -2721,7 +2721,7 @@ module XeroRuby
|
|
|
2721
2721
|
return data, status_code, headers
|
|
2722
2722
|
end
|
|
2723
2723
|
|
|
2724
|
-
#
|
|
2724
|
+
# Creates a single allocation for a specific overpayment
|
|
2725
2725
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2726
2726
|
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
2727
2727
|
# @param allocations [Allocations] Allocations array with Allocation object in body of request
|
|
@@ -2733,7 +2733,7 @@ module XeroRuby
|
|
|
2733
2733
|
data
|
|
2734
2734
|
end
|
|
2735
2735
|
|
|
2736
|
-
#
|
|
2736
|
+
# Creates a single allocation for a specific overpayment
|
|
2737
2737
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2738
2738
|
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
2739
2739
|
# @param allocations [Allocations] Allocations array with Allocation object in body of request
|
|
@@ -2806,7 +2806,7 @@ module XeroRuby
|
|
|
2806
2806
|
return data, status_code, headers
|
|
2807
2807
|
end
|
|
2808
2808
|
|
|
2809
|
-
#
|
|
2809
|
+
# Creates a history record for a specific overpayment
|
|
2810
2810
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2811
2811
|
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
2812
2812
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -2817,7 +2817,7 @@ module XeroRuby
|
|
|
2817
2817
|
data
|
|
2818
2818
|
end
|
|
2819
2819
|
|
|
2820
|
-
#
|
|
2820
|
+
# Creates a history record for a specific overpayment
|
|
2821
2821
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2822
2822
|
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
2823
2823
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -2888,7 +2888,7 @@ module XeroRuby
|
|
|
2888
2888
|
return data, status_code, headers
|
|
2889
2889
|
end
|
|
2890
2890
|
|
|
2891
|
-
#
|
|
2891
|
+
# Creates a single payment for invoice or credit notes
|
|
2892
2892
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2893
2893
|
# @param payment [Payment] Request body with a single Payment object
|
|
2894
2894
|
# @param [Hash] opts the optional parameters
|
|
@@ -2898,7 +2898,7 @@ module XeroRuby
|
|
|
2898
2898
|
data
|
|
2899
2899
|
end
|
|
2900
2900
|
|
|
2901
|
-
#
|
|
2901
|
+
# Creates a single payment for invoice or credit notes
|
|
2902
2902
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2903
2903
|
# @param payment [Payment] Request body with a single Payment object
|
|
2904
2904
|
# @param [Hash] opts the optional parameters
|
|
@@ -2964,7 +2964,7 @@ module XeroRuby
|
|
|
2964
2964
|
return data, status_code, headers
|
|
2965
2965
|
end
|
|
2966
2966
|
|
|
2967
|
-
#
|
|
2967
|
+
# Creates a history record for a specific payment
|
|
2968
2968
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2969
2969
|
# @param payment_id [String] Unique identifier for a Payment
|
|
2970
2970
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -2975,7 +2975,7 @@ module XeroRuby
|
|
|
2975
2975
|
data
|
|
2976
2976
|
end
|
|
2977
2977
|
|
|
2978
|
-
#
|
|
2978
|
+
# Creates a history record for a specific payment
|
|
2979
2979
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2980
2980
|
# @param payment_id [String] Unique identifier for a Payment
|
|
2981
2981
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -3046,7 +3046,7 @@ module XeroRuby
|
|
|
3046
3046
|
return data, status_code, headers
|
|
3047
3047
|
end
|
|
3048
3048
|
|
|
3049
|
-
#
|
|
3049
|
+
# Creates a payment service
|
|
3050
3050
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3051
3051
|
# @param payment_services [PaymentServices] PaymentServices array with PaymentService object in body of request
|
|
3052
3052
|
# @param [Hash] opts the optional parameters
|
|
@@ -3056,7 +3056,7 @@ module XeroRuby
|
|
|
3056
3056
|
data
|
|
3057
3057
|
end
|
|
3058
3058
|
|
|
3059
|
-
#
|
|
3059
|
+
# Creates a payment service
|
|
3060
3060
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3061
3061
|
# @param payment_services [PaymentServices] PaymentServices array with PaymentService object in body of request
|
|
3062
3062
|
# @param [Hash] opts the optional parameters
|
|
@@ -3122,7 +3122,7 @@ module XeroRuby
|
|
|
3122
3122
|
return data, status_code, headers
|
|
3123
3123
|
end
|
|
3124
3124
|
|
|
3125
|
-
#
|
|
3125
|
+
# Creates multiple payments for invoices or credit notes
|
|
3126
3126
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3127
3127
|
# @param payments [Payments] Payments array with Payment object in body of request
|
|
3128
3128
|
# @param [Hash] opts the optional parameters
|
|
@@ -3133,7 +3133,7 @@ module XeroRuby
|
|
|
3133
3133
|
data
|
|
3134
3134
|
end
|
|
3135
3135
|
|
|
3136
|
-
#
|
|
3136
|
+
# Creates multiple payments for invoices or credit notes
|
|
3137
3137
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3138
3138
|
# @param payments [Payments] Payments array with Payment object in body of request
|
|
3139
3139
|
# @param [Hash] opts the optional parameters
|
|
@@ -3203,7 +3203,7 @@ module XeroRuby
|
|
|
3203
3203
|
|
|
3204
3204
|
# Allows you to create an Allocation for prepayments
|
|
3205
3205
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3206
|
-
# @param prepayment_id [String] Unique identifier for
|
|
3206
|
+
# @param prepayment_id [String] Unique identifier for a PrePayment
|
|
3207
3207
|
# @param allocations [Allocations] Allocations with an array of Allocation object in body of request
|
|
3208
3208
|
# @param [Hash] opts the optional parameters
|
|
3209
3209
|
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
@@ -3215,7 +3215,7 @@ module XeroRuby
|
|
|
3215
3215
|
|
|
3216
3216
|
# Allows you to create an Allocation for prepayments
|
|
3217
3217
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3218
|
-
# @param prepayment_id [String] Unique identifier for
|
|
3218
|
+
# @param prepayment_id [String] Unique identifier for a PrePayment
|
|
3219
3219
|
# @param allocations [Allocations] Allocations with an array of Allocation object in body of request
|
|
3220
3220
|
# @param [Hash] opts the optional parameters
|
|
3221
3221
|
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
@@ -3286,7 +3286,7 @@ module XeroRuby
|
|
|
3286
3286
|
return data, status_code, headers
|
|
3287
3287
|
end
|
|
3288
3288
|
|
|
3289
|
-
#
|
|
3289
|
+
# Creates a history record for a specific prepayment
|
|
3290
3290
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3291
3291
|
# @param prepayment_id [String] Unique identifier for a PrePayment
|
|
3292
3292
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -3297,7 +3297,7 @@ module XeroRuby
|
|
|
3297
3297
|
data
|
|
3298
3298
|
end
|
|
3299
3299
|
|
|
3300
|
-
#
|
|
3300
|
+
# Creates a history record for a specific prepayment
|
|
3301
3301
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3302
3302
|
# @param prepayment_id [String] Unique identifier for a PrePayment
|
|
3303
3303
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -3368,9 +3368,9 @@ module XeroRuby
|
|
|
3368
3368
|
return data, status_code, headers
|
|
3369
3369
|
end
|
|
3370
3370
|
|
|
3371
|
-
#
|
|
3371
|
+
# Creates attachment for a specific purchase order
|
|
3372
3372
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3373
|
-
# @param purchase_order_id [String] Unique identifier for Purchase Order
|
|
3373
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
3374
3374
|
# @param file_name [String] Name of the attachment
|
|
3375
3375
|
# @param body [String] Byte array of file in body of request
|
|
3376
3376
|
# @param [Hash] opts the optional parameters
|
|
@@ -3380,9 +3380,9 @@ module XeroRuby
|
|
|
3380
3380
|
data
|
|
3381
3381
|
end
|
|
3382
3382
|
|
|
3383
|
-
#
|
|
3383
|
+
# Creates attachment for a specific purchase order
|
|
3384
3384
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3385
|
-
# @param purchase_order_id [String] Unique identifier for Purchase Order
|
|
3385
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
3386
3386
|
# @param file_name [String] Name of the attachment
|
|
3387
3387
|
# @param body [String] Byte array of file in body of request
|
|
3388
3388
|
# @param [Hash] opts the optional parameters
|
|
@@ -3456,9 +3456,9 @@ module XeroRuby
|
|
|
3456
3456
|
return data, status_code, headers
|
|
3457
3457
|
end
|
|
3458
3458
|
|
|
3459
|
-
#
|
|
3459
|
+
# Creates a history record for a specific purchase orders
|
|
3460
3460
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3461
|
-
# @param purchase_order_id [String] Unique identifier for
|
|
3461
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
3462
3462
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
3463
3463
|
# @param [Hash] opts the optional parameters
|
|
3464
3464
|
# @return [HistoryRecords]
|
|
@@ -3467,9 +3467,9 @@ module XeroRuby
|
|
|
3467
3467
|
data
|
|
3468
3468
|
end
|
|
3469
3469
|
|
|
3470
|
-
#
|
|
3470
|
+
# Creates a history record for a specific purchase orders
|
|
3471
3471
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3472
|
-
# @param purchase_order_id [String] Unique identifier for
|
|
3472
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
3473
3473
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
3474
3474
|
# @param [Hash] opts the optional parameters
|
|
3475
3475
|
# @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
|
|
@@ -3538,7 +3538,7 @@ module XeroRuby
|
|
|
3538
3538
|
return data, status_code, headers
|
|
3539
3539
|
end
|
|
3540
3540
|
|
|
3541
|
-
#
|
|
3541
|
+
# Creates one or more purchase orders
|
|
3542
3542
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3543
3543
|
# @param purchase_orders [PurchaseOrders] PurchaseOrders with an array of PurchaseOrder object in body of request
|
|
3544
3544
|
# @param [Hash] opts the optional parameters
|
|
@@ -3549,7 +3549,7 @@ module XeroRuby
|
|
|
3549
3549
|
data
|
|
3550
3550
|
end
|
|
3551
3551
|
|
|
3552
|
-
#
|
|
3552
|
+
# Creates one or more purchase orders
|
|
3553
3553
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3554
3554
|
# @param purchase_orders [PurchaseOrders] PurchaseOrders with an array of PurchaseOrder object in body of request
|
|
3555
3555
|
# @param [Hash] opts the optional parameters
|
|
@@ -3617,9 +3617,9 @@ module XeroRuby
|
|
|
3617
3617
|
return data, status_code, headers
|
|
3618
3618
|
end
|
|
3619
3619
|
|
|
3620
|
-
#
|
|
3620
|
+
# Creates attachment for a specific quote
|
|
3621
3621
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3622
|
-
# @param quote_id [String] Unique identifier for Quote
|
|
3622
|
+
# @param quote_id [String] Unique identifier for an Quote
|
|
3623
3623
|
# @param file_name [String] Name of the attachment
|
|
3624
3624
|
# @param body [String] Byte array of file in body of request
|
|
3625
3625
|
# @param [Hash] opts the optional parameters
|
|
@@ -3629,9 +3629,9 @@ module XeroRuby
|
|
|
3629
3629
|
data
|
|
3630
3630
|
end
|
|
3631
3631
|
|
|
3632
|
-
#
|
|
3632
|
+
# Creates attachment for a specific quote
|
|
3633
3633
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3634
|
-
# @param quote_id [String] Unique identifier for Quote
|
|
3634
|
+
# @param quote_id [String] Unique identifier for an Quote
|
|
3635
3635
|
# @param file_name [String] Name of the attachment
|
|
3636
3636
|
# @param body [String] Byte array of file in body of request
|
|
3637
3637
|
# @param [Hash] opts the optional parameters
|
|
@@ -3705,7 +3705,7 @@ module XeroRuby
|
|
|
3705
3705
|
return data, status_code, headers
|
|
3706
3706
|
end
|
|
3707
3707
|
|
|
3708
|
-
#
|
|
3708
|
+
# Creates a history record for a specific quote
|
|
3709
3709
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3710
3710
|
# @param quote_id [String] Unique identifier for an Quote
|
|
3711
3711
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -3716,7 +3716,7 @@ module XeroRuby
|
|
|
3716
3716
|
data
|
|
3717
3717
|
end
|
|
3718
3718
|
|
|
3719
|
-
#
|
|
3719
|
+
# Creates a history record for a specific quote
|
|
3720
3720
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3721
3721
|
# @param quote_id [String] Unique identifier for an Quote
|
|
3722
3722
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -3787,7 +3787,7 @@ module XeroRuby
|
|
|
3787
3787
|
return data, status_code, headers
|
|
3788
3788
|
end
|
|
3789
3789
|
|
|
3790
|
-
#
|
|
3790
|
+
# Create one or more quotes
|
|
3791
3791
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3792
3792
|
# @param quotes [Quotes] Quotes with an array of Quote object in body of request
|
|
3793
3793
|
# @param [Hash] opts the optional parameters
|
|
@@ -3798,7 +3798,7 @@ module XeroRuby
|
|
|
3798
3798
|
data
|
|
3799
3799
|
end
|
|
3800
3800
|
|
|
3801
|
-
#
|
|
3801
|
+
# Create one or more quotes
|
|
3802
3802
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3803
3803
|
# @param quotes [Quotes] Quotes with an array of Quote object in body of request
|
|
3804
3804
|
# @param [Hash] opts the optional parameters
|
|
@@ -3866,7 +3866,7 @@ module XeroRuby
|
|
|
3866
3866
|
return data, status_code, headers
|
|
3867
3867
|
end
|
|
3868
3868
|
|
|
3869
|
-
#
|
|
3869
|
+
# Creates draft expense claim receipts for any user
|
|
3870
3870
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3871
3871
|
# @param receipts [Receipts] Receipts with an array of Receipt object in body of request
|
|
3872
3872
|
# @param [Hash] opts the optional parameters
|
|
@@ -3877,7 +3877,7 @@ module XeroRuby
|
|
|
3877
3877
|
data
|
|
3878
3878
|
end
|
|
3879
3879
|
|
|
3880
|
-
#
|
|
3880
|
+
# Creates draft expense claim receipts for any user
|
|
3881
3881
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3882
3882
|
# @param receipts [Receipts] Receipts with an array of Receipt object in body of request
|
|
3883
3883
|
# @param [Hash] opts the optional parameters
|
|
@@ -3945,10 +3945,10 @@ module XeroRuby
|
|
|
3945
3945
|
return data, status_code, headers
|
|
3946
3946
|
end
|
|
3947
3947
|
|
|
3948
|
-
#
|
|
3948
|
+
# Creates an attachment on a specific expense claim receipts by file name
|
|
3949
3949
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3950
3950
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
3951
|
-
# @param file_name [String]
|
|
3951
|
+
# @param file_name [String] Name of the attachment
|
|
3952
3952
|
# @param body [String] Byte array of file in body of request
|
|
3953
3953
|
# @param [Hash] opts the optional parameters
|
|
3954
3954
|
# @return [Attachments]
|
|
@@ -3957,10 +3957,10 @@ module XeroRuby
|
|
|
3957
3957
|
data
|
|
3958
3958
|
end
|
|
3959
3959
|
|
|
3960
|
-
#
|
|
3960
|
+
# Creates an attachment on a specific expense claim receipts by file name
|
|
3961
3961
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3962
3962
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
3963
|
-
# @param file_name [String]
|
|
3963
|
+
# @param file_name [String] Name of the attachment
|
|
3964
3964
|
# @param body [String] Byte array of file in body of request
|
|
3965
3965
|
# @param [Hash] opts the optional parameters
|
|
3966
3966
|
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
@@ -4033,7 +4033,7 @@ module XeroRuby
|
|
|
4033
4033
|
return data, status_code, headers
|
|
4034
4034
|
end
|
|
4035
4035
|
|
|
4036
|
-
#
|
|
4036
|
+
# Creates a history record for a specific receipt
|
|
4037
4037
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4038
4038
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
4039
4039
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -4044,7 +4044,7 @@ module XeroRuby
|
|
|
4044
4044
|
data
|
|
4045
4045
|
end
|
|
4046
4046
|
|
|
4047
|
-
#
|
|
4047
|
+
# Creates a history record for a specific receipt
|
|
4048
4048
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4049
4049
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
4050
4050
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -4115,10 +4115,10 @@ module XeroRuby
|
|
|
4115
4115
|
return data, status_code, headers
|
|
4116
4116
|
end
|
|
4117
4117
|
|
|
4118
|
-
#
|
|
4118
|
+
# Creates an attachment from a specific repeating invoices by file name
|
|
4119
4119
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4120
4120
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
4121
|
-
# @param file_name [String]
|
|
4121
|
+
# @param file_name [String] Name of the attachment
|
|
4122
4122
|
# @param body [String] Byte array of file in body of request
|
|
4123
4123
|
# @param [Hash] opts the optional parameters
|
|
4124
4124
|
# @return [Attachments]
|
|
@@ -4127,10 +4127,10 @@ module XeroRuby
|
|
|
4127
4127
|
data
|
|
4128
4128
|
end
|
|
4129
4129
|
|
|
4130
|
-
#
|
|
4130
|
+
# Creates an attachment from a specific repeating invoices by file name
|
|
4131
4131
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4132
4132
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
4133
|
-
# @param file_name [String]
|
|
4133
|
+
# @param file_name [String] Name of the attachment
|
|
4134
4134
|
# @param body [String] Byte array of file in body of request
|
|
4135
4135
|
# @param [Hash] opts the optional parameters
|
|
4136
4136
|
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
@@ -4203,7 +4203,7 @@ module XeroRuby
|
|
|
4203
4203
|
return data, status_code, headers
|
|
4204
4204
|
end
|
|
4205
4205
|
|
|
4206
|
-
#
|
|
4206
|
+
# Creates a history record for a specific repeating invoice
|
|
4207
4207
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4208
4208
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
4209
4209
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -4214,7 +4214,7 @@ module XeroRuby
|
|
|
4214
4214
|
data
|
|
4215
4215
|
end
|
|
4216
4216
|
|
|
4217
|
-
#
|
|
4217
|
+
# Creates a history record for a specific repeating invoice
|
|
4218
4218
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4219
4219
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
4220
4220
|
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
@@ -4285,7 +4285,7 @@ module XeroRuby
|
|
|
4285
4285
|
return data, status_code, headers
|
|
4286
4286
|
end
|
|
4287
4287
|
|
|
4288
|
-
#
|
|
4288
|
+
# Creates one or more tax rates
|
|
4289
4289
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4290
4290
|
# @param tax_rates [TaxRates] TaxRates array with TaxRate object in body of request
|
|
4291
4291
|
# @param [Hash] opts the optional parameters
|
|
@@ -4295,7 +4295,7 @@ module XeroRuby
|
|
|
4295
4295
|
data
|
|
4296
4296
|
end
|
|
4297
4297
|
|
|
4298
|
-
#
|
|
4298
|
+
# Creates one or more tax rates
|
|
4299
4299
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4300
4300
|
# @param tax_rates [TaxRates] TaxRates array with TaxRate object in body of request
|
|
4301
4301
|
# @param [Hash] opts the optional parameters
|
|
@@ -4361,7 +4361,7 @@ module XeroRuby
|
|
|
4361
4361
|
return data, status_code, headers
|
|
4362
4362
|
end
|
|
4363
4363
|
|
|
4364
|
-
#
|
|
4364
|
+
# Create tracking categories
|
|
4365
4365
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4366
4366
|
# @param tracking_category [TrackingCategory] TrackingCategory object in body of request
|
|
4367
4367
|
# @param [Hash] opts the optional parameters
|
|
@@ -4371,7 +4371,7 @@ module XeroRuby
|
|
|
4371
4371
|
data
|
|
4372
4372
|
end
|
|
4373
4373
|
|
|
4374
|
-
#
|
|
4374
|
+
# Create tracking categories
|
|
4375
4375
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4376
4376
|
# @param tracking_category [TrackingCategory] TrackingCategory object in body of request
|
|
4377
4377
|
# @param [Hash] opts the optional parameters
|
|
@@ -4437,7 +4437,7 @@ module XeroRuby
|
|
|
4437
4437
|
return data, status_code, headers
|
|
4438
4438
|
end
|
|
4439
4439
|
|
|
4440
|
-
#
|
|
4440
|
+
# Creates options for a specific tracking category
|
|
4441
4441
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4442
4442
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
4443
4443
|
# @param tracking_option [TrackingOption] TrackingOption object in body of request
|
|
@@ -4448,7 +4448,7 @@ module XeroRuby
|
|
|
4448
4448
|
data
|
|
4449
4449
|
end
|
|
4450
4450
|
|
|
4451
|
-
#
|
|
4451
|
+
# Creates options for a specific tracking category
|
|
4452
4452
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4453
4453
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
4454
4454
|
# @param tracking_option [TrackingOption] TrackingOption object in body of request
|
|
@@ -4519,9 +4519,9 @@ module XeroRuby
|
|
|
4519
4519
|
return data, status_code, headers
|
|
4520
4520
|
end
|
|
4521
4521
|
|
|
4522
|
-
#
|
|
4522
|
+
# Deletes a chart of accounts
|
|
4523
4523
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4524
|
-
# @param account_id [String] Unique identifier for
|
|
4524
|
+
# @param account_id [String] Unique identifier for Account object
|
|
4525
4525
|
# @param [Hash] opts the optional parameters
|
|
4526
4526
|
# @return [Accounts]
|
|
4527
4527
|
def delete_account(xero_tenant_id, account_id, opts = {})
|
|
@@ -4529,9 +4529,9 @@ module XeroRuby
|
|
|
4529
4529
|
data
|
|
4530
4530
|
end
|
|
4531
4531
|
|
|
4532
|
-
#
|
|
4532
|
+
# Deletes a chart of accounts
|
|
4533
4533
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4534
|
-
# @param account_id [String] Unique identifier for
|
|
4534
|
+
# @param account_id [String] Unique identifier for Account object
|
|
4535
4535
|
# @param [Hash] opts the optional parameters
|
|
4536
4536
|
# @return [Array<(Accounts, Integer, Hash)>] Accounts data, response status code and response headers
|
|
4537
4537
|
def delete_account_with_http_info(xero_tenant_id, account_id, opts = {})
|
|
@@ -4593,7 +4593,7 @@ module XeroRuby
|
|
|
4593
4593
|
return data, status_code, headers
|
|
4594
4594
|
end
|
|
4595
4595
|
|
|
4596
|
-
#
|
|
4596
|
+
# Deletes a specific contact from a contact group using a unique contact Id
|
|
4597
4597
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4598
4598
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
4599
4599
|
# @param contact_id [String] Unique identifier for a Contact
|
|
@@ -4604,7 +4604,7 @@ module XeroRuby
|
|
|
4604
4604
|
nil
|
|
4605
4605
|
end
|
|
4606
4606
|
|
|
4607
|
-
#
|
|
4607
|
+
# Deletes a specific contact from a contact group using a unique contact Id
|
|
4608
4608
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4609
4609
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
4610
4610
|
# @param contact_id [String] Unique identifier for a Contact
|
|
@@ -4673,7 +4673,7 @@ module XeroRuby
|
|
|
4673
4673
|
return data, status_code, headers
|
|
4674
4674
|
end
|
|
4675
4675
|
|
|
4676
|
-
#
|
|
4676
|
+
# Deletes all contacts from a specific contact group
|
|
4677
4677
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4678
4678
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
4679
4679
|
# @param [Hash] opts the optional parameters
|
|
@@ -4683,7 +4683,7 @@ module XeroRuby
|
|
|
4683
4683
|
nil
|
|
4684
4684
|
end
|
|
4685
4685
|
|
|
4686
|
-
#
|
|
4686
|
+
# Deletes all contacts from a specific contact group
|
|
4687
4687
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4688
4688
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
4689
4689
|
# @param [Hash] opts the optional parameters
|
|
@@ -4745,7 +4745,7 @@ module XeroRuby
|
|
|
4745
4745
|
return data, status_code, headers
|
|
4746
4746
|
end
|
|
4747
4747
|
|
|
4748
|
-
#
|
|
4748
|
+
# Deletes a specific item
|
|
4749
4749
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4750
4750
|
# @param item_id [String] Unique identifier for an Item
|
|
4751
4751
|
# @param [Hash] opts the optional parameters
|
|
@@ -4755,7 +4755,7 @@ module XeroRuby
|
|
|
4755
4755
|
nil
|
|
4756
4756
|
end
|
|
4757
4757
|
|
|
4758
|
-
#
|
|
4758
|
+
# Deletes a specific item
|
|
4759
4759
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4760
4760
|
# @param item_id [String] Unique identifier for an Item
|
|
4761
4761
|
# @param [Hash] opts the optional parameters
|
|
@@ -4819,7 +4819,7 @@ module XeroRuby
|
|
|
4819
4819
|
return data, status_code, headers
|
|
4820
4820
|
end
|
|
4821
4821
|
|
|
4822
|
-
#
|
|
4822
|
+
# Deletes a specific linked transactions (billable expenses)
|
|
4823
4823
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4824
4824
|
# @param linked_transaction_id [String] Unique identifier for a LinkedTransaction
|
|
4825
4825
|
# @param [Hash] opts the optional parameters
|
|
@@ -4829,7 +4829,7 @@ module XeroRuby
|
|
|
4829
4829
|
nil
|
|
4830
4830
|
end
|
|
4831
4831
|
|
|
4832
|
-
#
|
|
4832
|
+
# Deletes a specific linked transactions (billable expenses)
|
|
4833
4833
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4834
4834
|
# @param linked_transaction_id [String] Unique identifier for a LinkedTransaction
|
|
4835
4835
|
# @param [Hash] opts the optional parameters
|
|
@@ -4893,7 +4893,7 @@ module XeroRuby
|
|
|
4893
4893
|
return data, status_code, headers
|
|
4894
4894
|
end
|
|
4895
4895
|
|
|
4896
|
-
#
|
|
4896
|
+
# Updates a specific payment for invoices and credit notes
|
|
4897
4897
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4898
4898
|
# @param payment_id [String] Unique identifier for a Payment
|
|
4899
4899
|
# @param payment_delete [PaymentDelete]
|
|
@@ -4904,7 +4904,7 @@ module XeroRuby
|
|
|
4904
4904
|
data
|
|
4905
4905
|
end
|
|
4906
4906
|
|
|
4907
|
-
#
|
|
4907
|
+
# Updates a specific payment for invoices and credit notes
|
|
4908
4908
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4909
4909
|
# @param payment_id [String] Unique identifier for a Payment
|
|
4910
4910
|
# @param payment_delete [PaymentDelete]
|
|
@@ -4975,7 +4975,7 @@ module XeroRuby
|
|
|
4975
4975
|
return data, status_code, headers
|
|
4976
4976
|
end
|
|
4977
4977
|
|
|
4978
|
-
#
|
|
4978
|
+
# Deletes a specific tracking category
|
|
4979
4979
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4980
4980
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
4981
4981
|
# @param [Hash] opts the optional parameters
|
|
@@ -4985,7 +4985,7 @@ module XeroRuby
|
|
|
4985
4985
|
data
|
|
4986
4986
|
end
|
|
4987
4987
|
|
|
4988
|
-
#
|
|
4988
|
+
# Deletes a specific tracking category
|
|
4989
4989
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
4990
4990
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
4991
4991
|
# @param [Hash] opts the optional parameters
|
|
@@ -5049,7 +5049,7 @@ module XeroRuby
|
|
|
5049
5049
|
return data, status_code, headers
|
|
5050
5050
|
end
|
|
5051
5051
|
|
|
5052
|
-
#
|
|
5052
|
+
# Deletes a specific option for a specific tracking category
|
|
5053
5053
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5054
5054
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
5055
5055
|
# @param tracking_option_id [String] Unique identifier for a Tracking Option
|
|
@@ -5060,7 +5060,7 @@ module XeroRuby
|
|
|
5060
5060
|
data
|
|
5061
5061
|
end
|
|
5062
5062
|
|
|
5063
|
-
#
|
|
5063
|
+
# Deletes a specific option for a specific tracking category
|
|
5064
5064
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5065
5065
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
5066
5066
|
# @param tracking_option_id [String] Unique identifier for a Tracking Option
|
|
@@ -5129,7 +5129,7 @@ module XeroRuby
|
|
|
5129
5129
|
return data, status_code, headers
|
|
5130
5130
|
end
|
|
5131
5131
|
|
|
5132
|
-
#
|
|
5132
|
+
# Sends a copy of a specific invoice to related contact via email
|
|
5133
5133
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5134
5134
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
5135
5135
|
# @param request_empty [RequestEmpty]
|
|
@@ -5140,7 +5140,7 @@ module XeroRuby
|
|
|
5140
5140
|
nil
|
|
5141
5141
|
end
|
|
5142
5142
|
|
|
5143
|
-
#
|
|
5143
|
+
# Sends a copy of a specific invoice to related contact via email
|
|
5144
5144
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5145
5145
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
5146
5146
|
# @param request_empty [RequestEmpty]
|
|
@@ -5211,9 +5211,9 @@ module XeroRuby
|
|
|
5211
5211
|
return data, status_code, headers
|
|
5212
5212
|
end
|
|
5213
5213
|
|
|
5214
|
-
#
|
|
5214
|
+
# Retrieves a single chart of accounts by using a unique account Id
|
|
5215
5215
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5216
|
-
# @param account_id [String] Unique identifier for
|
|
5216
|
+
# @param account_id [String] Unique identifier for Account object
|
|
5217
5217
|
# @param [Hash] opts the optional parameters
|
|
5218
5218
|
# @return [Accounts]
|
|
5219
5219
|
def get_account(xero_tenant_id, account_id, opts = {})
|
|
@@ -5221,9 +5221,9 @@ module XeroRuby
|
|
|
5221
5221
|
data
|
|
5222
5222
|
end
|
|
5223
5223
|
|
|
5224
|
-
#
|
|
5224
|
+
# Retrieves a single chart of accounts by using a unique account Id
|
|
5225
5225
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5226
|
-
# @param account_id [String] Unique identifier for
|
|
5226
|
+
# @param account_id [String] Unique identifier for Account object
|
|
5227
5227
|
# @param [Hash] opts the optional parameters
|
|
5228
5228
|
# @return [Array<(Accounts, Integer, Hash)>] Accounts data, response status code and response headers
|
|
5229
5229
|
def get_account_with_http_info(xero_tenant_id, account_id, opts = {})
|
|
@@ -5285,7 +5285,7 @@ module XeroRuby
|
|
|
5285
5285
|
return data, status_code, headers
|
|
5286
5286
|
end
|
|
5287
5287
|
|
|
5288
|
-
#
|
|
5288
|
+
# Retrieves an attachment for a specific account by filename
|
|
5289
5289
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5290
5290
|
# @param account_id [String] Unique identifier for Account object
|
|
5291
5291
|
# @param file_name [String] Name of the attachment
|
|
@@ -5297,7 +5297,7 @@ module XeroRuby
|
|
|
5297
5297
|
data
|
|
5298
5298
|
end
|
|
5299
5299
|
|
|
5300
|
-
#
|
|
5300
|
+
# Retrieves an attachment for a specific account by filename
|
|
5301
5301
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5302
5302
|
# @param account_id [String] Unique identifier for Account object
|
|
5303
5303
|
# @param file_name [String] Name of the attachment
|
|
@@ -5372,7 +5372,7 @@ module XeroRuby
|
|
|
5372
5372
|
return data, status_code, headers
|
|
5373
5373
|
end
|
|
5374
5374
|
|
|
5375
|
-
#
|
|
5375
|
+
# Retrieves a specific attachment from a specific account using a unique attachment Id
|
|
5376
5376
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5377
5377
|
# @param account_id [String] Unique identifier for Account object
|
|
5378
5378
|
# @param attachment_id [String] Unique identifier for Attachment object
|
|
@@ -5384,7 +5384,7 @@ module XeroRuby
|
|
|
5384
5384
|
data
|
|
5385
5385
|
end
|
|
5386
5386
|
|
|
5387
|
-
#
|
|
5387
|
+
# Retrieves a specific attachment from a specific account using a unique attachment Id
|
|
5388
5388
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5389
5389
|
# @param account_id [String] Unique identifier for Account object
|
|
5390
5390
|
# @param attachment_id [String] Unique identifier for Attachment object
|
|
@@ -5459,7 +5459,7 @@ module XeroRuby
|
|
|
5459
5459
|
return data, status_code, headers
|
|
5460
5460
|
end
|
|
5461
5461
|
|
|
5462
|
-
#
|
|
5462
|
+
# Retrieves attachments for a specific accounts by using a unique account Id
|
|
5463
5463
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5464
5464
|
# @param account_id [String] Unique identifier for Account object
|
|
5465
5465
|
# @param [Hash] opts the optional parameters
|
|
@@ -5469,7 +5469,7 @@ module XeroRuby
|
|
|
5469
5469
|
data
|
|
5470
5470
|
end
|
|
5471
5471
|
|
|
5472
|
-
#
|
|
5472
|
+
# Retrieves attachments for a specific accounts by using a unique account Id
|
|
5473
5473
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5474
5474
|
# @param account_id [String] Unique identifier for Account object
|
|
5475
5475
|
# @param [Hash] opts the optional parameters
|
|
@@ -5533,7 +5533,7 @@ module XeroRuby
|
|
|
5533
5533
|
return data, status_code, headers
|
|
5534
5534
|
end
|
|
5535
5535
|
|
|
5536
|
-
#
|
|
5536
|
+
# Retrieves the full chart of accounts
|
|
5537
5537
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5538
5538
|
# @param [Hash] opts the optional parameters
|
|
5539
5539
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -5545,7 +5545,7 @@ module XeroRuby
|
|
|
5545
5545
|
data
|
|
5546
5546
|
end
|
|
5547
5547
|
|
|
5548
|
-
#
|
|
5548
|
+
# Retrieves the full chart of accounts
|
|
5549
5549
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5550
5550
|
# @param [Hash] opts the optional parameters
|
|
5551
5551
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -5610,7 +5610,7 @@ module XeroRuby
|
|
|
5610
5610
|
return data, status_code, headers
|
|
5611
5611
|
end
|
|
5612
5612
|
|
|
5613
|
-
#
|
|
5613
|
+
# Retrieves a single spent or received money transaction by using a unique bank transaction Id
|
|
5614
5614
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5615
5615
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
5616
5616
|
# @param [Hash] opts the optional parameters
|
|
@@ -5621,7 +5621,7 @@ module XeroRuby
|
|
|
5621
5621
|
data
|
|
5622
5622
|
end
|
|
5623
5623
|
|
|
5624
|
-
#
|
|
5624
|
+
# Retrieves a single spent or received money transaction by using a unique bank transaction Id
|
|
5625
5625
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5626
5626
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
5627
5627
|
# @param [Hash] opts the optional parameters
|
|
@@ -5687,10 +5687,10 @@ module XeroRuby
|
|
|
5687
5687
|
return data, status_code, headers
|
|
5688
5688
|
end
|
|
5689
5689
|
|
|
5690
|
-
#
|
|
5690
|
+
# Retrieves a specific attachment from a specific bank transaction by filename
|
|
5691
5691
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5692
5692
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
5693
|
-
# @param file_name [String]
|
|
5693
|
+
# @param file_name [String] Name of the attachment
|
|
5694
5694
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
5695
5695
|
# @param [Hash] opts the optional parameters
|
|
5696
5696
|
# @return [File]
|
|
@@ -5699,10 +5699,10 @@ module XeroRuby
|
|
|
5699
5699
|
data
|
|
5700
5700
|
end
|
|
5701
5701
|
|
|
5702
|
-
#
|
|
5702
|
+
# Retrieves a specific attachment from a specific bank transaction by filename
|
|
5703
5703
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5704
5704
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
5705
|
-
# @param file_name [String]
|
|
5705
|
+
# @param file_name [String] Name of the attachment
|
|
5706
5706
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
5707
5707
|
# @param [Hash] opts the optional parameters
|
|
5708
5708
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
@@ -5774,10 +5774,10 @@ module XeroRuby
|
|
|
5774
5774
|
return data, status_code, headers
|
|
5775
5775
|
end
|
|
5776
5776
|
|
|
5777
|
-
#
|
|
5777
|
+
# Retrieves specific attachments from a specific BankTransaction using a unique attachment Id
|
|
5778
5778
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5779
5779
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
5780
|
-
# @param attachment_id [String]
|
|
5780
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
|
5781
5781
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
5782
5782
|
# @param [Hash] opts the optional parameters
|
|
5783
5783
|
# @return [File]
|
|
@@ -5786,10 +5786,10 @@ module XeroRuby
|
|
|
5786
5786
|
data
|
|
5787
5787
|
end
|
|
5788
5788
|
|
|
5789
|
-
#
|
|
5789
|
+
# Retrieves specific attachments from a specific BankTransaction using a unique attachment Id
|
|
5790
5790
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5791
5791
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
5792
|
-
# @param attachment_id [String]
|
|
5792
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
|
5793
5793
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
5794
5794
|
# @param [Hash] opts the optional parameters
|
|
5795
5795
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
@@ -5861,7 +5861,7 @@ module XeroRuby
|
|
|
5861
5861
|
return data, status_code, headers
|
|
5862
5862
|
end
|
|
5863
5863
|
|
|
5864
|
-
#
|
|
5864
|
+
# Retrieves any attachments from a specific bank transactions
|
|
5865
5865
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5866
5866
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
5867
5867
|
# @param [Hash] opts the optional parameters
|
|
@@ -5871,7 +5871,7 @@ module XeroRuby
|
|
|
5871
5871
|
data
|
|
5872
5872
|
end
|
|
5873
5873
|
|
|
5874
|
-
#
|
|
5874
|
+
# Retrieves any attachments from a specific bank transactions
|
|
5875
5875
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5876
5876
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
5877
5877
|
# @param [Hash] opts the optional parameters
|
|
@@ -5935,7 +5935,7 @@ module XeroRuby
|
|
|
5935
5935
|
return data, status_code, headers
|
|
5936
5936
|
end
|
|
5937
5937
|
|
|
5938
|
-
#
|
|
5938
|
+
# Retrieves any spent or received money transactions
|
|
5939
5939
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5940
5940
|
# @param [Hash] opts the optional parameters
|
|
5941
5941
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -5949,7 +5949,7 @@ module XeroRuby
|
|
|
5949
5949
|
data
|
|
5950
5950
|
end
|
|
5951
5951
|
|
|
5952
|
-
#
|
|
5952
|
+
# Retrieves any spent or received money transactions
|
|
5953
5953
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
5954
5954
|
# @param [Hash] opts the optional parameters
|
|
5955
5955
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -6018,7 +6018,7 @@ module XeroRuby
|
|
|
6018
6018
|
return data, status_code, headers
|
|
6019
6019
|
end
|
|
6020
6020
|
|
|
6021
|
-
#
|
|
6021
|
+
# Retrieves history from a specific bank transaction using a unique bank transaction Id
|
|
6022
6022
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6023
6023
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
6024
6024
|
# @param [Hash] opts the optional parameters
|
|
@@ -6028,7 +6028,7 @@ module XeroRuby
|
|
|
6028
6028
|
data
|
|
6029
6029
|
end
|
|
6030
6030
|
|
|
6031
|
-
#
|
|
6031
|
+
# Retrieves history from a specific bank transaction using a unique bank transaction Id
|
|
6032
6032
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6033
6033
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
6034
6034
|
# @param [Hash] opts the optional parameters
|
|
@@ -6092,7 +6092,7 @@ module XeroRuby
|
|
|
6092
6092
|
return data, status_code, headers
|
|
6093
6093
|
end
|
|
6094
6094
|
|
|
6095
|
-
#
|
|
6095
|
+
# Retrieves specific bank transfers by using a unique bank transfer Id
|
|
6096
6096
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6097
6097
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6098
6098
|
# @param [Hash] opts the optional parameters
|
|
@@ -6102,7 +6102,7 @@ module XeroRuby
|
|
|
6102
6102
|
data
|
|
6103
6103
|
end
|
|
6104
6104
|
|
|
6105
|
-
#
|
|
6105
|
+
# Retrieves specific bank transfers by using a unique bank transfer Id
|
|
6106
6106
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6107
6107
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6108
6108
|
# @param [Hash] opts the optional parameters
|
|
@@ -6166,10 +6166,10 @@ module XeroRuby
|
|
|
6166
6166
|
return data, status_code, headers
|
|
6167
6167
|
end
|
|
6168
6168
|
|
|
6169
|
-
#
|
|
6169
|
+
# Retrieves a specific attachment on a specific bank transfer by file name
|
|
6170
6170
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6171
6171
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6172
|
-
# @param file_name [String]
|
|
6172
|
+
# @param file_name [String] Name of the attachment
|
|
6173
6173
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
6174
6174
|
# @param [Hash] opts the optional parameters
|
|
6175
6175
|
# @return [File]
|
|
@@ -6178,10 +6178,10 @@ module XeroRuby
|
|
|
6178
6178
|
data
|
|
6179
6179
|
end
|
|
6180
6180
|
|
|
6181
|
-
#
|
|
6181
|
+
# Retrieves a specific attachment on a specific bank transfer by file name
|
|
6182
6182
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6183
6183
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6184
|
-
# @param file_name [String]
|
|
6184
|
+
# @param file_name [String] Name of the attachment
|
|
6185
6185
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
6186
6186
|
# @param [Hash] opts the optional parameters
|
|
6187
6187
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
@@ -6253,10 +6253,10 @@ module XeroRuby
|
|
|
6253
6253
|
return data, status_code, headers
|
|
6254
6254
|
end
|
|
6255
6255
|
|
|
6256
|
-
#
|
|
6256
|
+
# Retrieves a specific attachment from a specific bank transfer using a unique attachment ID
|
|
6257
6257
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6258
6258
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6259
|
-
# @param attachment_id [String]
|
|
6259
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
|
6260
6260
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
6261
6261
|
# @param [Hash] opts the optional parameters
|
|
6262
6262
|
# @return [File]
|
|
@@ -6265,10 +6265,10 @@ module XeroRuby
|
|
|
6265
6265
|
data
|
|
6266
6266
|
end
|
|
6267
6267
|
|
|
6268
|
-
#
|
|
6268
|
+
# Retrieves a specific attachment from a specific bank transfer using a unique attachment ID
|
|
6269
6269
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6270
6270
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6271
|
-
# @param attachment_id [String]
|
|
6271
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
|
6272
6272
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
6273
6273
|
# @param [Hash] opts the optional parameters
|
|
6274
6274
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
@@ -6340,7 +6340,7 @@ module XeroRuby
|
|
|
6340
6340
|
return data, status_code, headers
|
|
6341
6341
|
end
|
|
6342
6342
|
|
|
6343
|
-
#
|
|
6343
|
+
# Retrieves attachments from a specific bank transfer
|
|
6344
6344
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6345
6345
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6346
6346
|
# @param [Hash] opts the optional parameters
|
|
@@ -6350,7 +6350,7 @@ module XeroRuby
|
|
|
6350
6350
|
data
|
|
6351
6351
|
end
|
|
6352
6352
|
|
|
6353
|
-
#
|
|
6353
|
+
# Retrieves attachments from a specific bank transfer
|
|
6354
6354
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6355
6355
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6356
6356
|
# @param [Hash] opts the optional parameters
|
|
@@ -6414,7 +6414,7 @@ module XeroRuby
|
|
|
6414
6414
|
return data, status_code, headers
|
|
6415
6415
|
end
|
|
6416
6416
|
|
|
6417
|
-
#
|
|
6417
|
+
# Retrieves history from a specific bank transfer using a unique bank transfer Id
|
|
6418
6418
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6419
6419
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6420
6420
|
# @param [Hash] opts the optional parameters
|
|
@@ -6424,7 +6424,7 @@ module XeroRuby
|
|
|
6424
6424
|
data
|
|
6425
6425
|
end
|
|
6426
6426
|
|
|
6427
|
-
#
|
|
6427
|
+
# Retrieves history from a specific bank transfer using a unique bank transfer Id
|
|
6428
6428
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6429
6429
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
6430
6430
|
# @param [Hash] opts the optional parameters
|
|
@@ -6488,7 +6488,7 @@ module XeroRuby
|
|
|
6488
6488
|
return data, status_code, headers
|
|
6489
6489
|
end
|
|
6490
6490
|
|
|
6491
|
-
#
|
|
6491
|
+
# Retrieves all bank transfers
|
|
6492
6492
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6493
6493
|
# @param [Hash] opts the optional parameters
|
|
6494
6494
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -6500,7 +6500,7 @@ module XeroRuby
|
|
|
6500
6500
|
data
|
|
6501
6501
|
end
|
|
6502
6502
|
|
|
6503
|
-
#
|
|
6503
|
+
# Retrieves all bank transfers
|
|
6504
6504
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6505
6505
|
# @param [Hash] opts the optional parameters
|
|
6506
6506
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -6565,7 +6565,7 @@ module XeroRuby
|
|
|
6565
6565
|
return data, status_code, headers
|
|
6566
6566
|
end
|
|
6567
6567
|
|
|
6568
|
-
#
|
|
6568
|
+
# Retrieves history from a specific batch payment
|
|
6569
6569
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6570
6570
|
# @param batch_payment_id [String] Unique identifier for BatchPayment
|
|
6571
6571
|
# @param [Hash] opts the optional parameters
|
|
@@ -6575,7 +6575,7 @@ module XeroRuby
|
|
|
6575
6575
|
data
|
|
6576
6576
|
end
|
|
6577
6577
|
|
|
6578
|
-
#
|
|
6578
|
+
# Retrieves history from a specific batch payment
|
|
6579
6579
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6580
6580
|
# @param batch_payment_id [String] Unique identifier for BatchPayment
|
|
6581
6581
|
# @param [Hash] opts the optional parameters
|
|
@@ -6639,7 +6639,7 @@ module XeroRuby
|
|
|
6639
6639
|
return data, status_code, headers
|
|
6640
6640
|
end
|
|
6641
6641
|
|
|
6642
|
-
#
|
|
6642
|
+
# Retrieves either one or many batch payments for invoices
|
|
6643
6643
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6644
6644
|
# @param [Hash] opts the optional parameters
|
|
6645
6645
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -6651,7 +6651,7 @@ module XeroRuby
|
|
|
6651
6651
|
data
|
|
6652
6652
|
end
|
|
6653
6653
|
|
|
6654
|
-
#
|
|
6654
|
+
# Retrieves either one or many batch payments for invoices
|
|
6655
6655
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6656
6656
|
# @param [Hash] opts the optional parameters
|
|
6657
6657
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -6716,7 +6716,7 @@ module XeroRuby
|
|
|
6716
6716
|
return data, status_code, headers
|
|
6717
6717
|
end
|
|
6718
6718
|
|
|
6719
|
-
#
|
|
6719
|
+
# Retrieves a specific branding theme using a unique branding theme Id
|
|
6720
6720
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6721
6721
|
# @param branding_theme_id [String] Unique identifier for a Branding Theme
|
|
6722
6722
|
# @param [Hash] opts the optional parameters
|
|
@@ -6726,7 +6726,7 @@ module XeroRuby
|
|
|
6726
6726
|
data
|
|
6727
6727
|
end
|
|
6728
6728
|
|
|
6729
|
-
#
|
|
6729
|
+
# Retrieves a specific branding theme using a unique branding theme Id
|
|
6730
6730
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6731
6731
|
# @param branding_theme_id [String] Unique identifier for a Branding Theme
|
|
6732
6732
|
# @param [Hash] opts the optional parameters
|
|
@@ -6790,7 +6790,7 @@ module XeroRuby
|
|
|
6790
6790
|
return data, status_code, headers
|
|
6791
6791
|
end
|
|
6792
6792
|
|
|
6793
|
-
#
|
|
6793
|
+
# Retrieves the payment services for a specific branding theme
|
|
6794
6794
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6795
6795
|
# @param branding_theme_id [String] Unique identifier for a Branding Theme
|
|
6796
6796
|
# @param [Hash] opts the optional parameters
|
|
@@ -6800,7 +6800,7 @@ module XeroRuby
|
|
|
6800
6800
|
data
|
|
6801
6801
|
end
|
|
6802
6802
|
|
|
6803
|
-
#
|
|
6803
|
+
# Retrieves the payment services for a specific branding theme
|
|
6804
6804
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6805
6805
|
# @param branding_theme_id [String] Unique identifier for a Branding Theme
|
|
6806
6806
|
# @param [Hash] opts the optional parameters
|
|
@@ -6864,7 +6864,7 @@ module XeroRuby
|
|
|
6864
6864
|
return data, status_code, headers
|
|
6865
6865
|
end
|
|
6866
6866
|
|
|
6867
|
-
#
|
|
6867
|
+
# Retrieves all the branding themes
|
|
6868
6868
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6869
6869
|
# @param [Hash] opts the optional parameters
|
|
6870
6870
|
# @return [BrandingThemes]
|
|
@@ -6873,7 +6873,7 @@ module XeroRuby
|
|
|
6873
6873
|
data
|
|
6874
6874
|
end
|
|
6875
6875
|
|
|
6876
|
-
#
|
|
6876
|
+
# Retrieves all the branding themes
|
|
6877
6877
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6878
6878
|
# @param [Hash] opts the optional parameters
|
|
6879
6879
|
# @return [Array<(BrandingThemes, Integer, Hash)>] BrandingThemes data, response status code and response headers
|
|
@@ -6932,7 +6932,7 @@ module XeroRuby
|
|
|
6932
6932
|
return data, status_code, headers
|
|
6933
6933
|
end
|
|
6934
6934
|
|
|
6935
|
-
#
|
|
6935
|
+
# Retrieves a specific contacts in a Xero organisation using a unique contact Id
|
|
6936
6936
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6937
6937
|
# @param contact_id [String] Unique identifier for a Contact
|
|
6938
6938
|
# @param [Hash] opts the optional parameters
|
|
@@ -6942,7 +6942,7 @@ module XeroRuby
|
|
|
6942
6942
|
data
|
|
6943
6943
|
end
|
|
6944
6944
|
|
|
6945
|
-
#
|
|
6945
|
+
# Retrieves a specific contacts in a Xero organisation using a unique contact Id
|
|
6946
6946
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
6947
6947
|
# @param contact_id [String] Unique identifier for a Contact
|
|
6948
6948
|
# @param [Hash] opts the optional parameters
|
|
@@ -7006,10 +7006,10 @@ module XeroRuby
|
|
|
7006
7006
|
return data, status_code, headers
|
|
7007
7007
|
end
|
|
7008
7008
|
|
|
7009
|
-
#
|
|
7009
|
+
# Retrieves a specific attachment from a specific contact by file name
|
|
7010
7010
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7011
7011
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7012
|
-
# @param file_name [String] Name
|
|
7012
|
+
# @param file_name [String] Name of the attachment
|
|
7013
7013
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
7014
7014
|
# @param [Hash] opts the optional parameters
|
|
7015
7015
|
# @return [File]
|
|
@@ -7018,10 +7018,10 @@ module XeroRuby
|
|
|
7018
7018
|
data
|
|
7019
7019
|
end
|
|
7020
7020
|
|
|
7021
|
-
#
|
|
7021
|
+
# Retrieves a specific attachment from a specific contact by file name
|
|
7022
7022
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7023
7023
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7024
|
-
# @param file_name [String] Name
|
|
7024
|
+
# @param file_name [String] Name of the attachment
|
|
7025
7025
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
7026
7026
|
# @param [Hash] opts the optional parameters
|
|
7027
7027
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
@@ -7093,10 +7093,10 @@ module XeroRuby
|
|
|
7093
7093
|
return data, status_code, headers
|
|
7094
7094
|
end
|
|
7095
7095
|
|
|
7096
|
-
#
|
|
7096
|
+
# Retrieves a specific attachment from a specific contact using a unique attachment Id
|
|
7097
7097
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7098
7098
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7099
|
-
# @param attachment_id [String] Unique identifier for
|
|
7099
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
|
7100
7100
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
7101
7101
|
# @param [Hash] opts the optional parameters
|
|
7102
7102
|
# @return [File]
|
|
@@ -7105,10 +7105,10 @@ module XeroRuby
|
|
|
7105
7105
|
data
|
|
7106
7106
|
end
|
|
7107
7107
|
|
|
7108
|
-
#
|
|
7108
|
+
# Retrieves a specific attachment from a specific contact using a unique attachment Id
|
|
7109
7109
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7110
7110
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7111
|
-
# @param attachment_id [String] Unique identifier for
|
|
7111
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
|
7112
7112
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
7113
7113
|
# @param [Hash] opts the optional parameters
|
|
7114
7114
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
@@ -7180,7 +7180,7 @@ module XeroRuby
|
|
|
7180
7180
|
return data, status_code, headers
|
|
7181
7181
|
end
|
|
7182
7182
|
|
|
7183
|
-
#
|
|
7183
|
+
# Retrieves attachments for a specific contact in a Xero organisation
|
|
7184
7184
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7185
7185
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7186
7186
|
# @param [Hash] opts the optional parameters
|
|
@@ -7190,7 +7190,7 @@ module XeroRuby
|
|
|
7190
7190
|
data
|
|
7191
7191
|
end
|
|
7192
7192
|
|
|
7193
|
-
#
|
|
7193
|
+
# Retrieves attachments for a specific contact in a Xero organisation
|
|
7194
7194
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7195
7195
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7196
7196
|
# @param [Hash] opts the optional parameters
|
|
@@ -7254,7 +7254,7 @@ module XeroRuby
|
|
|
7254
7254
|
return data, status_code, headers
|
|
7255
7255
|
end
|
|
7256
7256
|
|
|
7257
|
-
#
|
|
7257
|
+
# Retrieves a specific contact by contact number in a Xero organisation
|
|
7258
7258
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7259
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).
|
|
7260
7260
|
# @param [Hash] opts the optional parameters
|
|
@@ -7264,7 +7264,7 @@ module XeroRuby
|
|
|
7264
7264
|
data
|
|
7265
7265
|
end
|
|
7266
7266
|
|
|
7267
|
-
#
|
|
7267
|
+
# Retrieves a specific contact by contact number in a Xero organisation
|
|
7268
7268
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7269
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).
|
|
7270
7270
|
# @param [Hash] opts the optional parameters
|
|
@@ -7328,7 +7328,7 @@ module XeroRuby
|
|
|
7328
7328
|
return data, status_code, headers
|
|
7329
7329
|
end
|
|
7330
7330
|
|
|
7331
|
-
#
|
|
7331
|
+
# Retrieves CIS settings for a specific contact in a Xero organisation
|
|
7332
7332
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7333
7333
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7334
7334
|
# @param [Hash] opts the optional parameters
|
|
@@ -7338,7 +7338,7 @@ module XeroRuby
|
|
|
7338
7338
|
data
|
|
7339
7339
|
end
|
|
7340
7340
|
|
|
7341
|
-
#
|
|
7341
|
+
# Retrieves CIS settings for a specific contact in a Xero organisation
|
|
7342
7342
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7343
7343
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7344
7344
|
# @param [Hash] opts the optional parameters
|
|
@@ -7402,7 +7402,7 @@ module XeroRuby
|
|
|
7402
7402
|
return data, status_code, headers
|
|
7403
7403
|
end
|
|
7404
7404
|
|
|
7405
|
-
#
|
|
7405
|
+
# Retrieves a specific contact group by using a unique contact group Id
|
|
7406
7406
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7407
7407
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
7408
7408
|
# @param [Hash] opts the optional parameters
|
|
@@ -7412,7 +7412,7 @@ module XeroRuby
|
|
|
7412
7412
|
data
|
|
7413
7413
|
end
|
|
7414
7414
|
|
|
7415
|
-
#
|
|
7415
|
+
# Retrieves a specific contact group by using a unique contact group Id
|
|
7416
7416
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7417
7417
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
7418
7418
|
# @param [Hash] opts the optional parameters
|
|
@@ -7476,7 +7476,7 @@ module XeroRuby
|
|
|
7476
7476
|
return data, status_code, headers
|
|
7477
7477
|
end
|
|
7478
7478
|
|
|
7479
|
-
#
|
|
7479
|
+
# Retrieves the contact Id and name of all the contacts in a contact group
|
|
7480
7480
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7481
7481
|
# @param [Hash] opts the optional parameters
|
|
7482
7482
|
# @option opts [String] :where Filter by an any element
|
|
@@ -7487,7 +7487,7 @@ module XeroRuby
|
|
|
7487
7487
|
data
|
|
7488
7488
|
end
|
|
7489
7489
|
|
|
7490
|
-
#
|
|
7490
|
+
# Retrieves the contact Id and name of all the contacts in a contact group
|
|
7491
7491
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7492
7492
|
# @param [Hash] opts the optional parameters
|
|
7493
7493
|
# @option opts [String] :where Filter by an any element
|
|
@@ -7550,7 +7550,7 @@ module XeroRuby
|
|
|
7550
7550
|
return data, status_code, headers
|
|
7551
7551
|
end
|
|
7552
7552
|
|
|
7553
|
-
#
|
|
7553
|
+
# Retrieves history records for a specific contact
|
|
7554
7554
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7555
7555
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7556
7556
|
# @param [Hash] opts the optional parameters
|
|
@@ -7560,7 +7560,7 @@ module XeroRuby
|
|
|
7560
7560
|
data
|
|
7561
7561
|
end
|
|
7562
7562
|
|
|
7563
|
-
#
|
|
7563
|
+
# Retrieves history records for a specific contact
|
|
7564
7564
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7565
7565
|
# @param contact_id [String] Unique identifier for a Contact
|
|
7566
7566
|
# @param [Hash] opts the optional parameters
|
|
@@ -7624,7 +7624,7 @@ module XeroRuby
|
|
|
7624
7624
|
return data, status_code, headers
|
|
7625
7625
|
end
|
|
7626
7626
|
|
|
7627
|
-
#
|
|
7627
|
+
# Retrieves all contacts in a Xero organisation
|
|
7628
7628
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7629
7629
|
# @param [Hash] opts the optional parameters
|
|
7630
7630
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -7639,7 +7639,7 @@ module XeroRuby
|
|
|
7639
7639
|
data
|
|
7640
7640
|
end
|
|
7641
7641
|
|
|
7642
|
-
#
|
|
7642
|
+
# Retrieves all contacts in a Xero organisation
|
|
7643
7643
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7644
7644
|
# @param [Hash] opts the optional parameters
|
|
7645
7645
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -7710,7 +7710,7 @@ module XeroRuby
|
|
|
7710
7710
|
return data, status_code, headers
|
|
7711
7711
|
end
|
|
7712
7712
|
|
|
7713
|
-
#
|
|
7713
|
+
# Retrieves a specific credit note using a unique credit note Id
|
|
7714
7714
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7715
7715
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
7716
7716
|
# @param [Hash] opts the optional parameters
|
|
@@ -7721,7 +7721,7 @@ module XeroRuby
|
|
|
7721
7721
|
data
|
|
7722
7722
|
end
|
|
7723
7723
|
|
|
7724
|
-
#
|
|
7724
|
+
# Retrieves a specific credit note using a unique credit note Id
|
|
7725
7725
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7726
7726
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
7727
7727
|
# @param [Hash] opts the optional parameters
|
|
@@ -7787,7 +7787,7 @@ module XeroRuby
|
|
|
7787
7787
|
return data, status_code, headers
|
|
7788
7788
|
end
|
|
7789
7789
|
|
|
7790
|
-
#
|
|
7790
|
+
# Retrieves credit notes as PDF files
|
|
7791
7791
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7792
7792
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
7793
7793
|
# @param [Hash] opts the optional parameters
|
|
@@ -7797,7 +7797,7 @@ module XeroRuby
|
|
|
7797
7797
|
data
|
|
7798
7798
|
end
|
|
7799
7799
|
|
|
7800
|
-
#
|
|
7800
|
+
# Retrieves credit notes as PDF files
|
|
7801
7801
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7802
7802
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
7803
7803
|
# @param [Hash] opts the optional parameters
|
|
@@ -7861,10 +7861,10 @@ module XeroRuby
|
|
|
7861
7861
|
return data, status_code, headers
|
|
7862
7862
|
end
|
|
7863
7863
|
|
|
7864
|
-
#
|
|
7864
|
+
# Retrieves a specific attachment on a specific credit note by file name
|
|
7865
7865
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7866
7866
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
7867
|
-
# @param file_name [String] Name of the
|
|
7867
|
+
# @param file_name [String] Name of the attachment
|
|
7868
7868
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
7869
7869
|
# @param [Hash] opts the optional parameters
|
|
7870
7870
|
# @return [File]
|
|
@@ -7873,10 +7873,10 @@ module XeroRuby
|
|
|
7873
7873
|
data
|
|
7874
7874
|
end
|
|
7875
7875
|
|
|
7876
|
-
#
|
|
7876
|
+
# Retrieves a specific attachment on a specific credit note by file name
|
|
7877
7877
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7878
7878
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
7879
|
-
# @param file_name [String] Name of the
|
|
7879
|
+
# @param file_name [String] Name of the attachment
|
|
7880
7880
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
7881
7881
|
# @param [Hash] opts the optional parameters
|
|
7882
7882
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
@@ -7948,10 +7948,10 @@ module XeroRuby
|
|
|
7948
7948
|
return data, status_code, headers
|
|
7949
7949
|
end
|
|
7950
7950
|
|
|
7951
|
-
#
|
|
7951
|
+
# Retrieves a specific attachment from a specific credit note using a unique attachment Id
|
|
7952
7952
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7953
7953
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
7954
|
-
# @param attachment_id [String] Unique identifier for
|
|
7954
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
|
7955
7955
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
7956
7956
|
# @param [Hash] opts the optional parameters
|
|
7957
7957
|
# @return [File]
|
|
@@ -7960,10 +7960,10 @@ module XeroRuby
|
|
|
7960
7960
|
data
|
|
7961
7961
|
end
|
|
7962
7962
|
|
|
7963
|
-
#
|
|
7963
|
+
# Retrieves a specific attachment from a specific credit note using a unique attachment Id
|
|
7964
7964
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
7965
7965
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
7966
|
-
# @param attachment_id [String] Unique identifier for
|
|
7966
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
|
7967
7967
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
7968
7968
|
# @param [Hash] opts the optional parameters
|
|
7969
7969
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
@@ -8035,7 +8035,7 @@ module XeroRuby
|
|
|
8035
8035
|
return data, status_code, headers
|
|
8036
8036
|
end
|
|
8037
8037
|
|
|
8038
|
-
#
|
|
8038
|
+
# Retrieves attachments for a specific credit notes
|
|
8039
8039
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8040
8040
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
8041
8041
|
# @param [Hash] opts the optional parameters
|
|
@@ -8045,7 +8045,7 @@ module XeroRuby
|
|
|
8045
8045
|
data
|
|
8046
8046
|
end
|
|
8047
8047
|
|
|
8048
|
-
#
|
|
8048
|
+
# Retrieves attachments for a specific credit notes
|
|
8049
8049
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8050
8050
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
8051
8051
|
# @param [Hash] opts the optional parameters
|
|
@@ -8109,7 +8109,7 @@ module XeroRuby
|
|
|
8109
8109
|
return data, status_code, headers
|
|
8110
8110
|
end
|
|
8111
8111
|
|
|
8112
|
-
#
|
|
8112
|
+
# Retrieves history records of a specific credit note
|
|
8113
8113
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8114
8114
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
8115
8115
|
# @param [Hash] opts the optional parameters
|
|
@@ -8119,7 +8119,7 @@ module XeroRuby
|
|
|
8119
8119
|
data
|
|
8120
8120
|
end
|
|
8121
8121
|
|
|
8122
|
-
#
|
|
8122
|
+
# Retrieves history records of a specific credit note
|
|
8123
8123
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8124
8124
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
8125
8125
|
# @param [Hash] opts the optional parameters
|
|
@@ -8183,7 +8183,7 @@ module XeroRuby
|
|
|
8183
8183
|
return data, status_code, headers
|
|
8184
8184
|
end
|
|
8185
8185
|
|
|
8186
|
-
#
|
|
8186
|
+
# Retrieves any credit notes
|
|
8187
8187
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8188
8188
|
# @param [Hash] opts the optional parameters
|
|
8189
8189
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -8197,7 +8197,7 @@ module XeroRuby
|
|
|
8197
8197
|
data
|
|
8198
8198
|
end
|
|
8199
8199
|
|
|
8200
|
-
#
|
|
8200
|
+
# Retrieves any credit notes
|
|
8201
8201
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8202
8202
|
# @param [Hash] opts the optional parameters
|
|
8203
8203
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -8266,7 +8266,7 @@ module XeroRuby
|
|
|
8266
8266
|
return data, status_code, headers
|
|
8267
8267
|
end
|
|
8268
8268
|
|
|
8269
|
-
#
|
|
8269
|
+
# Retrieves currencies for your Xero organisation
|
|
8270
8270
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8271
8271
|
# @param [Hash] opts the optional parameters
|
|
8272
8272
|
# @option opts [String] :where Filter by an any element
|
|
@@ -8277,7 +8277,7 @@ module XeroRuby
|
|
|
8277
8277
|
data
|
|
8278
8278
|
end
|
|
8279
8279
|
|
|
8280
|
-
#
|
|
8280
|
+
# Retrieves currencies for your Xero organisation
|
|
8281
8281
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8282
8282
|
# @param [Hash] opts the optional parameters
|
|
8283
8283
|
# @option opts [String] :where Filter by an any element
|
|
@@ -8340,7 +8340,7 @@ module XeroRuby
|
|
|
8340
8340
|
return data, status_code, headers
|
|
8341
8341
|
end
|
|
8342
8342
|
|
|
8343
|
-
#
|
|
8343
|
+
# Retrieves a specific employee used in Xero payrun using a unique employee Id
|
|
8344
8344
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8345
8345
|
# @param employee_id [String] Unique identifier for a Employee
|
|
8346
8346
|
# @param [Hash] opts the optional parameters
|
|
@@ -8350,7 +8350,7 @@ module XeroRuby
|
|
|
8350
8350
|
data
|
|
8351
8351
|
end
|
|
8352
8352
|
|
|
8353
|
-
#
|
|
8353
|
+
# Retrieves a specific employee used in Xero payrun using a unique employee Id
|
|
8354
8354
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8355
8355
|
# @param employee_id [String] Unique identifier for a Employee
|
|
8356
8356
|
# @param [Hash] opts the optional parameters
|
|
@@ -8414,7 +8414,7 @@ module XeroRuby
|
|
|
8414
8414
|
return data, status_code, headers
|
|
8415
8415
|
end
|
|
8416
8416
|
|
|
8417
|
-
#
|
|
8417
|
+
# Retrieves employees used in Xero payrun
|
|
8418
8418
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8419
8419
|
# @param [Hash] opts the optional parameters
|
|
8420
8420
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -8426,7 +8426,7 @@ module XeroRuby
|
|
|
8426
8426
|
data
|
|
8427
8427
|
end
|
|
8428
8428
|
|
|
8429
|
-
#
|
|
8429
|
+
# Retrieves employees used in Xero payrun
|
|
8430
8430
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8431
8431
|
# @param [Hash] opts the optional parameters
|
|
8432
8432
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -8491,7 +8491,7 @@ module XeroRuby
|
|
|
8491
8491
|
return data, status_code, headers
|
|
8492
8492
|
end
|
|
8493
8493
|
|
|
8494
|
-
#
|
|
8494
|
+
# Retrieves a specific expense claim using a unique expense claim Id
|
|
8495
8495
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8496
8496
|
# @param expense_claim_id [String] Unique identifier for a ExpenseClaim
|
|
8497
8497
|
# @param [Hash] opts the optional parameters
|
|
@@ -8501,7 +8501,7 @@ module XeroRuby
|
|
|
8501
8501
|
data
|
|
8502
8502
|
end
|
|
8503
8503
|
|
|
8504
|
-
#
|
|
8504
|
+
# Retrieves a specific expense claim using a unique expense claim Id
|
|
8505
8505
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8506
8506
|
# @param expense_claim_id [String] Unique identifier for a ExpenseClaim
|
|
8507
8507
|
# @param [Hash] opts the optional parameters
|
|
@@ -8565,7 +8565,7 @@ module XeroRuby
|
|
|
8565
8565
|
return data, status_code, headers
|
|
8566
8566
|
end
|
|
8567
8567
|
|
|
8568
|
-
#
|
|
8568
|
+
# Retrieves history records of a specific expense claim
|
|
8569
8569
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8570
8570
|
# @param expense_claim_id [String] Unique identifier for a ExpenseClaim
|
|
8571
8571
|
# @param [Hash] opts the optional parameters
|
|
@@ -8575,7 +8575,7 @@ module XeroRuby
|
|
|
8575
8575
|
data
|
|
8576
8576
|
end
|
|
8577
8577
|
|
|
8578
|
-
#
|
|
8578
|
+
# Retrieves history records of a specific expense claim
|
|
8579
8579
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8580
8580
|
# @param expense_claim_id [String] Unique identifier for a ExpenseClaim
|
|
8581
8581
|
# @param [Hash] opts the optional parameters
|
|
@@ -8639,7 +8639,7 @@ module XeroRuby
|
|
|
8639
8639
|
return data, status_code, headers
|
|
8640
8640
|
end
|
|
8641
8641
|
|
|
8642
|
-
#
|
|
8642
|
+
# Retrieves expense claims
|
|
8643
8643
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8644
8644
|
# @param [Hash] opts the optional parameters
|
|
8645
8645
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -8651,7 +8651,7 @@ module XeroRuby
|
|
|
8651
8651
|
data
|
|
8652
8652
|
end
|
|
8653
8653
|
|
|
8654
|
-
#
|
|
8654
|
+
# Retrieves expense claims
|
|
8655
8655
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8656
8656
|
# @param [Hash] opts the optional parameters
|
|
8657
8657
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -8716,7 +8716,7 @@ module XeroRuby
|
|
|
8716
8716
|
return data, status_code, headers
|
|
8717
8717
|
end
|
|
8718
8718
|
|
|
8719
|
-
#
|
|
8719
|
+
# Retrieves a specific sales invoice or purchase bill using a unique invoice Id
|
|
8720
8720
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8721
8721
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
8722
8722
|
# @param [Hash] opts the optional parameters
|
|
@@ -8727,7 +8727,7 @@ module XeroRuby
|
|
|
8727
8727
|
data
|
|
8728
8728
|
end
|
|
8729
8729
|
|
|
8730
|
-
#
|
|
8730
|
+
# Retrieves a specific sales invoice or purchase bill using a unique invoice Id
|
|
8731
8731
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8732
8732
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
8733
8733
|
# @param [Hash] opts the optional parameters
|
|
@@ -8793,7 +8793,7 @@ module XeroRuby
|
|
|
8793
8793
|
return data, status_code, headers
|
|
8794
8794
|
end
|
|
8795
8795
|
|
|
8796
|
-
#
|
|
8796
|
+
# Retrieves invoices or purchase bills as PDF files
|
|
8797
8797
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8798
8798
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
8799
8799
|
# @param [Hash] opts the optional parameters
|
|
@@ -8803,7 +8803,7 @@ module XeroRuby
|
|
|
8803
8803
|
data
|
|
8804
8804
|
end
|
|
8805
8805
|
|
|
8806
|
-
#
|
|
8806
|
+
# Retrieves invoices or purchase bills as PDF files
|
|
8807
8807
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8808
8808
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
8809
8809
|
# @param [Hash] opts the optional parameters
|
|
@@ -8867,10 +8867,10 @@ module XeroRuby
|
|
|
8867
8867
|
return data, status_code, headers
|
|
8868
8868
|
end
|
|
8869
8869
|
|
|
8870
|
-
#
|
|
8870
|
+
# Retrieves an attachment from a specific invoice or purchase bill by filename
|
|
8871
8871
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8872
8872
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
8873
|
-
# @param file_name [String] Name of the
|
|
8873
|
+
# @param file_name [String] Name of the attachment
|
|
8874
8874
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
8875
8875
|
# @param [Hash] opts the optional parameters
|
|
8876
8876
|
# @return [File]
|
|
@@ -8879,10 +8879,10 @@ module XeroRuby
|
|
|
8879
8879
|
data
|
|
8880
8880
|
end
|
|
8881
8881
|
|
|
8882
|
-
#
|
|
8882
|
+
# Retrieves an attachment from a specific invoice or purchase bill by filename
|
|
8883
8883
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8884
8884
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
8885
|
-
# @param file_name [String] Name of the
|
|
8885
|
+
# @param file_name [String] Name of the attachment
|
|
8886
8886
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
8887
8887
|
# @param [Hash] opts the optional parameters
|
|
8888
8888
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
@@ -8954,10 +8954,10 @@ module XeroRuby
|
|
|
8954
8954
|
return data, status_code, headers
|
|
8955
8955
|
end
|
|
8956
8956
|
|
|
8957
|
-
#
|
|
8957
|
+
# Retrieves a specific attachment from a specific invoices or purchase bills by using a unique attachment Id
|
|
8958
8958
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8959
8959
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
8960
|
-
# @param attachment_id [String] Unique identifier for
|
|
8960
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
|
8961
8961
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
8962
8962
|
# @param [Hash] opts the optional parameters
|
|
8963
8963
|
# @return [File]
|
|
@@ -8966,10 +8966,10 @@ module XeroRuby
|
|
|
8966
8966
|
data
|
|
8967
8967
|
end
|
|
8968
8968
|
|
|
8969
|
-
#
|
|
8969
|
+
# Retrieves a specific attachment from a specific invoices or purchase bills by using a unique attachment Id
|
|
8970
8970
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
8971
8971
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
8972
|
-
# @param attachment_id [String] Unique identifier for
|
|
8972
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
|
8973
8973
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
8974
8974
|
# @param [Hash] opts the optional parameters
|
|
8975
8975
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
@@ -9041,7 +9041,7 @@ module XeroRuby
|
|
|
9041
9041
|
return data, status_code, headers
|
|
9042
9042
|
end
|
|
9043
9043
|
|
|
9044
|
-
#
|
|
9044
|
+
# Retrieves attachments for a specific invoice or purchase bill
|
|
9045
9045
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9046
9046
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
9047
9047
|
# @param [Hash] opts the optional parameters
|
|
@@ -9051,7 +9051,7 @@ module XeroRuby
|
|
|
9051
9051
|
data
|
|
9052
9052
|
end
|
|
9053
9053
|
|
|
9054
|
-
#
|
|
9054
|
+
# Retrieves attachments for a specific invoice or purchase bill
|
|
9055
9055
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9056
9056
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
9057
9057
|
# @param [Hash] opts the optional parameters
|
|
@@ -9115,7 +9115,7 @@ module XeroRuby
|
|
|
9115
9115
|
return data, status_code, headers
|
|
9116
9116
|
end
|
|
9117
9117
|
|
|
9118
|
-
#
|
|
9118
|
+
# Retrieves history records for a specific invoice
|
|
9119
9119
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9120
9120
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
9121
9121
|
# @param [Hash] opts the optional parameters
|
|
@@ -9125,7 +9125,7 @@ module XeroRuby
|
|
|
9125
9125
|
data
|
|
9126
9126
|
end
|
|
9127
9127
|
|
|
9128
|
-
#
|
|
9128
|
+
# Retrieves history records for a specific invoice
|
|
9129
9129
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9130
9130
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
9131
9131
|
# @param [Hash] opts the optional parameters
|
|
@@ -9189,7 +9189,7 @@ module XeroRuby
|
|
|
9189
9189
|
return data, status_code, headers
|
|
9190
9190
|
end
|
|
9191
9191
|
|
|
9192
|
-
#
|
|
9192
|
+
# Retrieves invoice reminder settings
|
|
9193
9193
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9194
9194
|
# @param [Hash] opts the optional parameters
|
|
9195
9195
|
# @return [InvoiceReminders]
|
|
@@ -9198,7 +9198,7 @@ module XeroRuby
|
|
|
9198
9198
|
data
|
|
9199
9199
|
end
|
|
9200
9200
|
|
|
9201
|
-
#
|
|
9201
|
+
# Retrieves invoice reminder settings
|
|
9202
9202
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9203
9203
|
# @param [Hash] opts the optional parameters
|
|
9204
9204
|
# @return [Array<(InvoiceReminders, Integer, Hash)>] InvoiceReminders data, response status code and response headers
|
|
@@ -9257,7 +9257,7 @@ module XeroRuby
|
|
|
9257
9257
|
return data, status_code, headers
|
|
9258
9258
|
end
|
|
9259
9259
|
|
|
9260
|
-
#
|
|
9260
|
+
# Retrieves sales invoices or purchase bills
|
|
9261
9261
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9262
9262
|
# @param [Hash] opts the optional parameters
|
|
9263
9263
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -9268,7 +9268,7 @@ module XeroRuby
|
|
|
9268
9268
|
# @option opts [Array<String>] :contact_i_ds Filter by a comma-separated list of ContactIDs.
|
|
9269
9269
|
# @option opts [Array<String>] :statuses Filter by a comma-separated list Statuses. For faster response times we recommend using these explicit parameters instead of passing OR conditions into the Where filter.
|
|
9270
9270
|
# @option opts [Integer] :page e.g. page=1 – Up to 100 invoices will be returned in a single API call with line items shown for each invoice
|
|
9271
|
-
# @option opts [Boolean] :include_archived e.g. includeArchived=true -
|
|
9271
|
+
# @option opts [Boolean] :include_archived e.g. includeArchived=true - Invoices with a status of ARCHIVED will be included in the response
|
|
9272
9272
|
# @option opts [Boolean] :created_by_my_app When set to true you'll only retrieve Invoices created by your app
|
|
9273
9273
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
9274
9274
|
# @return [Invoices]
|
|
@@ -9277,7 +9277,7 @@ module XeroRuby
|
|
|
9277
9277
|
data
|
|
9278
9278
|
end
|
|
9279
9279
|
|
|
9280
|
-
#
|
|
9280
|
+
# Retrieves sales invoices or purchase bills
|
|
9281
9281
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9282
9282
|
# @param [Hash] opts the optional parameters
|
|
9283
9283
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -9288,7 +9288,7 @@ module XeroRuby
|
|
|
9288
9288
|
# @option opts [Array<String>] :contact_i_ds Filter by a comma-separated list of ContactIDs.
|
|
9289
9289
|
# @option opts [Array<String>] :statuses Filter by a comma-separated list Statuses. For faster response times we recommend using these explicit parameters instead of passing OR conditions into the Where filter.
|
|
9290
9290
|
# @option opts [Integer] :page e.g. page=1 – Up to 100 invoices will be returned in a single API call with line items shown for each invoice
|
|
9291
|
-
# @option opts [Boolean] :include_archived e.g. includeArchived=true -
|
|
9291
|
+
# @option opts [Boolean] :include_archived e.g. includeArchived=true - Invoices with a status of ARCHIVED will be included in the response
|
|
9292
9292
|
# @option opts [Boolean] :created_by_my_app When set to true you'll only retrieve Invoices created by your app
|
|
9293
9293
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
9294
9294
|
# @return [Array<(Invoices, Integer, Hash)>] Invoices data, response status code and response headers
|
|
@@ -9358,7 +9358,7 @@ module XeroRuby
|
|
|
9358
9358
|
return data, status_code, headers
|
|
9359
9359
|
end
|
|
9360
9360
|
|
|
9361
|
-
#
|
|
9361
|
+
# Retrieves a specific item using a unique item Id
|
|
9362
9362
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9363
9363
|
# @param item_id [String] Unique identifier for an Item
|
|
9364
9364
|
# @param [Hash] opts the optional parameters
|
|
@@ -9369,7 +9369,7 @@ module XeroRuby
|
|
|
9369
9369
|
data
|
|
9370
9370
|
end
|
|
9371
9371
|
|
|
9372
|
-
#
|
|
9372
|
+
# Retrieves a specific item using a unique item Id
|
|
9373
9373
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9374
9374
|
# @param item_id [String] Unique identifier for an Item
|
|
9375
9375
|
# @param [Hash] opts the optional parameters
|
|
@@ -9435,7 +9435,7 @@ module XeroRuby
|
|
|
9435
9435
|
return data, status_code, headers
|
|
9436
9436
|
end
|
|
9437
9437
|
|
|
9438
|
-
#
|
|
9438
|
+
# Retrieves history for a specific item
|
|
9439
9439
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9440
9440
|
# @param item_id [String] Unique identifier for an Item
|
|
9441
9441
|
# @param [Hash] opts the optional parameters
|
|
@@ -9445,7 +9445,7 @@ module XeroRuby
|
|
|
9445
9445
|
data
|
|
9446
9446
|
end
|
|
9447
9447
|
|
|
9448
|
-
#
|
|
9448
|
+
# Retrieves history for a specific item
|
|
9449
9449
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9450
9450
|
# @param item_id [String] Unique identifier for an Item
|
|
9451
9451
|
# @param [Hash] opts the optional parameters
|
|
@@ -9509,7 +9509,7 @@ module XeroRuby
|
|
|
9509
9509
|
return data, status_code, headers
|
|
9510
9510
|
end
|
|
9511
9511
|
|
|
9512
|
-
#
|
|
9512
|
+
# Retrieves items
|
|
9513
9513
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9514
9514
|
# @param [Hash] opts the optional parameters
|
|
9515
9515
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -9522,7 +9522,7 @@ module XeroRuby
|
|
|
9522
9522
|
data
|
|
9523
9523
|
end
|
|
9524
9524
|
|
|
9525
|
-
#
|
|
9525
|
+
# Retrieves items
|
|
9526
9526
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9527
9527
|
# @param [Hash] opts the optional parameters
|
|
9528
9528
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -9589,7 +9589,7 @@ module XeroRuby
|
|
|
9589
9589
|
return data, status_code, headers
|
|
9590
9590
|
end
|
|
9591
9591
|
|
|
9592
|
-
#
|
|
9592
|
+
# Retrieves a specific journal using a unique journal Id.
|
|
9593
9593
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9594
9594
|
# @param journal_id [String] Unique identifier for a Journal
|
|
9595
9595
|
# @param [Hash] opts the optional parameters
|
|
@@ -9599,7 +9599,7 @@ module XeroRuby
|
|
|
9599
9599
|
data
|
|
9600
9600
|
end
|
|
9601
9601
|
|
|
9602
|
-
#
|
|
9602
|
+
# Retrieves a specific journal using a unique journal Id.
|
|
9603
9603
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9604
9604
|
# @param journal_id [String] Unique identifier for a Journal
|
|
9605
9605
|
# @param [Hash] opts the optional parameters
|
|
@@ -9663,7 +9663,7 @@ module XeroRuby
|
|
|
9663
9663
|
return data, status_code, headers
|
|
9664
9664
|
end
|
|
9665
9665
|
|
|
9666
|
-
#
|
|
9666
|
+
# Retrieves journals
|
|
9667
9667
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9668
9668
|
# @param [Hash] opts the optional parameters
|
|
9669
9669
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -9675,7 +9675,7 @@ module XeroRuby
|
|
|
9675
9675
|
data
|
|
9676
9676
|
end
|
|
9677
9677
|
|
|
9678
|
-
#
|
|
9678
|
+
# Retrieves journals
|
|
9679
9679
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9680
9680
|
# @param [Hash] opts the optional parameters
|
|
9681
9681
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -9740,7 +9740,7 @@ module XeroRuby
|
|
|
9740
9740
|
return data, status_code, headers
|
|
9741
9741
|
end
|
|
9742
9742
|
|
|
9743
|
-
#
|
|
9743
|
+
# Retrieves a specific linked transaction (billable expenses) using a unique linked transaction Id
|
|
9744
9744
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9745
9745
|
# @param linked_transaction_id [String] Unique identifier for a LinkedTransaction
|
|
9746
9746
|
# @param [Hash] opts the optional parameters
|
|
@@ -9750,7 +9750,7 @@ module XeroRuby
|
|
|
9750
9750
|
data
|
|
9751
9751
|
end
|
|
9752
9752
|
|
|
9753
|
-
#
|
|
9753
|
+
# Retrieves a specific linked transaction (billable expenses) using a unique linked transaction Id
|
|
9754
9754
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9755
9755
|
# @param linked_transaction_id [String] Unique identifier for a LinkedTransaction
|
|
9756
9756
|
# @param [Hash] opts the optional parameters
|
|
@@ -9814,14 +9814,14 @@ module XeroRuby
|
|
|
9814
9814
|
return data, status_code, headers
|
|
9815
9815
|
end
|
|
9816
9816
|
|
|
9817
|
-
#
|
|
9817
|
+
# Retrieves linked transactions (billable expenses)
|
|
9818
9818
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9819
9819
|
# @param [Hash] opts the optional parameters
|
|
9820
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.
|
|
9821
9821
|
# @option opts [String] :linked_transaction_id The Xero identifier for an Linked Transaction
|
|
9822
9822
|
# @option opts [String] :source_transaction_id Filter by the SourceTransactionID. Get the linked transactions created from a particular ACCPAY invoice
|
|
9823
9823
|
# @option opts [String] :contact_id Filter by the ContactID. Get all the linked transactions that have been assigned to a particular customer.
|
|
9824
|
-
# @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
|
|
9825
9825
|
# @option opts [String] :target_transaction_id Filter by the TargetTransactionID. Get all the linked transactions allocated to a particular ACCREC invoice
|
|
9826
9826
|
# @return [LinkedTransactions]
|
|
9827
9827
|
def get_linked_transactions(xero_tenant_id, opts = {})
|
|
@@ -9829,14 +9829,14 @@ module XeroRuby
|
|
|
9829
9829
|
data
|
|
9830
9830
|
end
|
|
9831
9831
|
|
|
9832
|
-
#
|
|
9832
|
+
# Retrieves linked transactions (billable expenses)
|
|
9833
9833
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9834
9834
|
# @param [Hash] opts the optional parameters
|
|
9835
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.
|
|
9836
9836
|
# @option opts [String] :linked_transaction_id The Xero identifier for an Linked Transaction
|
|
9837
9837
|
# @option opts [String] :source_transaction_id Filter by the SourceTransactionID. Get the linked transactions created from a particular ACCPAY invoice
|
|
9838
9838
|
# @option opts [String] :contact_id Filter by the ContactID. Get all the linked transactions that have been assigned to a particular customer.
|
|
9839
|
-
# @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
|
|
9840
9840
|
# @option opts [String] :target_transaction_id Filter by the TargetTransactionID. Get all the linked transactions allocated to a particular ACCREC invoice
|
|
9841
9841
|
# @return [Array<(LinkedTransactions, Integer, Hash)>] LinkedTransactions data, response status code and response headers
|
|
9842
9842
|
def get_linked_transactions_with_http_info(xero_tenant_id, opts = {})
|
|
@@ -9900,7 +9900,7 @@ module XeroRuby
|
|
|
9900
9900
|
return data, status_code, headers
|
|
9901
9901
|
end
|
|
9902
9902
|
|
|
9903
|
-
#
|
|
9903
|
+
# Retrieves a specific manual journal
|
|
9904
9904
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9905
9905
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
9906
9906
|
# @param [Hash] opts the optional parameters
|
|
@@ -9910,7 +9910,7 @@ module XeroRuby
|
|
|
9910
9910
|
data
|
|
9911
9911
|
end
|
|
9912
9912
|
|
|
9913
|
-
#
|
|
9913
|
+
# Retrieves a specific manual journal
|
|
9914
9914
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9915
9915
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
9916
9916
|
# @param [Hash] opts the optional parameters
|
|
@@ -9974,10 +9974,10 @@ module XeroRuby
|
|
|
9974
9974
|
return data, status_code, headers
|
|
9975
9975
|
end
|
|
9976
9976
|
|
|
9977
|
-
#
|
|
9977
|
+
# Retrieves a specific attachment from a specific manual journal by file name
|
|
9978
9978
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9979
9979
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
9980
|
-
# @param file_name [String]
|
|
9980
|
+
# @param file_name [String] Name of the attachment
|
|
9981
9981
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
9982
9982
|
# @param [Hash] opts the optional parameters
|
|
9983
9983
|
# @return [File]
|
|
@@ -9986,10 +9986,10 @@ module XeroRuby
|
|
|
9986
9986
|
data
|
|
9987
9987
|
end
|
|
9988
9988
|
|
|
9989
|
-
#
|
|
9989
|
+
# Retrieves a specific attachment from a specific manual journal by file name
|
|
9990
9990
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
9991
9991
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
9992
|
-
# @param file_name [String]
|
|
9992
|
+
# @param file_name [String] Name of the attachment
|
|
9993
9993
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
9994
9994
|
# @param [Hash] opts the optional parameters
|
|
9995
9995
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
@@ -10061,10 +10061,10 @@ module XeroRuby
|
|
|
10061
10061
|
return data, status_code, headers
|
|
10062
10062
|
end
|
|
10063
10063
|
|
|
10064
|
-
# Allows you to retrieve
|
|
10064
|
+
# Allows you to retrieve a specific attachment from a specific manual journal using a unique attachment Id
|
|
10065
10065
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10066
10066
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
10067
|
-
# @param attachment_id [String] Unique identifier for
|
|
10067
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
|
10068
10068
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
10069
10069
|
# @param [Hash] opts the optional parameters
|
|
10070
10070
|
# @return [File]
|
|
@@ -10073,10 +10073,10 @@ module XeroRuby
|
|
|
10073
10073
|
data
|
|
10074
10074
|
end
|
|
10075
10075
|
|
|
10076
|
-
# Allows you to retrieve
|
|
10076
|
+
# Allows you to retrieve a specific attachment from a specific manual journal using a unique attachment Id
|
|
10077
10077
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10078
10078
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
10079
|
-
# @param attachment_id [String] Unique identifier for
|
|
10079
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
|
10080
10080
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
10081
10081
|
# @param [Hash] opts the optional parameters
|
|
10082
10082
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
@@ -10148,7 +10148,7 @@ module XeroRuby
|
|
|
10148
10148
|
return data, status_code, headers
|
|
10149
10149
|
end
|
|
10150
10150
|
|
|
10151
|
-
#
|
|
10151
|
+
# Retrieves attachment for a specific manual journal
|
|
10152
10152
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10153
10153
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
10154
10154
|
# @param [Hash] opts the optional parameters
|
|
@@ -10158,7 +10158,7 @@ module XeroRuby
|
|
|
10158
10158
|
data
|
|
10159
10159
|
end
|
|
10160
10160
|
|
|
10161
|
-
#
|
|
10161
|
+
# Retrieves attachment for a specific manual journal
|
|
10162
10162
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10163
10163
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
10164
10164
|
# @param [Hash] opts the optional parameters
|
|
@@ -10222,7 +10222,7 @@ module XeroRuby
|
|
|
10222
10222
|
return data, status_code, headers
|
|
10223
10223
|
end
|
|
10224
10224
|
|
|
10225
|
-
#
|
|
10225
|
+
# Retrieves manual journals
|
|
10226
10226
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10227
10227
|
# @param [Hash] opts the optional parameters
|
|
10228
10228
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -10235,7 +10235,7 @@ module XeroRuby
|
|
|
10235
10235
|
data
|
|
10236
10236
|
end
|
|
10237
10237
|
|
|
10238
|
-
#
|
|
10238
|
+
# Retrieves manual journals
|
|
10239
10239
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10240
10240
|
# @param [Hash] opts the optional parameters
|
|
10241
10241
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -10302,9 +10302,9 @@ module XeroRuby
|
|
|
10302
10302
|
return data, status_code, headers
|
|
10303
10303
|
end
|
|
10304
10304
|
|
|
10305
|
-
#
|
|
10305
|
+
# Retrieves history for a specific manual journal
|
|
10306
10306
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10307
|
-
# @param manual_journal_id [String]
|
|
10307
|
+
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
10308
10308
|
# @param [Hash] opts the optional parameters
|
|
10309
10309
|
# @return [HistoryRecords]
|
|
10310
10310
|
def get_manual_journals_history(xero_tenant_id, manual_journal_id, opts = {})
|
|
@@ -10312,9 +10312,9 @@ module XeroRuby
|
|
|
10312
10312
|
data
|
|
10313
10313
|
end
|
|
10314
10314
|
|
|
10315
|
-
#
|
|
10315
|
+
# Retrieves history for a specific manual journal
|
|
10316
10316
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10317
|
-
# @param manual_journal_id [String]
|
|
10317
|
+
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
10318
10318
|
# @param [Hash] opts the optional parameters
|
|
10319
10319
|
# @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
|
|
10320
10320
|
def get_manual_journals_history_with_http_info(xero_tenant_id, manual_journal_id, opts = {})
|
|
@@ -10376,7 +10376,7 @@ module XeroRuby
|
|
|
10376
10376
|
return data, status_code, headers
|
|
10377
10377
|
end
|
|
10378
10378
|
|
|
10379
|
-
#
|
|
10379
|
+
# Retrieves a URL to an online invoice
|
|
10380
10380
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10381
10381
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
10382
10382
|
# @param [Hash] opts the optional parameters
|
|
@@ -10386,7 +10386,7 @@ module XeroRuby
|
|
|
10386
10386
|
data
|
|
10387
10387
|
end
|
|
10388
10388
|
|
|
10389
|
-
#
|
|
10389
|
+
# Retrieves a URL to an online invoice
|
|
10390
10390
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10391
10391
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
10392
10392
|
# @param [Hash] opts the optional parameters
|
|
@@ -10450,7 +10450,7 @@ module XeroRuby
|
|
|
10450
10450
|
return data, status_code, headers
|
|
10451
10451
|
end
|
|
10452
10452
|
|
|
10453
|
-
#
|
|
10453
|
+
# Retrieves a list of the key actions your app has permission to perform in the connected Xero organisation.
|
|
10454
10454
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10455
10455
|
# @param [Hash] opts the optional parameters
|
|
10456
10456
|
# @return [Actions]
|
|
@@ -10459,7 +10459,7 @@ module XeroRuby
|
|
|
10459
10459
|
data
|
|
10460
10460
|
end
|
|
10461
10461
|
|
|
10462
|
-
#
|
|
10462
|
+
# Retrieves a list of the key actions your app has permission to perform in the connected Xero organisation.
|
|
10463
10463
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10464
10464
|
# @param [Hash] opts the optional parameters
|
|
10465
10465
|
# @return [Array<(Actions, Integer, Hash)>] Actions data, response status code and response headers
|
|
@@ -10518,21 +10518,21 @@ module XeroRuby
|
|
|
10518
10518
|
return data, status_code, headers
|
|
10519
10519
|
end
|
|
10520
10520
|
|
|
10521
|
-
#
|
|
10521
|
+
# Retrieves the CIS settings for the Xero organistaion.
|
|
10522
10522
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10523
10523
|
# @param organisation_id [String] The unique Xero identifier for an organisation
|
|
10524
10524
|
# @param [Hash] opts the optional parameters
|
|
10525
|
-
# @return [
|
|
10525
|
+
# @return [CISOrgSettings]
|
|
10526
10526
|
def get_organisation_cis_settings(xero_tenant_id, organisation_id, opts = {})
|
|
10527
10527
|
data, _status_code, _headers = get_organisation_cis_settings_with_http_info(xero_tenant_id, organisation_id, opts)
|
|
10528
10528
|
data
|
|
10529
10529
|
end
|
|
10530
10530
|
|
|
10531
|
-
#
|
|
10531
|
+
# Retrieves the CIS settings for the Xero organistaion.
|
|
10532
10532
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10533
10533
|
# @param organisation_id [String] The unique Xero identifier for an organisation
|
|
10534
10534
|
# @param [Hash] opts the optional parameters
|
|
10535
|
-
# @return [Array<(
|
|
10535
|
+
# @return [Array<(CISOrgSettings, Integer, Hash)>] CISOrgSettings data, response status code and response headers
|
|
10536
10536
|
def get_organisation_cis_settings_with_http_info(xero_tenant_id, organisation_id, opts = {})
|
|
10537
10537
|
if @api_client.config.debugging
|
|
10538
10538
|
@api_client.config.logger.debug 'Calling API: AccountingApi.get_organisation_cis_settings ...'
|
|
@@ -10571,7 +10571,7 @@ module XeroRuby
|
|
|
10571
10571
|
post_body = opts[:body]
|
|
10572
10572
|
|
|
10573
10573
|
# return_type
|
|
10574
|
-
return_type = opts[:return_type] || '
|
|
10574
|
+
return_type = opts[:return_type] || 'CISOrgSettings'
|
|
10575
10575
|
|
|
10576
10576
|
# auth_names
|
|
10577
10577
|
auth_names = opts[:auth_names] || ['OAuth2']
|
|
@@ -10592,7 +10592,7 @@ module XeroRuby
|
|
|
10592
10592
|
return data, status_code, headers
|
|
10593
10593
|
end
|
|
10594
10594
|
|
|
10595
|
-
#
|
|
10595
|
+
# Retrieves Xero organisation details
|
|
10596
10596
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10597
10597
|
# @param [Hash] opts the optional parameters
|
|
10598
10598
|
# @return [Organisations]
|
|
@@ -10601,7 +10601,7 @@ module XeroRuby
|
|
|
10601
10601
|
data
|
|
10602
10602
|
end
|
|
10603
10603
|
|
|
10604
|
-
#
|
|
10604
|
+
# Retrieves Xero organisation details
|
|
10605
10605
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10606
10606
|
# @param [Hash] opts the optional parameters
|
|
10607
10607
|
# @return [Array<(Organisations, Integer, Hash)>] Organisations data, response status code and response headers
|
|
@@ -10660,7 +10660,7 @@ module XeroRuby
|
|
|
10660
10660
|
return data, status_code, headers
|
|
10661
10661
|
end
|
|
10662
10662
|
|
|
10663
|
-
#
|
|
10663
|
+
# Retrieves a specific overpayment using a unique overpayment Id
|
|
10664
10664
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10665
10665
|
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
10666
10666
|
# @param [Hash] opts the optional parameters
|
|
@@ -10670,7 +10670,7 @@ module XeroRuby
|
|
|
10670
10670
|
data
|
|
10671
10671
|
end
|
|
10672
10672
|
|
|
10673
|
-
#
|
|
10673
|
+
# Retrieves a specific overpayment using a unique overpayment Id
|
|
10674
10674
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10675
10675
|
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
10676
10676
|
# @param [Hash] opts the optional parameters
|
|
@@ -10734,7 +10734,7 @@ module XeroRuby
|
|
|
10734
10734
|
return data, status_code, headers
|
|
10735
10735
|
end
|
|
10736
10736
|
|
|
10737
|
-
#
|
|
10737
|
+
# Retrieves history records of a specific overpayment
|
|
10738
10738
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10739
10739
|
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
10740
10740
|
# @param [Hash] opts the optional parameters
|
|
@@ -10744,7 +10744,7 @@ module XeroRuby
|
|
|
10744
10744
|
data
|
|
10745
10745
|
end
|
|
10746
10746
|
|
|
10747
|
-
#
|
|
10747
|
+
# Retrieves history records of a specific overpayment
|
|
10748
10748
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10749
10749
|
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
10750
10750
|
# @param [Hash] opts the optional parameters
|
|
@@ -10808,7 +10808,7 @@ module XeroRuby
|
|
|
10808
10808
|
return data, status_code, headers
|
|
10809
10809
|
end
|
|
10810
10810
|
|
|
10811
|
-
#
|
|
10811
|
+
# Retrieves overpayments
|
|
10812
10812
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10813
10813
|
# @param [Hash] opts the optional parameters
|
|
10814
10814
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -10822,7 +10822,7 @@ module XeroRuby
|
|
|
10822
10822
|
data
|
|
10823
10823
|
end
|
|
10824
10824
|
|
|
10825
|
-
#
|
|
10825
|
+
# Retrieves overpayments
|
|
10826
10826
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10827
10827
|
# @param [Hash] opts the optional parameters
|
|
10828
10828
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -10891,7 +10891,7 @@ module XeroRuby
|
|
|
10891
10891
|
return data, status_code, headers
|
|
10892
10892
|
end
|
|
10893
10893
|
|
|
10894
|
-
#
|
|
10894
|
+
# Retrieves a specific payment for invoices and credit notes using a unique payment Id
|
|
10895
10895
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10896
10896
|
# @param payment_id [String] Unique identifier for a Payment
|
|
10897
10897
|
# @param [Hash] opts the optional parameters
|
|
@@ -10901,7 +10901,7 @@ module XeroRuby
|
|
|
10901
10901
|
data
|
|
10902
10902
|
end
|
|
10903
10903
|
|
|
10904
|
-
#
|
|
10904
|
+
# Retrieves a specific payment for invoices and credit notes using a unique payment Id
|
|
10905
10905
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10906
10906
|
# @param payment_id [String] Unique identifier for a Payment
|
|
10907
10907
|
# @param [Hash] opts the optional parameters
|
|
@@ -10965,7 +10965,7 @@ module XeroRuby
|
|
|
10965
10965
|
return data, status_code, headers
|
|
10966
10966
|
end
|
|
10967
10967
|
|
|
10968
|
-
#
|
|
10968
|
+
# Retrieves history records of a specific payment
|
|
10969
10969
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10970
10970
|
# @param payment_id [String] Unique identifier for a Payment
|
|
10971
10971
|
# @param [Hash] opts the optional parameters
|
|
@@ -10975,7 +10975,7 @@ module XeroRuby
|
|
|
10975
10975
|
data
|
|
10976
10976
|
end
|
|
10977
10977
|
|
|
10978
|
-
#
|
|
10978
|
+
# Retrieves history records of a specific payment
|
|
10979
10979
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10980
10980
|
# @param payment_id [String] Unique identifier for a Payment
|
|
10981
10981
|
# @param [Hash] opts the optional parameters
|
|
@@ -11039,7 +11039,7 @@ module XeroRuby
|
|
|
11039
11039
|
return data, status_code, headers
|
|
11040
11040
|
end
|
|
11041
11041
|
|
|
11042
|
-
#
|
|
11042
|
+
# Retrieves payment services
|
|
11043
11043
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11044
11044
|
# @param [Hash] opts the optional parameters
|
|
11045
11045
|
# @return [PaymentServices]
|
|
@@ -11048,7 +11048,7 @@ module XeroRuby
|
|
|
11048
11048
|
data
|
|
11049
11049
|
end
|
|
11050
11050
|
|
|
11051
|
-
#
|
|
11051
|
+
# Retrieves payment services
|
|
11052
11052
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11053
11053
|
# @param [Hash] opts the optional parameters
|
|
11054
11054
|
# @return [Array<(PaymentServices, Integer, Hash)>] PaymentServices data, response status code and response headers
|
|
@@ -11107,7 +11107,7 @@ module XeroRuby
|
|
|
11107
11107
|
return data, status_code, headers
|
|
11108
11108
|
end
|
|
11109
11109
|
|
|
11110
|
-
#
|
|
11110
|
+
# Retrieves payments for invoices and credit notes
|
|
11111
11111
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11112
11112
|
# @param [Hash] opts the optional parameters
|
|
11113
11113
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -11120,7 +11120,7 @@ module XeroRuby
|
|
|
11120
11120
|
data
|
|
11121
11121
|
end
|
|
11122
11122
|
|
|
11123
|
-
#
|
|
11123
|
+
# Retrieves payments for invoices and credit notes
|
|
11124
11124
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11125
11125
|
# @param [Hash] opts the optional parameters
|
|
11126
11126
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -11261,7 +11261,7 @@ module XeroRuby
|
|
|
11261
11261
|
return data, status_code, headers
|
|
11262
11262
|
end
|
|
11263
11263
|
|
|
11264
|
-
#
|
|
11264
|
+
# Retrieves history record for a specific prepayment
|
|
11265
11265
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11266
11266
|
# @param prepayment_id [String] Unique identifier for a PrePayment
|
|
11267
11267
|
# @param [Hash] opts the optional parameters
|
|
@@ -11271,7 +11271,7 @@ module XeroRuby
|
|
|
11271
11271
|
data
|
|
11272
11272
|
end
|
|
11273
11273
|
|
|
11274
|
-
#
|
|
11274
|
+
# Retrieves history record for a specific prepayment
|
|
11275
11275
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11276
11276
|
# @param prepayment_id [String] Unique identifier for a PrePayment
|
|
11277
11277
|
# @param [Hash] opts the optional parameters
|
|
@@ -11335,7 +11335,7 @@ module XeroRuby
|
|
|
11335
11335
|
return data, status_code, headers
|
|
11336
11336
|
end
|
|
11337
11337
|
|
|
11338
|
-
#
|
|
11338
|
+
# Retrieves prepayments
|
|
11339
11339
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11340
11340
|
# @param [Hash] opts the optional parameters
|
|
11341
11341
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -11349,7 +11349,7 @@ module XeroRuby
|
|
|
11349
11349
|
data
|
|
11350
11350
|
end
|
|
11351
11351
|
|
|
11352
|
-
#
|
|
11352
|
+
# Retrieves prepayments
|
|
11353
11353
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11354
11354
|
# @param [Hash] opts the optional parameters
|
|
11355
11355
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -11418,9 +11418,9 @@ module XeroRuby
|
|
|
11418
11418
|
return data, status_code, headers
|
|
11419
11419
|
end
|
|
11420
11420
|
|
|
11421
|
-
#
|
|
11421
|
+
# Retrieves a specific purchase order using a unique purchase order Id
|
|
11422
11422
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11423
|
-
# @param purchase_order_id [String] Unique identifier for
|
|
11423
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
11424
11424
|
# @param [Hash] opts the optional parameters
|
|
11425
11425
|
# @return [PurchaseOrders]
|
|
11426
11426
|
def get_purchase_order(xero_tenant_id, purchase_order_id, opts = {})
|
|
@@ -11428,9 +11428,9 @@ module XeroRuby
|
|
|
11428
11428
|
data
|
|
11429
11429
|
end
|
|
11430
11430
|
|
|
11431
|
-
#
|
|
11431
|
+
# Retrieves a specific purchase order using a unique purchase order Id
|
|
11432
11432
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11433
|
-
# @param purchase_order_id [String] Unique identifier for
|
|
11433
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
11434
11434
|
# @param [Hash] opts the optional parameters
|
|
11435
11435
|
# @return [Array<(PurchaseOrders, Integer, Hash)>] PurchaseOrders data, response status code and response headers
|
|
11436
11436
|
def get_purchase_order_with_http_info(xero_tenant_id, purchase_order_id, opts = {})
|
|
@@ -11492,7 +11492,7 @@ module XeroRuby
|
|
|
11492
11492
|
return data, status_code, headers
|
|
11493
11493
|
end
|
|
11494
11494
|
|
|
11495
|
-
#
|
|
11495
|
+
# Retrieves specific purchase order as PDF files using a unique purchase order Id
|
|
11496
11496
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11497
11497
|
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
11498
11498
|
# @param [Hash] opts the optional parameters
|
|
@@ -11502,7 +11502,7 @@ module XeroRuby
|
|
|
11502
11502
|
data
|
|
11503
11503
|
end
|
|
11504
11504
|
|
|
11505
|
-
#
|
|
11505
|
+
# Retrieves specific purchase order as PDF files using a unique purchase order Id
|
|
11506
11506
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11507
11507
|
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
11508
11508
|
# @param [Hash] opts the optional parameters
|
|
@@ -11566,9 +11566,9 @@ module XeroRuby
|
|
|
11566
11566
|
return data, status_code, headers
|
|
11567
11567
|
end
|
|
11568
11568
|
|
|
11569
|
-
#
|
|
11569
|
+
# Retrieves a specific attachment for a specific purchase order by filename
|
|
11570
11570
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11571
|
-
# @param purchase_order_id [String] Unique identifier for Purchase Order
|
|
11571
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
11572
11572
|
# @param file_name [String] Name of the attachment
|
|
11573
11573
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
11574
11574
|
# @param [Hash] opts the optional parameters
|
|
@@ -11578,9 +11578,9 @@ module XeroRuby
|
|
|
11578
11578
|
data
|
|
11579
11579
|
end
|
|
11580
11580
|
|
|
11581
|
-
#
|
|
11581
|
+
# Retrieves a specific attachment for a specific purchase order by filename
|
|
11582
11582
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11583
|
-
# @param purchase_order_id [String] Unique identifier for Purchase Order
|
|
11583
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
11584
11584
|
# @param file_name [String] Name of the attachment
|
|
11585
11585
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
11586
11586
|
# @param [Hash] opts the optional parameters
|
|
@@ -11653,9 +11653,9 @@ module XeroRuby
|
|
|
11653
11653
|
return data, status_code, headers
|
|
11654
11654
|
end
|
|
11655
11655
|
|
|
11656
|
-
#
|
|
11656
|
+
# Retrieves specific attachment for a specific purchase order using a unique attachment Id
|
|
11657
11657
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11658
|
-
# @param purchase_order_id [String] Unique identifier for Purchase Order
|
|
11658
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
11659
11659
|
# @param attachment_id [String] Unique identifier for Attachment object
|
|
11660
11660
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
11661
11661
|
# @param [Hash] opts the optional parameters
|
|
@@ -11665,9 +11665,9 @@ module XeroRuby
|
|
|
11665
11665
|
data
|
|
11666
11666
|
end
|
|
11667
11667
|
|
|
11668
|
-
#
|
|
11668
|
+
# Retrieves specific attachment for a specific purchase order using a unique attachment Id
|
|
11669
11669
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11670
|
-
# @param purchase_order_id [String] Unique identifier for Purchase Order
|
|
11670
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
11671
11671
|
# @param attachment_id [String] Unique identifier for Attachment object
|
|
11672
11672
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
11673
11673
|
# @param [Hash] opts the optional parameters
|
|
@@ -11740,9 +11740,9 @@ module XeroRuby
|
|
|
11740
11740
|
return data, status_code, headers
|
|
11741
11741
|
end
|
|
11742
11742
|
|
|
11743
|
-
#
|
|
11743
|
+
# Retrieves attachments for a specific purchase order
|
|
11744
11744
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11745
|
-
# @param purchase_order_id [String] Unique identifier for Purchase
|
|
11745
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
11746
11746
|
# @param [Hash] opts the optional parameters
|
|
11747
11747
|
# @return [Attachments]
|
|
11748
11748
|
def get_purchase_order_attachments(xero_tenant_id, purchase_order_id, opts = {})
|
|
@@ -11750,9 +11750,9 @@ module XeroRuby
|
|
|
11750
11750
|
data
|
|
11751
11751
|
end
|
|
11752
11752
|
|
|
11753
|
-
#
|
|
11753
|
+
# Retrieves attachments for a specific purchase order
|
|
11754
11754
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11755
|
-
# @param purchase_order_id [String] Unique identifier for Purchase
|
|
11755
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
11756
11756
|
# @param [Hash] opts the optional parameters
|
|
11757
11757
|
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
11758
11758
|
def get_purchase_order_attachments_with_http_info(xero_tenant_id, purchase_order_id, opts = {})
|
|
@@ -11814,7 +11814,7 @@ module XeroRuby
|
|
|
11814
11814
|
return data, status_code, headers
|
|
11815
11815
|
end
|
|
11816
11816
|
|
|
11817
|
-
#
|
|
11817
|
+
# Retrieves a specific purchase order using purchase order number
|
|
11818
11818
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11819
11819
|
# @param purchase_order_number [String] Unique identifier for a PurchaseOrder
|
|
11820
11820
|
# @param [Hash] opts the optional parameters
|
|
@@ -11824,7 +11824,7 @@ module XeroRuby
|
|
|
11824
11824
|
data
|
|
11825
11825
|
end
|
|
11826
11826
|
|
|
11827
|
-
#
|
|
11827
|
+
# Retrieves a specific purchase order using purchase order number
|
|
11828
11828
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11829
11829
|
# @param purchase_order_number [String] Unique identifier for a PurchaseOrder
|
|
11830
11830
|
# @param [Hash] opts the optional parameters
|
|
@@ -11888,9 +11888,9 @@ module XeroRuby
|
|
|
11888
11888
|
return data, status_code, headers
|
|
11889
11889
|
end
|
|
11890
11890
|
|
|
11891
|
-
#
|
|
11891
|
+
# Retrieves history for a specific purchase order
|
|
11892
11892
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11893
|
-
# @param purchase_order_id [String] Unique identifier for
|
|
11893
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
11894
11894
|
# @param [Hash] opts the optional parameters
|
|
11895
11895
|
# @return [HistoryRecords]
|
|
11896
11896
|
def get_purchase_order_history(xero_tenant_id, purchase_order_id, opts = {})
|
|
@@ -11898,9 +11898,9 @@ module XeroRuby
|
|
|
11898
11898
|
data
|
|
11899
11899
|
end
|
|
11900
11900
|
|
|
11901
|
-
#
|
|
11901
|
+
# Retrieves history for a specific purchase order
|
|
11902
11902
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11903
|
-
# @param purchase_order_id [String] Unique identifier for
|
|
11903
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
11904
11904
|
# @param [Hash] opts the optional parameters
|
|
11905
11905
|
# @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
|
|
11906
11906
|
def get_purchase_order_history_with_http_info(xero_tenant_id, purchase_order_id, opts = {})
|
|
@@ -11962,7 +11962,7 @@ module XeroRuby
|
|
|
11962
11962
|
return data, status_code, headers
|
|
11963
11963
|
end
|
|
11964
11964
|
|
|
11965
|
-
#
|
|
11965
|
+
# Retrieves purchase orders
|
|
11966
11966
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11967
11967
|
# @param [Hash] opts the optional parameters
|
|
11968
11968
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -11977,7 +11977,7 @@ module XeroRuby
|
|
|
11977
11977
|
data
|
|
11978
11978
|
end
|
|
11979
11979
|
|
|
11980
|
-
#
|
|
11980
|
+
# Retrieves purchase orders
|
|
11981
11981
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11982
11982
|
# @param [Hash] opts the optional parameters
|
|
11983
11983
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -12052,7 +12052,7 @@ module XeroRuby
|
|
|
12052
12052
|
return data, status_code, headers
|
|
12053
12053
|
end
|
|
12054
12054
|
|
|
12055
|
-
#
|
|
12055
|
+
# Retrieves a specific quote using a unique quote Id
|
|
12056
12056
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12057
12057
|
# @param quote_id [String] Unique identifier for an Quote
|
|
12058
12058
|
# @param [Hash] opts the optional parameters
|
|
@@ -12062,7 +12062,7 @@ module XeroRuby
|
|
|
12062
12062
|
data
|
|
12063
12063
|
end
|
|
12064
12064
|
|
|
12065
|
-
#
|
|
12065
|
+
# Retrieves a specific quote using a unique quote Id
|
|
12066
12066
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12067
12067
|
# @param quote_id [String] Unique identifier for an Quote
|
|
12068
12068
|
# @param [Hash] opts the optional parameters
|
|
@@ -12126,7 +12126,7 @@ module XeroRuby
|
|
|
12126
12126
|
return data, status_code, headers
|
|
12127
12127
|
end
|
|
12128
12128
|
|
|
12129
|
-
#
|
|
12129
|
+
# Retrieves a specific quote as a PDF file using a unique quote Id
|
|
12130
12130
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12131
12131
|
# @param quote_id [String] Unique identifier for an Quote
|
|
12132
12132
|
# @param [Hash] opts the optional parameters
|
|
@@ -12136,7 +12136,7 @@ module XeroRuby
|
|
|
12136
12136
|
data
|
|
12137
12137
|
end
|
|
12138
12138
|
|
|
12139
|
-
#
|
|
12139
|
+
# Retrieves a specific quote as a PDF file using a unique quote Id
|
|
12140
12140
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12141
12141
|
# @param quote_id [String] Unique identifier for an Quote
|
|
12142
12142
|
# @param [Hash] opts the optional parameters
|
|
@@ -12200,9 +12200,9 @@ module XeroRuby
|
|
|
12200
12200
|
return data, status_code, headers
|
|
12201
12201
|
end
|
|
12202
12202
|
|
|
12203
|
-
#
|
|
12203
|
+
# Retrieves a specific attachment from a specific quote by filename
|
|
12204
12204
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12205
|
-
# @param quote_id [String] Unique identifier for Quote
|
|
12205
|
+
# @param quote_id [String] Unique identifier for an Quote
|
|
12206
12206
|
# @param file_name [String] Name of the attachment
|
|
12207
12207
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
12208
12208
|
# @param [Hash] opts the optional parameters
|
|
@@ -12212,9 +12212,9 @@ module XeroRuby
|
|
|
12212
12212
|
data
|
|
12213
12213
|
end
|
|
12214
12214
|
|
|
12215
|
-
#
|
|
12215
|
+
# Retrieves a specific attachment from a specific quote by filename
|
|
12216
12216
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12217
|
-
# @param quote_id [String] Unique identifier for Quote
|
|
12217
|
+
# @param quote_id [String] Unique identifier for an Quote
|
|
12218
12218
|
# @param file_name [String] Name of the attachment
|
|
12219
12219
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
12220
12220
|
# @param [Hash] opts the optional parameters
|
|
@@ -12287,9 +12287,9 @@ module XeroRuby
|
|
|
12287
12287
|
return data, status_code, headers
|
|
12288
12288
|
end
|
|
12289
12289
|
|
|
12290
|
-
#
|
|
12290
|
+
# Retrieves a specific attachment from a specific quote using a unique attachment Id
|
|
12291
12291
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12292
|
-
# @param quote_id [String] Unique identifier for Quote
|
|
12292
|
+
# @param quote_id [String] Unique identifier for an Quote
|
|
12293
12293
|
# @param attachment_id [String] Unique identifier for Attachment object
|
|
12294
12294
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
12295
12295
|
# @param [Hash] opts the optional parameters
|
|
@@ -12299,9 +12299,9 @@ module XeroRuby
|
|
|
12299
12299
|
data
|
|
12300
12300
|
end
|
|
12301
12301
|
|
|
12302
|
-
#
|
|
12302
|
+
# Retrieves a specific attachment from a specific quote using a unique attachment Id
|
|
12303
12303
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12304
|
-
# @param quote_id [String] Unique identifier for Quote
|
|
12304
|
+
# @param quote_id [String] Unique identifier for an Quote
|
|
12305
12305
|
# @param attachment_id [String] Unique identifier for Attachment object
|
|
12306
12306
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
12307
12307
|
# @param [Hash] opts the optional parameters
|
|
@@ -12374,9 +12374,9 @@ module XeroRuby
|
|
|
12374
12374
|
return data, status_code, headers
|
|
12375
12375
|
end
|
|
12376
12376
|
|
|
12377
|
-
#
|
|
12377
|
+
# Retrieves attachments for a specific quote
|
|
12378
12378
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12379
|
-
# @param quote_id [String] Unique identifier for Quote
|
|
12379
|
+
# @param quote_id [String] Unique identifier for an Quote
|
|
12380
12380
|
# @param [Hash] opts the optional parameters
|
|
12381
12381
|
# @return [Attachments]
|
|
12382
12382
|
def get_quote_attachments(xero_tenant_id, quote_id, opts = {})
|
|
@@ -12384,9 +12384,9 @@ module XeroRuby
|
|
|
12384
12384
|
data
|
|
12385
12385
|
end
|
|
12386
12386
|
|
|
12387
|
-
#
|
|
12387
|
+
# Retrieves attachments for a specific quote
|
|
12388
12388
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12389
|
-
# @param quote_id [String] Unique identifier for Quote
|
|
12389
|
+
# @param quote_id [String] Unique identifier for an Quote
|
|
12390
12390
|
# @param [Hash] opts the optional parameters
|
|
12391
12391
|
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
12392
12392
|
def get_quote_attachments_with_http_info(xero_tenant_id, quote_id, opts = {})
|
|
@@ -12448,7 +12448,7 @@ module XeroRuby
|
|
|
12448
12448
|
return data, status_code, headers
|
|
12449
12449
|
end
|
|
12450
12450
|
|
|
12451
|
-
#
|
|
12451
|
+
# Retrieves history records of a specific quote
|
|
12452
12452
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12453
12453
|
# @param quote_id [String] Unique identifier for an Quote
|
|
12454
12454
|
# @param [Hash] opts the optional parameters
|
|
@@ -12458,7 +12458,7 @@ module XeroRuby
|
|
|
12458
12458
|
data
|
|
12459
12459
|
end
|
|
12460
12460
|
|
|
12461
|
-
#
|
|
12461
|
+
# Retrieves history records of a specific quote
|
|
12462
12462
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12463
12463
|
# @param quote_id [String] Unique identifier for an Quote
|
|
12464
12464
|
# @param [Hash] opts the optional parameters
|
|
@@ -12522,7 +12522,7 @@ module XeroRuby
|
|
|
12522
12522
|
return data, status_code, headers
|
|
12523
12523
|
end
|
|
12524
12524
|
|
|
12525
|
-
#
|
|
12525
|
+
# Retrieves sales quotes
|
|
12526
12526
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12527
12527
|
# @param [Hash] opts the optional parameters
|
|
12528
12528
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -12541,7 +12541,7 @@ module XeroRuby
|
|
|
12541
12541
|
data
|
|
12542
12542
|
end
|
|
12543
12543
|
|
|
12544
|
-
#
|
|
12544
|
+
# Retrieves sales quotes
|
|
12545
12545
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12546
12546
|
# @param [Hash] opts the optional parameters
|
|
12547
12547
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -12620,7 +12620,7 @@ module XeroRuby
|
|
|
12620
12620
|
return data, status_code, headers
|
|
12621
12621
|
end
|
|
12622
12622
|
|
|
12623
|
-
#
|
|
12623
|
+
# Retrieves a specific draft expense claim receipt by using a unique receipt Id
|
|
12624
12624
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12625
12625
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12626
12626
|
# @param [Hash] opts the optional parameters
|
|
@@ -12631,7 +12631,7 @@ module XeroRuby
|
|
|
12631
12631
|
data
|
|
12632
12632
|
end
|
|
12633
12633
|
|
|
12634
|
-
#
|
|
12634
|
+
# Retrieves a specific draft expense claim receipt by using a unique receipt Id
|
|
12635
12635
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12636
12636
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12637
12637
|
# @param [Hash] opts the optional parameters
|
|
@@ -12697,10 +12697,10 @@ module XeroRuby
|
|
|
12697
12697
|
return data, status_code, headers
|
|
12698
12698
|
end
|
|
12699
12699
|
|
|
12700
|
-
#
|
|
12700
|
+
# Retrieves a specific attachment from a specific expense claim receipts by file name
|
|
12701
12701
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12702
12702
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12703
|
-
# @param file_name [String]
|
|
12703
|
+
# @param file_name [String] Name of the attachment
|
|
12704
12704
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
12705
12705
|
# @param [Hash] opts the optional parameters
|
|
12706
12706
|
# @return [File]
|
|
@@ -12709,10 +12709,10 @@ module XeroRuby
|
|
|
12709
12709
|
data
|
|
12710
12710
|
end
|
|
12711
12711
|
|
|
12712
|
-
#
|
|
12712
|
+
# Retrieves a specific attachment from a specific expense claim receipts by file name
|
|
12713
12713
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12714
12714
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12715
|
-
# @param file_name [String]
|
|
12715
|
+
# @param file_name [String] Name of the attachment
|
|
12716
12716
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
12717
12717
|
# @param [Hash] opts the optional parameters
|
|
12718
12718
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
@@ -12784,10 +12784,10 @@ module XeroRuby
|
|
|
12784
12784
|
return data, status_code, headers
|
|
12785
12785
|
end
|
|
12786
12786
|
|
|
12787
|
-
#
|
|
12787
|
+
# Retrieves a specific attachments from a specific expense claim receipts by using a unique attachment Id
|
|
12788
12788
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12789
12789
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12790
|
-
# @param attachment_id [String] Unique identifier for
|
|
12790
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
|
12791
12791
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
12792
12792
|
# @param [Hash] opts the optional parameters
|
|
12793
12793
|
# @return [File]
|
|
@@ -12796,10 +12796,10 @@ module XeroRuby
|
|
|
12796
12796
|
data
|
|
12797
12797
|
end
|
|
12798
12798
|
|
|
12799
|
-
#
|
|
12799
|
+
# Retrieves a specific attachments from a specific expense claim receipts by using a unique attachment Id
|
|
12800
12800
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12801
12801
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12802
|
-
# @param attachment_id [String] Unique identifier for
|
|
12802
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
|
12803
12803
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
12804
12804
|
# @param [Hash] opts the optional parameters
|
|
12805
12805
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
@@ -12871,7 +12871,7 @@ module XeroRuby
|
|
|
12871
12871
|
return data, status_code, headers
|
|
12872
12872
|
end
|
|
12873
12873
|
|
|
12874
|
-
#
|
|
12874
|
+
# Retrieves attachments for a specific expense claim receipt
|
|
12875
12875
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12876
12876
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12877
12877
|
# @param [Hash] opts the optional parameters
|
|
@@ -12881,7 +12881,7 @@ module XeroRuby
|
|
|
12881
12881
|
data
|
|
12882
12882
|
end
|
|
12883
12883
|
|
|
12884
|
-
#
|
|
12884
|
+
# Retrieves attachments for a specific expense claim receipt
|
|
12885
12885
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12886
12886
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12887
12887
|
# @param [Hash] opts the optional parameters
|
|
@@ -12945,7 +12945,7 @@ module XeroRuby
|
|
|
12945
12945
|
return data, status_code, headers
|
|
12946
12946
|
end
|
|
12947
12947
|
|
|
12948
|
-
#
|
|
12948
|
+
# Retrieves a history record for a specific receipt
|
|
12949
12949
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12950
12950
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12951
12951
|
# @param [Hash] opts the optional parameters
|
|
@@ -12955,7 +12955,7 @@ module XeroRuby
|
|
|
12955
12955
|
data
|
|
12956
12956
|
end
|
|
12957
12957
|
|
|
12958
|
-
#
|
|
12958
|
+
# Retrieves a history record for a specific receipt
|
|
12959
12959
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
12960
12960
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
12961
12961
|
# @param [Hash] opts the optional parameters
|
|
@@ -13019,7 +13019,7 @@ module XeroRuby
|
|
|
13019
13019
|
return data, status_code, headers
|
|
13020
13020
|
end
|
|
13021
13021
|
|
|
13022
|
-
#
|
|
13022
|
+
# Retrieves draft expense claim receipts for any user
|
|
13023
13023
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13024
13024
|
# @param [Hash] opts the optional parameters
|
|
13025
13025
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -13032,7 +13032,7 @@ module XeroRuby
|
|
|
13032
13032
|
data
|
|
13033
13033
|
end
|
|
13034
13034
|
|
|
13035
|
-
#
|
|
13035
|
+
# Retrieves draft expense claim receipts for any user
|
|
13036
13036
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13037
13037
|
# @param [Hash] opts the optional parameters
|
|
13038
13038
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -13099,7 +13099,7 @@ module XeroRuby
|
|
|
13099
13099
|
return data, status_code, headers
|
|
13100
13100
|
end
|
|
13101
13101
|
|
|
13102
|
-
#
|
|
13102
|
+
# Retrieves a specific repeating invoice by using a unique repeating invoice Id
|
|
13103
13103
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13104
13104
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13105
13105
|
# @param [Hash] opts the optional parameters
|
|
@@ -13109,7 +13109,7 @@ module XeroRuby
|
|
|
13109
13109
|
data
|
|
13110
13110
|
end
|
|
13111
13111
|
|
|
13112
|
-
#
|
|
13112
|
+
# Retrieves a specific repeating invoice by using a unique repeating invoice Id
|
|
13113
13113
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13114
13114
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13115
13115
|
# @param [Hash] opts the optional parameters
|
|
@@ -13173,10 +13173,10 @@ module XeroRuby
|
|
|
13173
13173
|
return data, status_code, headers
|
|
13174
13174
|
end
|
|
13175
13175
|
|
|
13176
|
-
#
|
|
13176
|
+
# Retrieves a specific attachment from a specific repeating invoices by file name
|
|
13177
13177
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13178
13178
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13179
|
-
# @param file_name [String]
|
|
13179
|
+
# @param file_name [String] Name of the attachment
|
|
13180
13180
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
13181
13181
|
# @param [Hash] opts the optional parameters
|
|
13182
13182
|
# @return [File]
|
|
@@ -13185,10 +13185,10 @@ module XeroRuby
|
|
|
13185
13185
|
data
|
|
13186
13186
|
end
|
|
13187
13187
|
|
|
13188
|
-
#
|
|
13188
|
+
# Retrieves a specific attachment from a specific repeating invoices by file name
|
|
13189
13189
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13190
13190
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13191
|
-
# @param file_name [String]
|
|
13191
|
+
# @param file_name [String] Name of the attachment
|
|
13192
13192
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
13193
13193
|
# @param [Hash] opts the optional parameters
|
|
13194
13194
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
@@ -13260,10 +13260,10 @@ module XeroRuby
|
|
|
13260
13260
|
return data, status_code, headers
|
|
13261
13261
|
end
|
|
13262
13262
|
|
|
13263
|
-
#
|
|
13263
|
+
# Retrieves a specific attachment from a specific repeating invoice
|
|
13264
13264
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13265
13265
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13266
|
-
# @param attachment_id [String] Unique identifier for
|
|
13266
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
|
13267
13267
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
13268
13268
|
# @param [Hash] opts the optional parameters
|
|
13269
13269
|
# @return [File]
|
|
@@ -13272,10 +13272,10 @@ module XeroRuby
|
|
|
13272
13272
|
data
|
|
13273
13273
|
end
|
|
13274
13274
|
|
|
13275
|
-
#
|
|
13275
|
+
# Retrieves a specific attachment from a specific repeating invoice
|
|
13276
13276
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13277
13277
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13278
|
-
# @param attachment_id [String] Unique identifier for
|
|
13278
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
|
13279
13279
|
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
13280
13280
|
# @param [Hash] opts the optional parameters
|
|
13281
13281
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
@@ -13347,7 +13347,7 @@ module XeroRuby
|
|
|
13347
13347
|
return data, status_code, headers
|
|
13348
13348
|
end
|
|
13349
13349
|
|
|
13350
|
-
#
|
|
13350
|
+
# Retrieves attachments from a specific repeating invoice
|
|
13351
13351
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13352
13352
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13353
13353
|
# @param [Hash] opts the optional parameters
|
|
@@ -13357,7 +13357,7 @@ module XeroRuby
|
|
|
13357
13357
|
data
|
|
13358
13358
|
end
|
|
13359
13359
|
|
|
13360
|
-
#
|
|
13360
|
+
# Retrieves attachments from a specific repeating invoice
|
|
13361
13361
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13362
13362
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13363
13363
|
# @param [Hash] opts the optional parameters
|
|
@@ -13421,7 +13421,7 @@ module XeroRuby
|
|
|
13421
13421
|
return data, status_code, headers
|
|
13422
13422
|
end
|
|
13423
13423
|
|
|
13424
|
-
#
|
|
13424
|
+
# Retrieves history record for a specific repeating invoice
|
|
13425
13425
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13426
13426
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13427
13427
|
# @param [Hash] opts the optional parameters
|
|
@@ -13431,7 +13431,7 @@ module XeroRuby
|
|
|
13431
13431
|
data
|
|
13432
13432
|
end
|
|
13433
13433
|
|
|
13434
|
-
#
|
|
13434
|
+
# Retrieves history record for a specific repeating invoice
|
|
13435
13435
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13436
13436
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
13437
13437
|
# @param [Hash] opts the optional parameters
|
|
@@ -13495,7 +13495,7 @@ module XeroRuby
|
|
|
13495
13495
|
return data, status_code, headers
|
|
13496
13496
|
end
|
|
13497
13497
|
|
|
13498
|
-
#
|
|
13498
|
+
# Retrieves repeating invoices
|
|
13499
13499
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13500
13500
|
# @param [Hash] opts the optional parameters
|
|
13501
13501
|
# @option opts [String] :where Filter by an any element
|
|
@@ -13506,7 +13506,7 @@ module XeroRuby
|
|
|
13506
13506
|
data
|
|
13507
13507
|
end
|
|
13508
13508
|
|
|
13509
|
-
#
|
|
13509
|
+
# Retrieves repeating invoices
|
|
13510
13510
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13511
13511
|
# @param [Hash] opts the optional parameters
|
|
13512
13512
|
# @option opts [String] :where Filter by an any element
|
|
@@ -13569,26 +13569,26 @@ module XeroRuby
|
|
|
13569
13569
|
return data, status_code, headers
|
|
13570
13570
|
end
|
|
13571
13571
|
|
|
13572
|
-
#
|
|
13572
|
+
# Retrieves report for aged payables by contact
|
|
13573
13573
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13574
13574
|
# @param contact_id [String] Unique identifier for a Contact
|
|
13575
13575
|
# @param [Hash] opts the optional parameters
|
|
13576
13576
|
# @option opts [Date] :date The date of the Aged Payables By Contact report
|
|
13577
|
-
# @option opts [Date] :from_date
|
|
13578
|
-
# @option opts [Date] :to_date
|
|
13577
|
+
# @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
|
|
13578
|
+
# @option opts [Date] :to_date filter by the to date of the report e.g. 2021-02-28
|
|
13579
13579
|
# @return [ReportWithRows]
|
|
13580
13580
|
def get_report_aged_payables_by_contact(xero_tenant_id, contact_id, opts = {})
|
|
13581
13581
|
data, _status_code, _headers = get_report_aged_payables_by_contact_with_http_info(xero_tenant_id, contact_id, opts)
|
|
13582
13582
|
data
|
|
13583
13583
|
end
|
|
13584
13584
|
|
|
13585
|
-
#
|
|
13585
|
+
# Retrieves report for aged payables by contact
|
|
13586
13586
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13587
13587
|
# @param contact_id [String] Unique identifier for a Contact
|
|
13588
13588
|
# @param [Hash] opts the optional parameters
|
|
13589
13589
|
# @option opts [Date] :date The date of the Aged Payables By Contact report
|
|
13590
|
-
# @option opts [Date] :from_date
|
|
13591
|
-
# @option opts [Date] :to_date
|
|
13590
|
+
# @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
|
|
13591
|
+
# @option opts [Date] :to_date filter by the to date of the report e.g. 2021-02-28
|
|
13592
13592
|
# @return [Array<(ReportWithRows, Integer, Hash)>] ReportWithRows data, response status code and response headers
|
|
13593
13593
|
def get_report_aged_payables_by_contact_with_http_info(xero_tenant_id, contact_id, opts = {})
|
|
13594
13594
|
if @api_client.config.debugging
|
|
@@ -13653,26 +13653,26 @@ module XeroRuby
|
|
|
13653
13653
|
return data, status_code, headers
|
|
13654
13654
|
end
|
|
13655
13655
|
|
|
13656
|
-
#
|
|
13656
|
+
# Retrieves report for aged receivables by contact
|
|
13657
13657
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13658
13658
|
# @param contact_id [String] Unique identifier for a Contact
|
|
13659
13659
|
# @param [Hash] opts the optional parameters
|
|
13660
13660
|
# @option opts [Date] :date The date of the Aged Receivables By Contact report
|
|
13661
|
-
# @option opts [Date] :from_date
|
|
13662
|
-
# @option opts [Date] :to_date
|
|
13661
|
+
# @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
|
|
13662
|
+
# @option opts [Date] :to_date filter by the to date of the report e.g. 2021-02-28
|
|
13663
13663
|
# @return [ReportWithRows]
|
|
13664
13664
|
def get_report_aged_receivables_by_contact(xero_tenant_id, contact_id, opts = {})
|
|
13665
13665
|
data, _status_code, _headers = get_report_aged_receivables_by_contact_with_http_info(xero_tenant_id, contact_id, opts)
|
|
13666
13666
|
data
|
|
13667
13667
|
end
|
|
13668
13668
|
|
|
13669
|
-
#
|
|
13669
|
+
# Retrieves report for aged receivables by contact
|
|
13670
13670
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13671
13671
|
# @param contact_id [String] Unique identifier for a Contact
|
|
13672
13672
|
# @param [Hash] opts the optional parameters
|
|
13673
13673
|
# @option opts [Date] :date The date of the Aged Receivables By Contact report
|
|
13674
|
-
# @option opts [Date] :from_date
|
|
13675
|
-
# @option opts [Date] :to_date
|
|
13674
|
+
# @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
|
|
13675
|
+
# @option opts [Date] :to_date filter by the to date of the report e.g. 2021-02-28
|
|
13676
13676
|
# @return [Array<(ReportWithRows, Integer, Hash)>] ReportWithRows data, response status code and response headers
|
|
13677
13677
|
def get_report_aged_receivables_by_contact_with_http_info(xero_tenant_id, contact_id, opts = {})
|
|
13678
13678
|
if @api_client.config.debugging
|
|
@@ -13737,7 +13737,7 @@ module XeroRuby
|
|
|
13737
13737
|
return data, status_code, headers
|
|
13738
13738
|
end
|
|
13739
13739
|
|
|
13740
|
-
#
|
|
13740
|
+
# Retrieves a specific report for BAS using a unique report Id (only valid for AU orgs)
|
|
13741
13741
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13742
13742
|
# @param report_id [String] Unique identifier for a Report
|
|
13743
13743
|
# @param [Hash] opts the optional parameters
|
|
@@ -13747,7 +13747,7 @@ module XeroRuby
|
|
|
13747
13747
|
data
|
|
13748
13748
|
end
|
|
13749
13749
|
|
|
13750
|
-
#
|
|
13750
|
+
# Retrieves a specific report for BAS using a unique report Id (only valid for AU orgs)
|
|
13751
13751
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13752
13752
|
# @param report_id [String] Unique identifier for a Report
|
|
13753
13753
|
# @param [Hash] opts the optional parameters
|
|
@@ -13811,7 +13811,7 @@ module XeroRuby
|
|
|
13811
13811
|
return data, status_code, headers
|
|
13812
13812
|
end
|
|
13813
13813
|
|
|
13814
|
-
#
|
|
13814
|
+
# Retrieves report for BAS (only valid for AU orgs)
|
|
13815
13815
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13816
13816
|
# @param [Hash] opts the optional parameters
|
|
13817
13817
|
# @return [ReportWithRows]
|
|
@@ -13820,7 +13820,7 @@ module XeroRuby
|
|
|
13820
13820
|
data
|
|
13821
13821
|
end
|
|
13822
13822
|
|
|
13823
|
-
#
|
|
13823
|
+
# Retrieves report for BAS (only valid for AU orgs)
|
|
13824
13824
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13825
13825
|
# @param [Hash] opts the optional parameters
|
|
13826
13826
|
# @return [Array<(ReportWithRows, Integer, Hash)>] ReportWithRows data, response status code and response headers
|
|
@@ -13879,7 +13879,7 @@ module XeroRuby
|
|
|
13879
13879
|
return data, status_code, headers
|
|
13880
13880
|
end
|
|
13881
13881
|
|
|
13882
|
-
#
|
|
13882
|
+
# Retrieves report for balancesheet
|
|
13883
13883
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13884
13884
|
# @param [Hash] opts the optional parameters
|
|
13885
13885
|
# @option opts [Date] :date The date of the Balance Sheet report
|
|
@@ -13895,7 +13895,7 @@ module XeroRuby
|
|
|
13895
13895
|
data
|
|
13896
13896
|
end
|
|
13897
13897
|
|
|
13898
|
-
#
|
|
13898
|
+
# Retrieves report for balancesheet
|
|
13899
13899
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13900
13900
|
# @param [Hash] opts the optional parameters
|
|
13901
13901
|
# @option opts [Date] :date The date of the Balance Sheet report
|
|
@@ -13972,22 +13972,22 @@ module XeroRuby
|
|
|
13972
13972
|
return data, status_code, headers
|
|
13973
13973
|
end
|
|
13974
13974
|
|
|
13975
|
-
#
|
|
13975
|
+
# Retrieves report for bank summary
|
|
13976
13976
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13977
13977
|
# @param [Hash] opts the optional parameters
|
|
13978
|
-
# @option opts [Date] :from_date
|
|
13979
|
-
# @option opts [Date] :to_date
|
|
13978
|
+
# @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
|
|
13979
|
+
# @option opts [Date] :to_date filter by the to date of the report e.g. 2021-02-28
|
|
13980
13980
|
# @return [ReportWithRows]
|
|
13981
13981
|
def get_report_bank_summary(xero_tenant_id, opts = {})
|
|
13982
13982
|
data, _status_code, _headers = get_report_bank_summary_with_http_info(xero_tenant_id, opts)
|
|
13983
13983
|
data
|
|
13984
13984
|
end
|
|
13985
13985
|
|
|
13986
|
-
#
|
|
13986
|
+
# Retrieves report for bank summary
|
|
13987
13987
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
13988
13988
|
# @param [Hash] opts the optional parameters
|
|
13989
|
-
# @option opts [Date] :from_date
|
|
13990
|
-
# @option opts [Date] :to_date
|
|
13989
|
+
# @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
|
|
13990
|
+
# @option opts [Date] :to_date filter by the to date of the report e.g. 2021-02-28
|
|
13991
13991
|
# @return [Array<(ReportWithRows, Integer, Hash)>] ReportWithRows data, response status code and response headers
|
|
13992
13992
|
def get_report_bank_summary_with_http_info(xero_tenant_id, opts = {})
|
|
13993
13993
|
if @api_client.config.debugging
|
|
@@ -14046,7 +14046,7 @@ module XeroRuby
|
|
|
14046
14046
|
return data, status_code, headers
|
|
14047
14047
|
end
|
|
14048
14048
|
|
|
14049
|
-
#
|
|
14049
|
+
# Retrieves report for budget summary
|
|
14050
14050
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14051
14051
|
# @param [Hash] opts the optional parameters
|
|
14052
14052
|
# @option opts [Date] :date The date for the Bank Summary report e.g. 2018-03-31
|
|
@@ -14058,7 +14058,7 @@ module XeroRuby
|
|
|
14058
14058
|
data
|
|
14059
14059
|
end
|
|
14060
14060
|
|
|
14061
|
-
#
|
|
14061
|
+
# Retrieves report for budget summary
|
|
14062
14062
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14063
14063
|
# @param [Hash] opts the optional parameters
|
|
14064
14064
|
# @option opts [Date] :date The date for the Bank Summary report e.g. 2018-03-31
|
|
@@ -14123,7 +14123,7 @@ module XeroRuby
|
|
|
14123
14123
|
return data, status_code, headers
|
|
14124
14124
|
end
|
|
14125
14125
|
|
|
14126
|
-
#
|
|
14126
|
+
# Retrieves report for executive summary
|
|
14127
14127
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14128
14128
|
# @param [Hash] opts the optional parameters
|
|
14129
14129
|
# @option opts [Date] :date The date for the Bank Summary report e.g. 2018-03-31
|
|
@@ -14133,7 +14133,7 @@ module XeroRuby
|
|
|
14133
14133
|
data
|
|
14134
14134
|
end
|
|
14135
14135
|
|
|
14136
|
-
#
|
|
14136
|
+
# Retrieves report for executive summary
|
|
14137
14137
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14138
14138
|
# @param [Hash] opts the optional parameters
|
|
14139
14139
|
# @option opts [Date] :date The date for the Bank Summary report e.g. 2018-03-31
|
|
@@ -14194,11 +14194,11 @@ module XeroRuby
|
|
|
14194
14194
|
return data, status_code, headers
|
|
14195
14195
|
end
|
|
14196
14196
|
|
|
14197
|
-
#
|
|
14197
|
+
# Retrieves report for profit and loss
|
|
14198
14198
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14199
14199
|
# @param [Hash] opts the optional parameters
|
|
14200
|
-
# @option opts [Date] :from_date
|
|
14201
|
-
# @option opts [Date] :to_date
|
|
14200
|
+
# @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
|
|
14201
|
+
# @option opts [Date] :to_date filter by the to date of the report e.g. 2021-02-28
|
|
14202
14202
|
# @option opts [Integer] :periods The number of periods to compare (integer between 1 and 12)
|
|
14203
14203
|
# @option opts [String] :timeframe The period size to compare to (MONTH, QUARTER, YEAR)
|
|
14204
14204
|
# @option opts [String] :tracking_category_id The trackingCategory 1 for the ProfitAndLoss report
|
|
@@ -14213,11 +14213,11 @@ module XeroRuby
|
|
|
14213
14213
|
data
|
|
14214
14214
|
end
|
|
14215
14215
|
|
|
14216
|
-
#
|
|
14216
|
+
# Retrieves report for profit and loss
|
|
14217
14217
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14218
14218
|
# @param [Hash] opts the optional parameters
|
|
14219
|
-
# @option opts [Date] :from_date
|
|
14220
|
-
# @option opts [Date] :to_date
|
|
14219
|
+
# @option opts [Date] :from_date filter by the from date of the report e.g. 2021-02-01
|
|
14220
|
+
# @option opts [Date] :to_date filter by the to date of the report e.g. 2021-02-28
|
|
14221
14221
|
# @option opts [Integer] :periods The number of periods to compare (integer between 1 and 12)
|
|
14222
14222
|
# @option opts [String] :timeframe The period size to compare to (MONTH, QUARTER, YEAR)
|
|
14223
14223
|
# @option opts [String] :tracking_category_id The trackingCategory 1 for the ProfitAndLoss report
|
|
@@ -14296,7 +14296,7 @@ module XeroRuby
|
|
|
14296
14296
|
return data, status_code, headers
|
|
14297
14297
|
end
|
|
14298
14298
|
|
|
14299
|
-
#
|
|
14299
|
+
# Retrieve reports for 1099
|
|
14300
14300
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14301
14301
|
# @param [Hash] opts the optional parameters
|
|
14302
14302
|
# @option opts [String] :report_year The year of the 1099 report
|
|
@@ -14306,7 +14306,7 @@ module XeroRuby
|
|
|
14306
14306
|
data
|
|
14307
14307
|
end
|
|
14308
14308
|
|
|
14309
|
-
#
|
|
14309
|
+
# Retrieve reports for 1099
|
|
14310
14310
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14311
14311
|
# @param [Hash] opts the optional parameters
|
|
14312
14312
|
# @option opts [String] :report_year The year of the 1099 report
|
|
@@ -14367,7 +14367,7 @@ module XeroRuby
|
|
|
14367
14367
|
return data, status_code, headers
|
|
14368
14368
|
end
|
|
14369
14369
|
|
|
14370
|
-
#
|
|
14370
|
+
# Retrieves report for trial balance
|
|
14371
14371
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14372
14372
|
# @param [Hash] opts the optional parameters
|
|
14373
14373
|
# @option opts [Date] :date The date for the Trial Balance report e.g. 2018-03-31
|
|
@@ -14378,7 +14378,7 @@ module XeroRuby
|
|
|
14378
14378
|
data
|
|
14379
14379
|
end
|
|
14380
14380
|
|
|
14381
|
-
#
|
|
14381
|
+
# Retrieves report for trial balance
|
|
14382
14382
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14383
14383
|
# @param [Hash] opts the optional parameters
|
|
14384
14384
|
# @option opts [Date] :date The date for the Trial Balance report e.g. 2018-03-31
|
|
@@ -14441,7 +14441,7 @@ module XeroRuby
|
|
|
14441
14441
|
return data, status_code, headers
|
|
14442
14442
|
end
|
|
14443
14443
|
|
|
14444
|
-
#
|
|
14444
|
+
# Retrieves tax rates
|
|
14445
14445
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14446
14446
|
# @param [Hash] opts the optional parameters
|
|
14447
14447
|
# @option opts [String] :where Filter by an any element
|
|
@@ -14453,7 +14453,7 @@ module XeroRuby
|
|
|
14453
14453
|
data
|
|
14454
14454
|
end
|
|
14455
14455
|
|
|
14456
|
-
#
|
|
14456
|
+
# Retrieves tax rates
|
|
14457
14457
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14458
14458
|
# @param [Hash] opts the optional parameters
|
|
14459
14459
|
# @option opts [String] :where Filter by an any element
|
|
@@ -14518,7 +14518,7 @@ module XeroRuby
|
|
|
14518
14518
|
return data, status_code, headers
|
|
14519
14519
|
end
|
|
14520
14520
|
|
|
14521
|
-
#
|
|
14521
|
+
# Retrieves tracking categories and options
|
|
14522
14522
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14523
14523
|
# @param [Hash] opts the optional parameters
|
|
14524
14524
|
# @option opts [String] :where Filter by an any element
|
|
@@ -14530,7 +14530,7 @@ module XeroRuby
|
|
|
14530
14530
|
data
|
|
14531
14531
|
end
|
|
14532
14532
|
|
|
14533
|
-
#
|
|
14533
|
+
# Retrieves tracking categories and options
|
|
14534
14534
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14535
14535
|
# @param [Hash] opts the optional parameters
|
|
14536
14536
|
# @option opts [String] :where Filter by an any element
|
|
@@ -14595,7 +14595,7 @@ module XeroRuby
|
|
|
14595
14595
|
return data, status_code, headers
|
|
14596
14596
|
end
|
|
14597
14597
|
|
|
14598
|
-
#
|
|
14598
|
+
# Retrieves specific tracking categories and options using a unique tracking category Id
|
|
14599
14599
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14600
14600
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
14601
14601
|
# @param [Hash] opts the optional parameters
|
|
@@ -14605,7 +14605,7 @@ module XeroRuby
|
|
|
14605
14605
|
data
|
|
14606
14606
|
end
|
|
14607
14607
|
|
|
14608
|
-
#
|
|
14608
|
+
# Retrieves specific tracking categories and options using a unique tracking category Id
|
|
14609
14609
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14610
14610
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
14611
14611
|
# @param [Hash] opts the optional parameters
|
|
@@ -14669,7 +14669,7 @@ module XeroRuby
|
|
|
14669
14669
|
return data, status_code, headers
|
|
14670
14670
|
end
|
|
14671
14671
|
|
|
14672
|
-
#
|
|
14672
|
+
# Retrieves a specific user
|
|
14673
14673
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14674
14674
|
# @param user_id [String] Unique identifier for a User
|
|
14675
14675
|
# @param [Hash] opts the optional parameters
|
|
@@ -14679,7 +14679,7 @@ module XeroRuby
|
|
|
14679
14679
|
data
|
|
14680
14680
|
end
|
|
14681
14681
|
|
|
14682
|
-
#
|
|
14682
|
+
# Retrieves a specific user
|
|
14683
14683
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14684
14684
|
# @param user_id [String] Unique identifier for a User
|
|
14685
14685
|
# @param [Hash] opts the optional parameters
|
|
@@ -14743,7 +14743,7 @@ module XeroRuby
|
|
|
14743
14743
|
return data, status_code, headers
|
|
14744
14744
|
end
|
|
14745
14745
|
|
|
14746
|
-
#
|
|
14746
|
+
# Retrieves users
|
|
14747
14747
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14748
14748
|
# @param [Hash] opts the optional parameters
|
|
14749
14749
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -14755,7 +14755,7 @@ module XeroRuby
|
|
|
14755
14755
|
data
|
|
14756
14756
|
end
|
|
14757
14757
|
|
|
14758
|
-
#
|
|
14758
|
+
# Retrieves users
|
|
14759
14759
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14760
14760
|
# @param [Hash] opts the optional parameters
|
|
14761
14761
|
# @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned
|
|
@@ -14820,7 +14820,7 @@ module XeroRuby
|
|
|
14820
14820
|
return data, status_code, headers
|
|
14821
14821
|
end
|
|
14822
14822
|
|
|
14823
|
-
#
|
|
14823
|
+
# Sets the chart of accounts, the conversion date and conversion balances
|
|
14824
14824
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14825
14825
|
# @param setup [Setup] Object including an accounts array, a conversion balances array and a conversion date object in body of request
|
|
14826
14826
|
# @param [Hash] opts the optional parameters
|
|
@@ -14830,7 +14830,7 @@ module XeroRuby
|
|
|
14830
14830
|
data
|
|
14831
14831
|
end
|
|
14832
14832
|
|
|
14833
|
-
#
|
|
14833
|
+
# Sets the chart of accounts, the conversion date and conversion balances
|
|
14834
14834
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14835
14835
|
# @param setup [Setup] Object including an accounts array, a conversion balances array and a conversion date object in body of request
|
|
14836
14836
|
# @param [Hash] opts the optional parameters
|
|
@@ -14896,9 +14896,9 @@ module XeroRuby
|
|
|
14896
14896
|
return data, status_code, headers
|
|
14897
14897
|
end
|
|
14898
14898
|
|
|
14899
|
-
#
|
|
14899
|
+
# Updates a chart of accounts
|
|
14900
14900
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14901
|
-
# @param account_id [String] Unique identifier for
|
|
14901
|
+
# @param account_id [String] Unique identifier for Account object
|
|
14902
14902
|
# @param accounts [Accounts] Request of type Accounts array with one Account
|
|
14903
14903
|
# @param [Hash] opts the optional parameters
|
|
14904
14904
|
# @return [Accounts]
|
|
@@ -14907,9 +14907,9 @@ module XeroRuby
|
|
|
14907
14907
|
data
|
|
14908
14908
|
end
|
|
14909
14909
|
|
|
14910
|
-
#
|
|
14910
|
+
# Updates a chart of accounts
|
|
14911
14911
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14912
|
-
# @param account_id [String] Unique identifier for
|
|
14912
|
+
# @param account_id [String] Unique identifier for Account object
|
|
14913
14913
|
# @param accounts [Accounts] Request of type Accounts array with one Account
|
|
14914
14914
|
# @param [Hash] opts the optional parameters
|
|
14915
14915
|
# @return [Array<(Accounts, Integer, Hash)>] Accounts data, response status code and response headers
|
|
@@ -14978,7 +14978,7 @@ module XeroRuby
|
|
|
14978
14978
|
return data, status_code, headers
|
|
14979
14979
|
end
|
|
14980
14980
|
|
|
14981
|
-
#
|
|
14981
|
+
# Updates attachment on a specific account by filename
|
|
14982
14982
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14983
14983
|
# @param account_id [String] Unique identifier for Account object
|
|
14984
14984
|
# @param file_name [String] Name of the attachment
|
|
@@ -14990,7 +14990,7 @@ module XeroRuby
|
|
|
14990
14990
|
data
|
|
14991
14991
|
end
|
|
14992
14992
|
|
|
14993
|
-
#
|
|
14993
|
+
# Updates attachment on a specific account by filename
|
|
14994
14994
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
14995
14995
|
# @param account_id [String] Unique identifier for Account object
|
|
14996
14996
|
# @param file_name [String] Name of the attachment
|
|
@@ -15066,7 +15066,7 @@ module XeroRuby
|
|
|
15066
15066
|
return data, status_code, headers
|
|
15067
15067
|
end
|
|
15068
15068
|
|
|
15069
|
-
#
|
|
15069
|
+
# Updates a single spent or received money transaction
|
|
15070
15070
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15071
15071
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
15072
15072
|
# @param bank_transactions [BankTransactions]
|
|
@@ -15078,7 +15078,7 @@ module XeroRuby
|
|
|
15078
15078
|
data
|
|
15079
15079
|
end
|
|
15080
15080
|
|
|
15081
|
-
#
|
|
15081
|
+
# Updates a single spent or received money transaction
|
|
15082
15082
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15083
15083
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
15084
15084
|
# @param bank_transactions [BankTransactions]
|
|
@@ -15151,10 +15151,10 @@ module XeroRuby
|
|
|
15151
15151
|
return data, status_code, headers
|
|
15152
15152
|
end
|
|
15153
15153
|
|
|
15154
|
-
#
|
|
15154
|
+
# Updates a specific attachment from a specific bank transaction by filename
|
|
15155
15155
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15156
15156
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
15157
|
-
# @param file_name [String]
|
|
15157
|
+
# @param file_name [String] Name of the attachment
|
|
15158
15158
|
# @param body [String] Byte array of file in body of request
|
|
15159
15159
|
# @param [Hash] opts the optional parameters
|
|
15160
15160
|
# @return [Attachments]
|
|
@@ -15163,10 +15163,10 @@ module XeroRuby
|
|
|
15163
15163
|
data
|
|
15164
15164
|
end
|
|
15165
15165
|
|
|
15166
|
-
#
|
|
15166
|
+
# Updates a specific attachment from a specific bank transaction by filename
|
|
15167
15167
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15168
15168
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
|
15169
|
-
# @param file_name [String]
|
|
15169
|
+
# @param file_name [String] Name of the attachment
|
|
15170
15170
|
# @param body [String] Byte array of file in body of request
|
|
15171
15171
|
# @param [Hash] opts the optional parameters
|
|
15172
15172
|
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
@@ -15241,7 +15241,7 @@ module XeroRuby
|
|
|
15241
15241
|
|
|
15242
15242
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15243
15243
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
15244
|
-
# @param file_name [String]
|
|
15244
|
+
# @param file_name [String] Name of the attachment
|
|
15245
15245
|
# @param body [String] Byte array of file in body of request
|
|
15246
15246
|
# @param [Hash] opts the optional parameters
|
|
15247
15247
|
# @return [Attachments]
|
|
@@ -15252,7 +15252,7 @@ module XeroRuby
|
|
|
15252
15252
|
|
|
15253
15253
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15254
15254
|
# @param bank_transfer_id [String] Xero generated unique identifier for a bank transfer
|
|
15255
|
-
# @param file_name [String]
|
|
15255
|
+
# @param file_name [String] Name of the attachment
|
|
15256
15256
|
# @param body [String] Byte array of file in body of request
|
|
15257
15257
|
# @param [Hash] opts the optional parameters
|
|
15258
15258
|
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
@@ -15325,7 +15325,7 @@ module XeroRuby
|
|
|
15325
15325
|
return data, status_code, headers
|
|
15326
15326
|
end
|
|
15327
15327
|
|
|
15328
|
-
#
|
|
15328
|
+
# Updates a specific contact in a Xero organisation
|
|
15329
15329
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15330
15330
|
# @param contact_id [String] Unique identifier for a Contact
|
|
15331
15331
|
# @param contacts [Contacts] an array of Contacts containing single Contact object with properties to update
|
|
@@ -15336,7 +15336,7 @@ module XeroRuby
|
|
|
15336
15336
|
data
|
|
15337
15337
|
end
|
|
15338
15338
|
|
|
15339
|
-
#
|
|
15339
|
+
# Updates a specific contact in a Xero organisation
|
|
15340
15340
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15341
15341
|
# @param contact_id [String] Unique identifier for a Contact
|
|
15342
15342
|
# @param contacts [Contacts] an array of Contacts containing single Contact object with properties to update
|
|
@@ -15409,7 +15409,7 @@ module XeroRuby
|
|
|
15409
15409
|
|
|
15410
15410
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15411
15411
|
# @param contact_id [String] Unique identifier for a Contact
|
|
15412
|
-
# @param file_name [String] Name
|
|
15412
|
+
# @param file_name [String] Name of the attachment
|
|
15413
15413
|
# @param body [String] Byte array of file in body of request
|
|
15414
15414
|
# @param [Hash] opts the optional parameters
|
|
15415
15415
|
# @return [Attachments]
|
|
@@ -15420,7 +15420,7 @@ module XeroRuby
|
|
|
15420
15420
|
|
|
15421
15421
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15422
15422
|
# @param contact_id [String] Unique identifier for a Contact
|
|
15423
|
-
# @param file_name [String] Name
|
|
15423
|
+
# @param file_name [String] Name of the attachment
|
|
15424
15424
|
# @param body [String] Byte array of file in body of request
|
|
15425
15425
|
# @param [Hash] opts the optional parameters
|
|
15426
15426
|
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
@@ -15493,7 +15493,7 @@ module XeroRuby
|
|
|
15493
15493
|
return data, status_code, headers
|
|
15494
15494
|
end
|
|
15495
15495
|
|
|
15496
|
-
#
|
|
15496
|
+
# Updates a specific contact group
|
|
15497
15497
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15498
15498
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
15499
15499
|
# @param contact_groups [ContactGroups] an array of Contact groups with Name of specific group to update
|
|
@@ -15504,7 +15504,7 @@ module XeroRuby
|
|
|
15504
15504
|
data
|
|
15505
15505
|
end
|
|
15506
15506
|
|
|
15507
|
-
#
|
|
15507
|
+
# Updates a specific contact group
|
|
15508
15508
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15509
15509
|
# @param contact_group_id [String] Unique identifier for a Contact Group
|
|
15510
15510
|
# @param contact_groups [ContactGroups] an array of Contact groups with Name of specific group to update
|
|
@@ -15575,7 +15575,7 @@ module XeroRuby
|
|
|
15575
15575
|
return data, status_code, headers
|
|
15576
15576
|
end
|
|
15577
15577
|
|
|
15578
|
-
#
|
|
15578
|
+
# Updates a specific credit note
|
|
15579
15579
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15580
15580
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
15581
15581
|
# @param credit_notes [CreditNotes] an array of Credit Notes containing credit note details to update
|
|
@@ -15587,7 +15587,7 @@ module XeroRuby
|
|
|
15587
15587
|
data
|
|
15588
15588
|
end
|
|
15589
15589
|
|
|
15590
|
-
#
|
|
15590
|
+
# Updates a specific credit note
|
|
15591
15591
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15592
15592
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
15593
15593
|
# @param credit_notes [CreditNotes] an array of Credit Notes containing credit note details to update
|
|
@@ -15660,10 +15660,10 @@ module XeroRuby
|
|
|
15660
15660
|
return data, status_code, headers
|
|
15661
15661
|
end
|
|
15662
15662
|
|
|
15663
|
-
#
|
|
15663
|
+
# Updates attachments on a specific credit note by file name
|
|
15664
15664
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15665
15665
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
15666
|
-
# @param file_name [String] Name of the
|
|
15666
|
+
# @param file_name [String] Name of the attachment
|
|
15667
15667
|
# @param body [String] Byte array of file in body of request
|
|
15668
15668
|
# @param [Hash] opts the optional parameters
|
|
15669
15669
|
# @return [Attachments]
|
|
@@ -15672,10 +15672,10 @@ module XeroRuby
|
|
|
15672
15672
|
data
|
|
15673
15673
|
end
|
|
15674
15674
|
|
|
15675
|
-
#
|
|
15675
|
+
# Updates attachments on a specific credit note by file name
|
|
15676
15676
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15677
15677
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
15678
|
-
# @param file_name [String] Name of the
|
|
15678
|
+
# @param file_name [String] Name of the attachment
|
|
15679
15679
|
# @param body [String] Byte array of file in body of request
|
|
15680
15680
|
# @param [Hash] opts the optional parameters
|
|
15681
15681
|
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
@@ -15748,7 +15748,7 @@ module XeroRuby
|
|
|
15748
15748
|
return data, status_code, headers
|
|
15749
15749
|
end
|
|
15750
15750
|
|
|
15751
|
-
#
|
|
15751
|
+
# Updates a specific expense claims
|
|
15752
15752
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15753
15753
|
# @param expense_claim_id [String] Unique identifier for a ExpenseClaim
|
|
15754
15754
|
# @param expense_claims [ExpenseClaims]
|
|
@@ -15759,7 +15759,7 @@ module XeroRuby
|
|
|
15759
15759
|
data
|
|
15760
15760
|
end
|
|
15761
15761
|
|
|
15762
|
-
#
|
|
15762
|
+
# Updates a specific expense claims
|
|
15763
15763
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15764
15764
|
# @param expense_claim_id [String] Unique identifier for a ExpenseClaim
|
|
15765
15765
|
# @param expense_claims [ExpenseClaims]
|
|
@@ -15830,7 +15830,7 @@ module XeroRuby
|
|
|
15830
15830
|
return data, status_code, headers
|
|
15831
15831
|
end
|
|
15832
15832
|
|
|
15833
|
-
#
|
|
15833
|
+
# Updates a specific sales invoices or purchase bills
|
|
15834
15834
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15835
15835
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
15836
15836
|
# @param invoices [Invoices]
|
|
@@ -15842,7 +15842,7 @@ module XeroRuby
|
|
|
15842
15842
|
data
|
|
15843
15843
|
end
|
|
15844
15844
|
|
|
15845
|
-
#
|
|
15845
|
+
# Updates a specific sales invoices or purchase bills
|
|
15846
15846
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15847
15847
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
15848
15848
|
# @param invoices [Invoices]
|
|
@@ -15915,10 +15915,10 @@ module XeroRuby
|
|
|
15915
15915
|
return data, status_code, headers
|
|
15916
15916
|
end
|
|
15917
15917
|
|
|
15918
|
-
#
|
|
15918
|
+
# Updates an attachment from a specific invoices or purchase bill by filename
|
|
15919
15919
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15920
15920
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
15921
|
-
# @param file_name [String] Name of the
|
|
15921
|
+
# @param file_name [String] Name of the attachment
|
|
15922
15922
|
# @param body [String] Byte array of file in body of request
|
|
15923
15923
|
# @param [Hash] opts the optional parameters
|
|
15924
15924
|
# @return [Attachments]
|
|
@@ -15927,10 +15927,10 @@ module XeroRuby
|
|
|
15927
15927
|
data
|
|
15928
15928
|
end
|
|
15929
15929
|
|
|
15930
|
-
#
|
|
15930
|
+
# Updates an attachment from a specific invoices or purchase bill by filename
|
|
15931
15931
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15932
15932
|
# @param invoice_id [String] Unique identifier for an Invoice
|
|
15933
|
-
# @param file_name [String] Name of the
|
|
15933
|
+
# @param file_name [String] Name of the attachment
|
|
15934
15934
|
# @param body [String] Byte array of file in body of request
|
|
15935
15935
|
# @param [Hash] opts the optional parameters
|
|
15936
15936
|
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
@@ -16003,7 +16003,7 @@ module XeroRuby
|
|
|
16003
16003
|
return data, status_code, headers
|
|
16004
16004
|
end
|
|
16005
16005
|
|
|
16006
|
-
#
|
|
16006
|
+
# Updates a specific item
|
|
16007
16007
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16008
16008
|
# @param item_id [String] Unique identifier for an Item
|
|
16009
16009
|
# @param items [Items]
|
|
@@ -16015,7 +16015,7 @@ module XeroRuby
|
|
|
16015
16015
|
data
|
|
16016
16016
|
end
|
|
16017
16017
|
|
|
16018
|
-
#
|
|
16018
|
+
# Updates a specific item
|
|
16019
16019
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16020
16020
|
# @param item_id [String] Unique identifier for an Item
|
|
16021
16021
|
# @param items [Items]
|
|
@@ -16088,7 +16088,7 @@ module XeroRuby
|
|
|
16088
16088
|
return data, status_code, headers
|
|
16089
16089
|
end
|
|
16090
16090
|
|
|
16091
|
-
#
|
|
16091
|
+
# Updates a specific linked transactions (billable expenses)
|
|
16092
16092
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16093
16093
|
# @param linked_transaction_id [String] Unique identifier for a LinkedTransaction
|
|
16094
16094
|
# @param linked_transactions [LinkedTransactions]
|
|
@@ -16099,7 +16099,7 @@ module XeroRuby
|
|
|
16099
16099
|
data
|
|
16100
16100
|
end
|
|
16101
16101
|
|
|
16102
|
-
#
|
|
16102
|
+
# Updates a specific linked transactions (billable expenses)
|
|
16103
16103
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16104
16104
|
# @param linked_transaction_id [String] Unique identifier for a LinkedTransaction
|
|
16105
16105
|
# @param linked_transactions [LinkedTransactions]
|
|
@@ -16170,7 +16170,7 @@ module XeroRuby
|
|
|
16170
16170
|
return data, status_code, headers
|
|
16171
16171
|
end
|
|
16172
16172
|
|
|
16173
|
-
#
|
|
16173
|
+
# Updates a specific manual journal
|
|
16174
16174
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16175
16175
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
16176
16176
|
# @param manual_journals [ManualJournals]
|
|
@@ -16181,7 +16181,7 @@ module XeroRuby
|
|
|
16181
16181
|
data
|
|
16182
16182
|
end
|
|
16183
16183
|
|
|
16184
|
-
#
|
|
16184
|
+
# Updates a specific manual journal
|
|
16185
16185
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16186
16186
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
16187
16187
|
# @param manual_journals [ManualJournals]
|
|
@@ -16252,10 +16252,10 @@ module XeroRuby
|
|
|
16252
16252
|
return data, status_code, headers
|
|
16253
16253
|
end
|
|
16254
16254
|
|
|
16255
|
-
#
|
|
16255
|
+
# Updates a specific attachment from a specific manual journal by file name
|
|
16256
16256
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16257
16257
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
16258
|
-
# @param file_name [String]
|
|
16258
|
+
# @param file_name [String] Name of the attachment
|
|
16259
16259
|
# @param body [String] Byte array of file in body of request
|
|
16260
16260
|
# @param [Hash] opts the optional parameters
|
|
16261
16261
|
# @return [Attachments]
|
|
@@ -16264,10 +16264,10 @@ module XeroRuby
|
|
|
16264
16264
|
data
|
|
16265
16265
|
end
|
|
16266
16266
|
|
|
16267
|
-
#
|
|
16267
|
+
# Updates a specific attachment from a specific manual journal by file name
|
|
16268
16268
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16269
16269
|
# @param manual_journal_id [String] Unique identifier for a ManualJournal
|
|
16270
|
-
# @param file_name [String]
|
|
16270
|
+
# @param file_name [String] Name of the attachment
|
|
16271
16271
|
# @param body [String] Byte array of file in body of request
|
|
16272
16272
|
# @param [Hash] opts the optional parameters
|
|
16273
16273
|
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
@@ -16340,7 +16340,7 @@ module XeroRuby
|
|
|
16340
16340
|
return data, status_code, headers
|
|
16341
16341
|
end
|
|
16342
16342
|
|
|
16343
|
-
#
|
|
16343
|
+
# Updates or creates one or more spent or received money transaction
|
|
16344
16344
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16345
16345
|
# @param bank_transactions [BankTransactions]
|
|
16346
16346
|
# @param [Hash] opts the optional parameters
|
|
@@ -16352,7 +16352,7 @@ module XeroRuby
|
|
|
16352
16352
|
data
|
|
16353
16353
|
end
|
|
16354
16354
|
|
|
16355
|
-
#
|
|
16355
|
+
# Updates or creates one or more spent or received money transaction
|
|
16356
16356
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16357
16357
|
# @param bank_transactions [BankTransactions]
|
|
16358
16358
|
# @param [Hash] opts the optional parameters
|
|
@@ -16422,7 +16422,7 @@ module XeroRuby
|
|
|
16422
16422
|
return data, status_code, headers
|
|
16423
16423
|
end
|
|
16424
16424
|
|
|
16425
|
-
#
|
|
16425
|
+
# Updates or creates one or more contacts in a Xero organisation
|
|
16426
16426
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16427
16427
|
# @param contacts [Contacts]
|
|
16428
16428
|
# @param [Hash] opts the optional parameters
|
|
@@ -16433,7 +16433,7 @@ module XeroRuby
|
|
|
16433
16433
|
data
|
|
16434
16434
|
end
|
|
16435
16435
|
|
|
16436
|
-
#
|
|
16436
|
+
# Updates or creates one or more contacts in a Xero organisation
|
|
16437
16437
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16438
16438
|
# @param contacts [Contacts]
|
|
16439
16439
|
# @param [Hash] opts the optional parameters
|
|
@@ -16501,7 +16501,7 @@ module XeroRuby
|
|
|
16501
16501
|
return data, status_code, headers
|
|
16502
16502
|
end
|
|
16503
16503
|
|
|
16504
|
-
#
|
|
16504
|
+
# Updates or creates one or more credit notes
|
|
16505
16505
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16506
16506
|
# @param credit_notes [CreditNotes] an array of Credit Notes with a single CreditNote object.
|
|
16507
16507
|
# @param [Hash] opts the optional parameters
|
|
@@ -16513,7 +16513,7 @@ module XeroRuby
|
|
|
16513
16513
|
data
|
|
16514
16514
|
end
|
|
16515
16515
|
|
|
16516
|
-
#
|
|
16516
|
+
# Updates or creates one or more credit notes
|
|
16517
16517
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16518
16518
|
# @param credit_notes [CreditNotes] an array of Credit Notes with a single CreditNote object.
|
|
16519
16519
|
# @param [Hash] opts the optional parameters
|
|
@@ -16583,7 +16583,7 @@ module XeroRuby
|
|
|
16583
16583
|
return data, status_code, headers
|
|
16584
16584
|
end
|
|
16585
16585
|
|
|
16586
|
-
#
|
|
16586
|
+
# Creates a single new employees used in Xero payrun
|
|
16587
16587
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16588
16588
|
# @param employees [Employees] Employees with array of Employee object in body of request
|
|
16589
16589
|
# @param [Hash] opts the optional parameters
|
|
@@ -16594,7 +16594,7 @@ module XeroRuby
|
|
|
16594
16594
|
data
|
|
16595
16595
|
end
|
|
16596
16596
|
|
|
16597
|
-
#
|
|
16597
|
+
# Creates a single new employees used in Xero payrun
|
|
16598
16598
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16599
16599
|
# @param employees [Employees] Employees with array of Employee object in body of request
|
|
16600
16600
|
# @param [Hash] opts the optional parameters
|
|
@@ -16662,7 +16662,7 @@ module XeroRuby
|
|
|
16662
16662
|
return data, status_code, headers
|
|
16663
16663
|
end
|
|
16664
16664
|
|
|
16665
|
-
#
|
|
16665
|
+
# Updates or creates one or more sales invoices or purchase bills
|
|
16666
16666
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16667
16667
|
# @param invoices [Invoices]
|
|
16668
16668
|
# @param [Hash] opts the optional parameters
|
|
@@ -16674,7 +16674,7 @@ module XeroRuby
|
|
|
16674
16674
|
data
|
|
16675
16675
|
end
|
|
16676
16676
|
|
|
16677
|
-
#
|
|
16677
|
+
# Updates or creates one or more sales invoices or purchase bills
|
|
16678
16678
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16679
16679
|
# @param invoices [Invoices]
|
|
16680
16680
|
# @param [Hash] opts the optional parameters
|
|
@@ -16744,7 +16744,7 @@ module XeroRuby
|
|
|
16744
16744
|
return data, status_code, headers
|
|
16745
16745
|
end
|
|
16746
16746
|
|
|
16747
|
-
#
|
|
16747
|
+
# Updates or creates one or more items
|
|
16748
16748
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16749
16749
|
# @param items [Items]
|
|
16750
16750
|
# @param [Hash] opts the optional parameters
|
|
@@ -16756,7 +16756,7 @@ module XeroRuby
|
|
|
16756
16756
|
data
|
|
16757
16757
|
end
|
|
16758
16758
|
|
|
16759
|
-
#
|
|
16759
|
+
# Updates or creates one or more items
|
|
16760
16760
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16761
16761
|
# @param items [Items]
|
|
16762
16762
|
# @param [Hash] opts the optional parameters
|
|
@@ -16826,7 +16826,7 @@ module XeroRuby
|
|
|
16826
16826
|
return data, status_code, headers
|
|
16827
16827
|
end
|
|
16828
16828
|
|
|
16829
|
-
#
|
|
16829
|
+
# Updates or creates a single manual journal
|
|
16830
16830
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16831
16831
|
# @param manual_journals [ManualJournals] ManualJournals array with ManualJournal object in body of request
|
|
16832
16832
|
# @param [Hash] opts the optional parameters
|
|
@@ -16837,7 +16837,7 @@ module XeroRuby
|
|
|
16837
16837
|
data
|
|
16838
16838
|
end
|
|
16839
16839
|
|
|
16840
|
-
#
|
|
16840
|
+
# Updates or creates a single manual journal
|
|
16841
16841
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16842
16842
|
# @param manual_journals [ManualJournals] ManualJournals array with ManualJournal object in body of request
|
|
16843
16843
|
# @param [Hash] opts the optional parameters
|
|
@@ -16905,7 +16905,7 @@ module XeroRuby
|
|
|
16905
16905
|
return data, status_code, headers
|
|
16906
16906
|
end
|
|
16907
16907
|
|
|
16908
|
-
#
|
|
16908
|
+
# Updates or creates one or more purchase orders
|
|
16909
16909
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16910
16910
|
# @param purchase_orders [PurchaseOrders]
|
|
16911
16911
|
# @param [Hash] opts the optional parameters
|
|
@@ -16916,7 +16916,7 @@ module XeroRuby
|
|
|
16916
16916
|
data
|
|
16917
16917
|
end
|
|
16918
16918
|
|
|
16919
|
-
#
|
|
16919
|
+
# Updates or creates one or more purchase orders
|
|
16920
16920
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16921
16921
|
# @param purchase_orders [PurchaseOrders]
|
|
16922
16922
|
# @param [Hash] opts the optional parameters
|
|
@@ -16984,7 +16984,7 @@ module XeroRuby
|
|
|
16984
16984
|
return data, status_code, headers
|
|
16985
16985
|
end
|
|
16986
16986
|
|
|
16987
|
-
#
|
|
16987
|
+
# Updates or creates one or more quotes
|
|
16988
16988
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16989
16989
|
# @param quotes [Quotes]
|
|
16990
16990
|
# @param [Hash] opts the optional parameters
|
|
@@ -16995,7 +16995,7 @@ module XeroRuby
|
|
|
16995
16995
|
data
|
|
16996
16996
|
end
|
|
16997
16997
|
|
|
16998
|
-
#
|
|
16998
|
+
# Updates or creates one or more quotes
|
|
16999
16999
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17000
17000
|
# @param quotes [Quotes]
|
|
17001
17001
|
# @param [Hash] opts the optional parameters
|
|
@@ -17063,9 +17063,9 @@ module XeroRuby
|
|
|
17063
17063
|
return data, status_code, headers
|
|
17064
17064
|
end
|
|
17065
17065
|
|
|
17066
|
-
#
|
|
17066
|
+
# Updates a specific purchase order
|
|
17067
17067
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17068
|
-
# @param purchase_order_id [String] Unique identifier for
|
|
17068
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
17069
17069
|
# @param purchase_orders [PurchaseOrders]
|
|
17070
17070
|
# @param [Hash] opts the optional parameters
|
|
17071
17071
|
# @return [PurchaseOrders]
|
|
@@ -17074,9 +17074,9 @@ module XeroRuby
|
|
|
17074
17074
|
data
|
|
17075
17075
|
end
|
|
17076
17076
|
|
|
17077
|
-
#
|
|
17077
|
+
# Updates a specific purchase order
|
|
17078
17078
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17079
|
-
# @param purchase_order_id [String] Unique identifier for
|
|
17079
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
17080
17080
|
# @param purchase_orders [PurchaseOrders]
|
|
17081
17081
|
# @param [Hash] opts the optional parameters
|
|
17082
17082
|
# @return [Array<(PurchaseOrders, Integer, Hash)>] PurchaseOrders data, response status code and response headers
|
|
@@ -17145,9 +17145,9 @@ module XeroRuby
|
|
|
17145
17145
|
return data, status_code, headers
|
|
17146
17146
|
end
|
|
17147
17147
|
|
|
17148
|
-
#
|
|
17148
|
+
# Updates a specific attachment for a specific purchase order by filename
|
|
17149
17149
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17150
|
-
# @param purchase_order_id [String] Unique identifier for Purchase Order
|
|
17150
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
17151
17151
|
# @param file_name [String] Name of the attachment
|
|
17152
17152
|
# @param body [String] Byte array of file in body of request
|
|
17153
17153
|
# @param [Hash] opts the optional parameters
|
|
@@ -17157,9 +17157,9 @@ module XeroRuby
|
|
|
17157
17157
|
data
|
|
17158
17158
|
end
|
|
17159
17159
|
|
|
17160
|
-
#
|
|
17160
|
+
# Updates a specific attachment for a specific purchase order by filename
|
|
17161
17161
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17162
|
-
# @param purchase_order_id [String] Unique identifier for Purchase Order
|
|
17162
|
+
# @param purchase_order_id [String] Unique identifier for an Purchase Order
|
|
17163
17163
|
# @param file_name [String] Name of the attachment
|
|
17164
17164
|
# @param body [String] Byte array of file in body of request
|
|
17165
17165
|
# @param [Hash] opts the optional parameters
|
|
@@ -17233,7 +17233,7 @@ module XeroRuby
|
|
|
17233
17233
|
return data, status_code, headers
|
|
17234
17234
|
end
|
|
17235
17235
|
|
|
17236
|
-
#
|
|
17236
|
+
# Updates a specific quote
|
|
17237
17237
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17238
17238
|
# @param quote_id [String] Unique identifier for an Quote
|
|
17239
17239
|
# @param quotes [Quotes]
|
|
@@ -17244,7 +17244,7 @@ module XeroRuby
|
|
|
17244
17244
|
data
|
|
17245
17245
|
end
|
|
17246
17246
|
|
|
17247
|
-
#
|
|
17247
|
+
# Updates a specific quote
|
|
17248
17248
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17249
17249
|
# @param quote_id [String] Unique identifier for an Quote
|
|
17250
17250
|
# @param quotes [Quotes]
|
|
@@ -17315,9 +17315,9 @@ module XeroRuby
|
|
|
17315
17315
|
return data, status_code, headers
|
|
17316
17316
|
end
|
|
17317
17317
|
|
|
17318
|
-
#
|
|
17318
|
+
# Updates a specific attachment from a specific quote by filename
|
|
17319
17319
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17320
|
-
# @param quote_id [String] Unique identifier for Quote
|
|
17320
|
+
# @param quote_id [String] Unique identifier for an Quote
|
|
17321
17321
|
# @param file_name [String] Name of the attachment
|
|
17322
17322
|
# @param body [String] Byte array of file in body of request
|
|
17323
17323
|
# @param [Hash] opts the optional parameters
|
|
@@ -17327,9 +17327,9 @@ module XeroRuby
|
|
|
17327
17327
|
data
|
|
17328
17328
|
end
|
|
17329
17329
|
|
|
17330
|
-
#
|
|
17330
|
+
# Updates a specific attachment from a specific quote by filename
|
|
17331
17331
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17332
|
-
# @param quote_id [String] Unique identifier for Quote
|
|
17332
|
+
# @param quote_id [String] Unique identifier for an Quote
|
|
17333
17333
|
# @param file_name [String] Name of the attachment
|
|
17334
17334
|
# @param body [String] Byte array of file in body of request
|
|
17335
17335
|
# @param [Hash] opts the optional parameters
|
|
@@ -17403,7 +17403,7 @@ module XeroRuby
|
|
|
17403
17403
|
return data, status_code, headers
|
|
17404
17404
|
end
|
|
17405
17405
|
|
|
17406
|
-
#
|
|
17406
|
+
# Updates a specific draft expense claim receipts
|
|
17407
17407
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17408
17408
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
17409
17409
|
# @param receipts [Receipts]
|
|
@@ -17415,7 +17415,7 @@ module XeroRuby
|
|
|
17415
17415
|
data
|
|
17416
17416
|
end
|
|
17417
17417
|
|
|
17418
|
-
#
|
|
17418
|
+
# Updates a specific draft expense claim receipts
|
|
17419
17419
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17420
17420
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
17421
17421
|
# @param receipts [Receipts]
|
|
@@ -17488,10 +17488,10 @@ module XeroRuby
|
|
|
17488
17488
|
return data, status_code, headers
|
|
17489
17489
|
end
|
|
17490
17490
|
|
|
17491
|
-
#
|
|
17491
|
+
# Updates a specific attachment on a specific expense claim receipts by file name
|
|
17492
17492
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17493
17493
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
17494
|
-
# @param file_name [String]
|
|
17494
|
+
# @param file_name [String] Name of the attachment
|
|
17495
17495
|
# @param body [String] Byte array of file in body of request
|
|
17496
17496
|
# @param [Hash] opts the optional parameters
|
|
17497
17497
|
# @return [Attachments]
|
|
@@ -17500,10 +17500,10 @@ module XeroRuby
|
|
|
17500
17500
|
data
|
|
17501
17501
|
end
|
|
17502
17502
|
|
|
17503
|
-
#
|
|
17503
|
+
# Updates a specific attachment on a specific expense claim receipts by file name
|
|
17504
17504
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17505
17505
|
# @param receipt_id [String] Unique identifier for a Receipt
|
|
17506
|
-
# @param file_name [String]
|
|
17506
|
+
# @param file_name [String] Name of the attachment
|
|
17507
17507
|
# @param body [String] Byte array of file in body of request
|
|
17508
17508
|
# @param [Hash] opts the optional parameters
|
|
17509
17509
|
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
@@ -17576,10 +17576,10 @@ module XeroRuby
|
|
|
17576
17576
|
return data, status_code, headers
|
|
17577
17577
|
end
|
|
17578
17578
|
|
|
17579
|
-
#
|
|
17579
|
+
# Updates a specific attachment from a specific repeating invoices by file name
|
|
17580
17580
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17581
17581
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
17582
|
-
# @param file_name [String]
|
|
17582
|
+
# @param file_name [String] Name of the attachment
|
|
17583
17583
|
# @param body [String] Byte array of file in body of request
|
|
17584
17584
|
# @param [Hash] opts the optional parameters
|
|
17585
17585
|
# @return [Attachments]
|
|
@@ -17588,10 +17588,10 @@ module XeroRuby
|
|
|
17588
17588
|
data
|
|
17589
17589
|
end
|
|
17590
17590
|
|
|
17591
|
-
#
|
|
17591
|
+
# Updates a specific attachment from a specific repeating invoices by file name
|
|
17592
17592
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17593
17593
|
# @param repeating_invoice_id [String] Unique identifier for a Repeating Invoice
|
|
17594
|
-
# @param file_name [String]
|
|
17594
|
+
# @param file_name [String] Name of the attachment
|
|
17595
17595
|
# @param body [String] Byte array of file in body of request
|
|
17596
17596
|
# @param [Hash] opts the optional parameters
|
|
17597
17597
|
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
@@ -17664,7 +17664,7 @@ module XeroRuby
|
|
|
17664
17664
|
return data, status_code, headers
|
|
17665
17665
|
end
|
|
17666
17666
|
|
|
17667
|
-
#
|
|
17667
|
+
# Updates tax rates
|
|
17668
17668
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17669
17669
|
# @param tax_rates [TaxRates]
|
|
17670
17670
|
# @param [Hash] opts the optional parameters
|
|
@@ -17674,7 +17674,7 @@ module XeroRuby
|
|
|
17674
17674
|
data
|
|
17675
17675
|
end
|
|
17676
17676
|
|
|
17677
|
-
#
|
|
17677
|
+
# Updates tax rates
|
|
17678
17678
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17679
17679
|
# @param tax_rates [TaxRates]
|
|
17680
17680
|
# @param [Hash] opts the optional parameters
|
|
@@ -17740,7 +17740,7 @@ module XeroRuby
|
|
|
17740
17740
|
return data, status_code, headers
|
|
17741
17741
|
end
|
|
17742
17742
|
|
|
17743
|
-
#
|
|
17743
|
+
# Updates a specific tracking category
|
|
17744
17744
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17745
17745
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
17746
17746
|
# @param tracking_category [TrackingCategory]
|
|
@@ -17751,7 +17751,7 @@ module XeroRuby
|
|
|
17751
17751
|
data
|
|
17752
17752
|
end
|
|
17753
17753
|
|
|
17754
|
-
#
|
|
17754
|
+
# Updates a specific tracking category
|
|
17755
17755
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17756
17756
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
17757
17757
|
# @param tracking_category [TrackingCategory]
|
|
@@ -17822,7 +17822,7 @@ module XeroRuby
|
|
|
17822
17822
|
return data, status_code, headers
|
|
17823
17823
|
end
|
|
17824
17824
|
|
|
17825
|
-
#
|
|
17825
|
+
# Updates a specific option for a specific tracking category
|
|
17826
17826
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17827
17827
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
17828
17828
|
# @param tracking_option_id [String] Unique identifier for a Tracking Option
|
|
@@ -17834,7 +17834,7 @@ module XeroRuby
|
|
|
17834
17834
|
data
|
|
17835
17835
|
end
|
|
17836
17836
|
|
|
17837
|
-
#
|
|
17837
|
+
# Updates a specific option for a specific tracking category
|
|
17838
17838
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17839
17839
|
# @param tracking_category_id [String] Unique identifier for a TrackingCategory
|
|
17840
17840
|
# @param tracking_option_id [String] Unique identifier for a Tracking Option
|