xero-ruby 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +79 -0
- data/README.md +454 -0
- data/Rakefile +10 -0
- data/docs/Account.md +53 -0
- data/docs/AccountType.md +16 -0
- data/docs/AccountingApi.md +11269 -0
- data/docs/Accounts.md +17 -0
- data/docs/AccountsPayable.md +19 -0
- data/docs/AccountsReceivable.md +19 -0
- data/docs/Address.md +35 -0
- data/docs/Allocation.md +21 -0
- data/docs/Allocations.md +17 -0
- data/docs/Attachment.md +27 -0
- data/docs/Attachments.md +17 -0
- data/docs/Balances.md +19 -0
- data/docs/BankTransaction.md +59 -0
- data/docs/BankTransactions.md +17 -0
- data/docs/BankTransfer.md +37 -0
- data/docs/BankTransfers.md +17 -0
- data/docs/BatchPayment.md +47 -0
- data/docs/BatchPaymentDetails.md +25 -0
- data/docs/BatchPayments.md +17 -0
- data/docs/Bill.md +19 -0
- data/docs/BrandingTheme.md +23 -0
- data/docs/BrandingThemes.md +17 -0
- data/docs/CISOrgSetting.md +21 -0
- data/docs/CISSetting.md +19 -0
- data/docs/CISSettings.md +17 -0
- data/docs/Contact.md +91 -0
- data/docs/ContactGroup.md +23 -0
- data/docs/ContactGroups.md +17 -0
- data/docs/ContactPerson.md +23 -0
- data/docs/Contacts.md +17 -0
- data/docs/CountryCode.md +16 -0
- data/docs/CreditNote.md +61 -0
- data/docs/CreditNotes.md +17 -0
- data/docs/Currencies.md +17 -0
- data/docs/Currency.md +19 -0
- data/docs/CurrencyCode.md +16 -0
- data/docs/Element.md +17 -0
- data/docs/Employee.md +27 -0
- data/docs/Employees.md +17 -0
- data/docs/Error.md +23 -0
- data/docs/ExpenseClaim.md +39 -0
- data/docs/ExpenseClaims.md +17 -0
- data/docs/ExternalLink.md +21 -0
- data/docs/HistoryRecord.md +23 -0
- data/docs/HistoryRecords.md +17 -0
- data/docs/Invoice.md +89 -0
- data/docs/InvoiceReminder.md +17 -0
- data/docs/InvoiceReminders.md +17 -0
- data/docs/Invoices.md +17 -0
- data/docs/Item.md +45 -0
- data/docs/Items.md +17 -0
- data/docs/Journal.md +31 -0
- data/docs/JournalLine.md +39 -0
- data/docs/Journals.md +17 -0
- data/docs/LineAmountTypes.md +16 -0
- data/docs/LineItem.md +41 -0
- data/docs/LineItemTracking.md +21 -0
- data/docs/LinkedTransaction.md +37 -0
- data/docs/LinkedTransactions.md +17 -0
- data/docs/ManualJournal.md +41 -0
- data/docs/ManualJournalLine.md +29 -0
- data/docs/ManualJournals.md +17 -0
- data/docs/OnlineInvoice.md +17 -0
- data/docs/OnlineInvoices.md +17 -0
- data/docs/Organisation.md +79 -0
- data/docs/Organisations.md +17 -0
- data/docs/Overpayment.md +51 -0
- data/docs/Overpayments.md +17 -0
- data/docs/Payment.md +61 -0
- data/docs/PaymentService.md +27 -0
- data/docs/PaymentServices.md +17 -0
- data/docs/PaymentTerm.md +19 -0
- data/docs/PaymentTermType.md +16 -0
- data/docs/Payments.md +17 -0
- data/docs/Phone.md +23 -0
- data/docs/Prepayment.md +49 -0
- data/docs/Prepayments.md +17 -0
- data/docs/Purchase.md +23 -0
- data/docs/PurchaseOrder.md +71 -0
- data/docs/PurchaseOrders.md +17 -0
- data/docs/Receipt.md +49 -0
- data/docs/Receipts.md +17 -0
- data/docs/RepeatingInvoice.md +47 -0
- data/docs/RepeatingInvoices.md +17 -0
- data/docs/Report.md +29 -0
- data/docs/ReportAttribute.md +19 -0
- data/docs/ReportCell.md +19 -0
- data/docs/ReportFields.md +21 -0
- data/docs/ReportRow.md +21 -0
- data/docs/ReportRows.md +23 -0
- data/docs/ReportWithRow.md +33 -0
- data/docs/ReportWithRows.md +17 -0
- data/docs/Reports.md +17 -0
- data/docs/RequestEmpty.md +17 -0
- data/docs/RowType.md +16 -0
- data/docs/SalesTrackingCategory.md +19 -0
- data/docs/Schedule.md +29 -0
- data/docs/TaxComponent.md +23 -0
- data/docs/TaxRate.md +39 -0
- data/docs/TaxRates.md +17 -0
- data/docs/TaxType.md +16 -0
- data/docs/TenNinteyNineContact.md +59 -0
- data/docs/TimeZone.md +16 -0
- data/docs/TrackingCategories.md +17 -0
- data/docs/TrackingCategory.md +27 -0
- data/docs/TrackingOption.md +23 -0
- data/docs/TrackingOptions.md +17 -0
- data/docs/User.md +29 -0
- data/docs/Users.md +17 -0
- data/docs/ValidationError.md +17 -0
- data/git_push.sh +55 -0
- data/lib/.DS_Store +0 -0
- data/lib/xero-ruby.rb +149 -0
- data/lib/xero-ruby/api/accounting_api.rb +14686 -0
- data/lib/xero-ruby/api_client.rb +386 -0
- data/lib/xero-ruby/api_error.rb +57 -0
- data/lib/xero-ruby/configuration.rb +252 -0
- data/lib/xero-ruby/models/account.rb +484 -0
- data/lib/xero-ruby/models/account_type.rb +57 -0
- data/lib/xero-ruby/models/accounts.rb +205 -0
- data/lib/xero-ruby/models/accounts_payable.rb +212 -0
- data/lib/xero-ruby/models/accounts_receivable.rb +212 -0
- data/lib/xero-ruby/models/address.rb +463 -0
- data/lib/xero-ruby/models/allocation.rb +238 -0
- data/lib/xero-ruby/models/allocations.rb +205 -0
- data/lib/xero-ruby/models/attachment.rb +254 -0
- data/lib/xero-ruby/models/attachments.rb +205 -0
- data/lib/xero-ruby/models/balances.rb +213 -0
- data/lib/xero-ruby/models/bank_transaction.rb +480 -0
- data/lib/xero-ruby/models/bank_transactions.rb +205 -0
- data/lib/xero-ruby/models/bank_transfer.rb +319 -0
- data/lib/xero-ruby/models/bank_transfers.rb +205 -0
- data/lib/xero-ruby/models/batch_payment.rb +429 -0
- data/lib/xero-ruby/models/batch_payment_details.rb +290 -0
- data/lib/xero-ruby/models/batch_payments.rb +205 -0
- data/lib/xero-ruby/models/bill.rb +213 -0
- data/lib/xero-ruby/models/branding_theme.rb +234 -0
- data/lib/xero-ruby/models/branding_themes.rb +205 -0
- data/lib/xero-ruby/models/cis_org_setting.rb +224 -0
- data/lib/xero-ruby/models/cis_setting.rb +214 -0
- data/lib/xero-ruby/models/cis_settings.rb +205 -0
- data/lib/xero-ruby/models/contact.rb +724 -0
- data/lib/xero-ruby/models/contact_group.rb +270 -0
- data/lib/xero-ruby/models/contact_groups.rb +205 -0
- data/lib/xero-ruby/models/contact_person.rb +234 -0
- data/lib/xero-ruby/models/contacts.rb +205 -0
- data/lib/xero-ruby/models/country_code.rb +275 -0
- data/lib/xero-ruby/models/credit_note.rb +475 -0
- data/lib/xero-ruby/models/credit_notes.rb +205 -0
- data/lib/xero-ruby/models/currencies.rb +205 -0
- data/lib/xero-ruby/models/currency.rb +213 -0
- data/lib/xero-ruby/models/currency_code.rb +197 -0
- data/lib/xero-ruby/models/element.rb +206 -0
- data/lib/xero-ruby/models/employee.rb +316 -0
- data/lib/xero-ruby/models/employees.rb +205 -0
- data/lib/xero-ruby/models/error.rb +236 -0
- data/lib/xero-ruby/models/expense_claim.rb +350 -0
- data/lib/xero-ruby/models/expense_claims.rb +205 -0
- data/lib/xero-ruby/models/external_link.rb +257 -0
- data/lib/xero-ruby/models/history_record.rb +234 -0
- data/lib/xero-ruby/models/history_records.rb +205 -0
- data/lib/xero-ruby/models/invoice.rb +666 -0
- data/lib/xero-ruby/models/invoice_reminder.rb +204 -0
- data/lib/xero-ruby/models/invoice_reminders.rb +205 -0
- data/lib/xero-ruby/models/invoices.rb +205 -0
- data/lib/xero-ruby/models/item.rb +418 -0
- data/lib/xero-ruby/models/items.rb +205 -0
- data/lib/xero-ruby/models/journal.rb +310 -0
- data/lib/xero-ruby/models/journal_line.rb +315 -0
- data/lib/xero-ruby/models/journals.rb +205 -0
- data/lib/xero-ruby/models/line_amount_types.rb +38 -0
- data/lib/xero-ruby/models/line_item.rb +326 -0
- data/lib/xero-ruby/models/line_item_tracking.rb +239 -0
- data/lib/xero-ruby/models/linked_transaction.rb +369 -0
- data/lib/xero-ruby/models/linked_transactions.rb +205 -0
- data/lib/xero-ruby/models/manual_journal.rb +375 -0
- data/lib/xero-ruby/models/manual_journal_line.rb +266 -0
- data/lib/xero-ruby/models/manual_journals.rb +205 -0
- data/lib/xero-ruby/models/online_invoice.rb +204 -0
- data/lib/xero-ruby/models/online_invoices.rb +205 -0
- data/lib/xero-ruby/models/organisation.rb +622 -0
- data/lib/xero-ruby/models/organisations.rb +205 -0
- data/lib/xero-ruby/models/overpayment.rb +425 -0
- data/lib/xero-ruby/models/overpayments.rb +205 -0
- data/lib/xero-ruby/models/payment.rb +467 -0
- data/lib/xero-ruby/models/payment_service.rb +256 -0
- data/lib/xero-ruby/models/payment_services.rb +205 -0
- data/lib/xero-ruby/models/payment_term.rb +212 -0
- data/lib/xero-ruby/models/payment_term_type.rb +39 -0
- data/lib/xero-ruby/models/payments.rb +205 -0
- data/lib/xero-ruby/models/phone.rb +312 -0
- data/lib/xero-ruby/models/prepayment.rb +413 -0
- data/lib/xero-ruby/models/prepayments.rb +205 -0
- data/lib/xero-ruby/models/purchase.rb +234 -0
- data/lib/xero-ruby/models/purchase_order.rb +523 -0
- data/lib/xero-ruby/models/purchase_orders.rb +205 -0
- data/lib/xero-ruby/models/receipt.rb +420 -0
- data/lib/xero-ruby/models/receipts.rb +205 -0
- data/lib/xero-ruby/models/repeating_invoice.rb +400 -0
- data/lib/xero-ruby/models/repeating_invoices.rb +205 -0
- data/lib/xero-ruby/models/report.rb +299 -0
- data/lib/xero-ruby/models/report_attribute.rb +212 -0
- data/lib/xero-ruby/models/report_cell.rb +214 -0
- data/lib/xero-ruby/models/report_fields.rb +221 -0
- data/lib/xero-ruby/models/report_row.rb +223 -0
- data/lib/xero-ruby/models/report_rows.rb +234 -0
- data/lib/xero-ruby/models/report_with_row.rb +288 -0
- data/lib/xero-ruby/models/report_with_rows.rb +205 -0
- data/lib/xero-ruby/models/reports.rb +205 -0
- data/lib/xero-ruby/models/request_empty.rb +204 -0
- data/lib/xero-ruby/models/row_type.rb +39 -0
- data/lib/xero-ruby/models/sales_tracking_category.rb +214 -0
- data/lib/xero-ruby/models/schedule.rb +310 -0
- data/lib/xero-ruby/models/tax_component.rb +234 -0
- data/lib/xero-ruby/models/tax_rate.rb +367 -0
- data/lib/xero-ruby/models/tax_rates.rb +205 -0
- data/lib/xero-ruby/models/tax_type.rb +87 -0
- data/lib/xero-ruby/models/ten_nintey_nine_contact.rb +414 -0
- data/lib/xero-ruby/models/time_zone.rb +142 -0
- data/lib/xero-ruby/models/tracking_categories.rb +205 -0
- data/lib/xero-ruby/models/tracking_category.rb +320 -0
- data/lib/xero-ruby/models/tracking_option.rb +283 -0
- data/lib/xero-ruby/models/tracking_options.rb +205 -0
- data/lib/xero-ruby/models/user.rb +298 -0
- data/lib/xero-ruby/models/users.rb +205 -0
- data/lib/xero-ruby/models/validation_error.rb +204 -0
- data/lib/xero-ruby/version.rb +15 -0
- data/pkg/xero-ruby-0.1.0.gem +0 -0
- data/pkg/xero-ruby-1.0.0.gem +0 -0
- data/spec/api/accounting_api_spec.rb +2322 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/account_spec.rb +165 -0
- data/spec/models/account_type_spec.rb +35 -0
- data/spec/models/accounts_payable_spec.rb +47 -0
- data/spec/models/accounts_receivable_spec.rb +47 -0
- data/spec/models/accounts_spec.rb +41 -0
- data/spec/models/address_spec.rb +99 -0
- data/spec/models/allocation_spec.rb +53 -0
- data/spec/models/allocations_spec.rb +41 -0
- data/spec/models/attachment_spec.rb +71 -0
- data/spec/models/attachments_spec.rb +41 -0
- data/spec/models/balances_spec.rb +47 -0
- data/spec/models/bank_transaction_spec.rb +175 -0
- data/spec/models/bank_transactions_spec.rb +41 -0
- data/spec/models/bank_transfer_spec.rb +101 -0
- data/spec/models/bank_transfers_spec.rb +41 -0
- data/spec/models/batch_payment_details_spec.rb +65 -0
- data/spec/models/batch_payment_spec.rb +131 -0
- data/spec/models/batch_payments_spec.rb +41 -0
- data/spec/models/bill_spec.rb +47 -0
- data/spec/models/branding_theme_spec.rb +59 -0
- data/spec/models/branding_themes_spec.rb +41 -0
- data/spec/models/cis_org_setting_spec.rb +53 -0
- data/spec/models/cis_setting_spec.rb +47 -0
- data/spec/models/cis_settings_spec.rb +41 -0
- data/spec/models/contact_group_spec.rb +63 -0
- data/spec/models/contact_groups_spec.rb +41 -0
- data/spec/models/contact_person_spec.rb +59 -0
- data/spec/models/contact_spec.rb +267 -0
- data/spec/models/contacts_spec.rb +41 -0
- data/spec/models/country_code_spec.rb +35 -0
- data/spec/models/credit_note_spec.rb +181 -0
- data/spec/models/credit_notes_spec.rb +41 -0
- data/spec/models/currencies_spec.rb +41 -0
- data/spec/models/currency_code_spec.rb +35 -0
- data/spec/models/currency_spec.rb +47 -0
- data/spec/models/element_spec.rb +41 -0
- data/spec/models/employee_spec.rb +75 -0
- data/spec/models/employees_spec.rb +41 -0
- data/spec/models/error_spec.rb +59 -0
- data/spec/models/expense_claim_spec.rb +111 -0
- data/spec/models/expense_claims_spec.rb +41 -0
- data/spec/models/external_link_spec.rb +57 -0
- data/spec/models/history_record_spec.rb +59 -0
- data/spec/models/history_records_spec.rb +41 -0
- data/spec/models/invoice_reminder_spec.rb +41 -0
- data/spec/models/invoice_reminders_spec.rb +41 -0
- data/spec/models/invoice_spec.rb +259 -0
- data/spec/models/invoices_spec.rb +41 -0
- data/spec/models/item_spec.rb +125 -0
- data/spec/models/items_spec.rb +41 -0
- data/spec/models/journal_line_spec.rb +107 -0
- data/spec/models/journal_spec.rb +87 -0
- data/spec/models/journals_spec.rb +41 -0
- data/spec/models/line_amount_types_spec.rb +35 -0
- data/spec/models/line_item_spec.rb +107 -0
- data/spec/models/line_item_tracking_spec.rb +53 -0
- data/spec/models/linked_transaction_spec.rb +113 -0
- data/spec/models/linked_transactions_spec.rb +41 -0
- data/spec/models/manual_journal_line_spec.rb +77 -0
- data/spec/models/manual_journal_spec.rb +117 -0
- data/spec/models/manual_journals_spec.rb +41 -0
- data/spec/models/online_invoice_spec.rb +41 -0
- data/spec/models/online_invoices_spec.rb +41 -0
- data/spec/models/organisation_spec.rb +255 -0
- data/spec/models/organisations_spec.rb +41 -0
- data/spec/models/overpayment_spec.rb +151 -0
- data/spec/models/overpayments_spec.rb +41 -0
- data/spec/models/payment_service_spec.rb +71 -0
- data/spec/models/payment_services_spec.rb +41 -0
- data/spec/models/payment_spec.rb +181 -0
- data/spec/models/payment_term_spec.rb +47 -0
- data/spec/models/payment_term_type_spec.rb +35 -0
- data/spec/models/payments_spec.rb +41 -0
- data/spec/models/phone_spec.rb +63 -0
- data/spec/models/prepayment_spec.rb +145 -0
- data/spec/models/prepayments_spec.rb +41 -0
- data/spec/models/purchase_order_spec.rb +207 -0
- data/spec/models/purchase_orders_spec.rb +41 -0
- data/spec/models/purchase_spec.rb +59 -0
- data/spec/models/receipt_spec.rb +141 -0
- data/spec/models/receipts_spec.rb +41 -0
- data/spec/models/repeating_invoice_spec.rb +139 -0
- data/spec/models/repeating_invoices_spec.rb +41 -0
- data/spec/models/report_attribute_spec.rb +47 -0
- data/spec/models/report_cell_spec.rb +47 -0
- data/spec/models/report_fields_spec.rb +53 -0
- data/spec/models/report_row_spec.rb +53 -0
- data/spec/models/report_rows_spec.rb +59 -0
- data/spec/models/report_spec.rb +81 -0
- data/spec/models/report_with_row_spec.rb +89 -0
- data/spec/models/report_with_rows_spec.rb +41 -0
- data/spec/models/reports_spec.rb +41 -0
- data/spec/models/request_empty_spec.rb +41 -0
- data/spec/models/row_type_spec.rb +35 -0
- data/spec/models/sales_tracking_category_spec.rb +47 -0
- data/spec/models/schedule_spec.rb +85 -0
- data/spec/models/tax_component_spec.rb +59 -0
- data/spec/models/tax_rate_spec.rb +115 -0
- data/spec/models/tax_rates_spec.rb +41 -0
- data/spec/models/tax_type_spec.rb +35 -0
- data/spec/models/ten_nintey_nine_contact_spec.rb +167 -0
- data/spec/models/time_zone_spec.rb +35 -0
- data/spec/models/tracking_categories_spec.rb +41 -0
- data/spec/models/tracking_category_spec.rb +75 -0
- data/spec/models/tracking_option_spec.rb +63 -0
- data/spec/models/tracking_options_spec.rb +41 -0
- data/spec/models/user_spec.rb +81 -0
- data/spec/models/users_spec.rb +41 -0
- data/spec/models/validation_error_spec.rb +41 -0
- data/spec/spec_helper.rb +111 -0
- data/xero-ruby.gemspec +39 -0
- metadata +563 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d90756ecdaa261de8f5f05346e87753ed04b84bfe22ec25b5d5f7930a42b1785
|
4
|
+
data.tar.gz: b48ef0f8ef6fcda258042d392d99fa9f1105bb28f5dae0a9423c31774dba6505
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: cf4f1ea0c3f3c96061ace8dda6bc9bae5430329b70b51aba79cc8eaee6683ea20e5d64ead795381beb6e6e453c6fc3ccf4dbea4701b269b330d0d624a39bdc8a
|
7
|
+
data.tar.gz: 66fb7a2d096510e835fef644909947405b77fefd59ef32c5db6d157c7094178338e3429a2eac9ec4351996b3a50d0567870f43496d53c32c582ab0467cd53a88
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
xero-ruby (1.0.0)
|
5
|
+
json (~> 2.1, >= 2.1.0)
|
6
|
+
typhoeus (~> 1.0, >= 1.0.1)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
ZenTest (4.11.2)
|
12
|
+
addressable (2.5.2)
|
13
|
+
public_suffix (>= 2.0.2, < 4.0)
|
14
|
+
autotest (4.4.6)
|
15
|
+
ZenTest (>= 4.4.1)
|
16
|
+
autotest-fsevent (0.2.14)
|
17
|
+
sys-uname
|
18
|
+
autotest-growl (0.2.16)
|
19
|
+
autotest-rails-pure (4.1.2)
|
20
|
+
byebug (10.0.2)
|
21
|
+
coderay (1.1.2)
|
22
|
+
crack (0.4.3)
|
23
|
+
safe_yaml (~> 1.0.0)
|
24
|
+
diff-lcs (1.3)
|
25
|
+
ethon (0.11.0)
|
26
|
+
ffi (>= 1.3.0)
|
27
|
+
ffi (1.9.25)
|
28
|
+
hashdiff (0.3.7)
|
29
|
+
json (2.1.0)
|
30
|
+
method_source (0.9.0)
|
31
|
+
pry (0.11.3)
|
32
|
+
coderay (~> 1.1.0)
|
33
|
+
method_source (~> 0.9.0)
|
34
|
+
pry-byebug (3.6.0)
|
35
|
+
byebug (~> 10.0)
|
36
|
+
pry (~> 0.10)
|
37
|
+
public_suffix (3.0.3)
|
38
|
+
rake (12.0.0)
|
39
|
+
rspec (3.8.0)
|
40
|
+
rspec-core (~> 3.8.0)
|
41
|
+
rspec-expectations (~> 3.8.0)
|
42
|
+
rspec-mocks (~> 3.8.0)
|
43
|
+
rspec-core (3.8.0)
|
44
|
+
rspec-support (~> 3.8.0)
|
45
|
+
rspec-expectations (3.8.1)
|
46
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
47
|
+
rspec-support (~> 3.8.0)
|
48
|
+
rspec-mocks (3.8.0)
|
49
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
50
|
+
rspec-support (~> 3.8.0)
|
51
|
+
rspec-support (3.8.0)
|
52
|
+
safe_yaml (1.0.4)
|
53
|
+
sys-uname (1.0.3)
|
54
|
+
ffi (>= 1.0.0)
|
55
|
+
typhoeus (1.3.0)
|
56
|
+
ethon (>= 0.9.0)
|
57
|
+
vcr (3.0.3)
|
58
|
+
webmock (1.24.6)
|
59
|
+
addressable (>= 2.3.6)
|
60
|
+
crack (>= 0.3.2)
|
61
|
+
hashdiff
|
62
|
+
|
63
|
+
PLATFORMS
|
64
|
+
ruby
|
65
|
+
|
66
|
+
DEPENDENCIES
|
67
|
+
autotest (~> 4.4, >= 4.4.6)
|
68
|
+
autotest-fsevent (~> 0.2, >= 0.2.12)
|
69
|
+
autotest-growl (~> 0.2, >= 0.2.16)
|
70
|
+
autotest-rails-pure (~> 4.1, >= 4.1.2)
|
71
|
+
xero-ruby!
|
72
|
+
pry-byebug
|
73
|
+
rake (~> 12.0.0)
|
74
|
+
rspec (~> 3.6, >= 3.6.0)
|
75
|
+
vcr (~> 3.0, >= 3.0.1)
|
76
|
+
webmock (~> 1.24, >= 1.24.3)
|
77
|
+
|
78
|
+
BUNDLED WITH
|
79
|
+
1.16.1
|
data/README.md
ADDED
@@ -0,0 +1,454 @@
|
|
1
|
+
# xero-ruby
|
2
|
+
|
3
|
+
XeroRuby - the Ruby gem for the Accounting API
|
4
|
+
|
5
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
6
|
+
|
7
|
+
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
|
+
|
9
|
+
- API version: 2.0.0
|
10
|
+
- Package version: 1.0.0
|
11
|
+
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
|
+
For more information, please visit [https://developer.xero.com](https://developer.xero.com)
|
13
|
+
|
14
|
+
## Installation
|
15
|
+
|
16
|
+
### Build a gem
|
17
|
+
|
18
|
+
To build the Ruby code into a gem:
|
19
|
+
|
20
|
+
```shell
|
21
|
+
gem build xero-ruby.gemspec
|
22
|
+
```
|
23
|
+
|
24
|
+
Then either install the gem locally:
|
25
|
+
|
26
|
+
```shell
|
27
|
+
gem install ./xero-ruby-1.0.0.gem
|
28
|
+
```
|
29
|
+
|
30
|
+
(for development, run `gem install --dev ./xero-ruby-1.0.0.gem` to install the development dependencies)
|
31
|
+
|
32
|
+
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
|
+
|
34
|
+
Finally add this to the Gemfile:
|
35
|
+
|
36
|
+
gem 'xero-ruby', '~> 1.0.0'
|
37
|
+
|
38
|
+
### Install from Git
|
39
|
+
|
40
|
+
If the Ruby gem is hosted at a git repository: https://github.com/SidneyAllen/xero-ruby, then add the following in the Gemfile:
|
41
|
+
|
42
|
+
gem 'xero-ruby', :git => 'https://github.com/SidneyAllen/xero-ruby.git'
|
43
|
+
|
44
|
+
### Include the Ruby code directly
|
45
|
+
|
46
|
+
Include the Ruby code directly using `-I` as follows:
|
47
|
+
|
48
|
+
```shell
|
49
|
+
ruby -Ilib script.rb
|
50
|
+
```
|
51
|
+
|
52
|
+
## Getting Started
|
53
|
+
|
54
|
+
Please follow the [installation](#installation) procedure and then run the following code:
|
55
|
+
|
56
|
+
```ruby
|
57
|
+
# Load the gem
|
58
|
+
require 'xero-ruby'
|
59
|
+
|
60
|
+
# Setup authorization
|
61
|
+
XeroRuby.configure do |config|
|
62
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
63
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
64
|
+
end
|
65
|
+
|
66
|
+
api_instance = XeroRuby::AccountingApi.new
|
67
|
+
xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
|
68
|
+
account = { "Code":"123456", "Name":"Foobar", "Type":"EXPENSE", "Description":"Hello World" } # Account | Request of type Account
|
69
|
+
|
70
|
+
begin
|
71
|
+
#Allows you to create a new chart of accounts
|
72
|
+
result = api_instance.create_account(xero_tenant_id, account)
|
73
|
+
p result
|
74
|
+
rescue XeroRuby::ApiError => e
|
75
|
+
puts "Exception when calling AccountingApi->create_account: #{e}"
|
76
|
+
end
|
77
|
+
|
78
|
+
```
|
79
|
+
|
80
|
+
## Documentation for API Endpoints
|
81
|
+
|
82
|
+
All URIs are relative to *https://api.xero.com/api.xro/2.0*
|
83
|
+
|
84
|
+
Class | Method | HTTP request | Description
|
85
|
+
------------ | ------------- | ------------- | -------------
|
86
|
+
*XeroRuby::AccountingApi* | [**create_account**](docs/AccountingApi.md#create_account) | **PUT** /Accounts | Allows you to create a new chart of accounts
|
87
|
+
*XeroRuby::AccountingApi* | [**create_account_attachment_by_file_name**](docs/AccountingApi.md#create_account_attachment_by_file_name) | **PUT** /Accounts/{AccountID}/Attachments/{FileName} | Allows you to create Attachment on Account
|
88
|
+
*XeroRuby::AccountingApi* | [**create_bank_transaction**](docs/AccountingApi.md#create_bank_transaction) | **PUT** /BankTransactions | Allows you to create a spend or receive money transaction
|
89
|
+
*XeroRuby::AccountingApi* | [**create_bank_transaction_attachment_by_file_name**](docs/AccountingApi.md#create_bank_transaction_attachment_by_file_name) | **PUT** /BankTransactions/{BankTransactionID}/Attachments/{FileName} | Allows you to createa an Attachment on BankTransaction by Filename
|
90
|
+
*XeroRuby::AccountingApi* | [**create_bank_transaction_history_record**](docs/AccountingApi.md#create_bank_transaction_history_record) | **PUT** /BankTransactions/{BankTransactionID}/History | Allows you to create history record for a bank transactions
|
91
|
+
*XeroRuby::AccountingApi* | [**create_bank_transactions**](docs/AccountingApi.md#create_bank_transactions) | **PUT** /BankTransactions#bulk | Allows you to create a spend or receive money transaction
|
92
|
+
*XeroRuby::AccountingApi* | [**create_bank_transfer**](docs/AccountingApi.md#create_bank_transfer) | **PUT** /BankTransfers | Allows you to create a bank transfers
|
93
|
+
*XeroRuby::AccountingApi* | [**create_bank_transfer_attachment_by_file_name**](docs/AccountingApi.md#create_bank_transfer_attachment_by_file_name) | **PUT** /BankTransfers/{BankTransferID}/Attachments/{FileName} |
|
94
|
+
*XeroRuby::AccountingApi* | [**create_bank_transfer_history_record**](docs/AccountingApi.md#create_bank_transfer_history_record) | **PUT** /BankTransfers/{BankTransferID}/History |
|
95
|
+
*XeroRuby::AccountingApi* | [**create_batch_payment**](docs/AccountingApi.md#create_batch_payment) | **PUT** /BatchPayments | Create one or many BatchPayments for invoices
|
96
|
+
*XeroRuby::AccountingApi* | [**create_batch_payment_history_record**](docs/AccountingApi.md#create_batch_payment_history_record) | **PUT** /BatchPayments/{BatchPaymentID}/History | Allows you to create a history record for a Batch Payment
|
97
|
+
*XeroRuby::AccountingApi* | [**create_branding_theme_payment_services**](docs/AccountingApi.md#create_branding_theme_payment_services) | **POST** /BrandingThemes/{BrandingThemeID}/PaymentServices | Allow for the creation of new custom payment service for specified Branding Theme
|
98
|
+
*XeroRuby::AccountingApi* | [**create_contact**](docs/AccountingApi.md#create_contact) | **PUT** /Contacts |
|
99
|
+
*XeroRuby::AccountingApi* | [**create_contact_attachment_by_file_name**](docs/AccountingApi.md#create_contact_attachment_by_file_name) | **PUT** /Contacts/{ContactID}/Attachments/{FileName} |
|
100
|
+
*XeroRuby::AccountingApi* | [**create_contact_group**](docs/AccountingApi.md#create_contact_group) | **PUT** /ContactGroups | Allows you to create a contact group
|
101
|
+
*XeroRuby::AccountingApi* | [**create_contact_group_contacts**](docs/AccountingApi.md#create_contact_group_contacts) | **PUT** /ContactGroups/{ContactGroupID}/Contacts | Allows you to add Contacts to a Contract Group
|
102
|
+
*XeroRuby::AccountingApi* | [**create_contact_history**](docs/AccountingApi.md#create_contact_history) | **PUT** /Contacts/{ContactID}/History | Allows you to retrieve a history records of an Contact
|
103
|
+
*XeroRuby::AccountingApi* | [**create_contacts**](docs/AccountingApi.md#create_contacts) | **PUT** /Contacts#bulk |
|
104
|
+
*XeroRuby::AccountingApi* | [**create_credit_note**](docs/AccountingApi.md#create_credit_note) | **PUT** /CreditNotes | Allows you to create a credit note
|
105
|
+
*XeroRuby::AccountingApi* | [**create_credit_note_allocation**](docs/AccountingApi.md#create_credit_note_allocation) | **PUT** /CreditNotes/{CreditNoteID}/Allocations | Allows you to create Allocation on CreditNote
|
106
|
+
*XeroRuby::AccountingApi* | [**create_credit_note_attachment_by_file_name**](docs/AccountingApi.md#create_credit_note_attachment_by_file_name) | **PUT** /CreditNotes/{CreditNoteID}/Attachments/{FileName} | Allows you to create Attachments on CreditNote by file name
|
107
|
+
*XeroRuby::AccountingApi* | [**create_credit_note_history**](docs/AccountingApi.md#create_credit_note_history) | **PUT** /CreditNotes/{CreditNoteID}/History | Allows you to retrieve a history records of an CreditNote
|
108
|
+
*XeroRuby::AccountingApi* | [**create_credit_notes**](docs/AccountingApi.md#create_credit_notes) | **PUT** /CreditNotes#bulk | Allows you to create a credit note
|
109
|
+
*XeroRuby::AccountingApi* | [**create_currency**](docs/AccountingApi.md#create_currency) | **PUT** /Currencies |
|
110
|
+
*XeroRuby::AccountingApi* | [**create_employee**](docs/AccountingApi.md#create_employee) | **PUT** /Employees | Allows you to create new employees used in Xero payrun
|
111
|
+
*XeroRuby::AccountingApi* | [**create_employees**](docs/AccountingApi.md#create_employees) | **PUT** /Employees#bulk | Allows you to create new employees used in Xero payrun
|
112
|
+
*XeroRuby::AccountingApi* | [**create_expense_claim_history**](docs/AccountingApi.md#create_expense_claim_history) | **PUT** /ExpenseClaims/{ExpenseClaimID}/History | Allows you to create a history records of an ExpenseClaim
|
113
|
+
*XeroRuby::AccountingApi* | [**create_expense_claims**](docs/AccountingApi.md#create_expense_claims) | **PUT** /ExpenseClaims | Allows you to retrieve expense claims
|
114
|
+
*XeroRuby::AccountingApi* | [**create_invoice**](docs/AccountingApi.md#create_invoice) | **PUT** /Invoices | Allows you to create any sales invoices or purchase bills
|
115
|
+
*XeroRuby::AccountingApi* | [**create_invoice_attachment_by_file_name**](docs/AccountingApi.md#create_invoice_attachment_by_file_name) | **PUT** /Invoices/{InvoiceID}/Attachments/{FileName} | Allows you to create an Attachment on invoices or purchase bills by it's filename
|
116
|
+
*XeroRuby::AccountingApi* | [**create_invoice_history**](docs/AccountingApi.md#create_invoice_history) | **PUT** /Invoices/{InvoiceID}/History | Allows you to retrieve a history records of an invoice
|
117
|
+
*XeroRuby::AccountingApi* | [**create_invoices**](docs/AccountingApi.md#create_invoices) | **PUT** /Invoices#bulk | Allows you to create any sales invoices or purchase bills
|
118
|
+
*XeroRuby::AccountingApi* | [**create_item**](docs/AccountingApi.md#create_item) | **PUT** /Items | Allows you to create an item
|
119
|
+
*XeroRuby::AccountingApi* | [**create_item_history**](docs/AccountingApi.md#create_item_history) | **PUT** /Items/{ItemID}/History | Allows you to create a history record for items
|
120
|
+
*XeroRuby::AccountingApi* | [**create_items**](docs/AccountingApi.md#create_items) | **PUT** /Items#bulk | Allows you to create an item
|
121
|
+
*XeroRuby::AccountingApi* | [**create_linked_transaction**](docs/AccountingApi.md#create_linked_transaction) | **PUT** /LinkedTransactions | Allows you to create linked transactions (billable expenses)
|
122
|
+
*XeroRuby::AccountingApi* | [**create_linked_transactions**](docs/AccountingApi.md#create_linked_transactions) | **PUT** /LinkedTransactions#bulk | Allows you to create linked transactions (billable expenses)
|
123
|
+
*XeroRuby::AccountingApi* | [**create_manual_journal**](docs/AccountingApi.md#create_manual_journal) | **PUT** /ManualJournals | Allows you to create a manual journal
|
124
|
+
*XeroRuby::AccountingApi* | [**create_manual_journal_attachment_by_file_name**](docs/AccountingApi.md#create_manual_journal_attachment_by_file_name) | **PUT** /ManualJournals/{ManualJournalID}/Attachments/{FileName} | Allows you to create a specified Attachment on ManualJournal by file name
|
125
|
+
*XeroRuby::AccountingApi* | [**create_manual_journals**](docs/AccountingApi.md#create_manual_journals) | **PUT** /ManualJournals#bulk | Allows you to create a manual journal
|
126
|
+
*XeroRuby::AccountingApi* | [**create_overpayment_allocation**](docs/AccountingApi.md#create_overpayment_allocation) | **PUT** /Overpayments/{OverpaymentID}/Allocations | Allows you to retrieve Allocations for overpayments
|
127
|
+
*XeroRuby::AccountingApi* | [**create_overpayment_allocations**](docs/AccountingApi.md#create_overpayment_allocations) | **PUT** /Overpayments/{OverpaymentID}/Allocations#bulk | Allows you to retrieve Allocations for overpayments
|
128
|
+
*XeroRuby::AccountingApi* | [**create_overpayment_history**](docs/AccountingApi.md#create_overpayment_history) | **PUT** /Overpayments/{OverpaymentID}/History | Allows you to create history records of an Overpayment
|
129
|
+
*XeroRuby::AccountingApi* | [**create_payment**](docs/AccountingApi.md#create_payment) | **PUT** /Payments | Allows you to create payments for invoices and credit notes
|
130
|
+
*XeroRuby::AccountingApi* | [**create_payment_history**](docs/AccountingApi.md#create_payment_history) | **PUT** /Payments/{PaymentID}/History | Allows you to create a history record for a payment
|
131
|
+
*XeroRuby::AccountingApi* | [**create_payment_service**](docs/AccountingApi.md#create_payment_service) | **PUT** /PaymentServices | Allows you to create payment services
|
132
|
+
*XeroRuby::AccountingApi* | [**create_payments**](docs/AccountingApi.md#create_payments) | **PUT** /Payments#bulk | Allows you to create payments for invoices and credit notes
|
133
|
+
*XeroRuby::AccountingApi* | [**create_prepayment_allocation**](docs/AccountingApi.md#create_prepayment_allocation) | **PUT** /Prepayments/{PrepaymentID}/Allocations | Allows you to create an Allocation for prepayments
|
134
|
+
*XeroRuby::AccountingApi* | [**create_prepayment_history**](docs/AccountingApi.md#create_prepayment_history) | **PUT** /Prepayments/{PrepaymentID}/History | Allows you to create a history record for an Prepayment
|
135
|
+
*XeroRuby::AccountingApi* | [**create_purchase_order**](docs/AccountingApi.md#create_purchase_order) | **PUT** /PurchaseOrders | Allows you to create purchase orders
|
136
|
+
*XeroRuby::AccountingApi* | [**create_purchase_order_history**](docs/AccountingApi.md#create_purchase_order_history) | **PUT** /PurchaseOrders/{PurchaseOrderID}/History | Allows you to create HistoryRecord for purchase orders
|
137
|
+
*XeroRuby::AccountingApi* | [**create_purchase_orders**](docs/AccountingApi.md#create_purchase_orders) | **PUT** /PurchaseOrders#bulk | Allows you to create purchase orders
|
138
|
+
*XeroRuby::AccountingApi* | [**create_receipt**](docs/AccountingApi.md#create_receipt) | **PUT** /Receipts | Allows you to create draft expense claim receipts for any user
|
139
|
+
*XeroRuby::AccountingApi* | [**create_receipt_attachment_by_file_name**](docs/AccountingApi.md#create_receipt_attachment_by_file_name) | **PUT** /Receipts/{ReceiptID}/Attachments/{FileName} | Allows you to create Attachment on expense claim receipts by file name
|
140
|
+
*XeroRuby::AccountingApi* | [**create_receipt_history**](docs/AccountingApi.md#create_receipt_history) | **PUT** /Receipts/{ReceiptID}/History | Allows you to retrieve a history records of an Receipt
|
141
|
+
*XeroRuby::AccountingApi* | [**create_repeating_invoice_attachment_by_file_name**](docs/AccountingApi.md#create_repeating_invoice_attachment_by_file_name) | **PUT** /RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName} | Allows you to create attachment on repeating invoices by file name
|
142
|
+
*XeroRuby::AccountingApi* | [**create_repeating_invoice_history**](docs/AccountingApi.md#create_repeating_invoice_history) | **PUT** /RepeatingInvoices/{RepeatingInvoiceID}/History | Allows you to create history for a repeating invoice
|
143
|
+
*XeroRuby::AccountingApi* | [**create_tax_rate**](docs/AccountingApi.md#create_tax_rate) | **PUT** /TaxRates | Allows you to create Tax Rates
|
144
|
+
*XeroRuby::AccountingApi* | [**create_tax_rates**](docs/AccountingApi.md#create_tax_rates) | **PUT** /TaxRates#bulk | Allows you to create Tax Rates
|
145
|
+
*XeroRuby::AccountingApi* | [**create_tracking_category**](docs/AccountingApi.md#create_tracking_category) | **PUT** /TrackingCategories | Allows you to create tracking categories
|
146
|
+
*XeroRuby::AccountingApi* | [**create_tracking_options**](docs/AccountingApi.md#create_tracking_options) | **PUT** /TrackingCategories/{TrackingCategoryID}/Options | Allows you to create options for a specified tracking category
|
147
|
+
*XeroRuby::AccountingApi* | [**delete_account**](docs/AccountingApi.md#delete_account) | **DELETE** /Accounts/{AccountID} | Allows you to delete a chart of accounts
|
148
|
+
*XeroRuby::AccountingApi* | [**delete_contact_group_contact**](docs/AccountingApi.md#delete_contact_group_contact) | **DELETE** /ContactGroups/{ContactGroupID}/Contacts/{ContactID} | Allows you to delete a specific Contact from a Contract Group
|
149
|
+
*XeroRuby::AccountingApi* | [**delete_contact_group_contacts**](docs/AccountingApi.md#delete_contact_group_contacts) | **DELETE** /ContactGroups/{ContactGroupID}/Contacts | Allows you to delete all Contacts from a Contract Group
|
150
|
+
*XeroRuby::AccountingApi* | [**delete_item**](docs/AccountingApi.md#delete_item) | **DELETE** /Items/{ItemID} | Allows you to delete a specified item
|
151
|
+
*XeroRuby::AccountingApi* | [**delete_linked_transaction**](docs/AccountingApi.md#delete_linked_transaction) | **DELETE** /LinkedTransactions/{LinkedTransactionID} | Allows you to delete a specified linked transactions (billable expenses)
|
152
|
+
*XeroRuby::AccountingApi* | [**delete_payment**](docs/AccountingApi.md#delete_payment) | **POST** /Payments/{PaymentID} | Allows you to update a specified payment for invoices and credit notes
|
153
|
+
*XeroRuby::AccountingApi* | [**delete_tracking_category**](docs/AccountingApi.md#delete_tracking_category) | **DELETE** /TrackingCategories/{TrackingCategoryID} | Allows you to delete tracking categories
|
154
|
+
*XeroRuby::AccountingApi* | [**delete_tracking_options**](docs/AccountingApi.md#delete_tracking_options) | **DELETE** /TrackingCategories/{TrackingCategoryID}/Options/{TrackingOptionID} | Allows you to delete a specified option for a specified tracking category
|
155
|
+
*XeroRuby::AccountingApi* | [**email_invoice**](docs/AccountingApi.md#email_invoice) | **POST** /Invoices/{InvoiceID}/Email | Allows you to email a copy of invoice to related Contact
|
156
|
+
*XeroRuby::AccountingApi* | [**get_account**](docs/AccountingApi.md#get_account) | **GET** /Accounts/{AccountID} | Allows you to retrieve a single chart of accounts
|
157
|
+
*XeroRuby::AccountingApi* | [**get_account_attachment_by_file_name**](docs/AccountingApi.md#get_account_attachment_by_file_name) | **GET** /Accounts/{AccountID}/Attachments/{FileName} | Allows you to retrieve Attachment on Account by Filename
|
158
|
+
*XeroRuby::AccountingApi* | [**get_account_attachment_by_id**](docs/AccountingApi.md#get_account_attachment_by_id) | **GET** /Accounts/{AccountID}/Attachments/{AttachmentID} | Allows you to retrieve specific Attachment on Account
|
159
|
+
*XeroRuby::AccountingApi* | [**get_account_attachments**](docs/AccountingApi.md#get_account_attachments) | **GET** /Accounts/{AccountID}/Attachments | Allows you to retrieve Attachments for accounts
|
160
|
+
*XeroRuby::AccountingApi* | [**get_accounts**](docs/AccountingApi.md#get_accounts) | **GET** /Accounts | Allows you to retrieve the full chart of accounts
|
161
|
+
*XeroRuby::AccountingApi* | [**get_bank_transaction**](docs/AccountingApi.md#get_bank_transaction) | **GET** /BankTransactions/{BankTransactionID} | Allows you to retrieve a single spend or receive money transaction
|
162
|
+
*XeroRuby::AccountingApi* | [**get_bank_transaction_attachment_by_file_name**](docs/AccountingApi.md#get_bank_transaction_attachment_by_file_name) | **GET** /BankTransactions/{BankTransactionID}/Attachments/{FileName} | Allows you to retrieve Attachments on BankTransaction by Filename
|
163
|
+
*XeroRuby::AccountingApi* | [**get_bank_transaction_attachment_by_id**](docs/AccountingApi.md#get_bank_transaction_attachment_by_id) | **GET** /BankTransactions/{BankTransactionID}/Attachments/{AttachmentID} | Allows you to retrieve Attachments on a specific BankTransaction
|
164
|
+
*XeroRuby::AccountingApi* | [**get_bank_transaction_attachments**](docs/AccountingApi.md#get_bank_transaction_attachments) | **GET** /BankTransactions/{BankTransactionID}/Attachments | Allows you to retrieve any attachments to bank transactions
|
165
|
+
*XeroRuby::AccountingApi* | [**get_bank_transactions**](docs/AccountingApi.md#get_bank_transactions) | **GET** /BankTransactions | Allows you to retrieve any spend or receive money transactions
|
166
|
+
*XeroRuby::AccountingApi* | [**get_bank_transactions_history**](docs/AccountingApi.md#get_bank_transactions_history) | **GET** /BankTransactions/{BankTransactionID}/History | Allows you to retrieve history from a bank transactions
|
167
|
+
*XeroRuby::AccountingApi* | [**get_bank_transfer**](docs/AccountingApi.md#get_bank_transfer) | **GET** /BankTransfers/{BankTransferID} | Allows you to retrieve any bank transfers
|
168
|
+
*XeroRuby::AccountingApi* | [**get_bank_transfer_attachment_by_file_name**](docs/AccountingApi.md#get_bank_transfer_attachment_by_file_name) | **GET** /BankTransfers/{BankTransferID}/Attachments/{FileName} | Allows you to retrieve Attachments on BankTransfer by file name
|
169
|
+
*XeroRuby::AccountingApi* | [**get_bank_transfer_attachment_by_id**](docs/AccountingApi.md#get_bank_transfer_attachment_by_id) | **GET** /BankTransfers/{BankTransferID}/Attachments/{AttachmentID} | Allows you to retrieve Attachments on BankTransfer
|
170
|
+
*XeroRuby::AccountingApi* | [**get_bank_transfer_attachments**](docs/AccountingApi.md#get_bank_transfer_attachments) | **GET** /BankTransfers/{BankTransferID}/Attachments | Allows you to retrieve Attachments from bank transfers
|
171
|
+
*XeroRuby::AccountingApi* | [**get_bank_transfer_history**](docs/AccountingApi.md#get_bank_transfer_history) | **GET** /BankTransfers/{BankTransferID}/History | Allows you to retrieve history from a bank transfers
|
172
|
+
*XeroRuby::AccountingApi* | [**get_bank_transfers**](docs/AccountingApi.md#get_bank_transfers) | **GET** /BankTransfers | Allows you to retrieve all bank transfers
|
173
|
+
*XeroRuby::AccountingApi* | [**get_batch_payment_history**](docs/AccountingApi.md#get_batch_payment_history) | **GET** /BatchPayments/{BatchPaymentID}/History | Allows you to retrieve history from a Batch Payment
|
174
|
+
*XeroRuby::AccountingApi* | [**get_batch_payments**](docs/AccountingApi.md#get_batch_payments) | **GET** /BatchPayments | Retrieve either one or many BatchPayments for invoices
|
175
|
+
*XeroRuby::AccountingApi* | [**get_branding_theme**](docs/AccountingApi.md#get_branding_theme) | **GET** /BrandingThemes/{BrandingThemeID} | Allows you to retrieve a specific BrandingThemes
|
176
|
+
*XeroRuby::AccountingApi* | [**get_branding_theme_payment_services**](docs/AccountingApi.md#get_branding_theme_payment_services) | **GET** /BrandingThemes/{BrandingThemeID}/PaymentServices | Allows you to retrieve the Payment services for a Branding Theme
|
177
|
+
*XeroRuby::AccountingApi* | [**get_branding_themes**](docs/AccountingApi.md#get_branding_themes) | **GET** /BrandingThemes | Allows you to retrieve all the BrandingThemes
|
178
|
+
*XeroRuby::AccountingApi* | [**get_contact**](docs/AccountingApi.md#get_contact) | **GET** /Contacts/{ContactID} | Allows you to retrieve, add and update contacts in a Xero organisation
|
179
|
+
*XeroRuby::AccountingApi* | [**get_contact_attachment_by_file_name**](docs/AccountingApi.md#get_contact_attachment_by_file_name) | **GET** /Contacts/{ContactID}/Attachments/{FileName} | Allows you to retrieve Attachments on Contacts by file name
|
180
|
+
*XeroRuby::AccountingApi* | [**get_contact_attachment_by_id**](docs/AccountingApi.md#get_contact_attachment_by_id) | **GET** /Contacts/{ContactID}/Attachments/{AttachmentID} | Allows you to retrieve Attachments on Contacts
|
181
|
+
*XeroRuby::AccountingApi* | [**get_contact_attachments**](docs/AccountingApi.md#get_contact_attachments) | **GET** /Contacts/{ContactID}/Attachments | Allows you to retrieve, add and update contacts in a Xero organisation
|
182
|
+
*XeroRuby::AccountingApi* | [**get_contact_cis_settings**](docs/AccountingApi.md#get_contact_cis_settings) | **GET** /Contacts/{ContactID}/CISSettings | Allows you to retrieve CISSettings for a contact in a Xero organisation
|
183
|
+
*XeroRuby::AccountingApi* | [**get_contact_group**](docs/AccountingApi.md#get_contact_group) | **GET** /ContactGroups/{ContactGroupID} | Allows you to retrieve a unique Contract Group by ID
|
184
|
+
*XeroRuby::AccountingApi* | [**get_contact_groups**](docs/AccountingApi.md#get_contact_groups) | **GET** /ContactGroups | Allows you to retrieve the ContactID and Name of all the contacts in a contact group
|
185
|
+
*XeroRuby::AccountingApi* | [**get_contact_history**](docs/AccountingApi.md#get_contact_history) | **GET** /Contacts/{ContactID}/History | Allows you to retrieve a history records of an Contact
|
186
|
+
*XeroRuby::AccountingApi* | [**get_contacts**](docs/AccountingApi.md#get_contacts) | **GET** /Contacts | Allows you to retrieve, add and update contacts in a Xero organisation
|
187
|
+
*XeroRuby::AccountingApi* | [**get_credit_note**](docs/AccountingApi.md#get_credit_note) | **GET** /CreditNotes/{CreditNoteID} | Allows you to retrieve a specific credit note
|
188
|
+
*XeroRuby::AccountingApi* | [**get_credit_note_as_pdf**](docs/AccountingApi.md#get_credit_note_as_pdf) | **GET** /CreditNotes/{CreditNoteID}/pdf | Allows you to retrieve Credit Note as PDF files
|
189
|
+
*XeroRuby::AccountingApi* | [**get_credit_note_attachment_by_file_name**](docs/AccountingApi.md#get_credit_note_attachment_by_file_name) | **GET** /CreditNotes/{CreditNoteID}/Attachments/{FileName} | Allows you to retrieve Attachments on CreditNote by file name
|
190
|
+
*XeroRuby::AccountingApi* | [**get_credit_note_attachment_by_id**](docs/AccountingApi.md#get_credit_note_attachment_by_id) | **GET** /CreditNotes/{CreditNoteID}/Attachments/{AttachmentID} | Allows you to retrieve Attachments on CreditNote
|
191
|
+
*XeroRuby::AccountingApi* | [**get_credit_note_attachments**](docs/AccountingApi.md#get_credit_note_attachments) | **GET** /CreditNotes/{CreditNoteID}/Attachments | Allows you to retrieve Attachments for credit notes
|
192
|
+
*XeroRuby::AccountingApi* | [**get_credit_note_history**](docs/AccountingApi.md#get_credit_note_history) | **GET** /CreditNotes/{CreditNoteID}/History | Allows you to retrieve a history records of an CreditNote
|
193
|
+
*XeroRuby::AccountingApi* | [**get_credit_notes**](docs/AccountingApi.md#get_credit_notes) | **GET** /CreditNotes | Allows you to retrieve any credit notes
|
194
|
+
*XeroRuby::AccountingApi* | [**get_currencies**](docs/AccountingApi.md#get_currencies) | **GET** /Currencies | Allows you to retrieve currencies for your organisation
|
195
|
+
*XeroRuby::AccountingApi* | [**get_employee**](docs/AccountingApi.md#get_employee) | **GET** /Employees/{EmployeeID} | Allows you to retrieve a specific employee used in Xero payrun
|
196
|
+
*XeroRuby::AccountingApi* | [**get_employees**](docs/AccountingApi.md#get_employees) | **GET** /Employees | Allows you to retrieve employees used in Xero payrun
|
197
|
+
*XeroRuby::AccountingApi* | [**get_expense_claim**](docs/AccountingApi.md#get_expense_claim) | **GET** /ExpenseClaims/{ExpenseClaimID} | Allows you to retrieve a specified expense claim
|
198
|
+
*XeroRuby::AccountingApi* | [**get_expense_claim_history**](docs/AccountingApi.md#get_expense_claim_history) | **GET** /ExpenseClaims/{ExpenseClaimID}/History | Allows you to retrieve a history records of an ExpenseClaim
|
199
|
+
*XeroRuby::AccountingApi* | [**get_expense_claims**](docs/AccountingApi.md#get_expense_claims) | **GET** /ExpenseClaims | Allows you to retrieve expense claims
|
200
|
+
*XeroRuby::AccountingApi* | [**get_invoice**](docs/AccountingApi.md#get_invoice) | **GET** /Invoices/{InvoiceID} | Allows you to retrieve a specified sales invoice or purchase bill
|
201
|
+
*XeroRuby::AccountingApi* | [**get_invoice_as_pdf**](docs/AccountingApi.md#get_invoice_as_pdf) | **GET** /Invoices/{InvoiceID}/pdf | Allows you to retrieve invoices or purchase bills as PDF files
|
202
|
+
*XeroRuby::AccountingApi* | [**get_invoice_attachment_by_file_name**](docs/AccountingApi.md#get_invoice_attachment_by_file_name) | **GET** /Invoices/{InvoiceID}/Attachments/{FileName} | Allows you to retrieve Attachment on invoices or purchase bills by it's filename
|
203
|
+
*XeroRuby::AccountingApi* | [**get_invoice_attachment_by_id**](docs/AccountingApi.md#get_invoice_attachment_by_id) | **GET** /Invoices/{InvoiceID}/Attachments/{AttachmentID} | Allows you to retrieve a specified Attachment on invoices or purchase bills by it's ID
|
204
|
+
*XeroRuby::AccountingApi* | [**get_invoice_attachments**](docs/AccountingApi.md#get_invoice_attachments) | **GET** /Invoices/{InvoiceID}/Attachments | Allows you to retrieve Attachments on invoices or purchase bills
|
205
|
+
*XeroRuby::AccountingApi* | [**get_invoice_history**](docs/AccountingApi.md#get_invoice_history) | **GET** /Invoices/{InvoiceID}/History | Allows you to retrieve a history records of an invoice
|
206
|
+
*XeroRuby::AccountingApi* | [**get_invoice_reminders**](docs/AccountingApi.md#get_invoice_reminders) | **GET** /InvoiceReminders/Settings | Allows you to retrieve invoice reminder settings
|
207
|
+
*XeroRuby::AccountingApi* | [**get_invoices**](docs/AccountingApi.md#get_invoices) | **GET** /Invoices | Allows you to retrieve any sales invoices or purchase bills
|
208
|
+
*XeroRuby::AccountingApi* | [**get_item**](docs/AccountingApi.md#get_item) | **GET** /Items/{ItemID} | Allows you to retrieve a specified item
|
209
|
+
*XeroRuby::AccountingApi* | [**get_item_history**](docs/AccountingApi.md#get_item_history) | **GET** /Items/{ItemID}/History | Allows you to retrieve history for items
|
210
|
+
*XeroRuby::AccountingApi* | [**get_items**](docs/AccountingApi.md#get_items) | **GET** /Items | Allows you to retrieve any items
|
211
|
+
*XeroRuby::AccountingApi* | [**get_journal**](docs/AccountingApi.md#get_journal) | **GET** /Journals/{JournalID} | Allows you to retrieve a specified journals.
|
212
|
+
*XeroRuby::AccountingApi* | [**get_journals**](docs/AccountingApi.md#get_journals) | **GET** /Journals | Allows you to retrieve any journals.
|
213
|
+
*XeroRuby::AccountingApi* | [**get_linked_transaction**](docs/AccountingApi.md#get_linked_transaction) | **GET** /LinkedTransactions/{LinkedTransactionID} | Allows you to retrieve a specified linked transactions (billable expenses)
|
214
|
+
*XeroRuby::AccountingApi* | [**get_linked_transactions**](docs/AccountingApi.md#get_linked_transactions) | **GET** /LinkedTransactions | Retrieve linked transactions (billable expenses)
|
215
|
+
*XeroRuby::AccountingApi* | [**get_manual_journal**](docs/AccountingApi.md#get_manual_journal) | **GET** /ManualJournals/{ManualJournalID} | Allows you to retrieve a specified manual journals
|
216
|
+
*XeroRuby::AccountingApi* | [**get_manual_journal_attachment_by_file_name**](docs/AccountingApi.md#get_manual_journal_attachment_by_file_name) | **GET** /ManualJournals/{ManualJournalID}/Attachments/{FileName} | Allows you to retrieve specified Attachment on ManualJournal by file name
|
217
|
+
*XeroRuby::AccountingApi* | [**get_manual_journal_attachment_by_id**](docs/AccountingApi.md#get_manual_journal_attachment_by_id) | **GET** /ManualJournals/{ManualJournalID}/Attachments/{AttachmentID} | Allows you to retrieve specified Attachment on ManualJournals
|
218
|
+
*XeroRuby::AccountingApi* | [**get_manual_journal_attachments**](docs/AccountingApi.md#get_manual_journal_attachments) | **GET** /ManualJournals/{ManualJournalID}/Attachments | Allows you to retrieve Attachment for manual journals
|
219
|
+
*XeroRuby::AccountingApi* | [**get_manual_journals**](docs/AccountingApi.md#get_manual_journals) | **GET** /ManualJournals | Allows you to retrieve any manual journals
|
220
|
+
*XeroRuby::AccountingApi* | [**get_online_invoice**](docs/AccountingApi.md#get_online_invoice) | **GET** /Invoices/{InvoiceID}/OnlineInvoice | Allows you to retrieve a URL to an online invoice
|
221
|
+
*XeroRuby::AccountingApi* | [**get_organisation_cis_settings**](docs/AccountingApi.md#get_organisation_cis_settings) | **GET** /Organisation/{OrganisationID}/CISSettings | Allows you To verify if an organisation is using contruction industry scheme, you can retrieve the CIS settings for the organistaion.
|
222
|
+
*XeroRuby::AccountingApi* | [**get_organisations**](docs/AccountingApi.md#get_organisations) | **GET** /Organisation | Allows you to retrieve Organisation details
|
223
|
+
*XeroRuby::AccountingApi* | [**get_overpayment**](docs/AccountingApi.md#get_overpayment) | **GET** /Overpayments/{OverpaymentID} | Allows you to retrieve a specified overpayments
|
224
|
+
*XeroRuby::AccountingApi* | [**get_overpayment_history**](docs/AccountingApi.md#get_overpayment_history) | **GET** /Overpayments/{OverpaymentID}/History | Allows you to retrieve a history records of an Overpayment
|
225
|
+
*XeroRuby::AccountingApi* | [**get_overpayments**](docs/AccountingApi.md#get_overpayments) | **GET** /Overpayments | Allows you to retrieve overpayments
|
226
|
+
*XeroRuby::AccountingApi* | [**get_payment**](docs/AccountingApi.md#get_payment) | **GET** /Payments/{PaymentID} | Allows you to retrieve a specified payment for invoices and credit notes
|
227
|
+
*XeroRuby::AccountingApi* | [**get_payment_history**](docs/AccountingApi.md#get_payment_history) | **GET** /Payments/{PaymentID}/History | Allows you to retrieve history records of a payment
|
228
|
+
*XeroRuby::AccountingApi* | [**get_payment_services**](docs/AccountingApi.md#get_payment_services) | **GET** /PaymentServices | Allows you to retrieve payment services
|
229
|
+
*XeroRuby::AccountingApi* | [**get_payments**](docs/AccountingApi.md#get_payments) | **GET** /Payments | Allows you to retrieve payments for invoices and credit notes
|
230
|
+
*XeroRuby::AccountingApi* | [**get_prepayment**](docs/AccountingApi.md#get_prepayment) | **GET** /Prepayments/{PrepaymentID} | Allows you to retrieve a specified prepayments
|
231
|
+
*XeroRuby::AccountingApi* | [**get_prepayment_history**](docs/AccountingApi.md#get_prepayment_history) | **GET** /Prepayments/{PrepaymentID}/History | Allows you to retrieve a history records of an Prepayment
|
232
|
+
*XeroRuby::AccountingApi* | [**get_prepayments**](docs/AccountingApi.md#get_prepayments) | **GET** /Prepayments | Allows you to retrieve prepayments
|
233
|
+
*XeroRuby::AccountingApi* | [**get_purchase_order**](docs/AccountingApi.md#get_purchase_order) | **GET** /PurchaseOrders/{PurchaseOrderID} | Allows you to retrieve a specified purchase orders
|
234
|
+
*XeroRuby::AccountingApi* | [**get_purchase_order_history**](docs/AccountingApi.md#get_purchase_order_history) | **GET** /PurchaseOrders/{PurchaseOrderID}/History | Allows you to retrieve history for PurchaseOrder
|
235
|
+
*XeroRuby::AccountingApi* | [**get_purchase_orders**](docs/AccountingApi.md#get_purchase_orders) | **GET** /PurchaseOrders | Allows you to retrieve purchase orders
|
236
|
+
*XeroRuby::AccountingApi* | [**get_receipt**](docs/AccountingApi.md#get_receipt) | **GET** /Receipts/{ReceiptID} | Allows you to retrieve a specified draft expense claim receipts
|
237
|
+
*XeroRuby::AccountingApi* | [**get_receipt_attachment_by_file_name**](docs/AccountingApi.md#get_receipt_attachment_by_file_name) | **GET** /Receipts/{ReceiptID}/Attachments/{FileName} | Allows you to retrieve Attachments on expense claim receipts by file name
|
238
|
+
*XeroRuby::AccountingApi* | [**get_receipt_attachment_by_id**](docs/AccountingApi.md#get_receipt_attachment_by_id) | **GET** /Receipts/{ReceiptID}/Attachments/{AttachmentID} | Allows you to retrieve Attachments on expense claim receipts by ID
|
239
|
+
*XeroRuby::AccountingApi* | [**get_receipt_attachments**](docs/AccountingApi.md#get_receipt_attachments) | **GET** /Receipts/{ReceiptID}/Attachments | Allows you to retrieve Attachments for expense claim receipts
|
240
|
+
*XeroRuby::AccountingApi* | [**get_receipt_history**](docs/AccountingApi.md#get_receipt_history) | **GET** /Receipts/{ReceiptID}/History | Allows you to retrieve a history records of an Receipt
|
241
|
+
*XeroRuby::AccountingApi* | [**get_receipts**](docs/AccountingApi.md#get_receipts) | **GET** /Receipts | Allows you to retrieve draft expense claim receipts for any user
|
242
|
+
*XeroRuby::AccountingApi* | [**get_repeating_invoice**](docs/AccountingApi.md#get_repeating_invoice) | **GET** /RepeatingInvoices/{RepeatingInvoiceID} | Allows you to retrieve a specified repeating invoice
|
243
|
+
*XeroRuby::AccountingApi* | [**get_repeating_invoice_attachment_by_file_name**](docs/AccountingApi.md#get_repeating_invoice_attachment_by_file_name) | **GET** /RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName} | Allows you to retrieve specified attachment on repeating invoices by file name
|
244
|
+
*XeroRuby::AccountingApi* | [**get_repeating_invoice_attachment_by_id**](docs/AccountingApi.md#get_repeating_invoice_attachment_by_id) | **GET** /RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{AttachmentID} | Allows you to retrieve a specified Attachments on repeating invoices
|
245
|
+
*XeroRuby::AccountingApi* | [**get_repeating_invoice_attachments**](docs/AccountingApi.md#get_repeating_invoice_attachments) | **GET** /RepeatingInvoices/{RepeatingInvoiceID}/Attachments | Allows you to retrieve Attachments on repeating invoice
|
246
|
+
*XeroRuby::AccountingApi* | [**get_repeating_invoice_history**](docs/AccountingApi.md#get_repeating_invoice_history) | **GET** /RepeatingInvoices/{RepeatingInvoiceID}/History | Allows you to retrieve history for a repeating invoice
|
247
|
+
*XeroRuby::AccountingApi* | [**get_repeating_invoices**](docs/AccountingApi.md#get_repeating_invoices) | **GET** /RepeatingInvoices | Allows you to retrieve any repeating invoices
|
248
|
+
*XeroRuby::AccountingApi* | [**get_report_aged_payables_by_contact**](docs/AccountingApi.md#get_report_aged_payables_by_contact) | **GET** /Reports/AgedPayablesByContact | Allows you to retrieve report for AgedPayablesByContact
|
249
|
+
*XeroRuby::AccountingApi* | [**get_report_aged_receivables_by_contact**](docs/AccountingApi.md#get_report_aged_receivables_by_contact) | **GET** /Reports/AgedReceivablesByContact | Allows you to retrieve report for AgedReceivablesByContact
|
250
|
+
*XeroRuby::AccountingApi* | [**get_report_ba_sor_gst**](docs/AccountingApi.md#get_report_ba_sor_gst) | **GET** /Reports/{ReportID} | Allows you to retrieve report for BAS only valid for AU orgs
|
251
|
+
*XeroRuby::AccountingApi* | [**get_report_ba_sor_gst_list**](docs/AccountingApi.md#get_report_ba_sor_gst_list) | **GET** /Reports | Allows you to retrieve report for BAS only valid for AU orgs
|
252
|
+
*XeroRuby::AccountingApi* | [**get_report_balance_sheet**](docs/AccountingApi.md#get_report_balance_sheet) | **GET** /Reports/BalanceSheet | Allows you to retrieve report for BalanceSheet
|
253
|
+
*XeroRuby::AccountingApi* | [**get_report_bank_summary**](docs/AccountingApi.md#get_report_bank_summary) | **GET** /Reports/BankSummary | Allows you to retrieve report for BankSummary
|
254
|
+
*XeroRuby::AccountingApi* | [**get_report_budget_summary**](docs/AccountingApi.md#get_report_budget_summary) | **GET** /Reports/BudgetSummary | Allows you to retrieve report for Budget Summary
|
255
|
+
*XeroRuby::AccountingApi* | [**get_report_executive_summary**](docs/AccountingApi.md#get_report_executive_summary) | **GET** /Reports/ExecutiveSummary | Allows you to retrieve report for ExecutiveSummary
|
256
|
+
*XeroRuby::AccountingApi* | [**get_report_profit_and_loss**](docs/AccountingApi.md#get_report_profit_and_loss) | **GET** /Reports/ProfitAndLoss | Allows you to retrieve report for ProfitAndLoss
|
257
|
+
*XeroRuby::AccountingApi* | [**get_report_ten_ninety_nine**](docs/AccountingApi.md#get_report_ten_ninety_nine) | **GET** /Reports/TenNinetyNine | Allows you to retrieve report for TenNinetyNine
|
258
|
+
*XeroRuby::AccountingApi* | [**get_report_trial_balance**](docs/AccountingApi.md#get_report_trial_balance) | **GET** /Reports/TrialBalance | Allows you to retrieve report for TrialBalance
|
259
|
+
*XeroRuby::AccountingApi* | [**get_tax_rates**](docs/AccountingApi.md#get_tax_rates) | **GET** /TaxRates | Allows you to retrieve Tax Rates
|
260
|
+
*XeroRuby::AccountingApi* | [**get_tracking_categories**](docs/AccountingApi.md#get_tracking_categories) | **GET** /TrackingCategories | Allows you to retrieve tracking categories and options
|
261
|
+
*XeroRuby::AccountingApi* | [**get_tracking_category**](docs/AccountingApi.md#get_tracking_category) | **GET** /TrackingCategories/{TrackingCategoryID} | Allows you to retrieve tracking categories and options for specified category
|
262
|
+
*XeroRuby::AccountingApi* | [**get_user**](docs/AccountingApi.md#get_user) | **GET** /Users/{UserID} | Allows you to retrieve a specified user
|
263
|
+
*XeroRuby::AccountingApi* | [**get_users**](docs/AccountingApi.md#get_users) | **GET** /Users | Allows you to retrieve users
|
264
|
+
*XeroRuby::AccountingApi* | [**update_account**](docs/AccountingApi.md#update_account) | **POST** /Accounts/{AccountID} | Allows you to update a chart of accounts
|
265
|
+
*XeroRuby::AccountingApi* | [**update_account_attachment_by_file_name**](docs/AccountingApi.md#update_account_attachment_by_file_name) | **POST** /Accounts/{AccountID}/Attachments/{FileName} | Allows you to update Attachment on Account by Filename
|
266
|
+
*XeroRuby::AccountingApi* | [**update_bank_transaction**](docs/AccountingApi.md#update_bank_transaction) | **POST** /BankTransactions/{BankTransactionID} | Allows you to update a single spend or receive money transaction
|
267
|
+
*XeroRuby::AccountingApi* | [**update_bank_transaction_attachment_by_file_name**](docs/AccountingApi.md#update_bank_transaction_attachment_by_file_name) | **POST** /BankTransactions/{BankTransactionID}/Attachments/{FileName} | Allows you to update an Attachment on BankTransaction by Filename
|
268
|
+
*XeroRuby::AccountingApi* | [**update_bank_transfer_attachment_by_file_name**](docs/AccountingApi.md#update_bank_transfer_attachment_by_file_name) | **POST** /BankTransfers/{BankTransferID}/Attachments/{FileName} |
|
269
|
+
*XeroRuby::AccountingApi* | [**update_contact**](docs/AccountingApi.md#update_contact) | **POST** /Contacts/{ContactID} |
|
270
|
+
*XeroRuby::AccountingApi* | [**update_contact_attachment_by_file_name**](docs/AccountingApi.md#update_contact_attachment_by_file_name) | **POST** /Contacts/{ContactID}/Attachments/{FileName} |
|
271
|
+
*XeroRuby::AccountingApi* | [**update_contact_group**](docs/AccountingApi.md#update_contact_group) | **POST** /ContactGroups/{ContactGroupID} | Allows you to update a Contract Group
|
272
|
+
*XeroRuby::AccountingApi* | [**update_credit_note**](docs/AccountingApi.md#update_credit_note) | **POST** /CreditNotes/{CreditNoteID} | Allows you to update a specific credit note
|
273
|
+
*XeroRuby::AccountingApi* | [**update_credit_note_attachment_by_file_name**](docs/AccountingApi.md#update_credit_note_attachment_by_file_name) | **POST** /CreditNotes/{CreditNoteID}/Attachments/{FileName} | Allows you to update Attachments on CreditNote by file name
|
274
|
+
*XeroRuby::AccountingApi* | [**update_employee**](docs/AccountingApi.md#update_employee) | **POST** /Employees/{EmployeeID} | Allows you to update a specific employee used in Xero payrun
|
275
|
+
*XeroRuby::AccountingApi* | [**update_expense_claim**](docs/AccountingApi.md#update_expense_claim) | **POST** /ExpenseClaims/{ExpenseClaimID} | Allows you to update specified expense claims
|
276
|
+
*XeroRuby::AccountingApi* | [**update_invoice**](docs/AccountingApi.md#update_invoice) | **POST** /Invoices/{InvoiceID} | Allows you to update a specified sales invoices or purchase bills
|
277
|
+
*XeroRuby::AccountingApi* | [**update_invoice_attachment_by_file_name**](docs/AccountingApi.md#update_invoice_attachment_by_file_name) | **POST** /Invoices/{InvoiceID}/Attachments/{FileName} | Allows you to update Attachment on invoices or purchase bills by it's filename
|
278
|
+
*XeroRuby::AccountingApi* | [**update_item**](docs/AccountingApi.md#update_item) | **POST** /Items/{ItemID} | Allows you to udpate a specified item
|
279
|
+
*XeroRuby::AccountingApi* | [**update_linked_transaction**](docs/AccountingApi.md#update_linked_transaction) | **POST** /LinkedTransactions/{LinkedTransactionID} | Allows you to update a specified linked transactions (billable expenses)
|
280
|
+
*XeroRuby::AccountingApi* | [**update_manual_journal**](docs/AccountingApi.md#update_manual_journal) | **POST** /ManualJournals/{ManualJournalID} | Allows you to update a specified manual journal
|
281
|
+
*XeroRuby::AccountingApi* | [**update_manual_journal_attachment_by_file_name**](docs/AccountingApi.md#update_manual_journal_attachment_by_file_name) | **POST** /ManualJournals/{ManualJournalID}/Attachments/{FileName} | Allows you to update a specified Attachment on ManualJournal by file name
|
282
|
+
*XeroRuby::AccountingApi* | [**update_purchase_order**](docs/AccountingApi.md#update_purchase_order) | **POST** /PurchaseOrders/{PurchaseOrderID} | Allows you to update a specified purchase order
|
283
|
+
*XeroRuby::AccountingApi* | [**update_receipt**](docs/AccountingApi.md#update_receipt) | **POST** /Receipts/{ReceiptID} | Allows you to retrieve a specified draft expense claim receipts
|
284
|
+
*XeroRuby::AccountingApi* | [**update_receipt_attachment_by_file_name**](docs/AccountingApi.md#update_receipt_attachment_by_file_name) | **POST** /Receipts/{ReceiptID}/Attachments/{FileName} | Allows you to update Attachment on expense claim receipts by file name
|
285
|
+
*XeroRuby::AccountingApi* | [**update_repeating_invoice_attachment_by_file_name**](docs/AccountingApi.md#update_repeating_invoice_attachment_by_file_name) | **POST** /RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName} | Allows you to update specified attachment on repeating invoices by file name
|
286
|
+
*XeroRuby::AccountingApi* | [**update_tax_rate**](docs/AccountingApi.md#update_tax_rate) | **POST** /TaxRates | Allows you to update Tax Rates
|
287
|
+
*XeroRuby::AccountingApi* | [**update_tracking_category**](docs/AccountingApi.md#update_tracking_category) | **POST** /TrackingCategories/{TrackingCategoryID} | Allows you to update tracking categories
|
288
|
+
*XeroRuby::AccountingApi* | [**update_tracking_options**](docs/AccountingApi.md#update_tracking_options) | **POST** /TrackingCategories/{TrackingCategoryID}/Options/{TrackingOptionID} | Allows you to update options for a specified tracking category
|
289
|
+
|
290
|
+
|
291
|
+
## Documentation for Models
|
292
|
+
|
293
|
+
- [XeroRuby::Account](docs/Account.md)
|
294
|
+
- [XeroRuby::AccountType](docs/AccountType.md)
|
295
|
+
- [XeroRuby::Accounts](docs/Accounts.md)
|
296
|
+
- [XeroRuby::AccountsPayable](docs/AccountsPayable.md)
|
297
|
+
- [XeroRuby::AccountsReceivable](docs/AccountsReceivable.md)
|
298
|
+
- [XeroRuby::Address](docs/Address.md)
|
299
|
+
- [XeroRuby::Allocation](docs/Allocation.md)
|
300
|
+
- [XeroRuby::Allocations](docs/Allocations.md)
|
301
|
+
- [XeroRuby::Attachment](docs/Attachment.md)
|
302
|
+
- [XeroRuby::Attachments](docs/Attachments.md)
|
303
|
+
- [XeroRuby::Balances](docs/Balances.md)
|
304
|
+
- [XeroRuby::BankTransaction](docs/BankTransaction.md)
|
305
|
+
- [XeroRuby::BankTransactions](docs/BankTransactions.md)
|
306
|
+
- [XeroRuby::BankTransfer](docs/BankTransfer.md)
|
307
|
+
- [XeroRuby::BankTransfers](docs/BankTransfers.md)
|
308
|
+
- [XeroRuby::BatchPayment](docs/BatchPayment.md)
|
309
|
+
- [XeroRuby::BatchPaymentDetails](docs/BatchPaymentDetails.md)
|
310
|
+
- [XeroRuby::BatchPayments](docs/BatchPayments.md)
|
311
|
+
- [XeroRuby::Bill](docs/Bill.md)
|
312
|
+
- [XeroRuby::BrandingTheme](docs/BrandingTheme.md)
|
313
|
+
- [XeroRuby::BrandingThemes](docs/BrandingThemes.md)
|
314
|
+
- [XeroRuby::CISOrgSetting](docs/CISOrgSetting.md)
|
315
|
+
- [XeroRuby::CISSetting](docs/CISSetting.md)
|
316
|
+
- [XeroRuby::CISSettings](docs/CISSettings.md)
|
317
|
+
- [XeroRuby::Contact](docs/Contact.md)
|
318
|
+
- [XeroRuby::ContactGroup](docs/ContactGroup.md)
|
319
|
+
- [XeroRuby::ContactGroups](docs/ContactGroups.md)
|
320
|
+
- [XeroRuby::ContactPerson](docs/ContactPerson.md)
|
321
|
+
- [XeroRuby::Contacts](docs/Contacts.md)
|
322
|
+
- [XeroRuby::CountryCode](docs/CountryCode.md)
|
323
|
+
- [XeroRuby::CreditNote](docs/CreditNote.md)
|
324
|
+
- [XeroRuby::CreditNotes](docs/CreditNotes.md)
|
325
|
+
- [XeroRuby::Currencies](docs/Currencies.md)
|
326
|
+
- [XeroRuby::Currency](docs/Currency.md)
|
327
|
+
- [XeroRuby::CurrencyCode](docs/CurrencyCode.md)
|
328
|
+
- [XeroRuby::Element](docs/Element.md)
|
329
|
+
- [XeroRuby::Employee](docs/Employee.md)
|
330
|
+
- [XeroRuby::Employees](docs/Employees.md)
|
331
|
+
- [XeroRuby::Error](docs/Error.md)
|
332
|
+
- [XeroRuby::ExpenseClaim](docs/ExpenseClaim.md)
|
333
|
+
- [XeroRuby::ExpenseClaims](docs/ExpenseClaims.md)
|
334
|
+
- [XeroRuby::ExternalLink](docs/ExternalLink.md)
|
335
|
+
- [XeroRuby::HistoryRecord](docs/HistoryRecord.md)
|
336
|
+
- [XeroRuby::HistoryRecords](docs/HistoryRecords.md)
|
337
|
+
- [XeroRuby::Invoice](docs/Invoice.md)
|
338
|
+
- [XeroRuby::InvoiceReminder](docs/InvoiceReminder.md)
|
339
|
+
- [XeroRuby::InvoiceReminders](docs/InvoiceReminders.md)
|
340
|
+
- [XeroRuby::Invoices](docs/Invoices.md)
|
341
|
+
- [XeroRuby::Item](docs/Item.md)
|
342
|
+
- [XeroRuby::Items](docs/Items.md)
|
343
|
+
- [XeroRuby::Journal](docs/Journal.md)
|
344
|
+
- [XeroRuby::JournalLine](docs/JournalLine.md)
|
345
|
+
- [XeroRuby::Journals](docs/Journals.md)
|
346
|
+
- [XeroRuby::LineAmountTypes](docs/LineAmountTypes.md)
|
347
|
+
- [XeroRuby::LineItem](docs/LineItem.md)
|
348
|
+
- [XeroRuby::LineItemTracking](docs/LineItemTracking.md)
|
349
|
+
- [XeroRuby::LinkedTransaction](docs/LinkedTransaction.md)
|
350
|
+
- [XeroRuby::LinkedTransactions](docs/LinkedTransactions.md)
|
351
|
+
- [XeroRuby::ManualJournal](docs/ManualJournal.md)
|
352
|
+
- [XeroRuby::ManualJournalLine](docs/ManualJournalLine.md)
|
353
|
+
- [XeroRuby::ManualJournals](docs/ManualJournals.md)
|
354
|
+
- [XeroRuby::OnlineInvoice](docs/OnlineInvoice.md)
|
355
|
+
- [XeroRuby::OnlineInvoices](docs/OnlineInvoices.md)
|
356
|
+
- [XeroRuby::Organisation](docs/Organisation.md)
|
357
|
+
- [XeroRuby::Organisations](docs/Organisations.md)
|
358
|
+
- [XeroRuby::Overpayment](docs/Overpayment.md)
|
359
|
+
- [XeroRuby::Overpayments](docs/Overpayments.md)
|
360
|
+
- [XeroRuby::Payment](docs/Payment.md)
|
361
|
+
- [XeroRuby::PaymentService](docs/PaymentService.md)
|
362
|
+
- [XeroRuby::PaymentServices](docs/PaymentServices.md)
|
363
|
+
- [XeroRuby::PaymentTerm](docs/PaymentTerm.md)
|
364
|
+
- [XeroRuby::PaymentTermType](docs/PaymentTermType.md)
|
365
|
+
- [XeroRuby::Payments](docs/Payments.md)
|
366
|
+
- [XeroRuby::Phone](docs/Phone.md)
|
367
|
+
- [XeroRuby::Prepayment](docs/Prepayment.md)
|
368
|
+
- [XeroRuby::Prepayments](docs/Prepayments.md)
|
369
|
+
- [XeroRuby::Purchase](docs/Purchase.md)
|
370
|
+
- [XeroRuby::PurchaseOrder](docs/PurchaseOrder.md)
|
371
|
+
- [XeroRuby::PurchaseOrders](docs/PurchaseOrders.md)
|
372
|
+
- [XeroRuby::Receipt](docs/Receipt.md)
|
373
|
+
- [XeroRuby::Receipts](docs/Receipts.md)
|
374
|
+
- [XeroRuby::RepeatingInvoice](docs/RepeatingInvoice.md)
|
375
|
+
- [XeroRuby::RepeatingInvoices](docs/RepeatingInvoices.md)
|
376
|
+
- [XeroRuby::Report](docs/Report.md)
|
377
|
+
- [XeroRuby::ReportAttribute](docs/ReportAttribute.md)
|
378
|
+
- [XeroRuby::ReportCell](docs/ReportCell.md)
|
379
|
+
- [XeroRuby::ReportFields](docs/ReportFields.md)
|
380
|
+
- [XeroRuby::ReportRow](docs/ReportRow.md)
|
381
|
+
- [XeroRuby::ReportRows](docs/ReportRows.md)
|
382
|
+
- [XeroRuby::ReportWithRow](docs/ReportWithRow.md)
|
383
|
+
- [XeroRuby::ReportWithRows](docs/ReportWithRows.md)
|
384
|
+
- [XeroRuby::Reports](docs/Reports.md)
|
385
|
+
- [XeroRuby::RequestEmpty](docs/RequestEmpty.md)
|
386
|
+
- [XeroRuby::RowType](docs/RowType.md)
|
387
|
+
- [XeroRuby::SalesTrackingCategory](docs/SalesTrackingCategory.md)
|
388
|
+
- [XeroRuby::Schedule](docs/Schedule.md)
|
389
|
+
- [XeroRuby::TaxComponent](docs/TaxComponent.md)
|
390
|
+
- [XeroRuby::TaxRate](docs/TaxRate.md)
|
391
|
+
- [XeroRuby::TaxRates](docs/TaxRates.md)
|
392
|
+
- [XeroRuby::TaxType](docs/TaxType.md)
|
393
|
+
- [XeroRuby::TenNinteyNineContact](docs/TenNinteyNineContact.md)
|
394
|
+
- [XeroRuby::TimeZone](docs/TimeZone.md)
|
395
|
+
- [XeroRuby::TrackingCategories](docs/TrackingCategories.md)
|
396
|
+
- [XeroRuby::TrackingCategory](docs/TrackingCategory.md)
|
397
|
+
- [XeroRuby::TrackingOption](docs/TrackingOption.md)
|
398
|
+
- [XeroRuby::TrackingOptions](docs/TrackingOptions.md)
|
399
|
+
- [XeroRuby::User](docs/User.md)
|
400
|
+
- [XeroRuby::Users](docs/Users.md)
|
401
|
+
- [XeroRuby::ValidationError](docs/ValidationError.md)
|
402
|
+
|
403
|
+
|
404
|
+
## Documentation for Authorization
|
405
|
+
|
406
|
+
|
407
|
+
### OAuth2
|
408
|
+
|
409
|
+
|
410
|
+
- **Type**: OAuth
|
411
|
+
- **Flow**: accessCode
|
412
|
+
- **Authorization URL**: https://login.xero.com/identity/connect/authorize
|
413
|
+
- **Scopes**:
|
414
|
+
- email: Grant read-only access to your email
|
415
|
+
- openid: Grant read-only access to your open id
|
416
|
+
- profile: your profile information
|
417
|
+
- accounting.transactions: Grant read-write access to bank transactions, credit notes, invoices, repeating invoices
|
418
|
+
- accounting.transactions.read: Grant read-only access to invoices
|
419
|
+
- accounting.reports.read: Grant read-only access to accounting reports
|
420
|
+
- accounting.journals.read: Grant read-only access to journals
|
421
|
+
- accounting.settings: Grant read-write access to organisation and account settings
|
422
|
+
- accounting.settings.read: Grant read-only access to organisation and account settings
|
423
|
+
- accounting.contacts: Grant read-write access to contacts and contact groups
|
424
|
+
- accounting.contacts.read: Grant read-only access to contacts and contact groups
|
425
|
+
- accounting.attachments: Grant read-write access to attachments
|
426
|
+
- accounting.attachments.read: Grant read-only access to attachments
|
427
|
+
- assets assets.read: Grant read-only access to fixed assets
|
428
|
+
- bankfeeds: Grant read-write access to bankfeeds
|
429
|
+
- files: Grant read-write access to files and folders
|
430
|
+
- files.read: Grant read-only access to files and folders
|
431
|
+
- payroll: Grant read-write access to payroll
|
432
|
+
- payroll.read: Grant read-only access to payroll
|
433
|
+
- payroll.employees: Grant read-write access to payroll employees
|
434
|
+
- payroll.employees.read: Grant read-only access to payroll employees
|
435
|
+
- payroll.leaveapplications: Grant read-write access to payroll leaveapplications
|
436
|
+
- payroll.leaveapplications.read: Grant read-only access to payroll leaveapplications
|
437
|
+
- payroll.payitems: Grant read-write access to payroll payitems
|
438
|
+
- payroll.payitems.read: Grant read-only access to payroll payitems
|
439
|
+
- payroll.payrollcalendars: Grant read-write access to payroll calendars
|
440
|
+
- payroll.payrollcalendars.read: Grant read-only access to payroll calendars
|
441
|
+
- payroll.payruns: Grant read-write access to payroll payruns
|
442
|
+
- payroll.payruns.read: Grant read-only access to payroll payruns
|
443
|
+
- payroll.payslip: Grant read-write access to payroll payslips
|
444
|
+
- payroll.payslip.read: Grant read-only access to payroll payslips
|
445
|
+
- payroll.settings.read: Grant read-only access to payroll settings
|
446
|
+
- payroll.superfunds: Grant read-write access to payroll superfunds
|
447
|
+
- payroll.superfunds.read: Grant read-only access to payroll superfunds
|
448
|
+
- payroll.superfundproducts.read: Grant read-only access to payroll superfundproducts
|
449
|
+
- payroll.timesheets: Grant read-write access to payroll timesheets
|
450
|
+
- payroll.timesheets.read: Grant read-only access to payroll timesheets
|
451
|
+
- paymentservices: Grant read-write access to payment services
|
452
|
+
- projects: Grant read-write access to projects
|
453
|
+
- projects.read: Grant read-only access to projects
|
454
|
+
|