public class AccountingApi extends Object
| Constructor and Description |
|---|
AccountingApi() |
AccountingApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ByteArrayInputStream |
convertInputToByteArray(InputStream is) |
Accounts |
createAccount(String accessToken,
String xeroTenantId,
Account account)
Allows you to create a new chart of accounts
|
Attachments |
createAccountAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID accountID,
String fileName,
File body)
Allows you to create Attachment on Account
|
com.google.api.client.http.HttpResponse |
createAccountAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID accountID,
String fileName,
File body) |
com.google.api.client.http.HttpResponse |
createAccountForHttpResponse(String accessToken,
String xeroTenantId,
Account account) |
Attachments |
createBankTransactionAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID bankTransactionID,
String fileName,
File body)
Allows you to createa an Attachment on BankTransaction by Filename
|
com.google.api.client.http.HttpResponse |
createBankTransactionAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID bankTransactionID,
String fileName,
File body) |
HistoryRecords |
createBankTransactionHistoryRecord(String accessToken,
String xeroTenantId,
UUID bankTransactionID,
HistoryRecords historyRecords)
Allows you to create history record for a bank transactions
|
com.google.api.client.http.HttpResponse |
createBankTransactionHistoryRecordForHttpResponse(String accessToken,
String xeroTenantId,
UUID bankTransactionID,
HistoryRecords historyRecords) |
BankTransactions |
createBankTransactions(String accessToken,
String xeroTenantId,
BankTransactions bankTransactions,
Boolean summarizeErrors,
Integer unitdp)
Allows you to create one or more spend or receive money transaction
|
com.google.api.client.http.HttpResponse |
createBankTransactionsForHttpResponse(String accessToken,
String xeroTenantId,
BankTransactions bankTransactions,
Boolean summarizeErrors,
Integer unitdp) |
BankTransfers |
createBankTransfer(String accessToken,
String xeroTenantId,
BankTransfers bankTransfers)
Allows you to create a bank transfers
|
Attachments |
createBankTransferAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID bankTransferID,
String fileName,
File body)
200 - Success - return response of Attachments array of 0 to N Attachment for a Bank Transfer
|
com.google.api.client.http.HttpResponse |
createBankTransferAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID bankTransferID,
String fileName,
File body) |
com.google.api.client.http.HttpResponse |
createBankTransferForHttpResponse(String accessToken,
String xeroTenantId,
BankTransfers bankTransfers) |
HistoryRecords |
createBankTransferHistoryRecord(String accessToken,
String xeroTenantId,
UUID bankTransferID,
HistoryRecords historyRecords)
200 - Success - return response of type HistoryRecords array of HistoryRecord objects
|
com.google.api.client.http.HttpResponse |
createBankTransferHistoryRecordForHttpResponse(String accessToken,
String xeroTenantId,
UUID bankTransferID,
HistoryRecords historyRecords) |
BatchPayments |
createBatchPayment(String accessToken,
String xeroTenantId,
BatchPayments batchPayments,
Boolean summarizeErrors)
Create one or many BatchPayments for invoices
|
com.google.api.client.http.HttpResponse |
createBatchPaymentForHttpResponse(String accessToken,
String xeroTenantId,
BatchPayments batchPayments,
Boolean summarizeErrors) |
HistoryRecords |
createBatchPaymentHistoryRecord(String accessToken,
String xeroTenantId,
UUID batchPaymentID,
HistoryRecords historyRecords)
Allows you to create a history record for a Batch Payment
|
com.google.api.client.http.HttpResponse |
createBatchPaymentHistoryRecordForHttpResponse(String accessToken,
String xeroTenantId,
UUID batchPaymentID,
HistoryRecords historyRecords) |
PaymentServices |
createBrandingThemePaymentServices(String accessToken,
String xeroTenantId,
UUID brandingThemeID,
PaymentService paymentService)
Allow for the creation of new custom payment service for specified Branding Theme
|
com.google.api.client.http.HttpResponse |
createBrandingThemePaymentServicesForHttpResponse(String accessToken,
String xeroTenantId,
UUID brandingThemeID,
PaymentService paymentService) |
Attachments |
createContactAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID contactID,
String fileName,
File body)
200 - Success - return response of type Attachments array with an newly created Attachment
|
com.google.api.client.http.HttpResponse |
createContactAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID contactID,
String fileName,
File body) |
ContactGroups |
createContactGroup(String accessToken,
String xeroTenantId,
ContactGroups contactGroups)
Allows you to create a contact group
|
Contacts |
createContactGroupContacts(String accessToken,
String xeroTenantId,
UUID contactGroupID,
Contacts contacts)
Allows you to add Contacts to a Contact Group
|
com.google.api.client.http.HttpResponse |
createContactGroupContactsForHttpResponse(String accessToken,
String xeroTenantId,
UUID contactGroupID,
Contacts contacts) |
com.google.api.client.http.HttpResponse |
createContactGroupForHttpResponse(String accessToken,
String xeroTenantId,
ContactGroups contactGroups) |
HistoryRecords |
createContactHistory(String accessToken,
String xeroTenantId,
UUID contactID,
HistoryRecords historyRecords)
Allows you to retrieve a history records of an Contact
|
com.google.api.client.http.HttpResponse |
createContactHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID contactID,
HistoryRecords historyRecords) |
Contacts |
createContacts(String accessToken,
String xeroTenantId,
Contacts contacts,
Boolean summarizeErrors)
Allows you to create a multiple contacts (bulk) in a Xero organisation
|
com.google.api.client.http.HttpResponse |
createContactsForHttpResponse(String accessToken,
String xeroTenantId,
Contacts contacts,
Boolean summarizeErrors) |
Allocations |
createCreditNoteAllocation(String accessToken,
String xeroTenantId,
UUID creditNoteID,
Allocations allocations,
Boolean summarizeErrors)
Allows you to create Allocation on CreditNote
|
com.google.api.client.http.HttpResponse |
createCreditNoteAllocationForHttpResponse(String accessToken,
String xeroTenantId,
UUID creditNoteID,
Allocations allocations,
Boolean summarizeErrors) |
Attachments |
createCreditNoteAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID creditNoteID,
String fileName,
File body,
Boolean includeOnline)
Allows you to create Attachments on CreditNote by file name
|
com.google.api.client.http.HttpResponse |
createCreditNoteAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID creditNoteID,
String fileName,
File body,
Boolean includeOnline) |
HistoryRecords |
createCreditNoteHistory(String accessToken,
String xeroTenantId,
UUID creditNoteID,
HistoryRecords historyRecords)
Allows you to retrieve a history records of an CreditNote
|
com.google.api.client.http.HttpResponse |
createCreditNoteHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID creditNoteID,
HistoryRecords historyRecords) |
CreditNotes |
createCreditNotes(String accessToken,
String xeroTenantId,
CreditNotes creditNotes,
Boolean summarizeErrors,
Integer unitdp)
Allows you to create a credit note
|
com.google.api.client.http.HttpResponse |
createCreditNotesForHttpResponse(String accessToken,
String xeroTenantId,
CreditNotes creditNotes,
Boolean summarizeErrors,
Integer unitdp) |
Currencies |
createCurrency(String accessToken,
String xeroTenantId,
Currency currency)
200 - Unsupported - return response incorrect exception, API is not able to create new Currency
|
com.google.api.client.http.HttpResponse |
createCurrencyForHttpResponse(String accessToken,
String xeroTenantId,
Currency currency) |
Employees |
createEmployees(String accessToken,
String xeroTenantId,
Employees employees,
Boolean summarizeErrors)
Allows you to create new employees used in Xero payrun
|
com.google.api.client.http.HttpResponse |
createEmployeesForHttpResponse(String accessToken,
String xeroTenantId,
Employees employees,
Boolean summarizeErrors) |
HistoryRecords |
createExpenseClaimHistory(String accessToken,
String xeroTenantId,
UUID expenseClaimID,
HistoryRecords historyRecords)
Allows you to create a history records of an ExpenseClaim
|
com.google.api.client.http.HttpResponse |
createExpenseClaimHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID expenseClaimID,
HistoryRecords historyRecords) |
ExpenseClaims |
createExpenseClaims(String accessToken,
String xeroTenantId,
ExpenseClaims expenseClaims)
Allows you to retrieve expense claims
|
com.google.api.client.http.HttpResponse |
createExpenseClaimsForHttpResponse(String accessToken,
String xeroTenantId,
ExpenseClaims expenseClaims) |
Attachments |
createInvoiceAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID invoiceID,
String fileName,
File body,
Boolean includeOnline)
Allows you to create an Attachment on invoices or purchase bills by it's filename
|
com.google.api.client.http.HttpResponse |
createInvoiceAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID invoiceID,
String fileName,
File body,
Boolean includeOnline) |
HistoryRecords |
createInvoiceHistory(String accessToken,
String xeroTenantId,
UUID invoiceID,
HistoryRecords historyRecords)
Allows you to retrieve a history records of an invoice
|
com.google.api.client.http.HttpResponse |
createInvoiceHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID invoiceID,
HistoryRecords historyRecords) |
Invoices |
createInvoices(String accessToken,
String xeroTenantId,
Invoices invoices,
Boolean summarizeErrors,
Integer unitdp)
Allows you to create one or more sales invoices or purchase bills
|
com.google.api.client.http.HttpResponse |
createInvoicesForHttpResponse(String accessToken,
String xeroTenantId,
Invoices invoices,
Boolean summarizeErrors,
Integer unitdp) |
HistoryRecords |
createItemHistory(String accessToken,
String xeroTenantId,
UUID itemID,
HistoryRecords historyRecords)
Allows you to create a history record for items
|
com.google.api.client.http.HttpResponse |
createItemHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID itemID,
HistoryRecords historyRecords) |
Items |
createItems(String accessToken,
String xeroTenantId,
Items items,
Boolean summarizeErrors,
Integer unitdp)
Allows you to create one or more items
|
com.google.api.client.http.HttpResponse |
createItemsForHttpResponse(String accessToken,
String xeroTenantId,
Items items,
Boolean summarizeErrors,
Integer unitdp) |
LinkedTransactions |
createLinkedTransaction(String accessToken,
String xeroTenantId,
LinkedTransaction linkedTransaction)
Allows you to create linked transactions (billable expenses)
|
com.google.api.client.http.HttpResponse |
createLinkedTransactionForHttpResponse(String accessToken,
String xeroTenantId,
LinkedTransaction linkedTransaction) |
Attachments |
createManualJournalAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID manualJournalID,
String fileName,
File body)
Allows you to create a specified Attachment on ManualJournal by file name
|
com.google.api.client.http.HttpResponse |
createManualJournalAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID manualJournalID,
String fileName,
File body) |
ManualJournals |
createManualJournals(String accessToken,
String xeroTenantId,
ManualJournals manualJournals,
Boolean summarizeErrors)
Allows you to create one or more manual journals
|
com.google.api.client.http.HttpResponse |
createManualJournalsForHttpResponse(String accessToken,
String xeroTenantId,
ManualJournals manualJournals,
Boolean summarizeErrors) |
Allocations |
createOverpaymentAllocations(String accessToken,
String xeroTenantId,
UUID overpaymentID,
Allocations allocations,
Boolean summarizeErrors)
Allows you to create a single allocation for an overpayment
|
com.google.api.client.http.HttpResponse |
createOverpaymentAllocationsForHttpResponse(String accessToken,
String xeroTenantId,
UUID overpaymentID,
Allocations allocations,
Boolean summarizeErrors) |
HistoryRecords |
createOverpaymentHistory(String accessToken,
String xeroTenantId,
UUID overpaymentID,
HistoryRecords historyRecords)
Allows you to create history records of an Overpayment
|
com.google.api.client.http.HttpResponse |
createOverpaymentHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID overpaymentID,
HistoryRecords historyRecords) |
Payments |
createPayment(String accessToken,
String xeroTenantId,
Payment payment)
Allows you to create a single payment for invoices or credit notes
|
com.google.api.client.http.HttpResponse |
createPaymentForHttpResponse(String accessToken,
String xeroTenantId,
Payment payment) |
HistoryRecords |
createPaymentHistory(String accessToken,
String xeroTenantId,
UUID paymentID,
HistoryRecords historyRecords)
Allows you to create a history record for a payment
|
com.google.api.client.http.HttpResponse |
createPaymentHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID paymentID,
HistoryRecords historyRecords) |
Payments |
createPayments(String accessToken,
String xeroTenantId,
Payments payments,
Boolean summarizeErrors)
Allows you to create multiple payments for invoices or credit notes
|
PaymentServices |
createPaymentService(String accessToken,
String xeroTenantId,
PaymentServices paymentServices)
Allows you to create payment services
|
com.google.api.client.http.HttpResponse |
createPaymentServiceForHttpResponse(String accessToken,
String xeroTenantId,
PaymentServices paymentServices) |
com.google.api.client.http.HttpResponse |
createPaymentsForHttpResponse(String accessToken,
String xeroTenantId,
Payments payments,
Boolean summarizeErrors) |
Allocations |
createPrepaymentAllocations(String accessToken,
String xeroTenantId,
UUID prepaymentID,
Allocations allocations,
Boolean summarizeErrors)
Allows you to create an Allocation for prepayments
|
com.google.api.client.http.HttpResponse |
createPrepaymentAllocationsForHttpResponse(String accessToken,
String xeroTenantId,
UUID prepaymentID,
Allocations allocations,
Boolean summarizeErrors) |
HistoryRecords |
createPrepaymentHistory(String accessToken,
String xeroTenantId,
UUID prepaymentID,
HistoryRecords historyRecords)
Allows you to create a history record for an Prepayment
|
com.google.api.client.http.HttpResponse |
createPrepaymentHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID prepaymentID,
HistoryRecords historyRecords) |
HistoryRecords |
createPurchaseOrderHistory(String accessToken,
String xeroTenantId,
UUID purchaseOrderID,
HistoryRecords historyRecords)
Allows you to create HistoryRecord for purchase orders
|
com.google.api.client.http.HttpResponse |
createPurchaseOrderHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID purchaseOrderID,
HistoryRecords historyRecords) |
PurchaseOrders |
createPurchaseOrders(String accessToken,
String xeroTenantId,
PurchaseOrders purchaseOrders,
Boolean summarizeErrors)
Allows you to create one or more purchase orders
|
com.google.api.client.http.HttpResponse |
createPurchaseOrdersForHttpResponse(String accessToken,
String xeroTenantId,
PurchaseOrders purchaseOrders,
Boolean summarizeErrors) |
Attachments |
createQuoteAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID quoteID,
String fileName,
File body)
Allows you to create Attachment on Quote
|
com.google.api.client.http.HttpResponse |
createQuoteAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID quoteID,
String fileName,
File body) |
HistoryRecords |
createQuoteHistory(String accessToken,
String xeroTenantId,
UUID quoteID,
HistoryRecords historyRecords)
Allows you to retrieve a history records of an quote
|
com.google.api.client.http.HttpResponse |
createQuoteHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID quoteID,
HistoryRecords historyRecords) |
Quotes |
createQuotes(String accessToken,
String xeroTenantId,
Quotes quotes,
Boolean summarizeErrors)
Allows you to create one or more quotes
|
com.google.api.client.http.HttpResponse |
createQuotesForHttpResponse(String accessToken,
String xeroTenantId,
Quotes quotes,
Boolean summarizeErrors) |
Receipts |
createReceipt(String accessToken,
String xeroTenantId,
Receipts receipts,
Integer unitdp)
Allows you to create draft expense claim receipts for any user
|
Attachments |
createReceiptAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID receiptID,
String fileName,
File body)
Allows you to create Attachment on expense claim receipts by file name
|
com.google.api.client.http.HttpResponse |
createReceiptAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID receiptID,
String fileName,
File body) |
com.google.api.client.http.HttpResponse |
createReceiptForHttpResponse(String accessToken,
String xeroTenantId,
Receipts receipts,
Integer unitdp) |
HistoryRecords |
createReceiptHistory(String accessToken,
String xeroTenantId,
UUID receiptID,
HistoryRecords historyRecords)
Allows you to retrieve a history records of an Receipt
|
com.google.api.client.http.HttpResponse |
createReceiptHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID receiptID,
HistoryRecords historyRecords) |
Attachments |
createRepeatingInvoiceAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID repeatingInvoiceID,
String fileName,
File body)
Allows you to create attachment on repeating invoices by file name
|
com.google.api.client.http.HttpResponse |
createRepeatingInvoiceAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID repeatingInvoiceID,
String fileName,
File body) |
HistoryRecords |
createRepeatingInvoiceHistory(String accessToken,
String xeroTenantId,
UUID repeatingInvoiceID,
HistoryRecords historyRecords)
Allows you to create history for a repeating invoice
|
com.google.api.client.http.HttpResponse |
createRepeatingInvoiceHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID repeatingInvoiceID,
HistoryRecords historyRecords) |
TaxRates |
createTaxRates(String accessToken,
String xeroTenantId,
TaxRates taxRates)
Allows you to create one or more Tax Rates
|
com.google.api.client.http.HttpResponse |
createTaxRatesForHttpResponse(String accessToken,
String xeroTenantId,
TaxRates taxRates) |
TrackingCategories |
createTrackingCategory(String accessToken,
String xeroTenantId,
TrackingCategory trackingCategory)
Allows you to create tracking categories
|
com.google.api.client.http.HttpResponse |
createTrackingCategoryForHttpResponse(String accessToken,
String xeroTenantId,
TrackingCategory trackingCategory) |
TrackingOptions |
createTrackingOptions(String accessToken,
String xeroTenantId,
UUID trackingCategoryID,
TrackingOption trackingOption)
Allows you to create options for a specified tracking category
|
com.google.api.client.http.HttpResponse |
createTrackingOptionsForHttpResponse(String accessToken,
String xeroTenantId,
UUID trackingCategoryID,
TrackingOption trackingOption) |
Accounts |
deleteAccount(String accessToken,
String xeroTenantId,
UUID accountID)
Allows you to delete a chart of accounts
|
com.google.api.client.http.HttpResponse |
deleteAccountForHttpResponse(String accessToken,
String xeroTenantId,
UUID accountID) |
void |
deleteContactGroupContact(String accessToken,
String xeroTenantId,
UUID contactGroupID,
UUID contactID)
Allows you to delete a specific Contact from a Contact Group
|
com.google.api.client.http.HttpResponse |
deleteContactGroupContactForHttpResponse(String accessToken,
String xeroTenantId,
UUID contactGroupID,
UUID contactID) |
void |
deleteContactGroupContacts(String accessToken,
String xeroTenantId,
UUID contactGroupID)
Allows you to delete all Contacts from a Contact Group
|
com.google.api.client.http.HttpResponse |
deleteContactGroupContactsForHttpResponse(String accessToken,
String xeroTenantId,
UUID contactGroupID) |
void |
deleteItem(String accessToken,
String xeroTenantId,
UUID itemID)
Allows you to delete a specified item
|
com.google.api.client.http.HttpResponse |
deleteItemForHttpResponse(String accessToken,
String xeroTenantId,
UUID itemID) |
void |
deleteLinkedTransaction(String accessToken,
String xeroTenantId,
UUID linkedTransactionID)
Allows you to delete a specified linked transactions (billable expenses)
|
com.google.api.client.http.HttpResponse |
deleteLinkedTransactionForHttpResponse(String accessToken,
String xeroTenantId,
UUID linkedTransactionID) |
Payments |
deletePayment(String accessToken,
String xeroTenantId,
UUID paymentID,
PaymentDelete paymentDelete)
Allows you to update a specified payment for invoices and credit notes
|
com.google.api.client.http.HttpResponse |
deletePaymentForHttpResponse(String accessToken,
String xeroTenantId,
UUID paymentID,
PaymentDelete paymentDelete) |
TrackingCategories |
deleteTrackingCategory(String accessToken,
String xeroTenantId,
UUID trackingCategoryID)
Allows you to delete tracking categories
|
com.google.api.client.http.HttpResponse |
deleteTrackingCategoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID trackingCategoryID) |
TrackingOptions |
deleteTrackingOptions(String accessToken,
String xeroTenantId,
UUID trackingCategoryID,
UUID trackingOptionID)
Allows you to delete a specified option for a specified tracking category
|
com.google.api.client.http.HttpResponse |
deleteTrackingOptionsForHttpResponse(String accessToken,
String xeroTenantId,
UUID trackingCategoryID,
UUID trackingOptionID) |
void |
emailInvoice(String accessToken,
String xeroTenantId,
UUID invoiceID,
RequestEmpty requestEmpty)
Allows you to email a copy of invoice to related Contact
|
com.google.api.client.http.HttpResponse |
emailInvoiceForHttpResponse(String accessToken,
String xeroTenantId,
UUID invoiceID,
RequestEmpty requestEmpty) |
Accounts |
getAccount(String accessToken,
String xeroTenantId,
UUID accountID)
Allows you to retrieve a single chart of accounts
|
ByteArrayInputStream |
getAccountAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID accountID,
String fileName,
String contentType)
Allows you to retrieve Attachment on Account by Filename
|
com.google.api.client.http.HttpResponse |
getAccountAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID accountID,
String fileName,
String contentType) |
ByteArrayInputStream |
getAccountAttachmentById(String accessToken,
String xeroTenantId,
UUID accountID,
UUID attachmentID,
String contentType)
Allows you to retrieve specific Attachment on Account
|
com.google.api.client.http.HttpResponse |
getAccountAttachmentByIdForHttpResponse(String accessToken,
String xeroTenantId,
UUID accountID,
UUID attachmentID,
String contentType) |
Attachments |
getAccountAttachments(String accessToken,
String xeroTenantId,
UUID accountID)
Allows you to retrieve Attachments for accounts
|
com.google.api.client.http.HttpResponse |
getAccountAttachmentsForHttpResponse(String accessToken,
String xeroTenantId,
UUID accountID) |
com.google.api.client.http.HttpResponse |
getAccountForHttpResponse(String accessToken,
String xeroTenantId,
UUID accountID) |
Accounts |
getAccounts(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order)
Allows you to retrieve the full chart of accounts
|
com.google.api.client.http.HttpResponse |
getAccountsForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order) |
ApiClient |
getApiClient() |
BankTransactions |
getBankTransaction(String accessToken,
String xeroTenantId,
UUID bankTransactionID,
Integer unitdp)
Allows you to retrieve a single spend or receive money transaction
|
ByteArrayInputStream |
getBankTransactionAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID bankTransactionID,
String fileName,
String contentType)
Allows you to retrieve Attachments on BankTransaction by Filename
|
com.google.api.client.http.HttpResponse |
getBankTransactionAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID bankTransactionID,
String fileName,
String contentType) |
ByteArrayInputStream |
getBankTransactionAttachmentById(String accessToken,
String xeroTenantId,
UUID bankTransactionID,
UUID attachmentID,
String contentType)
Allows you to retrieve Attachments on a specific BankTransaction
|
com.google.api.client.http.HttpResponse |
getBankTransactionAttachmentByIdForHttpResponse(String accessToken,
String xeroTenantId,
UUID bankTransactionID,
UUID attachmentID,
String contentType) |
Attachments |
getBankTransactionAttachments(String accessToken,
String xeroTenantId,
UUID bankTransactionID)
Allows you to retrieve any attachments to bank transactions
|
com.google.api.client.http.HttpResponse |
getBankTransactionAttachmentsForHttpResponse(String accessToken,
String xeroTenantId,
UUID bankTransactionID) |
com.google.api.client.http.HttpResponse |
getBankTransactionForHttpResponse(String accessToken,
String xeroTenantId,
UUID bankTransactionID,
Integer unitdp) |
BankTransactions |
getBankTransactions(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer page,
Integer unitdp)
Allows you to retrieve any spend or receive money transactions
|
com.google.api.client.http.HttpResponse |
getBankTransactionsForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer page,
Integer unitdp) |
HistoryRecords |
getBankTransactionsHistory(String accessToken,
String xeroTenantId,
UUID bankTransactionID)
Allows you to retrieve history from a bank transactions
|
com.google.api.client.http.HttpResponse |
getBankTransactionsHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID bankTransactionID) |
BankTransfers |
getBankTransfer(String accessToken,
String xeroTenantId,
UUID bankTransferID)
Allows you to retrieve any bank transfers
|
ByteArrayInputStream |
getBankTransferAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID bankTransferID,
String fileName,
String contentType)
Allows you to retrieve Attachments on BankTransfer by file name
|
com.google.api.client.http.HttpResponse |
getBankTransferAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID bankTransferID,
String fileName,
String contentType) |
ByteArrayInputStream |
getBankTransferAttachmentById(String accessToken,
String xeroTenantId,
UUID bankTransferID,
UUID attachmentID,
String contentType)
Allows you to retrieve Attachments on BankTransfer
|
com.google.api.client.http.HttpResponse |
getBankTransferAttachmentByIdForHttpResponse(String accessToken,
String xeroTenantId,
UUID bankTransferID,
UUID attachmentID,
String contentType) |
Attachments |
getBankTransferAttachments(String accessToken,
String xeroTenantId,
UUID bankTransferID)
Allows you to retrieve Attachments from bank transfers
|
com.google.api.client.http.HttpResponse |
getBankTransferAttachmentsForHttpResponse(String accessToken,
String xeroTenantId,
UUID bankTransferID) |
com.google.api.client.http.HttpResponse |
getBankTransferForHttpResponse(String accessToken,
String xeroTenantId,
UUID bankTransferID) |
HistoryRecords |
getBankTransferHistory(String accessToken,
String xeroTenantId,
UUID bankTransferID)
Allows you to retrieve history from a bank transfers
|
com.google.api.client.http.HttpResponse |
getBankTransferHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID bankTransferID) |
BankTransfers |
getBankTransfers(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order)
Allows you to retrieve all bank transfers
|
com.google.api.client.http.HttpResponse |
getBankTransfersForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order) |
HistoryRecords |
getBatchPaymentHistory(String accessToken,
String xeroTenantId,
UUID batchPaymentID)
Allows you to retrieve history from a Batch Payment
|
com.google.api.client.http.HttpResponse |
getBatchPaymentHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID batchPaymentID) |
BatchPayments |
getBatchPayments(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order)
Retrieve either one or many BatchPayments for invoices
|
com.google.api.client.http.HttpResponse |
getBatchPaymentsForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order) |
BrandingThemes |
getBrandingTheme(String accessToken,
String xeroTenantId,
UUID brandingThemeID)
Allows you to retrieve a specific BrandingThemes
|
com.google.api.client.http.HttpResponse |
getBrandingThemeForHttpResponse(String accessToken,
String xeroTenantId,
UUID brandingThemeID) |
PaymentServices |
getBrandingThemePaymentServices(String accessToken,
String xeroTenantId,
UUID brandingThemeID)
Allows you to retrieve the Payment services for a Branding Theme
|
com.google.api.client.http.HttpResponse |
getBrandingThemePaymentServicesForHttpResponse(String accessToken,
String xeroTenantId,
UUID brandingThemeID) |
BrandingThemes |
getBrandingThemes(String accessToken,
String xeroTenantId)
Allows you to retrieve all the BrandingThemes
|
com.google.api.client.http.HttpResponse |
getBrandingThemesForHttpResponse(String accessToken,
String xeroTenantId) |
Contacts |
getContact(String accessToken,
String xeroTenantId,
UUID contactID)
Allows you to retrieve a single contacts in a Xero organisation
|
ByteArrayInputStream |
getContactAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID contactID,
String fileName,
String contentType)
Allows you to retrieve Attachments on Contacts by file name
|
com.google.api.client.http.HttpResponse |
getContactAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID contactID,
String fileName,
String contentType) |
ByteArrayInputStream |
getContactAttachmentById(String accessToken,
String xeroTenantId,
UUID contactID,
UUID attachmentID,
String contentType)
Allows you to retrieve Attachments on Contacts
|
com.google.api.client.http.HttpResponse |
getContactAttachmentByIdForHttpResponse(String accessToken,
String xeroTenantId,
UUID contactID,
UUID attachmentID,
String contentType) |
Attachments |
getContactAttachments(String accessToken,
String xeroTenantId,
UUID contactID)
Allows you to retrieve, add and update contacts in a Xero organisation
|
com.google.api.client.http.HttpResponse |
getContactAttachmentsForHttpResponse(String accessToken,
String xeroTenantId,
UUID contactID) |
Contacts |
getContactByContactNumber(String accessToken,
String xeroTenantId,
String contactNumber)
Allows you to retrieve a single contact by Contact Number in a Xero organisation
|
com.google.api.client.http.HttpResponse |
getContactByContactNumberForHttpResponse(String accessToken,
String xeroTenantId,
String contactNumber) |
CISSettings |
getContactCISSettings(String accessToken,
String xeroTenantId,
UUID contactID)
Allows you to retrieve CISSettings for a contact in a Xero organisation
|
com.google.api.client.http.HttpResponse |
getContactCISSettingsForHttpResponse(String accessToken,
String xeroTenantId,
UUID contactID) |
com.google.api.client.http.HttpResponse |
getContactForHttpResponse(String accessToken,
String xeroTenantId,
UUID contactID) |
ContactGroups |
getContactGroup(String accessToken,
String xeroTenantId,
UUID contactGroupID)
Allows you to retrieve a unique Contact Group by ID
|
com.google.api.client.http.HttpResponse |
getContactGroupForHttpResponse(String accessToken,
String xeroTenantId,
UUID contactGroupID) |
ContactGroups |
getContactGroups(String accessToken,
String xeroTenantId,
String where,
String order)
Allows you to retrieve the ContactID and Name of all the contacts in a contact group
|
com.google.api.client.http.HttpResponse |
getContactGroupsForHttpResponse(String accessToken,
String xeroTenantId,
String where,
String order) |
HistoryRecords |
getContactHistory(String accessToken,
String xeroTenantId,
UUID contactID)
Allows you to retrieve a history records of an Contact
|
com.google.api.client.http.HttpResponse |
getContactHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID contactID) |
Contacts |
getContacts(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
List<UUID> ids,
Integer page,
Boolean includeArchived)
Allows you to retrieve all contacts in a Xero organisation
|
com.google.api.client.http.HttpResponse |
getContactsForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
List<UUID> ids,
Integer page,
Boolean includeArchived) |
CreditNotes |
getCreditNote(String accessToken,
String xeroTenantId,
UUID creditNoteID,
Integer unitdp)
Allows you to retrieve a specific credit note
|
ByteArrayInputStream |
getCreditNoteAsPdf(String accessToken,
String xeroTenantId,
UUID creditNoteID)
Allows you to retrieve Credit Note as PDF files
|
com.google.api.client.http.HttpResponse |
getCreditNoteAsPdfForHttpResponse(String accessToken,
String xeroTenantId,
UUID creditNoteID) |
ByteArrayInputStream |
getCreditNoteAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID creditNoteID,
String fileName,
String contentType)
Allows you to retrieve Attachments on CreditNote by file name
|
com.google.api.client.http.HttpResponse |
getCreditNoteAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID creditNoteID,
String fileName,
String contentType) |
ByteArrayInputStream |
getCreditNoteAttachmentById(String accessToken,
String xeroTenantId,
UUID creditNoteID,
UUID attachmentID,
String contentType)
Allows you to retrieve Attachments on CreditNote
|
com.google.api.client.http.HttpResponse |
getCreditNoteAttachmentByIdForHttpResponse(String accessToken,
String xeroTenantId,
UUID creditNoteID,
UUID attachmentID,
String contentType) |
Attachments |
getCreditNoteAttachments(String accessToken,
String xeroTenantId,
UUID creditNoteID)
Allows you to retrieve Attachments for credit notes
|
com.google.api.client.http.HttpResponse |
getCreditNoteAttachmentsForHttpResponse(String accessToken,
String xeroTenantId,
UUID creditNoteID) |
com.google.api.client.http.HttpResponse |
getCreditNoteForHttpResponse(String accessToken,
String xeroTenantId,
UUID creditNoteID,
Integer unitdp) |
HistoryRecords |
getCreditNoteHistory(String accessToken,
String xeroTenantId,
UUID creditNoteID)
Allows you to retrieve a history records of an CreditNote
|
com.google.api.client.http.HttpResponse |
getCreditNoteHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID creditNoteID) |
CreditNotes |
getCreditNotes(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer page,
Integer unitdp)
Allows you to retrieve any credit notes
|
com.google.api.client.http.HttpResponse |
getCreditNotesForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer page,
Integer unitdp) |
Currencies |
getCurrencies(String accessToken,
String xeroTenantId,
String where,
String order)
Allows you to retrieve currencies for your organisation
|
com.google.api.client.http.HttpResponse |
getCurrenciesForHttpResponse(String accessToken,
String xeroTenantId,
String where,
String order) |
Employees |
getEmployee(String accessToken,
String xeroTenantId,
UUID employeeID)
Allows you to retrieve a specific employee used in Xero payrun
|
com.google.api.client.http.HttpResponse |
getEmployeeForHttpResponse(String accessToken,
String xeroTenantId,
UUID employeeID) |
Employees |
getEmployees(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order)
Allows you to retrieve employees used in Xero payrun
|
com.google.api.client.http.HttpResponse |
getEmployeesForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order) |
ExpenseClaims |
getExpenseClaim(String accessToken,
String xeroTenantId,
UUID expenseClaimID)
Allows you to retrieve a specified expense claim
|
com.google.api.client.http.HttpResponse |
getExpenseClaimForHttpResponse(String accessToken,
String xeroTenantId,
UUID expenseClaimID) |
HistoryRecords |
getExpenseClaimHistory(String accessToken,
String xeroTenantId,
UUID expenseClaimID)
Allows you to retrieve a history records of an ExpenseClaim
|
com.google.api.client.http.HttpResponse |
getExpenseClaimHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID expenseClaimID) |
ExpenseClaims |
getExpenseClaims(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order)
Allows you to retrieve expense claims
|
com.google.api.client.http.HttpResponse |
getExpenseClaimsForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order) |
static AccountingApi |
getInstance(ApiClient apiClient) |
Invoices |
getInvoice(String accessToken,
String xeroTenantId,
UUID invoiceID,
Integer unitdp)
Allows you to retrieve a specified sales invoice or purchase bill
|
ByteArrayInputStream |
getInvoiceAsPdf(String accessToken,
String xeroTenantId,
UUID invoiceID)
Allows you to retrieve invoices or purchase bills as PDF files
|
com.google.api.client.http.HttpResponse |
getInvoiceAsPdfForHttpResponse(String accessToken,
String xeroTenantId,
UUID invoiceID) |
ByteArrayInputStream |
getInvoiceAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID invoiceID,
String fileName,
String contentType)
Allows you to retrieve Attachment on invoices or purchase bills by it's filename
|
com.google.api.client.http.HttpResponse |
getInvoiceAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID invoiceID,
String fileName,
String contentType) |
ByteArrayInputStream |
getInvoiceAttachmentById(String accessToken,
String xeroTenantId,
UUID invoiceID,
UUID attachmentID,
String contentType)
Allows you to retrieve a specified Attachment on invoices or purchase bills by it's ID
|
com.google.api.client.http.HttpResponse |
getInvoiceAttachmentByIdForHttpResponse(String accessToken,
String xeroTenantId,
UUID invoiceID,
UUID attachmentID,
String contentType) |
Attachments |
getInvoiceAttachments(String accessToken,
String xeroTenantId,
UUID invoiceID)
Allows you to retrieve Attachments on invoices or purchase bills
|
com.google.api.client.http.HttpResponse |
getInvoiceAttachmentsForHttpResponse(String accessToken,
String xeroTenantId,
UUID invoiceID) |
com.google.api.client.http.HttpResponse |
getInvoiceForHttpResponse(String accessToken,
String xeroTenantId,
UUID invoiceID,
Integer unitdp) |
HistoryRecords |
getInvoiceHistory(String accessToken,
String xeroTenantId,
UUID invoiceID)
Allows you to retrieve a history records of an invoice
|
com.google.api.client.http.HttpResponse |
getInvoiceHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID invoiceID) |
InvoiceReminders |
getInvoiceReminders(String accessToken,
String xeroTenantId)
Allows you to retrieve invoice reminder settings
|
com.google.api.client.http.HttpResponse |
getInvoiceRemindersForHttpResponse(String accessToken,
String xeroTenantId) |
Invoices |
getInvoices(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
List<UUID> ids,
List<String> invoiceNumbers,
List<UUID> contactIDs,
List<String> statuses,
Integer page,
Boolean includeArchived,
Boolean createdByMyApp,
Integer unitdp)
Allows you to retrieve any sales invoices or purchase bills
|
com.google.api.client.http.HttpResponse |
getInvoicesForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
List<UUID> ids,
List<String> invoiceNumbers,
List<UUID> contactIDs,
List<String> statuses,
Integer page,
Boolean includeArchived,
Boolean createdByMyApp,
Integer unitdp) |
Items |
getItem(String accessToken,
String xeroTenantId,
UUID itemID,
Integer unitdp)
Allows you to retrieve a specified item
|
com.google.api.client.http.HttpResponse |
getItemForHttpResponse(String accessToken,
String xeroTenantId,
UUID itemID,
Integer unitdp) |
HistoryRecords |
getItemHistory(String accessToken,
String xeroTenantId,
UUID itemID)
Allows you to retrieve history for items
|
com.google.api.client.http.HttpResponse |
getItemHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID itemID) |
Items |
getItems(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer unitdp)
Allows you to retrieve any items
|
com.google.api.client.http.HttpResponse |
getItemsForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer unitdp) |
Journals |
getJournal(String accessToken,
String xeroTenantId,
UUID journalID)
Allows you to retrieve a specified journals.
|
com.google.api.client.http.HttpResponse |
getJournalForHttpResponse(String accessToken,
String xeroTenantId,
UUID journalID) |
Journals |
getJournals(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
Integer offset,
Boolean paymentsOnly)
Allows you to retrieve any journals.
|
com.google.api.client.http.HttpResponse |
getJournalsForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
Integer offset,
Boolean paymentsOnly) |
LinkedTransactions |
getLinkedTransaction(String accessToken,
String xeroTenantId,
UUID linkedTransactionID)
Allows you to retrieve a specified linked transactions (billable expenses)
|
com.google.api.client.http.HttpResponse |
getLinkedTransactionForHttpResponse(String accessToken,
String xeroTenantId,
UUID linkedTransactionID) |
LinkedTransactions |
getLinkedTransactions(String accessToken,
String xeroTenantId,
Integer page,
String linkedTransactionID,
String sourceTransactionID,
String contactID,
String status,
String targetTransactionID)
Retrieve linked transactions (billable expenses)
|
com.google.api.client.http.HttpResponse |
getLinkedTransactionsForHttpResponse(String accessToken,
String xeroTenantId,
Integer page,
String linkedTransactionID,
String sourceTransactionID,
String contactID,
String status,
String targetTransactionID) |
ManualJournals |
getManualJournal(String accessToken,
String xeroTenantId,
UUID manualJournalID)
Allows you to retrieve a specified manual journals
|
ByteArrayInputStream |
getManualJournalAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID manualJournalID,
String fileName,
String contentType)
Allows you to retrieve specified Attachment on ManualJournal by file name
|
com.google.api.client.http.HttpResponse |
getManualJournalAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID manualJournalID,
String fileName,
String contentType) |
ByteArrayInputStream |
getManualJournalAttachmentById(String accessToken,
String xeroTenantId,
UUID manualJournalID,
UUID attachmentID,
String contentType)
Allows you to retrieve specified Attachment on ManualJournals
|
com.google.api.client.http.HttpResponse |
getManualJournalAttachmentByIdForHttpResponse(String accessToken,
String xeroTenantId,
UUID manualJournalID,
UUID attachmentID,
String contentType) |
Attachments |
getManualJournalAttachments(String accessToken,
String xeroTenantId,
UUID manualJournalID)
Allows you to retrieve Attachment for manual journals
|
com.google.api.client.http.HttpResponse |
getManualJournalAttachmentsForHttpResponse(String accessToken,
String xeroTenantId,
UUID manualJournalID) |
com.google.api.client.http.HttpResponse |
getManualJournalForHttpResponse(String accessToken,
String xeroTenantId,
UUID manualJournalID) |
ManualJournals |
getManualJournals(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer page)
Allows you to retrieve any manual journals
|
com.google.api.client.http.HttpResponse |
getManualJournalsForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer page) |
OnlineInvoices |
getOnlineInvoice(String accessToken,
String xeroTenantId,
UUID invoiceID)
Allows you to retrieve a URL to an online invoice
|
com.google.api.client.http.HttpResponse |
getOnlineInvoiceForHttpResponse(String accessToken,
String xeroTenantId,
UUID invoiceID) |
CISOrgSetting |
getOrganisationCISSettings(String accessToken,
String xeroTenantId,
UUID organisationID)
Allows you To verify if an organisation is using contruction industry scheme, you can retrieve the CIS settings for the organistaion.
|
com.google.api.client.http.HttpResponse |
getOrganisationCISSettingsForHttpResponse(String accessToken,
String xeroTenantId,
UUID organisationID) |
Organisations |
getOrganisations(String accessToken,
String xeroTenantId)
Allows you to retrieve Organisation details
|
com.google.api.client.http.HttpResponse |
getOrganisationsForHttpResponse(String accessToken,
String xeroTenantId) |
Overpayments |
getOverpayment(String accessToken,
String xeroTenantId,
UUID overpaymentID)
Allows you to retrieve a specified overpayments
|
com.google.api.client.http.HttpResponse |
getOverpaymentForHttpResponse(String accessToken,
String xeroTenantId,
UUID overpaymentID) |
HistoryRecords |
getOverpaymentHistory(String accessToken,
String xeroTenantId,
UUID overpaymentID)
Allows you to retrieve a history records of an Overpayment
|
com.google.api.client.http.HttpResponse |
getOverpaymentHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID overpaymentID) |
Overpayments |
getOverpayments(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer page,
Integer unitdp)
Allows you to retrieve overpayments
|
com.google.api.client.http.HttpResponse |
getOverpaymentsForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer page,
Integer unitdp) |
Payments |
getPayment(String accessToken,
String xeroTenantId,
UUID paymentID)
Allows you to retrieve a specified payment for invoices and credit notes
|
com.google.api.client.http.HttpResponse |
getPaymentForHttpResponse(String accessToken,
String xeroTenantId,
UUID paymentID) |
HistoryRecords |
getPaymentHistory(String accessToken,
String xeroTenantId,
UUID paymentID)
Allows you to retrieve history records of a payment
|
com.google.api.client.http.HttpResponse |
getPaymentHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID paymentID) |
Payments |
getPayments(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer page)
Allows you to retrieve payments for invoices and credit notes
|
PaymentServices |
getPaymentServices(String accessToken,
String xeroTenantId)
Allows you to retrieve payment services
|
com.google.api.client.http.HttpResponse |
getPaymentServicesForHttpResponse(String accessToken,
String xeroTenantId) |
com.google.api.client.http.HttpResponse |
getPaymentsForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer page) |
Prepayments |
getPrepayment(String accessToken,
String xeroTenantId,
UUID prepaymentID)
Allows you to retrieve a specified prepayments
|
com.google.api.client.http.HttpResponse |
getPrepaymentForHttpResponse(String accessToken,
String xeroTenantId,
UUID prepaymentID) |
HistoryRecords |
getPrepaymentHistory(String accessToken,
String xeroTenantId,
UUID prepaymentID)
Allows you to retrieve a history records of an Prepayment
|
com.google.api.client.http.HttpResponse |
getPrepaymentHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID prepaymentID) |
Prepayments |
getPrepayments(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer page,
Integer unitdp)
Allows you to retrieve prepayments
|
com.google.api.client.http.HttpResponse |
getPrepaymentsForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer page,
Integer unitdp) |
PurchaseOrders |
getPurchaseOrder(String accessToken,
String xeroTenantId,
UUID purchaseOrderID)
Allows you to retrieve a specified purchase orders
|
ByteArrayInputStream |
getPurchaseOrderAsPdf(String accessToken,
String xeroTenantId,
UUID purchaseOrderID)
Allows you to retrieve purchase orders as PDF files
|
com.google.api.client.http.HttpResponse |
getPurchaseOrderAsPdfForHttpResponse(String accessToken,
String xeroTenantId,
UUID purchaseOrderID) |
PurchaseOrders |
getPurchaseOrderByNumber(String accessToken,
String xeroTenantId,
String purchaseOrderNumber)
Allows you to retrieve a specified purchase orders
|
com.google.api.client.http.HttpResponse |
getPurchaseOrderByNumberForHttpResponse(String accessToken,
String xeroTenantId,
String purchaseOrderNumber) |
com.google.api.client.http.HttpResponse |
getPurchaseOrderForHttpResponse(String accessToken,
String xeroTenantId,
UUID purchaseOrderID) |
HistoryRecords |
getPurchaseOrderHistory(String accessToken,
String xeroTenantId,
UUID purchaseOrderID)
Allows you to retrieve history for PurchaseOrder
|
com.google.api.client.http.HttpResponse |
getPurchaseOrderHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID purchaseOrderID) |
PurchaseOrders |
getPurchaseOrders(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String status,
String dateFrom,
String dateTo,
String order,
Integer page)
Allows you to retrieve purchase orders
|
com.google.api.client.http.HttpResponse |
getPurchaseOrdersForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String status,
String dateFrom,
String dateTo,
String order,
Integer page) |
Quotes |
getQuote(String accessToken,
String xeroTenantId,
UUID quoteID)
Allows you to retrieve a specified quote
|
ByteArrayInputStream |
getQuoteAsPdf(String accessToken,
String xeroTenantId,
UUID quoteID)
Allows you to retrieve quotes as PDF files
|
com.google.api.client.http.HttpResponse |
getQuoteAsPdfForHttpResponse(String accessToken,
String xeroTenantId,
UUID quoteID) |
ByteArrayInputStream |
getQuoteAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID quoteID,
String fileName,
String contentType)
Allows you to retrieve Attachment on Quote by Filename
|
com.google.api.client.http.HttpResponse |
getQuoteAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID quoteID,
String fileName,
String contentType) |
ByteArrayInputStream |
getQuoteAttachmentById(String accessToken,
String xeroTenantId,
UUID quoteID,
UUID attachmentID,
String contentType)
Allows you to retrieve specific Attachment on Quote
|
com.google.api.client.http.HttpResponse |
getQuoteAttachmentByIdForHttpResponse(String accessToken,
String xeroTenantId,
UUID quoteID,
UUID attachmentID,
String contentType) |
Attachments |
getQuoteAttachments(String accessToken,
String xeroTenantId,
UUID quoteID)
Allows you to retrieve Attachments for Quotes
|
com.google.api.client.http.HttpResponse |
getQuoteAttachmentsForHttpResponse(String accessToken,
String xeroTenantId,
UUID quoteID) |
com.google.api.client.http.HttpResponse |
getQuoteForHttpResponse(String accessToken,
String xeroTenantId,
UUID quoteID) |
HistoryRecords |
getQuoteHistory(String accessToken,
String xeroTenantId,
UUID quoteID)
Allows you to retrieve a history records of an quote
|
com.google.api.client.http.HttpResponse |
getQuoteHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID quoteID) |
Quotes |
getQuotes(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
org.threeten.bp.LocalDate dateFrom,
org.threeten.bp.LocalDate dateTo,
org.threeten.bp.LocalDate expiryDateFrom,
org.threeten.bp.LocalDate expiryDateTo,
UUID contactID,
String status,
Integer page,
String order)
Allows you to retrieve any sales quotes
|
com.google.api.client.http.HttpResponse |
getQuotesForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
org.threeten.bp.LocalDate dateFrom,
org.threeten.bp.LocalDate dateTo,
org.threeten.bp.LocalDate expiryDateFrom,
org.threeten.bp.LocalDate expiryDateTo,
UUID contactID,
String status,
Integer page,
String order) |
Receipts |
getReceipt(String accessToken,
String xeroTenantId,
UUID receiptID,
Integer unitdp)
Allows you to retrieve a specified draft expense claim receipts
|
ByteArrayInputStream |
getReceiptAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID receiptID,
String fileName,
String contentType)
Allows you to retrieve Attachments on expense claim receipts by file name
|
com.google.api.client.http.HttpResponse |
getReceiptAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID receiptID,
String fileName,
String contentType) |
ByteArrayInputStream |
getReceiptAttachmentById(String accessToken,
String xeroTenantId,
UUID receiptID,
UUID attachmentID,
String contentType)
Allows you to retrieve Attachments on expense claim receipts by ID
|
com.google.api.client.http.HttpResponse |
getReceiptAttachmentByIdForHttpResponse(String accessToken,
String xeroTenantId,
UUID receiptID,
UUID attachmentID,
String contentType) |
Attachments |
getReceiptAttachments(String accessToken,
String xeroTenantId,
UUID receiptID)
Allows you to retrieve Attachments for expense claim receipts
|
com.google.api.client.http.HttpResponse |
getReceiptAttachmentsForHttpResponse(String accessToken,
String xeroTenantId,
UUID receiptID) |
com.google.api.client.http.HttpResponse |
getReceiptForHttpResponse(String accessToken,
String xeroTenantId,
UUID receiptID,
Integer unitdp) |
HistoryRecords |
getReceiptHistory(String accessToken,
String xeroTenantId,
UUID receiptID)
Allows you to retrieve a history records of an Receipt
|
com.google.api.client.http.HttpResponse |
getReceiptHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID receiptID) |
Receipts |
getReceipts(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer unitdp)
Allows you to retrieve draft expense claim receipts for any user
|
com.google.api.client.http.HttpResponse |
getReceiptsForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer unitdp) |
RepeatingInvoices |
getRepeatingInvoice(String accessToken,
String xeroTenantId,
UUID repeatingInvoiceID)
Allows you to retrieve a specified repeating invoice
|
ByteArrayInputStream |
getRepeatingInvoiceAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID repeatingInvoiceID,
String fileName,
String contentType)
Allows you to retrieve specified attachment on repeating invoices by file name
|
com.google.api.client.http.HttpResponse |
getRepeatingInvoiceAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID repeatingInvoiceID,
String fileName,
String contentType) |
ByteArrayInputStream |
getRepeatingInvoiceAttachmentById(String accessToken,
String xeroTenantId,
UUID repeatingInvoiceID,
UUID attachmentID,
String contentType)
Allows you to retrieve a specified Attachments on repeating invoices
|
com.google.api.client.http.HttpResponse |
getRepeatingInvoiceAttachmentByIdForHttpResponse(String accessToken,
String xeroTenantId,
UUID repeatingInvoiceID,
UUID attachmentID,
String contentType) |
Attachments |
getRepeatingInvoiceAttachments(String accessToken,
String xeroTenantId,
UUID repeatingInvoiceID)
Allows you to retrieve Attachments on repeating invoice
|
com.google.api.client.http.HttpResponse |
getRepeatingInvoiceAttachmentsForHttpResponse(String accessToken,
String xeroTenantId,
UUID repeatingInvoiceID) |
com.google.api.client.http.HttpResponse |
getRepeatingInvoiceForHttpResponse(String accessToken,
String xeroTenantId,
UUID repeatingInvoiceID) |
HistoryRecords |
getRepeatingInvoiceHistory(String accessToken,
String xeroTenantId,
UUID repeatingInvoiceID)
Allows you to retrieve history for a repeating invoice
|
com.google.api.client.http.HttpResponse |
getRepeatingInvoiceHistoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID repeatingInvoiceID) |
RepeatingInvoices |
getRepeatingInvoices(String accessToken,
String xeroTenantId,
String where,
String order)
Allows you to retrieve any repeating invoices
|
com.google.api.client.http.HttpResponse |
getRepeatingInvoicesForHttpResponse(String accessToken,
String xeroTenantId,
String where,
String order) |
ReportWithRows |
getReportAgedPayablesByContact(String accessToken,
String xeroTenantId,
UUID contactId,
org.threeten.bp.LocalDate date,
org.threeten.bp.LocalDate fromDate,
org.threeten.bp.LocalDate toDate)
Allows you to retrieve report for AgedPayablesByContact
|
com.google.api.client.http.HttpResponse |
getReportAgedPayablesByContactForHttpResponse(String accessToken,
String xeroTenantId,
UUID contactId,
org.threeten.bp.LocalDate date,
org.threeten.bp.LocalDate fromDate,
org.threeten.bp.LocalDate toDate) |
ReportWithRows |
getReportAgedReceivablesByContact(String accessToken,
String xeroTenantId,
UUID contactId,
org.threeten.bp.LocalDate date,
org.threeten.bp.LocalDate fromDate,
org.threeten.bp.LocalDate toDate)
Allows you to retrieve report for AgedReceivablesByContact
|
com.google.api.client.http.HttpResponse |
getReportAgedReceivablesByContactForHttpResponse(String accessToken,
String xeroTenantId,
UUID contactId,
org.threeten.bp.LocalDate date,
org.threeten.bp.LocalDate fromDate,
org.threeten.bp.LocalDate toDate) |
ReportWithRows |
getReportBalanceSheet(String accessToken,
String xeroTenantId,
String date,
Integer periods,
String timeframe,
String trackingOptionID1,
String trackingOptionID2,
Boolean standardLayout,
Boolean paymentsOnly)
Allows you to retrieve report for BalanceSheet
|
com.google.api.client.http.HttpResponse |
getReportBalanceSheetForHttpResponse(String accessToken,
String xeroTenantId,
String date,
Integer periods,
String timeframe,
String trackingOptionID1,
String trackingOptionID2,
Boolean standardLayout,
Boolean paymentsOnly) |
ReportWithRows |
getReportBankSummary(String accessToken,
String xeroTenantId,
org.threeten.bp.LocalDate fromDate,
org.threeten.bp.LocalDate toDate)
Allows you to retrieve report for BankSummary
|
com.google.api.client.http.HttpResponse |
getReportBankSummaryForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.LocalDate fromDate,
org.threeten.bp.LocalDate toDate) |
ReportWithRows |
getReportBASorGST(String accessToken,
String xeroTenantId,
String reportID)
Allows you to retrieve report for BAS only valid for AU orgs
|
com.google.api.client.http.HttpResponse |
getReportBASorGSTForHttpResponse(String accessToken,
String xeroTenantId,
String reportID) |
ReportWithRows |
getReportBASorGSTList(String accessToken,
String xeroTenantId)
Allows you to retrieve report for BAS only valid for AU orgs
|
com.google.api.client.http.HttpResponse |
getReportBASorGSTListForHttpResponse(String accessToken,
String xeroTenantId) |
ReportWithRows |
getReportBudgetSummary(String accessToken,
String xeroTenantId,
org.threeten.bp.LocalDate date,
Integer period,
Integer timeframe)
Allows you to retrieve report for Budget Summary
|
com.google.api.client.http.HttpResponse |
getReportBudgetSummaryForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.LocalDate date,
Integer period,
Integer timeframe) |
ReportWithRows |
getReportExecutiveSummary(String accessToken,
String xeroTenantId,
org.threeten.bp.LocalDate date)
Allows you to retrieve report for ExecutiveSummary
|
com.google.api.client.http.HttpResponse |
getReportExecutiveSummaryForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.LocalDate date) |
ReportWithRows |
getReportProfitAndLoss(String accessToken,
String xeroTenantId,
org.threeten.bp.LocalDate fromDate,
org.threeten.bp.LocalDate toDate,
Integer periods,
String timeframe,
String trackingCategoryID,
String trackingCategoryID2,
String trackingOptionID,
String trackingOptionID2,
Boolean standardLayout,
Boolean paymentsOnly)
Allows you to retrieve report for ProfitAndLoss
|
com.google.api.client.http.HttpResponse |
getReportProfitAndLossForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.LocalDate fromDate,
org.threeten.bp.LocalDate toDate,
Integer periods,
String timeframe,
String trackingCategoryID,
String trackingCategoryID2,
String trackingOptionID,
String trackingOptionID2,
Boolean standardLayout,
Boolean paymentsOnly) |
Reports |
getReportTenNinetyNine(String accessToken,
String xeroTenantId,
String reportYear)
Allows you to retrieve report for TenNinetyNine
|
com.google.api.client.http.HttpResponse |
getReportTenNinetyNineForHttpResponse(String accessToken,
String xeroTenantId,
String reportYear) |
ReportWithRows |
getReportTrialBalance(String accessToken,
String xeroTenantId,
org.threeten.bp.LocalDate date,
Boolean paymentsOnly)
Allows you to retrieve report for TrialBalance
|
com.google.api.client.http.HttpResponse |
getReportTrialBalanceForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.LocalDate date,
Boolean paymentsOnly) |
TaxRates |
getTaxRates(String accessToken,
String xeroTenantId,
String where,
String order,
String taxType)
Allows you to retrieve Tax Rates
|
com.google.api.client.http.HttpResponse |
getTaxRatesForHttpResponse(String accessToken,
String xeroTenantId,
String where,
String order,
String taxType) |
TrackingCategories |
getTrackingCategories(String accessToken,
String xeroTenantId,
String where,
String order,
Boolean includeArchived)
Allows you to retrieve tracking categories and options
|
com.google.api.client.http.HttpResponse |
getTrackingCategoriesForHttpResponse(String accessToken,
String xeroTenantId,
String where,
String order,
Boolean includeArchived) |
TrackingCategories |
getTrackingCategory(String accessToken,
String xeroTenantId,
UUID trackingCategoryID)
Allows you to retrieve tracking categories and options for specified category
|
com.google.api.client.http.HttpResponse |
getTrackingCategoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID trackingCategoryID) |
Users |
getUser(String accessToken,
String xeroTenantId,
UUID userID)
Allows you to retrieve a specified user
|
String |
getUserAgent() |
com.google.api.client.http.HttpResponse |
getUserForHttpResponse(String accessToken,
String xeroTenantId,
UUID userID) |
Users |
getUsers(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order)
Allows you to retrieve users
|
com.google.api.client.http.HttpResponse |
getUsersForHttpResponse(String accessToken,
String xeroTenantId,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order) |
void |
setApiClient(ApiClient apiClient) |
void |
setUserAgent(String userAgent) |
Accounts |
updateAccount(String accessToken,
String xeroTenantId,
UUID accountID,
Accounts accounts)
Allows you to update a chart of accounts
|
Attachments |
updateAccountAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID accountID,
String fileName,
File body)
Allows you to update Attachment on Account by Filename
|
com.google.api.client.http.HttpResponse |
updateAccountAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID accountID,
String fileName,
File body) |
com.google.api.client.http.HttpResponse |
updateAccountForHttpResponse(String accessToken,
String xeroTenantId,
UUID accountID,
Accounts accounts) |
BankTransactions |
updateBankTransaction(String accessToken,
String xeroTenantId,
UUID bankTransactionID,
BankTransactions bankTransactions,
Integer unitdp)
Allows you to update a single spend or receive money transaction
|
Attachments |
updateBankTransactionAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID bankTransactionID,
String fileName,
File body)
Allows you to update an Attachment on BankTransaction by Filename
|
com.google.api.client.http.HttpResponse |
updateBankTransactionAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID bankTransactionID,
String fileName,
File body) |
com.google.api.client.http.HttpResponse |
updateBankTransactionForHttpResponse(String accessToken,
String xeroTenantId,
UUID bankTransactionID,
BankTransactions bankTransactions,
Integer unitdp) |
Attachments |
updateBankTransferAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID bankTransferID,
String fileName,
File body)
200 - Success - return response of Attachments array of 0 to N Attachment for a Bank Transfer
|
com.google.api.client.http.HttpResponse |
updateBankTransferAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID bankTransferID,
String fileName,
File body) |
Contacts |
updateContact(String accessToken,
String xeroTenantId,
UUID contactID,
Contacts contacts)
200 - Success - return response of type Contacts array with an updated Contact
|
Attachments |
updateContactAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID contactID,
String fileName,
File body)
200 - Success - return response of type Attachments array with an updated Attachment
|
com.google.api.client.http.HttpResponse |
updateContactAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID contactID,
String fileName,
File body) |
com.google.api.client.http.HttpResponse |
updateContactForHttpResponse(String accessToken,
String xeroTenantId,
UUID contactID,
Contacts contacts) |
ContactGroups |
updateContactGroup(String accessToken,
String xeroTenantId,
UUID contactGroupID,
ContactGroups contactGroups)
Allows you to update a Contact Group
|
com.google.api.client.http.HttpResponse |
updateContactGroupForHttpResponse(String accessToken,
String xeroTenantId,
UUID contactGroupID,
ContactGroups contactGroups) |
CreditNotes |
updateCreditNote(String accessToken,
String xeroTenantId,
UUID creditNoteID,
CreditNotes creditNotes,
Integer unitdp)
Allows you to update a specific credit note
|
Attachments |
updateCreditNoteAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID creditNoteID,
String fileName,
File body)
Allows you to update Attachments on CreditNote by file name
|
com.google.api.client.http.HttpResponse |
updateCreditNoteAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID creditNoteID,
String fileName,
File body) |
com.google.api.client.http.HttpResponse |
updateCreditNoteForHttpResponse(String accessToken,
String xeroTenantId,
UUID creditNoteID,
CreditNotes creditNotes,
Integer unitdp) |
ExpenseClaims |
updateExpenseClaim(String accessToken,
String xeroTenantId,
UUID expenseClaimID,
ExpenseClaims expenseClaims)
Allows you to update specified expense claims
|
com.google.api.client.http.HttpResponse |
updateExpenseClaimForHttpResponse(String accessToken,
String xeroTenantId,
UUID expenseClaimID,
ExpenseClaims expenseClaims) |
Invoices |
updateInvoice(String accessToken,
String xeroTenantId,
UUID invoiceID,
Invoices invoices,
Integer unitdp)
Allows you to update a specified sales invoices or purchase bills
|
Attachments |
updateInvoiceAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID invoiceID,
String fileName,
File body)
Allows you to update Attachment on invoices or purchase bills by it's filename
|
com.google.api.client.http.HttpResponse |
updateInvoiceAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID invoiceID,
String fileName,
File body) |
com.google.api.client.http.HttpResponse |
updateInvoiceForHttpResponse(String accessToken,
String xeroTenantId,
UUID invoiceID,
Invoices invoices,
Integer unitdp) |
Items |
updateItem(String accessToken,
String xeroTenantId,
UUID itemID,
Items items,
Integer unitdp)
Allows you to update a specified item
|
com.google.api.client.http.HttpResponse |
updateItemForHttpResponse(String accessToken,
String xeroTenantId,
UUID itemID,
Items items,
Integer unitdp) |
LinkedTransactions |
updateLinkedTransaction(String accessToken,
String xeroTenantId,
UUID linkedTransactionID,
LinkedTransactions linkedTransactions)
Allows you to update a specified linked transactions (billable expenses)
|
com.google.api.client.http.HttpResponse |
updateLinkedTransactionForHttpResponse(String accessToken,
String xeroTenantId,
UUID linkedTransactionID,
LinkedTransactions linkedTransactions) |
ManualJournals |
updateManualJournal(String accessToken,
String xeroTenantId,
UUID manualJournalID,
ManualJournals manualJournals)
Allows you to update a specified manual journal
|
Attachments |
updateManualJournalAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID manualJournalID,
String fileName,
File body)
Allows you to update a specified Attachment on ManualJournal by file name
|
com.google.api.client.http.HttpResponse |
updateManualJournalAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID manualJournalID,
String fileName,
File body) |
com.google.api.client.http.HttpResponse |
updateManualJournalForHttpResponse(String accessToken,
String xeroTenantId,
UUID manualJournalID,
ManualJournals manualJournals) |
BankTransactions |
updateOrCreateBankTransactions(String accessToken,
String xeroTenantId,
BankTransactions bankTransactions,
Boolean summarizeErrors,
Integer unitdp)
Allows you to update or create one or more spend or receive money transaction
|
com.google.api.client.http.HttpResponse |
updateOrCreateBankTransactionsForHttpResponse(String accessToken,
String xeroTenantId,
BankTransactions bankTransactions,
Boolean summarizeErrors,
Integer unitdp) |
Contacts |
updateOrCreateContacts(String accessToken,
String xeroTenantId,
Contacts contacts,
Boolean summarizeErrors)
Allows you to update OR create one or more contacts in a Xero organisation
|
com.google.api.client.http.HttpResponse |
updateOrCreateContactsForHttpResponse(String accessToken,
String xeroTenantId,
Contacts contacts,
Boolean summarizeErrors) |
CreditNotes |
updateOrCreateCreditNotes(String accessToken,
String xeroTenantId,
CreditNotes creditNotes,
Boolean summarizeErrors,
Integer unitdp)
Allows you to update OR create one or more credit notes
|
com.google.api.client.http.HttpResponse |
updateOrCreateCreditNotesForHttpResponse(String accessToken,
String xeroTenantId,
CreditNotes creditNotes,
Boolean summarizeErrors,
Integer unitdp) |
Employees |
updateOrCreateEmployees(String accessToken,
String xeroTenantId,
Employees employees,
Boolean summarizeErrors)
Allows you to create a single new employees used in Xero payrun
|
com.google.api.client.http.HttpResponse |
updateOrCreateEmployeesForHttpResponse(String accessToken,
String xeroTenantId,
Employees employees,
Boolean summarizeErrors) |
Invoices |
updateOrCreateInvoices(String accessToken,
String xeroTenantId,
Invoices invoices,
Boolean summarizeErrors,
Integer unitdp)
Allows you to update OR create one or more sales invoices or purchase bills
|
com.google.api.client.http.HttpResponse |
updateOrCreateInvoicesForHttpResponse(String accessToken,
String xeroTenantId,
Invoices invoices,
Boolean summarizeErrors,
Integer unitdp) |
Items |
updateOrCreateItems(String accessToken,
String xeroTenantId,
Items items,
Boolean summarizeErrors,
Integer unitdp)
Allows you to update or create one or more items
|
com.google.api.client.http.HttpResponse |
updateOrCreateItemsForHttpResponse(String accessToken,
String xeroTenantId,
Items items,
Boolean summarizeErrors,
Integer unitdp) |
ManualJournals |
updateOrCreateManualJournals(String accessToken,
String xeroTenantId,
ManualJournals manualJournals,
Boolean summarizeErrors)
Allows you to create a single manual journal
|
com.google.api.client.http.HttpResponse |
updateOrCreateManualJournalsForHttpResponse(String accessToken,
String xeroTenantId,
ManualJournals manualJournals,
Boolean summarizeErrors) |
PurchaseOrders |
updateOrCreatePurchaseOrders(String accessToken,
String xeroTenantId,
PurchaseOrders purchaseOrders,
Boolean summarizeErrors)
Allows you to update or create one or more purchase orders
|
com.google.api.client.http.HttpResponse |
updateOrCreatePurchaseOrdersForHttpResponse(String accessToken,
String xeroTenantId,
PurchaseOrders purchaseOrders,
Boolean summarizeErrors) |
Quotes |
updateOrCreateQuotes(String accessToken,
String xeroTenantId,
Quotes quotes,
Boolean summarizeErrors)
Allows you to update OR create one or more quotes
|
com.google.api.client.http.HttpResponse |
updateOrCreateQuotesForHttpResponse(String accessToken,
String xeroTenantId,
Quotes quotes,
Boolean summarizeErrors) |
PurchaseOrders |
updatePurchaseOrder(String accessToken,
String xeroTenantId,
UUID purchaseOrderID,
PurchaseOrders purchaseOrders)
Allows you to update a specified purchase order
|
com.google.api.client.http.HttpResponse |
updatePurchaseOrderForHttpResponse(String accessToken,
String xeroTenantId,
UUID purchaseOrderID,
PurchaseOrders purchaseOrders) |
Quotes |
updateQuote(String accessToken,
String xeroTenantId,
UUID quoteID,
Quotes quotes)
Allows you to update a specified quote
|
Attachments |
updateQuoteAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID quoteID,
String fileName,
File body)
Allows you to update Attachment on Quote by Filename
|
com.google.api.client.http.HttpResponse |
updateQuoteAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID quoteID,
String fileName,
File body) |
com.google.api.client.http.HttpResponse |
updateQuoteForHttpResponse(String accessToken,
String xeroTenantId,
UUID quoteID,
Quotes quotes) |
Receipts |
updateReceipt(String accessToken,
String xeroTenantId,
UUID receiptID,
Receipts receipts,
Integer unitdp)
Allows you to retrieve a specified draft expense claim receipts
|
Attachments |
updateReceiptAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID receiptID,
String fileName,
File body)
Allows you to update Attachment on expense claim receipts by file name
|
com.google.api.client.http.HttpResponse |
updateReceiptAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID receiptID,
String fileName,
File body) |
com.google.api.client.http.HttpResponse |
updateReceiptForHttpResponse(String accessToken,
String xeroTenantId,
UUID receiptID,
Receipts receipts,
Integer unitdp) |
Attachments |
updateRepeatingInvoiceAttachmentByFileName(String accessToken,
String xeroTenantId,
UUID repeatingInvoiceID,
String fileName,
File body)
Allows you to update specified attachment on repeating invoices by file name
|
com.google.api.client.http.HttpResponse |
updateRepeatingInvoiceAttachmentByFileNameForHttpResponse(String accessToken,
String xeroTenantId,
UUID repeatingInvoiceID,
String fileName,
File body) |
TaxRates |
updateTaxRate(String accessToken,
String xeroTenantId,
TaxRates taxRates)
Allows you to update Tax Rates
|
com.google.api.client.http.HttpResponse |
updateTaxRateForHttpResponse(String accessToken,
String xeroTenantId,
TaxRates taxRates) |
TrackingCategories |
updateTrackingCategory(String accessToken,
String xeroTenantId,
UUID trackingCategoryID,
TrackingCategory trackingCategory)
Allows you to update tracking categories
|
com.google.api.client.http.HttpResponse |
updateTrackingCategoryForHttpResponse(String accessToken,
String xeroTenantId,
UUID trackingCategoryID,
TrackingCategory trackingCategory) |
TrackingOptions |
updateTrackingOptions(String accessToken,
String xeroTenantId,
UUID trackingCategoryID,
UUID trackingOptionID,
TrackingOption trackingOption)
Allows you to update options for a specified tracking category
|
com.google.api.client.http.HttpResponse |
updateTrackingOptionsForHttpResponse(String accessToken,
String xeroTenantId,
UUID trackingCategoryID,
UUID trackingOptionID,
TrackingOption trackingOption) |
public AccountingApi()
public AccountingApi(ApiClient apiClient)
public static AccountingApi getInstance(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void setUserAgent(String userAgent)
public String getUserAgent()
public Accounts createAccount(String accessToken, String xeroTenantId, Account account) throws IOException
200 - Success - created new Account and return response of type Accounts array with new Account
400 - Validation Error - some data was incorrect returns response of type Error
xeroTenantId - Xero identifier for Tenantaccount - Account object in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createAccountForHttpResponse(String accessToken, String xeroTenantId, Account account) throws IOException
IOExceptionpublic Attachments createAccountAttachmentByFileName(String accessToken, String xeroTenantId, UUID accountID, String fileName, File body) throws IOException
200 - Success - return response of type Attachments array of Attachment
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantaccountID - Unique identifier for Account objectfileName - Name of the attachmentbody - Byte array of file in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createAccountAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID accountID, String fileName, File body) throws IOException
IOExceptionpublic Attachments createBankTransactionAttachmentByFileName(String accessToken, String xeroTenantId, UUID bankTransactionID, String fileName, File body) throws IOException
200 - Success - return response of Attachments array of Attachment
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantbankTransactionID - Xero generated unique identifier for a bank transactionfileName - The name of the file being attachedbody - Byte array of file in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createBankTransactionAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID bankTransactionID, String fileName, File body) throws IOException
IOExceptionpublic HistoryRecords createBankTransactionHistoryRecord(String accessToken, String xeroTenantId, UUID bankTransactionID, HistoryRecords historyRecords) throws IOException
200 - Success - return response of type HistoryRecords array of HistoryRecord objects
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantbankTransactionID - Xero generated unique identifier for a bank transactionhistoryRecords - HistoryRecords containing an array of HistoryRecord objects in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createBankTransactionHistoryRecordForHttpResponse(String accessToken, String xeroTenantId, UUID bankTransactionID, HistoryRecords historyRecords) throws IOException
IOExceptionpublic BankTransactions createBankTransactions(String accessToken, String xeroTenantId, BankTransactions bankTransactions, Boolean summarizeErrors, Integer unitdp) throws IOException
200 - Success - return response of type BankTransactions array with new BankTransaction
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantbankTransactions - BankTransactions with an array of BankTransaction objects in body of requestsummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createBankTransactionsForHttpResponse(String accessToken, String xeroTenantId, BankTransactions bankTransactions, Boolean summarizeErrors, Integer unitdp) throws IOException
IOExceptionpublic BankTransfers createBankTransfer(String accessToken, String xeroTenantId, BankTransfers bankTransfers) throws IOException
200 - Success - return response of BankTransfers array of one BankTransfer
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantbankTransfers - BankTransfers with array of BankTransfer objects in request bodyaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createBankTransferForHttpResponse(String accessToken, String xeroTenantId, BankTransfers bankTransfers) throws IOException
IOExceptionpublic Attachments createBankTransferAttachmentByFileName(String accessToken, String xeroTenantId, UUID bankTransferID, String fileName, File body) throws IOException
200 - Success - return response of Attachments array of 0 to N Attachment for a Bank Transfer
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantbankTransferID - Xero generated unique identifier for a bank transferfileName - The name of the file being attached to a Bank Transferbody - Byte array of file in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createBankTransferAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID bankTransferID, String fileName, File body) throws IOException
IOExceptionpublic HistoryRecords createBankTransferHistoryRecord(String accessToken, String xeroTenantId, UUID bankTransferID, HistoryRecords historyRecords) throws IOException
200 - Success - return response of type HistoryRecords array of HistoryRecord objects
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantbankTransferID - Xero generated unique identifier for a bank transferhistoryRecords - HistoryRecords containing an array of HistoryRecord objects in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createBankTransferHistoryRecordForHttpResponse(String accessToken, String xeroTenantId, UUID bankTransferID, HistoryRecords historyRecords) throws IOException
IOExceptionpublic BatchPayments createBatchPayment(String accessToken, String xeroTenantId, BatchPayments batchPayments, Boolean summarizeErrors) throws IOException
200 - Success - return response of type BatchPayments array of BatchPayment objects
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantbatchPayments - BatchPayments with an array of Payments in body of requestsummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createBatchPaymentForHttpResponse(String accessToken, String xeroTenantId, BatchPayments batchPayments, Boolean summarizeErrors) throws IOException
IOExceptionpublic HistoryRecords createBatchPaymentHistoryRecord(String accessToken, String xeroTenantId, UUID batchPaymentID, HistoryRecords historyRecords) throws IOException
200 - Success - return response of type HistoryRecords array of HistoryRecord objects
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantbatchPaymentID - Unique identifier for BatchPaymenthistoryRecords - HistoryRecords containing an array of HistoryRecord objects in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createBatchPaymentHistoryRecordForHttpResponse(String accessToken, String xeroTenantId, UUID batchPaymentID, HistoryRecords historyRecords) throws IOException
IOExceptionpublic PaymentServices createBrandingThemePaymentServices(String accessToken, String xeroTenantId, UUID brandingThemeID, PaymentService paymentService) throws IOException
200 - Success - return response of type PaymentServices array with newly created PaymentService
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantbrandingThemeID - Unique identifier for a Branding ThemepaymentService - PaymentService object in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createBrandingThemePaymentServicesForHttpResponse(String accessToken, String xeroTenantId, UUID brandingThemeID, PaymentService paymentService) throws IOException
IOExceptionpublic Attachments createContactAttachmentByFileName(String accessToken, String xeroTenantId, UUID contactID, String fileName, File body) throws IOException
200 - Success - return response of type Attachments array with an newly created Attachment
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantcontactID - Unique identifier for a ContactfileName - Name for the file you are attachingbody - Byte array of file in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createContactAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID contactID, String fileName, File body) throws IOException
IOExceptionpublic ContactGroups createContactGroup(String accessToken, String xeroTenantId, ContactGroups contactGroups) throws IOException
200 - Success - return response of type Contact Groups array of newly created Contact Group
400 - Validation Error - some data was incorrect returns response of type Error
xeroTenantId - Xero identifier for TenantcontactGroups - ContactGroups with an array of names in request bodyaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createContactGroupForHttpResponse(String accessToken, String xeroTenantId, ContactGroups contactGroups) throws IOException
IOExceptionpublic Contacts createContactGroupContacts(String accessToken, String xeroTenantId, UUID contactGroupID, Contacts contacts) throws IOException
200 - Success - return response of type Contacts array of added Contacts
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantcontactGroupID - Unique identifier for a Contact Groupcontacts - Contacts with array of contacts specifiying the ContactID to be added to ContactGroup in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createContactGroupContactsForHttpResponse(String accessToken, String xeroTenantId, UUID contactGroupID, Contacts contacts) throws IOException
IOExceptionpublic HistoryRecords createContactHistory(String accessToken, String xeroTenantId, UUID contactID, HistoryRecords historyRecords) throws IOException
200 - Success - return response of type HistoryRecords array of HistoryRecord objects
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantcontactID - Unique identifier for a ContacthistoryRecords - HistoryRecords containing an array of HistoryRecord objects in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createContactHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID contactID, HistoryRecords historyRecords) throws IOException
IOExceptionpublic Contacts createContacts(String accessToken, String xeroTenantId, Contacts contacts, Boolean summarizeErrors) throws IOException
200 - Success - return response of type Contacts array with newly created Contact
400 - Validation Error - some data was incorrect returns response of type Error
xeroTenantId - Xero identifier for Tenantcontacts - Contacts with an array of Contact objects to create in body of requestsummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createContactsForHttpResponse(String accessToken, String xeroTenantId, Contacts contacts, Boolean summarizeErrors) throws IOException
IOExceptionpublic Allocations createCreditNoteAllocation(String accessToken, String xeroTenantId, UUID creditNoteID, Allocations allocations, Boolean summarizeErrors) throws IOException
200 - Success - return response of type Allocations array with newly created Allocation for specific Credit Note
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantcreditNoteID - Unique identifier for a Credit Noteallocations - Allocations with array of Allocation object in body of request.summarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createCreditNoteAllocationForHttpResponse(String accessToken, String xeroTenantId, UUID creditNoteID, Allocations allocations, Boolean summarizeErrors) throws IOException
IOExceptionpublic Attachments createCreditNoteAttachmentByFileName(String accessToken, String xeroTenantId, UUID creditNoteID, String fileName, File body, Boolean includeOnline) throws IOException
200 - Success - return response of type Attachments array with newly created Attachment for specific Credit Note
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantcreditNoteID - Unique identifier for a Credit NotefileName - Name of the file you are attaching to Credit Notebody - Byte array of file in body of requestincludeOnline - Allows an attachment to be seen by the end customer within their online invoiceaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createCreditNoteAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID creditNoteID, String fileName, File body, Boolean includeOnline) throws IOException
IOExceptionpublic HistoryRecords createCreditNoteHistory(String accessToken, String xeroTenantId, UUID creditNoteID, HistoryRecords historyRecords) throws IOException
200 - Success - return response of type HistoryRecords array of HistoryRecord objects
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantcreditNoteID - Unique identifier for a Credit NotehistoryRecords - HistoryRecords containing an array of HistoryRecord objects in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createCreditNoteHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID creditNoteID, HistoryRecords historyRecords) throws IOException
IOExceptionpublic CreditNotes createCreditNotes(String accessToken, String xeroTenantId, CreditNotes creditNotes, Boolean summarizeErrors, Integer unitdp) throws IOException
200 - Success - return response of type Credit Notes array of newly created CreditNote
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantcreditNotes - Credit Notes with array of CreditNote object in body of requestsummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createCreditNotesForHttpResponse(String accessToken, String xeroTenantId, CreditNotes creditNotes, Boolean summarizeErrors, Integer unitdp) throws IOException
IOExceptionpublic Currencies createCurrency(String accessToken, String xeroTenantId, Currency currency) throws IOException
200 - Unsupported - return response incorrect exception, API is not able to create new Currency
xeroTenantId - Xero identifier for Tenantcurrency - Currency obejct in the body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createCurrencyForHttpResponse(String accessToken, String xeroTenantId, Currency currency) throws IOException
IOExceptionpublic Employees createEmployees(String accessToken, String xeroTenantId, Employees employees, Boolean summarizeErrors) throws IOException
200 - Success - return response of type Employees array with new Employee
400 - A failed request due to validation error
xeroTenantId - Xero identifier for Tenantemployees - Employees with array of Employee object in body of requestsummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createEmployeesForHttpResponse(String accessToken, String xeroTenantId, Employees employees, Boolean summarizeErrors) throws IOException
IOExceptionpublic HistoryRecords createExpenseClaimHistory(String accessToken, String xeroTenantId, UUID expenseClaimID, HistoryRecords historyRecords) throws IOException
200 - Success - return response of type HistoryRecords array of HistoryRecord objects
xeroTenantId - Xero identifier for TenantexpenseClaimID - Unique identifier for a ExpenseClaimhistoryRecords - HistoryRecords containing an array of HistoryRecord objects in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createExpenseClaimHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID expenseClaimID, HistoryRecords historyRecords) throws IOException
IOExceptionpublic ExpenseClaims createExpenseClaims(String accessToken, String xeroTenantId, ExpenseClaims expenseClaims) throws IOException
200 - Success - return response of type ExpenseClaims array with newly created ExpenseClaim
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantexpenseClaims - ExpenseClaims with array of ExpenseClaim object in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createExpenseClaimsForHttpResponse(String accessToken, String xeroTenantId, ExpenseClaims expenseClaims) throws IOException
IOExceptionpublic Attachments createInvoiceAttachmentByFileName(String accessToken, String xeroTenantId, UUID invoiceID, String fileName, File body, Boolean includeOnline) throws IOException
200 - Success - return response of type Attachments array with newly created Attachment
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantinvoiceID - Unique identifier for an InvoicefileName - Name of the file you are attachingbody - Byte array of file in body of requestincludeOnline - Allows an attachment to be seen by the end customer within their online invoiceaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createInvoiceAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID invoiceID, String fileName, File body, Boolean includeOnline) throws IOException
IOExceptionpublic HistoryRecords createInvoiceHistory(String accessToken, String xeroTenantId, UUID invoiceID, HistoryRecords historyRecords) throws IOException
200 - Success - return response of type HistoryRecords array of HistoryRecord objects
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantinvoiceID - Unique identifier for an InvoicehistoryRecords - HistoryRecords containing an array of HistoryRecord objects in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createInvoiceHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID invoiceID, HistoryRecords historyRecords) throws IOException
IOExceptionpublic Invoices createInvoices(String accessToken, String xeroTenantId, Invoices invoices, Boolean summarizeErrors, Integer unitdp) throws IOException
200 - Success - return response of type Invoices array with newly created Invoice
400 - A failed request due to validation error
xeroTenantId - Xero identifier for Tenantinvoices - Invoices with an array of invoice objects in body of requestsummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createInvoicesForHttpResponse(String accessToken, String xeroTenantId, Invoices invoices, Boolean summarizeErrors, Integer unitdp) throws IOException
IOExceptionpublic HistoryRecords createItemHistory(String accessToken, String xeroTenantId, UUID itemID, HistoryRecords historyRecords) throws IOException
200 - Success - return response of type HistoryRecords array of HistoryRecord objects
xeroTenantId - Xero identifier for TenantitemID - Unique identifier for an ItemhistoryRecords - HistoryRecords containing an array of HistoryRecord objects in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createItemHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID itemID, HistoryRecords historyRecords) throws IOException
IOExceptionpublic Items createItems(String accessToken, String xeroTenantId, Items items, Boolean summarizeErrors, Integer unitdp) throws IOException
200 - Success - return response of type Items array with newly created Item
400 - A failed request due to validation error
xeroTenantId - Xero identifier for Tenantitems - Items with an array of Item objects in body of requestsummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createItemsForHttpResponse(String accessToken, String xeroTenantId, Items items, Boolean summarizeErrors, Integer unitdp) throws IOException
IOExceptionpublic LinkedTransactions createLinkedTransaction(String accessToken, String xeroTenantId, LinkedTransaction linkedTransaction) throws IOException
200 - Success - return response of type LinkedTransactions array with newly created LinkedTransaction
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantlinkedTransaction - LinkedTransaction object in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createLinkedTransactionForHttpResponse(String accessToken, String xeroTenantId, LinkedTransaction linkedTransaction) throws IOException
IOExceptionpublic Attachments createManualJournalAttachmentByFileName(String accessToken, String xeroTenantId, UUID manualJournalID, String fileName, File body) throws IOException
200 - Success - return response of type Attachments array with a newly created Attachment for a ManualJournals
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantmanualJournalID - Unique identifier for a ManualJournalfileName - The name of the file being attached to a ManualJournalbody - Byte array of file in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createManualJournalAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID manualJournalID, String fileName, File body) throws IOException
IOExceptionpublic ManualJournals createManualJournals(String accessToken, String xeroTenantId, ManualJournals manualJournals, Boolean summarizeErrors) throws IOException
200 - Success - return response of type ManualJournals array with newly created ManualJournal
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantmanualJournals - ManualJournals array with ManualJournal object in body of requestsummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createManualJournalsForHttpResponse(String accessToken, String xeroTenantId, ManualJournals manualJournals, Boolean summarizeErrors) throws IOException
IOExceptionpublic Allocations createOverpaymentAllocations(String accessToken, String xeroTenantId, UUID overpaymentID, Allocations allocations, Boolean summarizeErrors) throws IOException
200 - Success - return response of type Allocations array with all Allocation for Overpayments
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantoverpaymentID - Unique identifier for a Overpaymentallocations - Allocations array with Allocation object in body of requestsummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createOverpaymentAllocationsForHttpResponse(String accessToken, String xeroTenantId, UUID overpaymentID, Allocations allocations, Boolean summarizeErrors) throws IOException
IOExceptionpublic HistoryRecords createOverpaymentHistory(String accessToken, String xeroTenantId, UUID overpaymentID, HistoryRecords historyRecords) throws IOException
200 - Success - return response of type HistoryRecords array of HistoryRecord objects
400 - A failed request due to validation error - API is not able to create HistoryRecord for Overpayments
xeroTenantId - Xero identifier for TenantoverpaymentID - Unique identifier for a OverpaymenthistoryRecords - HistoryRecords containing an array of HistoryRecord objects in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createOverpaymentHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID overpaymentID, HistoryRecords historyRecords) throws IOException
IOExceptionpublic Payments createPayment(String accessToken, String xeroTenantId, Payment payment) throws IOException
200 - Success - return response of type Payments array for newly created Payment
400 - A failed request due to validation error
xeroTenantId - Xero identifier for Tenantpayment - Request body with a single Payment objectaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createPaymentForHttpResponse(String accessToken, String xeroTenantId, Payment payment) throws IOException
IOExceptionpublic HistoryRecords createPaymentHistory(String accessToken, String xeroTenantId, UUID paymentID, HistoryRecords historyRecords) throws IOException
200 - Success - return response of type HistoryRecords array of HistoryRecord objects
400 - A failed request due to validation error - API is not able to create HistoryRecord for Payments
xeroTenantId - Xero identifier for TenantpaymentID - Unique identifier for a PaymenthistoryRecords - HistoryRecords containing an array of HistoryRecord objects in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createPaymentHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID paymentID, HistoryRecords historyRecords) throws IOException
IOExceptionpublic PaymentServices createPaymentService(String accessToken, String xeroTenantId, PaymentServices paymentServices) throws IOException
200 - Success - return response of type PaymentServices array for newly created PaymentService
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantpaymentServices - PaymentServices array with PaymentService object in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createPaymentServiceForHttpResponse(String accessToken, String xeroTenantId, PaymentServices paymentServices) throws IOException
IOExceptionpublic Payments createPayments(String accessToken, String xeroTenantId, Payments payments, Boolean summarizeErrors) throws IOException
200 - Success - return response of type Payments array for newly created Payment
400 - A failed request due to validation error
xeroTenantId - Xero identifier for Tenantpayments - Payments array with Payment object in body of requestsummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createPaymentsForHttpResponse(String accessToken, String xeroTenantId, Payments payments, Boolean summarizeErrors) throws IOException
IOExceptionpublic Allocations createPrepaymentAllocations(String accessToken, String xeroTenantId, UUID prepaymentID, Allocations allocations, Boolean summarizeErrors) throws IOException
200 - Success - return response of type Allocations array of Allocation for all Prepayment
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantprepaymentID - Unique identifier for Prepaymentallocations - Allocations with an array of Allocation object in body of requestsummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createPrepaymentAllocationsForHttpResponse(String accessToken, String xeroTenantId, UUID prepaymentID, Allocations allocations, Boolean summarizeErrors) throws IOException
IOExceptionpublic HistoryRecords createPrepaymentHistory(String accessToken, String xeroTenantId, UUID prepaymentID, HistoryRecords historyRecords) throws IOException
200 - Success - return response of type HistoryRecords array of HistoryRecord objects
400 - Unsupported - return response incorrect exception, API is not able to create HistoryRecord for Expense Claims
xeroTenantId - Xero identifier for TenantprepaymentID - Unique identifier for a PrePaymenthistoryRecords - HistoryRecords containing an array of HistoryRecord objects in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createPrepaymentHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID prepaymentID, HistoryRecords historyRecords) throws IOException
IOExceptionpublic HistoryRecords createPurchaseOrderHistory(String accessToken, String xeroTenantId, UUID purchaseOrderID, HistoryRecords historyRecords) throws IOException
200 - Success - return response of type HistoryRecords array of HistoryRecord objects
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantpurchaseOrderID - Unique identifier for a PurchaseOrderhistoryRecords - HistoryRecords containing an array of HistoryRecord objects in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createPurchaseOrderHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID purchaseOrderID, HistoryRecords historyRecords) throws IOException
IOExceptionpublic PurchaseOrders createPurchaseOrders(String accessToken, String xeroTenantId, PurchaseOrders purchaseOrders, Boolean summarizeErrors) throws IOException
200 - Success - return response of type PurchaseOrder array for specified PurchaseOrder
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantpurchaseOrders - PurchaseOrders with an array of PurchaseOrder object in body of requestsummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createPurchaseOrdersForHttpResponse(String accessToken, String xeroTenantId, PurchaseOrders purchaseOrders, Boolean summarizeErrors) throws IOException
IOExceptionpublic Attachments createQuoteAttachmentByFileName(String accessToken, String xeroTenantId, UUID quoteID, String fileName, File body) throws IOException
200 - Success - return response of type Attachments array of Attachment
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantquoteID - Unique identifier for Quote objectfileName - Name of the attachmentbody - Byte array of file in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createQuoteAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID quoteID, String fileName, File body) throws IOException
IOExceptionpublic HistoryRecords createQuoteHistory(String accessToken, String xeroTenantId, UUID quoteID, HistoryRecords historyRecords) throws IOException
200 - Success - return response of type HistoryRecords array of HistoryRecord objects
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantquoteID - Unique identifier for an QuotehistoryRecords - HistoryRecords containing an array of HistoryRecord objects in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createQuoteHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID quoteID, HistoryRecords historyRecords) throws IOException
IOExceptionpublic Quotes createQuotes(String accessToken, String xeroTenantId, Quotes quotes, Boolean summarizeErrors) throws IOException
200 - Success - return response of type Quotes with array with newly created Quote
400 - A failed request due to validation error
xeroTenantId - Xero identifier for Tenantquotes - Quotes with an array of Quote object in body of requestsummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createQuotesForHttpResponse(String accessToken, String xeroTenantId, Quotes quotes, Boolean summarizeErrors) throws IOException
IOExceptionpublic Receipts createReceipt(String accessToken, String xeroTenantId, Receipts receipts, Integer unitdp) throws IOException
200 - Success - return response of type Receipts array for newly created Receipt
400 - A failed request due to validation error
xeroTenantId - Xero identifier for Tenantreceipts - Receipts with an array of Receipt object in body of requestunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createReceiptForHttpResponse(String accessToken, String xeroTenantId, Receipts receipts, Integer unitdp) throws IOException
IOExceptionpublic Attachments createReceiptAttachmentByFileName(String accessToken, String xeroTenantId, UUID receiptID, String fileName, File body) throws IOException
200 - Success - return response of type Attachments array with newly created Attachment for a specified Receipt
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantreceiptID - Unique identifier for a ReceiptfileName - The name of the file being attached to the Receiptbody - Byte array of file in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createReceiptAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID receiptID, String fileName, File body) throws IOException
IOExceptionpublic HistoryRecords createReceiptHistory(String accessToken, String xeroTenantId, UUID receiptID, HistoryRecords historyRecords) throws IOException
200 - Success - return response of type HistoryRecords array of HistoryRecord objects
400 - Unsupported - return response incorrect exception, API is not able to create HistoryRecord for Receipts
xeroTenantId - Xero identifier for TenantreceiptID - Unique identifier for a ReceipthistoryRecords - HistoryRecords containing an array of HistoryRecord objects in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createReceiptHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID receiptID, HistoryRecords historyRecords) throws IOException
IOExceptionpublic Attachments createRepeatingInvoiceAttachmentByFileName(String accessToken, String xeroTenantId, UUID repeatingInvoiceID, String fileName, File body) throws IOException
200 - Success - return response of type Attachments array with updated Attachment for a specified Repeating Invoice
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantrepeatingInvoiceID - Unique identifier for a Repeating InvoicefileName - The name of the file being attached to a Repeating Invoicebody - Byte array of file in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createRepeatingInvoiceAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID repeatingInvoiceID, String fileName, File body) throws IOException
IOExceptionpublic HistoryRecords createRepeatingInvoiceHistory(String accessToken, String xeroTenantId, UUID repeatingInvoiceID, HistoryRecords historyRecords) throws IOException
200 - Success - return response of type HistoryRecords array of HistoryRecord objects
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantrepeatingInvoiceID - Unique identifier for a Repeating InvoicehistoryRecords - HistoryRecords containing an array of HistoryRecord objects in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createRepeatingInvoiceHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID repeatingInvoiceID, HistoryRecords historyRecords) throws IOException
IOExceptionpublic TaxRates createTaxRates(String accessToken, String xeroTenantId, TaxRates taxRates) throws IOException
200 - Success - return response of type TaxRates array newly created TaxRate
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenanttaxRates - TaxRates array with TaxRate object in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createTaxRatesForHttpResponse(String accessToken, String xeroTenantId, TaxRates taxRates) throws IOException
IOExceptionpublic TrackingCategories createTrackingCategory(String accessToken, String xeroTenantId, TrackingCategory trackingCategory) throws IOException
200 - Success - return response of type TrackingCategories array of newly created TrackingCategory
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenanttrackingCategory - TrackingCategory object in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createTrackingCategoryForHttpResponse(String accessToken, String xeroTenantId, TrackingCategory trackingCategory) throws IOException
IOExceptionpublic TrackingOptions createTrackingOptions(String accessToken, String xeroTenantId, UUID trackingCategoryID, TrackingOption trackingOption) throws IOException
200 - Success - return response of type TrackingOptions array of options for a specified category
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenanttrackingCategoryID - Unique identifier for a TrackingCategorytrackingOption - TrackingOption object in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createTrackingOptionsForHttpResponse(String accessToken, String xeroTenantId, UUID trackingCategoryID, TrackingOption trackingOption) throws IOException
IOExceptionpublic Accounts deleteAccount(String accessToken, String xeroTenantId, UUID accountID) throws IOException
200 - Success - delete existing Account and return response of type Accounts array with deleted Account
400 - Validation Error - some data was incorrect returns response of type Error
xeroTenantId - Xero identifier for TenantaccountID - Unique identifier for retrieving single objectaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse deleteAccountForHttpResponse(String accessToken, String xeroTenantId, UUID accountID) throws IOException
IOExceptionpublic void deleteContactGroupContact(String accessToken, String xeroTenantId, UUID contactGroupID, UUID contactID) throws IOException
204 - Success - return response 204 no content
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantcontactGroupID - Unique identifier for a Contact GroupcontactID - Unique identifier for a ContactaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse deleteContactGroupContactForHttpResponse(String accessToken, String xeroTenantId, UUID contactGroupID, UUID contactID) throws IOException
IOExceptionpublic void deleteContactGroupContacts(String accessToken, String xeroTenantId, UUID contactGroupID) throws IOException
204 - Success - return response 204 no content
xeroTenantId - Xero identifier for TenantcontactGroupID - Unique identifier for a Contact GroupaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse deleteContactGroupContactsForHttpResponse(String accessToken, String xeroTenantId, UUID contactGroupID) throws IOException
IOExceptionpublic void deleteItem(String accessToken, String xeroTenantId, UUID itemID) throws IOException
204 - Success - return response 204 no content
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantitemID - Unique identifier for an ItemaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse deleteItemForHttpResponse(String accessToken, String xeroTenantId, UUID itemID) throws IOException
IOExceptionpublic void deleteLinkedTransaction(String accessToken, String xeroTenantId, UUID linkedTransactionID) throws IOException
204 - Success - return response 204 no content
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantlinkedTransactionID - Unique identifier for a LinkedTransactionaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse deleteLinkedTransactionForHttpResponse(String accessToken, String xeroTenantId, UUID linkedTransactionID) throws IOException
IOExceptionpublic Payments deletePayment(String accessToken, String xeroTenantId, UUID paymentID, PaymentDelete paymentDelete) throws IOException
200 - Success - return response of type Payments array for updated Payment
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantpaymentID - Unique identifier for a PaymentpaymentDelete - The paymentDelete parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse deletePaymentForHttpResponse(String accessToken, String xeroTenantId, UUID paymentID, PaymentDelete paymentDelete) throws IOException
IOExceptionpublic TrackingCategories deleteTrackingCategory(String accessToken, String xeroTenantId, UUID trackingCategoryID) throws IOException
200 - Success - return response of type TrackingCategories array of deleted TrackingCategory
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenanttrackingCategoryID - Unique identifier for a TrackingCategoryaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse deleteTrackingCategoryForHttpResponse(String accessToken, String xeroTenantId, UUID trackingCategoryID) throws IOException
IOExceptionpublic TrackingOptions deleteTrackingOptions(String accessToken, String xeroTenantId, UUID trackingCategoryID, UUID trackingOptionID) throws IOException
200 - Success - return response of type TrackingOptions array of remaining options for a specified category
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenanttrackingCategoryID - Unique identifier for a TrackingCategorytrackingOptionID - Unique identifier for a Tracking OptionaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse deleteTrackingOptionsForHttpResponse(String accessToken, String xeroTenantId, UUID trackingCategoryID, UUID trackingOptionID) throws IOException
IOExceptionpublic void emailInvoice(String accessToken, String xeroTenantId, UUID invoiceID, RequestEmpty requestEmpty) throws IOException
204 - Success - return response 204 no content
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantinvoiceID - Unique identifier for an InvoicerequestEmpty - The requestEmpty parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse emailInvoiceForHttpResponse(String accessToken, String xeroTenantId, UUID invoiceID, RequestEmpty requestEmpty) throws IOException
IOExceptionpublic Accounts getAccount(String accessToken, String xeroTenantId, UUID accountID) throws IOException
200 - Success - return response of type Accounts array with one Account
xeroTenantId - Xero identifier for TenantaccountID - Unique identifier for retrieving single objectaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getAccountForHttpResponse(String accessToken, String xeroTenantId, UUID accountID) throws IOException
IOExceptionpublic ByteArrayInputStream getAccountAttachmentByFileName(String accessToken, String xeroTenantId, UUID accountID, String fileName, String contentType) throws IOException
200 - Success - return response of attachment for Account as binary data
xeroTenantId - Xero identifier for TenantaccountID - Unique identifier for Account objectfileName - Name of the attachmentcontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getAccountAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID accountID, String fileName, String contentType) throws IOException
IOExceptionpublic ByteArrayInputStream getAccountAttachmentById(String accessToken, String xeroTenantId, UUID accountID, UUID attachmentID, String contentType) throws IOException
200 - Success - return response of attachment for Account as binary data
xeroTenantId - Xero identifier for TenantaccountID - Unique identifier for Account objectattachmentID - Unique identifier for Attachment objectcontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getAccountAttachmentByIdForHttpResponse(String accessToken, String xeroTenantId, UUID accountID, UUID attachmentID, String contentType) throws IOException
IOExceptionpublic Attachments getAccountAttachments(String accessToken, String xeroTenantId, UUID accountID) throws IOException
200 - Success - return response of type Attachments array of Attachment
xeroTenantId - Xero identifier for TenantaccountID - Unique identifier for Account objectaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getAccountAttachmentsForHttpResponse(String accessToken, String xeroTenantId, UUID accountID) throws IOException
IOExceptionpublic Accounts getAccounts(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
200 - Success - return response of type Accounts array with 0 to n Account
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getAccountsForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
IOExceptionpublic BankTransactions getBankTransaction(String accessToken, String xeroTenantId, UUID bankTransactionID, Integer unitdp) throws IOException
200 - Success - return response of type BankTransactions array with a specific BankTransaction
xeroTenantId - Xero identifier for TenantbankTransactionID - Xero generated unique identifier for a bank transactionunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getBankTransactionForHttpResponse(String accessToken, String xeroTenantId, UUID bankTransactionID, Integer unitdp) throws IOException
IOExceptionpublic ByteArrayInputStream getBankTransactionAttachmentByFileName(String accessToken, String xeroTenantId, UUID bankTransactionID, String fileName, String contentType) throws IOException
200 - Success - return response of attachment for BankTransaction as binary data
xeroTenantId - Xero identifier for TenantbankTransactionID - Xero generated unique identifier for a bank transactionfileName - The name of the file being attachedcontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getBankTransactionAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID bankTransactionID, String fileName, String contentType) throws IOException
IOExceptionpublic ByteArrayInputStream getBankTransactionAttachmentById(String accessToken, String xeroTenantId, UUID bankTransactionID, UUID attachmentID, String contentType) throws IOException
200 - Success - return response of attachment for BankTransaction as binary data
xeroTenantId - Xero identifier for TenantbankTransactionID - Xero generated unique identifier for a bank transactionattachmentID - Xero generated unique identifier for an attachmentcontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getBankTransactionAttachmentByIdForHttpResponse(String accessToken, String xeroTenantId, UUID bankTransactionID, UUID attachmentID, String contentType) throws IOException
IOExceptionpublic Attachments getBankTransactionAttachments(String accessToken, String xeroTenantId, UUID bankTransactionID) throws IOException
200 - Success - return response of type Attachments array with 0 to n Attachment
xeroTenantId - Xero identifier for TenantbankTransactionID - Xero generated unique identifier for a bank transactionaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getBankTransactionAttachmentsForHttpResponse(String accessToken, String xeroTenantId, UUID bankTransactionID) throws IOException
IOExceptionpublic BankTransactions getBankTransactions(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer page, Integer unitdp) throws IOException
200 - Success - return response of type BankTransactions array with 0 to n BankTransaction
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementpage - Up to 100 bank transactions will be returned in a single API call with line items detailsunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getBankTransactionsForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer page, Integer unitdp) throws IOException
IOExceptionpublic HistoryRecords getBankTransactionsHistory(String accessToken, String xeroTenantId, UUID bankTransactionID) throws IOException
200 - Success - return response of HistoryRecords array of 0 to N HistoryRecord
xeroTenantId - Xero identifier for TenantbankTransactionID - Xero generated unique identifier for a bank transactionaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getBankTransactionsHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID bankTransactionID) throws IOException
IOExceptionpublic BankTransfers getBankTransfer(String accessToken, String xeroTenantId, UUID bankTransferID) throws IOException
200 - Success - return response of BankTransfers array with one BankTransfer
xeroTenantId - Xero identifier for TenantbankTransferID - Xero generated unique identifier for a bank transferaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getBankTransferForHttpResponse(String accessToken, String xeroTenantId, UUID bankTransferID) throws IOException
IOExceptionpublic ByteArrayInputStream getBankTransferAttachmentByFileName(String accessToken, String xeroTenantId, UUID bankTransferID, String fileName, String contentType) throws IOException
200 - Success - return response of binary data from the Attachment to a Bank Transfer
xeroTenantId - Xero identifier for TenantbankTransferID - Xero generated unique identifier for a bank transferfileName - The name of the file being attached to a Bank TransfercontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getBankTransferAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID bankTransferID, String fileName, String contentType) throws IOException
IOExceptionpublic ByteArrayInputStream getBankTransferAttachmentById(String accessToken, String xeroTenantId, UUID bankTransferID, UUID attachmentID, String contentType) throws IOException
200 - Success - return response of binary data from the Attachment to a Bank Transfer
xeroTenantId - Xero identifier for TenantbankTransferID - Xero generated unique identifier for a bank transferattachmentID - Xero generated unique identifier for an Attachment to a bank transfercontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getBankTransferAttachmentByIdForHttpResponse(String accessToken, String xeroTenantId, UUID bankTransferID, UUID attachmentID, String contentType) throws IOException
IOExceptionpublic Attachments getBankTransferAttachments(String accessToken, String xeroTenantId, UUID bankTransferID) throws IOException
200 - Success - return response of Attachments array of 0 to N Attachment for a Bank Transfer
xeroTenantId - Xero identifier for TenantbankTransferID - Xero generated unique identifier for a bank transferaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getBankTransferAttachmentsForHttpResponse(String accessToken, String xeroTenantId, UUID bankTransferID) throws IOException
IOExceptionpublic HistoryRecords getBankTransferHistory(String accessToken, String xeroTenantId, UUID bankTransferID) throws IOException
200 - Success - return response of HistoryRecords array of 0 to N HistoryRecord
xeroTenantId - Xero identifier for TenantbankTransferID - Xero generated unique identifier for a bank transferaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getBankTransferHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID bankTransferID) throws IOException
IOExceptionpublic BankTransfers getBankTransfers(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
200 - Success - return response of BankTransfers array of 0 to N BankTransfer
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getBankTransfersForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
IOExceptionpublic HistoryRecords getBatchPaymentHistory(String accessToken, String xeroTenantId, UUID batchPaymentID) throws IOException
200 - Success - return response of HistoryRecords array of 0 to N HistoryRecord
xeroTenantId - Xero identifier for TenantbatchPaymentID - Unique identifier for BatchPaymentaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getBatchPaymentHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID batchPaymentID) throws IOException
IOExceptionpublic BatchPayments getBatchPayments(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
200 - Success - return response of type BatchPayments array of BatchPayment objects
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getBatchPaymentsForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
IOExceptionpublic BrandingThemes getBrandingTheme(String accessToken, String xeroTenantId, UUID brandingThemeID) throws IOException
200 - Success - return response of type BrandingThemes with one BrandingTheme
xeroTenantId - Xero identifier for TenantbrandingThemeID - Unique identifier for a Branding ThemeaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getBrandingThemeForHttpResponse(String accessToken, String xeroTenantId, UUID brandingThemeID) throws IOException
IOExceptionpublic PaymentServices getBrandingThemePaymentServices(String accessToken, String xeroTenantId, UUID brandingThemeID) throws IOException
200 - Success - return response of type PaymentServices array with 0 to N PaymentService
xeroTenantId - Xero identifier for TenantbrandingThemeID - Unique identifier for a Branding ThemeaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getBrandingThemePaymentServicesForHttpResponse(String accessToken, String xeroTenantId, UUID brandingThemeID) throws IOException
IOExceptionpublic BrandingThemes getBrandingThemes(String accessToken, String xeroTenantId) throws IOException
200 - Success - return response of type BrandingThemes
xeroTenantId - Xero identifier for TenantaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getBrandingThemesForHttpResponse(String accessToken, String xeroTenantId) throws IOException
IOExceptionpublic Contacts getContact(String accessToken, String xeroTenantId, UUID contactID) throws IOException
200 - Success - return response of type Contacts array with a unique Contact
xeroTenantId - Xero identifier for TenantcontactID - Unique identifier for a ContactaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getContactForHttpResponse(String accessToken, String xeroTenantId, UUID contactID) throws IOException
IOExceptionpublic ByteArrayInputStream getContactAttachmentByFileName(String accessToken, String xeroTenantId, UUID contactID, String fileName, String contentType) throws IOException
200 - Success - return response of attachment for Contact as binary data
xeroTenantId - Xero identifier for TenantcontactID - Unique identifier for a ContactfileName - Name for the file you are attachingcontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getContactAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID contactID, String fileName, String contentType) throws IOException
IOExceptionpublic ByteArrayInputStream getContactAttachmentById(String accessToken, String xeroTenantId, UUID contactID, UUID attachmentID, String contentType) throws IOException
200 - Success - return response of attachment for Contact as binary data
xeroTenantId - Xero identifier for TenantcontactID - Unique identifier for a ContactattachmentID - Unique identifier for a AttachmentcontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getContactAttachmentByIdForHttpResponse(String accessToken, String xeroTenantId, UUID contactID, UUID attachmentID, String contentType) throws IOException
IOExceptionpublic Attachments getContactAttachments(String accessToken, String xeroTenantId, UUID contactID) throws IOException
200 - Success - return response of type Attachments array with 0 to N Attachment
xeroTenantId - Xero identifier for TenantcontactID - Unique identifier for a ContactaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getContactAttachmentsForHttpResponse(String accessToken, String xeroTenantId, UUID contactID) throws IOException
IOExceptionpublic Contacts getContactByContactNumber(String accessToken, String xeroTenantId, String contactNumber) throws IOException
200 - Success - return response of type Contacts array with a unique Contact
xeroTenantId - Xero identifier for TenantcontactNumber - This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50).accessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getContactByContactNumberForHttpResponse(String accessToken, String xeroTenantId, String contactNumber) throws IOException
IOExceptionpublic CISSettings getContactCISSettings(String accessToken, String xeroTenantId, UUID contactID) throws IOException
200 - Success - return response of type CISSettings for a specific Contact
xeroTenantId - Xero identifier for TenantcontactID - Unique identifier for a ContactaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getContactCISSettingsForHttpResponse(String accessToken, String xeroTenantId, UUID contactID) throws IOException
IOExceptionpublic ContactGroups getContactGroup(String accessToken, String xeroTenantId, UUID contactGroupID) throws IOException
200 - Success - return response of type Contact Groups array with a specific Contact Group
xeroTenantId - Xero identifier for TenantcontactGroupID - Unique identifier for a Contact GroupaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getContactGroupForHttpResponse(String accessToken, String xeroTenantId, UUID contactGroupID) throws IOException
IOExceptionpublic ContactGroups getContactGroups(String accessToken, String xeroTenantId, String where, String order) throws IOException
200 - Success - return response of type Contact Groups array of Contact Group
xeroTenantId - Xero identifier for Tenantwhere - Filter by an any elementorder - Order by an any elementaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getContactGroupsForHttpResponse(String accessToken, String xeroTenantId, String where, String order) throws IOException
IOExceptionpublic HistoryRecords getContactHistory(String accessToken, String xeroTenantId, UUID contactID) throws IOException
200 - Success - return response of HistoryRecords array of 0 to N HistoryRecord
xeroTenantId - Xero identifier for TenantcontactID - Unique identifier for a ContactaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getContactHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID contactID) throws IOException
IOExceptionpublic Contacts getContacts(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, List<UUID> ids, Integer page, Boolean includeArchived) throws IOException
200 - Success - return response of type Contacts array with 0 to N Contact
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementids - Filter by a comma separated list of ContactIDs. Allows you to retrieve a specific set of contacts in a single call.page - e.g. page=1 - Up to 100 contacts will be returned in a single API call.includeArchived - e.g. includeArchived=true - Contacts with a status of ARCHIVED will be included in the responseaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getContactsForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, List<UUID> ids, Integer page, Boolean includeArchived) throws IOException
IOExceptionpublic CreditNotes getCreditNote(String accessToken, String xeroTenantId, UUID creditNoteID, Integer unitdp) throws IOException
200 - Success - return response of type Credit Notes array with a unique CreditNote
xeroTenantId - Xero identifier for TenantcreditNoteID - Unique identifier for a Credit Noteunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getCreditNoteForHttpResponse(String accessToken, String xeroTenantId, UUID creditNoteID, Integer unitdp) throws IOException
IOExceptionpublic ByteArrayInputStream getCreditNoteAsPdf(String accessToken, String xeroTenantId, UUID creditNoteID) throws IOException
200 - Success - return response of binary data from the Attachment to a Credit Note
xeroTenantId - Xero identifier for TenantcreditNoteID - Unique identifier for a Credit NoteaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getCreditNoteAsPdfForHttpResponse(String accessToken, String xeroTenantId, UUID creditNoteID) throws IOException
IOExceptionpublic ByteArrayInputStream getCreditNoteAttachmentByFileName(String accessToken, String xeroTenantId, UUID creditNoteID, String fileName, String contentType) throws IOException
200 - Success - return response of attachment for Credit Note as binary data
xeroTenantId - Xero identifier for TenantcreditNoteID - Unique identifier for a Credit NotefileName - Name of the file you are attaching to Credit NotecontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getCreditNoteAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID creditNoteID, String fileName, String contentType) throws IOException
IOExceptionpublic ByteArrayInputStream getCreditNoteAttachmentById(String accessToken, String xeroTenantId, UUID creditNoteID, UUID attachmentID, String contentType) throws IOException
200 - Success - return response of attachment for Credit Note as binary data
xeroTenantId - Xero identifier for TenantcreditNoteID - Unique identifier for a Credit NoteattachmentID - Unique identifier for a AttachmentcontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getCreditNoteAttachmentByIdForHttpResponse(String accessToken, String xeroTenantId, UUID creditNoteID, UUID attachmentID, String contentType) throws IOException
IOExceptionpublic Attachments getCreditNoteAttachments(String accessToken, String xeroTenantId, UUID creditNoteID) throws IOException
200 - Success - return response of type Attachments array with all Attachment for specific Credit Note
xeroTenantId - Xero identifier for TenantcreditNoteID - Unique identifier for a Credit NoteaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getCreditNoteAttachmentsForHttpResponse(String accessToken, String xeroTenantId, UUID creditNoteID) throws IOException
IOExceptionpublic HistoryRecords getCreditNoteHistory(String accessToken, String xeroTenantId, UUID creditNoteID) throws IOException
200 - Success - return response of HistoryRecords array of 0 to N HistoryRecord
xeroTenantId - Xero identifier for TenantcreditNoteID - Unique identifier for a Credit NoteaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getCreditNoteHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID creditNoteID) throws IOException
IOExceptionpublic CreditNotes getCreditNotes(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer page, Integer unitdp) throws IOException
200 - Success - return response of type Credit Notes array of CreditNote
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementpage - e.g. page=1 – Up to 100 credit notes will be returned in a single API call with line items shown for each credit noteunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getCreditNotesForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer page, Integer unitdp) throws IOException
IOExceptionpublic Currencies getCurrencies(String accessToken, String xeroTenantId, String where, String order) throws IOException
200 - Success - return response of type Currencies array with all Currencies
xeroTenantId - Xero identifier for Tenantwhere - Filter by an any elementorder - Order by an any elementaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getCurrenciesForHttpResponse(String accessToken, String xeroTenantId, String where, String order) throws IOException
IOExceptionpublic Employees getEmployee(String accessToken, String xeroTenantId, UUID employeeID) throws IOException
200 - Success - return response of type Employees array with specified Employee
xeroTenantId - Xero identifier for TenantemployeeID - Unique identifier for a EmployeeaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getEmployeeForHttpResponse(String accessToken, String xeroTenantId, UUID employeeID) throws IOException
IOExceptionpublic Employees getEmployees(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
200 - Success - return response of type Employees array with all Employee
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getEmployeesForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
IOExceptionpublic ExpenseClaims getExpenseClaim(String accessToken, String xeroTenantId, UUID expenseClaimID) throws IOException
200 - Success - return response of type ExpenseClaims array with specified ExpenseClaim
xeroTenantId - Xero identifier for TenantexpenseClaimID - Unique identifier for a ExpenseClaimaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getExpenseClaimForHttpResponse(String accessToken, String xeroTenantId, UUID expenseClaimID) throws IOException
IOExceptionpublic HistoryRecords getExpenseClaimHistory(String accessToken, String xeroTenantId, UUID expenseClaimID) throws IOException
200 - Success - return response of HistoryRecords array of 0 to N HistoryRecord
xeroTenantId - Xero identifier for TenantexpenseClaimID - Unique identifier for a ExpenseClaimaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getExpenseClaimHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID expenseClaimID) throws IOException
IOExceptionpublic ExpenseClaims getExpenseClaims(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
200 - Success - return response of type ExpenseClaims array with all ExpenseClaims
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getExpenseClaimsForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
IOExceptionpublic Invoices getInvoice(String accessToken, String xeroTenantId, UUID invoiceID, Integer unitdp) throws IOException
200 - Success - return response of type Invoices array with specified Invoices
xeroTenantId - Xero identifier for TenantinvoiceID - Unique identifier for an Invoiceunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getInvoiceForHttpResponse(String accessToken, String xeroTenantId, UUID invoiceID, Integer unitdp) throws IOException
IOExceptionpublic ByteArrayInputStream getInvoiceAsPdf(String accessToken, String xeroTenantId, UUID invoiceID) throws IOException
200 - Success - return response of byte array pdf version of specified Invoices
xeroTenantId - Xero identifier for TenantinvoiceID - Unique identifier for an InvoiceaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getInvoiceAsPdfForHttpResponse(String accessToken, String xeroTenantId, UUID invoiceID) throws IOException
IOExceptionpublic ByteArrayInputStream getInvoiceAttachmentByFileName(String accessToken, String xeroTenantId, UUID invoiceID, String fileName, String contentType) throws IOException
200 - Success - return response of attachment for Invoice as binary data
xeroTenantId - Xero identifier for TenantinvoiceID - Unique identifier for an InvoicefileName - Name of the file you are attachingcontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getInvoiceAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID invoiceID, String fileName, String contentType) throws IOException
IOExceptionpublic ByteArrayInputStream getInvoiceAttachmentById(String accessToken, String xeroTenantId, UUID invoiceID, UUID attachmentID, String contentType) throws IOException
200 - Success - return response of attachment for Invoice as binary data
xeroTenantId - Xero identifier for TenantinvoiceID - Unique identifier for an InvoiceattachmentID - Unique identifier for an AttachmentcontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getInvoiceAttachmentByIdForHttpResponse(String accessToken, String xeroTenantId, UUID invoiceID, UUID attachmentID, String contentType) throws IOException
IOExceptionpublic Attachments getInvoiceAttachments(String accessToken, String xeroTenantId, UUID invoiceID) throws IOException
200 - Success - return response of type Attachments array of Attachments for specified Invoices
xeroTenantId - Xero identifier for TenantinvoiceID - Unique identifier for an InvoiceaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getInvoiceAttachmentsForHttpResponse(String accessToken, String xeroTenantId, UUID invoiceID) throws IOException
IOExceptionpublic HistoryRecords getInvoiceHistory(String accessToken, String xeroTenantId, UUID invoiceID) throws IOException
200 - Success - return response of HistoryRecords array of 0 to N HistoryRecord
xeroTenantId - Xero identifier for TenantinvoiceID - Unique identifier for an InvoiceaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getInvoiceHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID invoiceID) throws IOException
IOExceptionpublic InvoiceReminders getInvoiceReminders(String accessToken, String xeroTenantId) throws IOException
200 - Success - return response of Invoice Reminders
xeroTenantId - Xero identifier for TenantaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getInvoiceRemindersForHttpResponse(String accessToken, String xeroTenantId) throws IOException
IOExceptionpublic Invoices getInvoices(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, List<UUID> ids, List<String> invoiceNumbers, List<UUID> contactIDs, List<String> statuses, Integer page, Boolean includeArchived, Boolean createdByMyApp, Integer unitdp) throws IOException
200 - Success - return response of type Invoices array with all Invoices
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementids - Filter by a comma-separated list of InvoicesIDs.invoiceNumbers - Filter by a comma-separated list of InvoiceNumbers.contactIDs - Filter by a comma-separated list of ContactIDs.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.page - e.g. page=1 – Up to 100 invoices will be returned in a single API call with line items shown for each invoiceincludeArchived - e.g. includeArchived=true - Contacts with a status of ARCHIVED will be included in the responsecreatedByMyApp - When set to true you'll only retrieve Invoices created by your appunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getInvoicesForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, List<UUID> ids, List<String> invoiceNumbers, List<UUID> contactIDs, List<String> statuses, Integer page, Boolean includeArchived, Boolean createdByMyApp, Integer unitdp) throws IOException
IOExceptionpublic Items getItem(String accessToken, String xeroTenantId, UUID itemID, Integer unitdp) throws IOException
200 - Success - return response of type Items array with specified Item
xeroTenantId - Xero identifier for TenantitemID - Unique identifier for an Itemunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getItemForHttpResponse(String accessToken, String xeroTenantId, UUID itemID, Integer unitdp) throws IOException
IOExceptionpublic HistoryRecords getItemHistory(String accessToken, String xeroTenantId, UUID itemID) throws IOException
200 - Success - return response of HistoryRecords array of 0 to N HistoryRecord
xeroTenantId - Xero identifier for TenantitemID - Unique identifier for an ItemaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getItemHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID itemID) throws IOException
IOExceptionpublic Items getItems(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer unitdp) throws IOException
200 - Success - return response of type Items array with all Item
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getItemsForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer unitdp) throws IOException
IOExceptionpublic Journals getJournal(String accessToken, String xeroTenantId, UUID journalID) throws IOException
200 - Success - return response of type Journals array with specified Journal
xeroTenantId - Xero identifier for TenantjournalID - Unique identifier for a JournalaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getJournalForHttpResponse(String accessToken, String xeroTenantId, UUID journalID) throws IOException
IOExceptionpublic Journals getJournals(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, Integer offset, Boolean paymentsOnly) throws IOException
200 - Success - return response of type Journals array with all Journals
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedoffset - Offset by a specified journal number. e.g. journals with a JournalNumber greater than the offset will be returnedpaymentsOnly - Filter to retrieve journals on a cash basis. Journals are returned on an accrual basis by default.accessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getJournalsForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, Integer offset, Boolean paymentsOnly) throws IOException
IOExceptionpublic LinkedTransactions getLinkedTransaction(String accessToken, String xeroTenantId, UUID linkedTransactionID) throws IOException
200 - Success - return response of type LinkedTransactions array with a specified LinkedTransaction
xeroTenantId - Xero identifier for TenantlinkedTransactionID - Unique identifier for a LinkedTransactionaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getLinkedTransactionForHttpResponse(String accessToken, String xeroTenantId, UUID linkedTransactionID) throws IOException
IOExceptionpublic LinkedTransactions getLinkedTransactions(String accessToken, String xeroTenantId, Integer page, String linkedTransactionID, String sourceTransactionID, String contactID, String status, String targetTransactionID) throws IOException
200 - Success - return response of type LinkedTransactions array with all LinkedTransaction
xeroTenantId - Xero identifier for Tenantpage - 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.linkedTransactionID - The Xero identifier for an Linked TransactionsourceTransactionID - Filter by the SourceTransactionID. Get the linked transactions created from a particular ACCPAY invoicecontactID - Filter by the ContactID. Get all the linked transactions that have been assigned to a particular customer.status - Filter by the combination of ContactID and Status. Get the linked transactions associaed to a customer and with a statustargetTransactionID - Filter by the TargetTransactionID. Get all the linked transactions allocated to a particular ACCREC invoiceaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getLinkedTransactionsForHttpResponse(String accessToken, String xeroTenantId, Integer page, String linkedTransactionID, String sourceTransactionID, String contactID, String status, String targetTransactionID) throws IOException
IOExceptionpublic ManualJournals getManualJournal(String accessToken, String xeroTenantId, UUID manualJournalID) throws IOException
200 - Success - return response of type ManualJournals array with a specified ManualJournals
xeroTenantId - Xero identifier for TenantmanualJournalID - Unique identifier for a ManualJournalaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getManualJournalForHttpResponse(String accessToken, String xeroTenantId, UUID manualJournalID) throws IOException
IOExceptionpublic ByteArrayInputStream getManualJournalAttachmentByFileName(String accessToken, String xeroTenantId, UUID manualJournalID, String fileName, String contentType) throws IOException
200 - Success - return response of attachment for Manual Journal as binary data
xeroTenantId - Xero identifier for TenantmanualJournalID - Unique identifier for a ManualJournalfileName - The name of the file being attached to a ManualJournalcontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getManualJournalAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID manualJournalID, String fileName, String contentType) throws IOException
IOExceptionpublic ByteArrayInputStream getManualJournalAttachmentById(String accessToken, String xeroTenantId, UUID manualJournalID, UUID attachmentID, String contentType) throws IOException
200 - Success - return response of attachment for Manual Journal as binary data
xeroTenantId - Xero identifier for TenantmanualJournalID - Unique identifier for a ManualJournalattachmentID - Unique identifier for a AttachmentcontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getManualJournalAttachmentByIdForHttpResponse(String accessToken, String xeroTenantId, UUID manualJournalID, UUID attachmentID, String contentType) throws IOException
IOExceptionpublic Attachments getManualJournalAttachments(String accessToken, String xeroTenantId, UUID manualJournalID) throws IOException
200 - Success - return response of type Attachments array with all Attachments for a ManualJournals
xeroTenantId - Xero identifier for TenantmanualJournalID - Unique identifier for a ManualJournalaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getManualJournalAttachmentsForHttpResponse(String accessToken, String xeroTenantId, UUID manualJournalID) throws IOException
IOExceptionpublic ManualJournals getManualJournals(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer page) throws IOException
200 - Success - return response of type ManualJournals array with a all ManualJournals
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementpage - e.g. page=1 – Up to 100 manual journals will be returned in a single API call with line items shown for each overpaymentaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getManualJournalsForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer page) throws IOException
IOExceptionpublic OnlineInvoices getOnlineInvoice(String accessToken, String xeroTenantId, UUID invoiceID) throws IOException
200 - Success - return response of type OnlineInvoice array with one OnlineInvoice
xeroTenantId - Xero identifier for TenantinvoiceID - Unique identifier for an InvoiceaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getOnlineInvoiceForHttpResponse(String accessToken, String xeroTenantId, UUID invoiceID) throws IOException
IOExceptionpublic CISOrgSetting getOrganisationCISSettings(String accessToken, String xeroTenantId, UUID organisationID) throws IOException
200 - Success - return response of type Organisation array with specified Organisation
xeroTenantId - Xero identifier for TenantorganisationID - The unique Xero identifier for an organisationaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getOrganisationCISSettingsForHttpResponse(String accessToken, String xeroTenantId, UUID organisationID) throws IOException
IOExceptionpublic Organisations getOrganisations(String accessToken, String xeroTenantId) throws IOException
200 - Success - return response of type Organisation array with all Organisation
xeroTenantId - Xero identifier for TenantaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getOrganisationsForHttpResponse(String accessToken, String xeroTenantId) throws IOException
IOExceptionpublic Overpayments getOverpayment(String accessToken, String xeroTenantId, UUID overpaymentID) throws IOException
200 - Success - return response of type Overpayments array with specified Overpayments
xeroTenantId - Xero identifier for TenantoverpaymentID - Unique identifier for a OverpaymentaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getOverpaymentForHttpResponse(String accessToken, String xeroTenantId, UUID overpaymentID) throws IOException
IOExceptionpublic HistoryRecords getOverpaymentHistory(String accessToken, String xeroTenantId, UUID overpaymentID) throws IOException
200 - Success - return response of HistoryRecords array of 0 to N HistoryRecord
xeroTenantId - Xero identifier for TenantoverpaymentID - Unique identifier for a OverpaymentaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getOverpaymentHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID overpaymentID) throws IOException
IOExceptionpublic Overpayments getOverpayments(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer page, Integer unitdp) throws IOException
200 - Success - return response of type Overpayments array with all Overpayments
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementpage - e.g. page=1 – Up to 100 overpayments will be returned in a single API call with line items shown for each overpaymentunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getOverpaymentsForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer page, Integer unitdp) throws IOException
IOExceptionpublic Payments getPayment(String accessToken, String xeroTenantId, UUID paymentID) throws IOException
200 - Success - return response of type Payments array for specified Payment
xeroTenantId - Xero identifier for TenantpaymentID - Unique identifier for a PaymentaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getPaymentForHttpResponse(String accessToken, String xeroTenantId, UUID paymentID) throws IOException
IOExceptionpublic HistoryRecords getPaymentHistory(String accessToken, String xeroTenantId, UUID paymentID) throws IOException
200 - Success - return response of HistoryRecords array of 0 to N HistoryRecord
xeroTenantId - Xero identifier for TenantpaymentID - Unique identifier for a PaymentaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getPaymentHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID paymentID) throws IOException
IOExceptionpublic PaymentServices getPaymentServices(String accessToken, String xeroTenantId) throws IOException
200 - Success - return response of type PaymentServices array for all PaymentService
xeroTenantId - Xero identifier for TenantaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getPaymentServicesForHttpResponse(String accessToken, String xeroTenantId) throws IOException
IOExceptionpublic Payments getPayments(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer page) throws IOException
200 - Success - return response of type Payments array for all Payments
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementpage - Up to 100 payments will be returned in a single API callaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getPaymentsForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer page) throws IOException
IOExceptionpublic Prepayments getPrepayment(String accessToken, String xeroTenantId, UUID prepaymentID) throws IOException
200 - Success - return response of type Prepayments array for a specified Prepayment
xeroTenantId - Xero identifier for TenantprepaymentID - Unique identifier for a PrePaymentaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getPrepaymentForHttpResponse(String accessToken, String xeroTenantId, UUID prepaymentID) throws IOException
IOExceptionpublic HistoryRecords getPrepaymentHistory(String accessToken, String xeroTenantId, UUID prepaymentID) throws IOException
200 - Success - return response of HistoryRecords array of 0 to N HistoryRecord
xeroTenantId - Xero identifier for TenantprepaymentID - Unique identifier for a PrePaymentaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getPrepaymentHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID prepaymentID) throws IOException
IOExceptionpublic Prepayments getPrepayments(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer page, Integer unitdp) throws IOException
200 - Success - return response of type Prepayments array for all Prepayment
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementpage - e.g. page=1 – Up to 100 prepayments will be returned in a single API call with line items shown for each overpaymentunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getPrepaymentsForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer page, Integer unitdp) throws IOException
IOExceptionpublic PurchaseOrders getPurchaseOrder(String accessToken, String xeroTenantId, UUID purchaseOrderID) throws IOException
200 - Success - return response of type PurchaseOrder array for specified PurchaseOrder
xeroTenantId - Xero identifier for TenantpurchaseOrderID - Unique identifier for a PurchaseOrderaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getPurchaseOrderForHttpResponse(String accessToken, String xeroTenantId, UUID purchaseOrderID) throws IOException
IOExceptionpublic ByteArrayInputStream getPurchaseOrderAsPdf(String accessToken, String xeroTenantId, UUID purchaseOrderID) throws IOException
200 - Success - return response of byte array pdf version of specified Purchase Orders
xeroTenantId - Xero identifier for TenantpurchaseOrderID - Unique identifier for an Purchase OrderaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getPurchaseOrderAsPdfForHttpResponse(String accessToken, String xeroTenantId, UUID purchaseOrderID) throws IOException
IOExceptionpublic PurchaseOrders getPurchaseOrderByNumber(String accessToken, String xeroTenantId, String purchaseOrderNumber) throws IOException
200 - Success - return response of type PurchaseOrder array for specified PurchaseOrder
xeroTenantId - Xero identifier for TenantpurchaseOrderNumber - Unique identifier for a PurchaseOrderaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getPurchaseOrderByNumberForHttpResponse(String accessToken, String xeroTenantId, String purchaseOrderNumber) throws IOException
IOExceptionpublic HistoryRecords getPurchaseOrderHistory(String accessToken, String xeroTenantId, UUID purchaseOrderID) throws IOException
200 - Success - return response of HistoryRecords array of 0 to N HistoryRecord
xeroTenantId - Xero identifier for TenantpurchaseOrderID - Unique identifier for a PurchaseOrderaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getPurchaseOrderHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID purchaseOrderID) throws IOException
IOExceptionpublic PurchaseOrders getPurchaseOrders(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String status, String dateFrom, String dateTo, String order, Integer page) throws IOException
200 - Success - return response of type PurchaseOrder array of all PurchaseOrder
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedstatus - Filter by purchase order statusdateFrom - Filter by purchase order date (e.g. GET https://.../PurchaseOrders?DateFrom=2015-12-01&DateTo=2015-12-31dateTo - Filter by purchase order date (e.g. GET https://.../PurchaseOrders?DateFrom=2015-12-01&DateTo=2015-12-31order - Order by an any elementpage - To specify a page, append the page parameter to the URL e.g. ?page=1. If there are 100 records in the response you will need to check if there is any more data by fetching the next page e.g ?page=2 and continuing this process until no more results are returned.accessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getPurchaseOrdersForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String status, String dateFrom, String dateTo, String order, Integer page) throws IOException
IOExceptionpublic Quotes getQuote(String accessToken, String xeroTenantId, UUID quoteID) throws IOException
200 - Success - return response of type Quotes array with specified Quote
xeroTenantId - Xero identifier for TenantquoteID - Unique identifier for an QuoteaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getQuoteForHttpResponse(String accessToken, String xeroTenantId, UUID quoteID) throws IOException
IOExceptionpublic ByteArrayInputStream getQuoteAsPdf(String accessToken, String xeroTenantId, UUID quoteID) throws IOException
200 - Success - return response of byte array pdf version of specified Quotes
xeroTenantId - Xero identifier for TenantquoteID - Unique identifier for an QuoteaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getQuoteAsPdfForHttpResponse(String accessToken, String xeroTenantId, UUID quoteID) throws IOException
IOExceptionpublic ByteArrayInputStream getQuoteAttachmentByFileName(String accessToken, String xeroTenantId, UUID quoteID, String fileName, String contentType) throws IOException
200 - Success - return response of attachment for Quote as binary data
xeroTenantId - Xero identifier for TenantquoteID - Unique identifier for Quote objectfileName - Name of the attachmentcontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getQuoteAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID quoteID, String fileName, String contentType) throws IOException
IOExceptionpublic ByteArrayInputStream getQuoteAttachmentById(String accessToken, String xeroTenantId, UUID quoteID, UUID attachmentID, String contentType) throws IOException
200 - Success - return response of attachment for Quote as binary data
xeroTenantId - Xero identifier for TenantquoteID - Unique identifier for Quote objectattachmentID - Unique identifier for Attachment objectcontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getQuoteAttachmentByIdForHttpResponse(String accessToken, String xeroTenantId, UUID quoteID, UUID attachmentID, String contentType) throws IOException
IOExceptionpublic Attachments getQuoteAttachments(String accessToken, String xeroTenantId, UUID quoteID) throws IOException
200 - Success - return response of type Attachments array of Attachment
xeroTenantId - Xero identifier for TenantquoteID - Unique identifier for Quote objectaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getQuoteAttachmentsForHttpResponse(String accessToken, String xeroTenantId, UUID quoteID) throws IOException
IOExceptionpublic HistoryRecords getQuoteHistory(String accessToken, String xeroTenantId, UUID quoteID) throws IOException
200 - Success - return response of HistoryRecords array of 0 to N HistoryRecord
xeroTenantId - Xero identifier for TenantquoteID - Unique identifier for an QuoteaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getQuoteHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID quoteID) throws IOException
IOExceptionpublic Quotes getQuotes(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, org.threeten.bp.LocalDate dateFrom, org.threeten.bp.LocalDate dateTo, org.threeten.bp.LocalDate expiryDateFrom, org.threeten.bp.LocalDate expiryDateTo, UUID contactID, String status, Integer page, String order) throws IOException
200 - Success - return response of type quotes array with all quotes
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returneddateFrom - Filter for quotes after a particular datedateTo - Filter for quotes before a particular dateexpiryDateFrom - Filter for quotes expiring after a particular dateexpiryDateTo - Filter for quotes before a particular datecontactID - Filter for quotes belonging to a particular contactstatus - Filter for quotes of a particular Statuspage - e.g. page=1 – Up to 100 Quotes will be returned in a single API call with line items shown for each quoteorder - Order by an any elementaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getQuotesForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, org.threeten.bp.LocalDate dateFrom, org.threeten.bp.LocalDate dateTo, org.threeten.bp.LocalDate expiryDateFrom, org.threeten.bp.LocalDate expiryDateTo, UUID contactID, String status, Integer page, String order) throws IOException
IOExceptionpublic Receipts getReceipt(String accessToken, String xeroTenantId, UUID receiptID, Integer unitdp) throws IOException
200 - Success - return response of type Receipts array for a specified Receipt
xeroTenantId - Xero identifier for TenantreceiptID - Unique identifier for a Receiptunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getReceiptForHttpResponse(String accessToken, String xeroTenantId, UUID receiptID, Integer unitdp) throws IOException
IOExceptionpublic ByteArrayInputStream getReceiptAttachmentByFileName(String accessToken, String xeroTenantId, UUID receiptID, String fileName, String contentType) throws IOException
200 - Success - return response of attachment for Receipt as binary data
xeroTenantId - Xero identifier for TenantreceiptID - Unique identifier for a ReceiptfileName - The name of the file being attached to the ReceiptcontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getReceiptAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID receiptID, String fileName, String contentType) throws IOException
IOExceptionpublic ByteArrayInputStream getReceiptAttachmentById(String accessToken, String xeroTenantId, UUID receiptID, UUID attachmentID, String contentType) throws IOException
200 - Success - return response of attachment for Receipt as binary data
xeroTenantId - Xero identifier for TenantreceiptID - Unique identifier for a ReceiptattachmentID - Unique identifier for a AttachmentcontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getReceiptAttachmentByIdForHttpResponse(String accessToken, String xeroTenantId, UUID receiptID, UUID attachmentID, String contentType) throws IOException
IOExceptionpublic Attachments getReceiptAttachments(String accessToken, String xeroTenantId, UUID receiptID) throws IOException
200 - Success - return response of type Attachments array of Attachments for a specified Receipt
xeroTenantId - Xero identifier for TenantreceiptID - Unique identifier for a ReceiptaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getReceiptAttachmentsForHttpResponse(String accessToken, String xeroTenantId, UUID receiptID) throws IOException
IOExceptionpublic HistoryRecords getReceiptHistory(String accessToken, String xeroTenantId, UUID receiptID) throws IOException
200 - Success - return response of HistoryRecords array of 0 to N HistoryRecord
xeroTenantId - Xero identifier for TenantreceiptID - Unique identifier for a ReceiptaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getReceiptHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID receiptID) throws IOException
IOExceptionpublic Receipts getReceipts(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer unitdp) throws IOException
200 - Success - return response of type Receipts array for all Receipt
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getReceiptsForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer unitdp) throws IOException
IOExceptionpublic RepeatingInvoices getRepeatingInvoice(String accessToken, String xeroTenantId, UUID repeatingInvoiceID) throws IOException
200 - Success - return response of type Repeating Invoices array with a specified Repeating Invoice
xeroTenantId - Xero identifier for TenantrepeatingInvoiceID - Unique identifier for a Repeating InvoiceaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getRepeatingInvoiceForHttpResponse(String accessToken, String xeroTenantId, UUID repeatingInvoiceID) throws IOException
IOExceptionpublic ByteArrayInputStream getRepeatingInvoiceAttachmentByFileName(String accessToken, String xeroTenantId, UUID repeatingInvoiceID, String fileName, String contentType) throws IOException
200 - Success - return response of attachment for Repeating Invoice as binary data
xeroTenantId - Xero identifier for TenantrepeatingInvoiceID - Unique identifier for a Repeating InvoicefileName - The name of the file being attached to a Repeating InvoicecontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getRepeatingInvoiceAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID repeatingInvoiceID, String fileName, String contentType) throws IOException
IOExceptionpublic ByteArrayInputStream getRepeatingInvoiceAttachmentById(String accessToken, String xeroTenantId, UUID repeatingInvoiceID, UUID attachmentID, String contentType) throws IOException
200 - Success - return response of attachment for Repeating Invoice as binary data
xeroTenantId - Xero identifier for TenantrepeatingInvoiceID - Unique identifier for a Repeating InvoiceattachmentID - Unique identifier for a AttachmentcontentType - The mime type of the attachment file you are retrieving i.e image/jpg, application/pdfaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getRepeatingInvoiceAttachmentByIdForHttpResponse(String accessToken, String xeroTenantId, UUID repeatingInvoiceID, UUID attachmentID, String contentType) throws IOException
IOExceptionpublic Attachments getRepeatingInvoiceAttachments(String accessToken, String xeroTenantId, UUID repeatingInvoiceID) throws IOException
200 - Success - return response of type Attachments array with all Attachments for a specified Repeating Invoice
xeroTenantId - Xero identifier for TenantrepeatingInvoiceID - Unique identifier for a Repeating InvoiceaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getRepeatingInvoiceAttachmentsForHttpResponse(String accessToken, String xeroTenantId, UUID repeatingInvoiceID) throws IOException
IOExceptionpublic HistoryRecords getRepeatingInvoiceHistory(String accessToken, String xeroTenantId, UUID repeatingInvoiceID) throws IOException
200 - Success - return response of HistoryRecords array of 0 to N HistoryRecord
xeroTenantId - Xero identifier for TenantrepeatingInvoiceID - Unique identifier for a Repeating InvoiceaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getRepeatingInvoiceHistoryForHttpResponse(String accessToken, String xeroTenantId, UUID repeatingInvoiceID) throws IOException
IOExceptionpublic RepeatingInvoices getRepeatingInvoices(String accessToken, String xeroTenantId, String where, String order) throws IOException
200 - Success - return response of type Repeating Invoices array for all Repeating Invoice
xeroTenantId - Xero identifier for Tenantwhere - Filter by an any elementorder - Order by an any elementaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getRepeatingInvoicesForHttpResponse(String accessToken, String xeroTenantId, String where, String order) throws IOException
IOExceptionpublic ReportWithRows getReportAgedPayablesByContact(String accessToken, String xeroTenantId, UUID contactId, org.threeten.bp.LocalDate date, org.threeten.bp.LocalDate fromDate, org.threeten.bp.LocalDate toDate) throws IOException
200 - Success - return response of type ReportWithRows
xeroTenantId - Xero identifier for TenantcontactId - Unique identifier for a Contactdate - The date of the Aged Payables By Contact reportfromDate - The from date of the Aged Payables By Contact reporttoDate - The to date of the Aged Payables By Contact reportaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getReportAgedPayablesByContactForHttpResponse(String accessToken, String xeroTenantId, UUID contactId, org.threeten.bp.LocalDate date, org.threeten.bp.LocalDate fromDate, org.threeten.bp.LocalDate toDate) throws IOException
IOExceptionpublic ReportWithRows getReportAgedReceivablesByContact(String accessToken, String xeroTenantId, UUID contactId, org.threeten.bp.LocalDate date, org.threeten.bp.LocalDate fromDate, org.threeten.bp.LocalDate toDate) throws IOException
200 - Success - return response of type ReportWithRows
xeroTenantId - Xero identifier for TenantcontactId - Unique identifier for a Contactdate - The date of the Aged Receivables By Contact reportfromDate - The from date of the Aged Receivables By Contact reporttoDate - The to date of the Aged Receivables By Contact reportaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getReportAgedReceivablesByContactForHttpResponse(String accessToken, String xeroTenantId, UUID contactId, org.threeten.bp.LocalDate date, org.threeten.bp.LocalDate fromDate, org.threeten.bp.LocalDate toDate) throws IOException
IOExceptionpublic ReportWithRows getReportBASorGST(String accessToken, String xeroTenantId, String reportID) throws IOException
200 - Success - return response of type ReportWithRows
xeroTenantId - Xero identifier for TenantreportID - Unique identifier for a ReportaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getReportBASorGSTForHttpResponse(String accessToken, String xeroTenantId, String reportID) throws IOException
IOExceptionpublic ReportWithRows getReportBASorGSTList(String accessToken, String xeroTenantId) throws IOException
200 - Success - return response of type ReportWithRows
xeroTenantId - Xero identifier for TenantaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getReportBASorGSTListForHttpResponse(String accessToken, String xeroTenantId) throws IOException
IOExceptionpublic ReportWithRows getReportBalanceSheet(String accessToken, String xeroTenantId, String date, Integer periods, String timeframe, String trackingOptionID1, String trackingOptionID2, Boolean standardLayout, Boolean paymentsOnly) throws IOException
200 - Success - return response of type ReportWithRows
xeroTenantId - Xero identifier for Tenantdate - The date of the Balance Sheet reportperiods - The number of periods for the Balance Sheet reporttimeframe - The period size to compare to (MONTH, QUARTER, YEAR)trackingOptionID1 - The tracking option 1 for the Balance Sheet reporttrackingOptionID2 - The tracking option 2 for the Balance Sheet reportstandardLayout - The standard layout boolean for the Balance Sheet reportpaymentsOnly - return a cash basis for the Balance Sheet reportaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getReportBalanceSheetForHttpResponse(String accessToken, String xeroTenantId, String date, Integer periods, String timeframe, String trackingOptionID1, String trackingOptionID2, Boolean standardLayout, Boolean paymentsOnly) throws IOException
IOExceptionpublic ReportWithRows getReportBankSummary(String accessToken, String xeroTenantId, org.threeten.bp.LocalDate fromDate, org.threeten.bp.LocalDate toDate) throws IOException
200 - Success - return response of type ReportWithRows
xeroTenantId - Xero identifier for TenantfromDate - The from date for the Bank Summary report e.g. 2018-03-31toDate - The to date for the Bank Summary report e.g. 2018-03-31accessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getReportBankSummaryForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.LocalDate fromDate, org.threeten.bp.LocalDate toDate) throws IOException
IOExceptionpublic ReportWithRows getReportBudgetSummary(String accessToken, String xeroTenantId, org.threeten.bp.LocalDate date, Integer period, Integer timeframe) throws IOException
200 - success- return a Report with Rows object
xeroTenantId - Xero identifier for Tenantdate - The date for the Bank Summary report e.g. 2018-03-31period - The number of periods to compare (integer between 1 and 12)timeframe - The period size to compare to (1=month, 3=quarter, 12=year)accessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getReportBudgetSummaryForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.LocalDate date, Integer period, Integer timeframe) throws IOException
IOExceptionpublic ReportWithRows getReportExecutiveSummary(String accessToken, String xeroTenantId, org.threeten.bp.LocalDate date) throws IOException
200 - Success - return response of type ReportWithRows
xeroTenantId - Xero identifier for Tenantdate - The date for the Bank Summary report e.g. 2018-03-31accessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getReportExecutiveSummaryForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.LocalDate date) throws IOException
IOExceptionpublic ReportWithRows getReportProfitAndLoss(String accessToken, String xeroTenantId, org.threeten.bp.LocalDate fromDate, org.threeten.bp.LocalDate toDate, Integer periods, String timeframe, String trackingCategoryID, String trackingCategoryID2, String trackingOptionID, String trackingOptionID2, Boolean standardLayout, Boolean paymentsOnly) throws IOException
200 - Success - return response of type ReportWithRows
xeroTenantId - Xero identifier for TenantfromDate - The from date for the ProfitAndLoss report e.g. 2018-03-31toDate - The to date for the ProfitAndLoss report e.g. 2018-03-31periods - The number of periods to compare (integer between 1 and 12)timeframe - The period size to compare to (MONTH, QUARTER, YEAR)trackingCategoryID - The trackingCategory 1 for the ProfitAndLoss reporttrackingCategoryID2 - The trackingCategory 2 for the ProfitAndLoss reporttrackingOptionID - The tracking option 1 for the ProfitAndLoss reporttrackingOptionID2 - The tracking option 2 for the ProfitAndLoss reportstandardLayout - Return the standard layout for the ProfitAndLoss reportpaymentsOnly - Return cash only basis for the ProfitAndLoss reportaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getReportProfitAndLossForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.LocalDate fromDate, org.threeten.bp.LocalDate toDate, Integer periods, String timeframe, String trackingCategoryID, String trackingCategoryID2, String trackingOptionID, String trackingOptionID2, Boolean standardLayout, Boolean paymentsOnly) throws IOException
IOExceptionpublic Reports getReportTenNinetyNine(String accessToken, String xeroTenantId, String reportYear) throws IOException
200 - Success - return response of type Reports
xeroTenantId - Xero identifier for TenantreportYear - The year of the 1099 reportaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getReportTenNinetyNineForHttpResponse(String accessToken, String xeroTenantId, String reportYear) throws IOException
IOExceptionpublic ReportWithRows getReportTrialBalance(String accessToken, String xeroTenantId, org.threeten.bp.LocalDate date, Boolean paymentsOnly) throws IOException
200 - Success - return response of type ReportWithRows
xeroTenantId - Xero identifier for Tenantdate - The date for the Trial Balance report e.g. 2018-03-31paymentsOnly - Return cash only basis for the Trial Balance reportaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getReportTrialBalanceForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.LocalDate date, Boolean paymentsOnly) throws IOException
IOExceptionpublic TaxRates getTaxRates(String accessToken, String xeroTenantId, String where, String order, String taxType) throws IOException
200 - Success - return response of type TaxRates array with TaxRates
xeroTenantId - Xero identifier for Tenantwhere - Filter by an any elementorder - Order by an any elementtaxType - Filter by tax typeaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getTaxRatesForHttpResponse(String accessToken, String xeroTenantId, String where, String order, String taxType) throws IOException
IOExceptionpublic TrackingCategories getTrackingCategories(String accessToken, String xeroTenantId, String where, String order, Boolean includeArchived) throws IOException
200 - Success - return response of type TrackingCategories array of TrackingCategory
xeroTenantId - Xero identifier for Tenantwhere - Filter by an any elementorder - Order by an any elementincludeArchived - e.g. includeArchived=true - Categories and options with a status of ARCHIVED will be included in the responseaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getTrackingCategoriesForHttpResponse(String accessToken, String xeroTenantId, String where, String order, Boolean includeArchived) throws IOException
IOExceptionpublic TrackingCategories getTrackingCategory(String accessToken, String xeroTenantId, UUID trackingCategoryID) throws IOException
200 - Success - return response of type TrackingCategories array of specified TrackingCategory
xeroTenantId - Xero identifier for TenanttrackingCategoryID - Unique identifier for a TrackingCategoryaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getTrackingCategoryForHttpResponse(String accessToken, String xeroTenantId, UUID trackingCategoryID) throws IOException
IOExceptionpublic Users getUser(String accessToken, String xeroTenantId, UUID userID) throws IOException
200 - Success - return response of type Users array of specified User
xeroTenantId - Xero identifier for TenantuserID - Unique identifier for a UseraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getUserForHttpResponse(String accessToken, String xeroTenantId, UUID userID) throws IOException
IOExceptionpublic Users getUsers(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
200 - Success - return response of type Users array of all User
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getUsersForHttpResponse(String accessToken, String xeroTenantId, org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
IOExceptionpublic Accounts updateAccount(String accessToken, String xeroTenantId, UUID accountID, Accounts accounts) throws IOException
200 - Success - update existing Account and return response of type Accounts array with updated Account
400 - Validation Error - some data was incorrect returns response of type Error
xeroTenantId - Xero identifier for TenantaccountID - Unique identifier for retrieving single objectaccounts - Request of type Accounts array with one AccountaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateAccountForHttpResponse(String accessToken, String xeroTenantId, UUID accountID, Accounts accounts) throws IOException
IOExceptionpublic Attachments updateAccountAttachmentByFileName(String accessToken, String xeroTenantId, UUID accountID, String fileName, File body) throws IOException
200 - Success - return response of type Attachments array of Attachment
400 - Validation Error - some data was incorrect returns response of type Error
xeroTenantId - Xero identifier for TenantaccountID - Unique identifier for Account objectfileName - Name of the attachmentbody - Byte array of file in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateAccountAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID accountID, String fileName, File body) throws IOException
IOExceptionpublic BankTransactions updateBankTransaction(String accessToken, String xeroTenantId, UUID bankTransactionID, BankTransactions bankTransactions, Integer unitdp) throws IOException
200 - Success - return response of type BankTransactions array with updated BankTransaction
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantbankTransactionID - Xero generated unique identifier for a bank transactionbankTransactions - The bankTransactions parameterunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateBankTransactionForHttpResponse(String accessToken, String xeroTenantId, UUID bankTransactionID, BankTransactions bankTransactions, Integer unitdp) throws IOException
IOExceptionpublic Attachments updateBankTransactionAttachmentByFileName(String accessToken, String xeroTenantId, UUID bankTransactionID, String fileName, File body) throws IOException
200 - Success - return response of Attachments array of Attachment
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantbankTransactionID - Xero generated unique identifier for a bank transactionfileName - The name of the file being attachedbody - Byte array of file in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateBankTransactionAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID bankTransactionID, String fileName, File body) throws IOException
IOExceptionpublic Attachments updateBankTransferAttachmentByFileName(String accessToken, String xeroTenantId, UUID bankTransferID, String fileName, File body) throws IOException
200 - Success - return response of Attachments array of 0 to N Attachment for a Bank Transfer
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantbankTransferID - Xero generated unique identifier for a bank transferfileName - The name of the file being attached to a Bank Transferbody - Byte array of file in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateBankTransferAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID bankTransferID, String fileName, File body) throws IOException
IOExceptionpublic Contacts updateContact(String accessToken, String xeroTenantId, UUID contactID, Contacts contacts) throws IOException
200 - Success - return response of type Contacts array with an updated Contact
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantcontactID - Unique identifier for a Contactcontacts - an array of Contacts containing single Contact object with properties to updateaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateContactForHttpResponse(String accessToken, String xeroTenantId, UUID contactID, Contacts contacts) throws IOException
IOExceptionpublic Attachments updateContactAttachmentByFileName(String accessToken, String xeroTenantId, UUID contactID, String fileName, File body) throws IOException
200 - Success - return response of type Attachments array with an updated Attachment
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantcontactID - Unique identifier for a ContactfileName - Name for the file you are attachingbody - Byte array of file in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateContactAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID contactID, String fileName, File body) throws IOException
IOExceptionpublic ContactGroups updateContactGroup(String accessToken, String xeroTenantId, UUID contactGroupID, ContactGroups contactGroups) throws IOException
200 - Success - return response of type Contact Groups array of updated Contact Group
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantcontactGroupID - Unique identifier for a Contact GroupcontactGroups - an array of Contact groups with Name of specific group to updateaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateContactGroupForHttpResponse(String accessToken, String xeroTenantId, UUID contactGroupID, ContactGroups contactGroups) throws IOException
IOExceptionpublic CreditNotes updateCreditNote(String accessToken, String xeroTenantId, UUID creditNoteID, CreditNotes creditNotes, Integer unitdp) throws IOException
200 - Success - return response of type Credit Notes array with updated CreditNote
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantcreditNoteID - Unique identifier for a Credit NotecreditNotes - an array of Credit Notes containing credit note details to updateunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateCreditNoteForHttpResponse(String accessToken, String xeroTenantId, UUID creditNoteID, CreditNotes creditNotes, Integer unitdp) throws IOException
IOExceptionpublic Attachments updateCreditNoteAttachmentByFileName(String accessToken, String xeroTenantId, UUID creditNoteID, String fileName, File body) throws IOException
200 - Success - return response of type Attachments array with updated Attachment for specific Credit Note
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantcreditNoteID - Unique identifier for a Credit NotefileName - Name of the file you are attaching to Credit Notebody - Byte array of file in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateCreditNoteAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID creditNoteID, String fileName, File body) throws IOException
IOExceptionpublic ExpenseClaims updateExpenseClaim(String accessToken, String xeroTenantId, UUID expenseClaimID, ExpenseClaims expenseClaims) throws IOException
200 - Success - return response of type ExpenseClaims array with updated ExpenseClaim
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantexpenseClaimID - Unique identifier for a ExpenseClaimexpenseClaims - The expenseClaims parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateExpenseClaimForHttpResponse(String accessToken, String xeroTenantId, UUID expenseClaimID, ExpenseClaims expenseClaims) throws IOException
IOExceptionpublic Invoices updateInvoice(String accessToken, String xeroTenantId, UUID invoiceID, Invoices invoices, Integer unitdp) throws IOException
200 - Success - return response of type Invoices array with updated Invoice
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantinvoiceID - Unique identifier for an Invoiceinvoices - The invoices parameterunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateInvoiceForHttpResponse(String accessToken, String xeroTenantId, UUID invoiceID, Invoices invoices, Integer unitdp) throws IOException
IOExceptionpublic Attachments updateInvoiceAttachmentByFileName(String accessToken, String xeroTenantId, UUID invoiceID, String fileName, File body) throws IOException
200 - Success - return response of type Attachments array with updated Attachment
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantinvoiceID - Unique identifier for an InvoicefileName - Name of the file you are attachingbody - Byte array of file in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateInvoiceAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID invoiceID, String fileName, File body) throws IOException
IOExceptionpublic Items updateItem(String accessToken, String xeroTenantId, UUID itemID, Items items, Integer unitdp) throws IOException
200 - Success - return response of type Items array with updated Item
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantitemID - Unique identifier for an Itemitems - The items parameterunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateItemForHttpResponse(String accessToken, String xeroTenantId, UUID itemID, Items items, Integer unitdp) throws IOException
IOExceptionpublic LinkedTransactions updateLinkedTransaction(String accessToken, String xeroTenantId, UUID linkedTransactionID, LinkedTransactions linkedTransactions) throws IOException
200 - Success - return response of type LinkedTransactions array with updated LinkedTransaction
400 - Success - return response of type LinkedTransactions array with updated LinkedTransaction
xeroTenantId - Xero identifier for TenantlinkedTransactionID - Unique identifier for a LinkedTransactionlinkedTransactions - The linkedTransactions parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateLinkedTransactionForHttpResponse(String accessToken, String xeroTenantId, UUID linkedTransactionID, LinkedTransactions linkedTransactions) throws IOException
IOExceptionpublic ManualJournals updateManualJournal(String accessToken, String xeroTenantId, UUID manualJournalID, ManualJournals manualJournals) throws IOException
200 - Success - return response of type ManualJournals array with an updated ManualJournal
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantmanualJournalID - Unique identifier for a ManualJournalmanualJournals - The manualJournals parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateManualJournalForHttpResponse(String accessToken, String xeroTenantId, UUID manualJournalID, ManualJournals manualJournals) throws IOException
IOExceptionpublic Attachments updateManualJournalAttachmentByFileName(String accessToken, String xeroTenantId, UUID manualJournalID, String fileName, File body) throws IOException
200 - Success - return response of type Attachments array with an update Attachment for a ManualJournals
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantmanualJournalID - Unique identifier for a ManualJournalfileName - The name of the file being attached to a ManualJournalbody - Byte array of file in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateManualJournalAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID manualJournalID, String fileName, File body) throws IOException
IOExceptionpublic BankTransactions updateOrCreateBankTransactions(String accessToken, String xeroTenantId, BankTransactions bankTransactions, Boolean summarizeErrors, Integer unitdp) throws IOException
200 - Success - return response of type BankTransactions array with new BankTransaction
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantbankTransactions - The bankTransactions parametersummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateOrCreateBankTransactionsForHttpResponse(String accessToken, String xeroTenantId, BankTransactions bankTransactions, Boolean summarizeErrors, Integer unitdp) throws IOException
IOExceptionpublic Contacts updateOrCreateContacts(String accessToken, String xeroTenantId, Contacts contacts, Boolean summarizeErrors) throws IOException
200 - Success - return response of type Contacts array with newly created Contact
400 - Validation Error - some data was incorrect returns response of type Error
xeroTenantId - Xero identifier for Tenantcontacts - The contacts parametersummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateOrCreateContactsForHttpResponse(String accessToken, String xeroTenantId, Contacts contacts, Boolean summarizeErrors) throws IOException
IOExceptionpublic CreditNotes updateOrCreateCreditNotes(String accessToken, String xeroTenantId, CreditNotes creditNotes, Boolean summarizeErrors, Integer unitdp) throws IOException
200 - Success - return response of type Credit Notes array of newly created CreditNote
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantcreditNotes - an array of Credit Notes with a single CreditNote object.summarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateOrCreateCreditNotesForHttpResponse(String accessToken, String xeroTenantId, CreditNotes creditNotes, Boolean summarizeErrors, Integer unitdp) throws IOException
IOExceptionpublic Employees updateOrCreateEmployees(String accessToken, String xeroTenantId, Employees employees, Boolean summarizeErrors) throws IOException
200 - Success - return response of type Employees array with new Employee
400 - A failed request due to validation error
xeroTenantId - Xero identifier for Tenantemployees - Employees with array of Employee object in body of requestsummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateOrCreateEmployeesForHttpResponse(String accessToken, String xeroTenantId, Employees employees, Boolean summarizeErrors) throws IOException
IOExceptionpublic Invoices updateOrCreateInvoices(String accessToken, String xeroTenantId, Invoices invoices, Boolean summarizeErrors, Integer unitdp) throws IOException
200 - Success - return response of type Invoices array with newly created Invoice
400 - A failed request due to validation error
xeroTenantId - Xero identifier for Tenantinvoices - The invoices parametersummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateOrCreateInvoicesForHttpResponse(String accessToken, String xeroTenantId, Invoices invoices, Boolean summarizeErrors, Integer unitdp) throws IOException
IOExceptionpublic Items updateOrCreateItems(String accessToken, String xeroTenantId, Items items, Boolean summarizeErrors, Integer unitdp) throws IOException
200 - Success - return response of type Items array with newly created Item
400 - A failed request due to validation error
xeroTenantId - Xero identifier for Tenantitems - The items parametersummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateOrCreateItemsForHttpResponse(String accessToken, String xeroTenantId, Items items, Boolean summarizeErrors, Integer unitdp) throws IOException
IOExceptionpublic ManualJournals updateOrCreateManualJournals(String accessToken, String xeroTenantId, ManualJournals manualJournals, Boolean summarizeErrors) throws IOException
200 - Success - return response of type ManualJournals array with newly created ManualJournal
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantmanualJournals - ManualJournals array with ManualJournal object in body of requestsummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateOrCreateManualJournalsForHttpResponse(String accessToken, String xeroTenantId, ManualJournals manualJournals, Boolean summarizeErrors) throws IOException
IOExceptionpublic PurchaseOrders updateOrCreatePurchaseOrders(String accessToken, String xeroTenantId, PurchaseOrders purchaseOrders, Boolean summarizeErrors) throws IOException
200 - Success - return response of type PurchaseOrder array for specified PurchaseOrder
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantpurchaseOrders - The purchaseOrders parametersummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateOrCreatePurchaseOrdersForHttpResponse(String accessToken, String xeroTenantId, PurchaseOrders purchaseOrders, Boolean summarizeErrors) throws IOException
IOExceptionpublic Quotes updateOrCreateQuotes(String accessToken, String xeroTenantId, Quotes quotes, Boolean summarizeErrors) throws IOException
200 - Success - return response of type Quotes array with updated or created Quote
400 - A failed request due to validation error
xeroTenantId - Xero identifier for Tenantquotes - The quotes parametersummarizeErrors - If false return 200 OK and mix of successfully created obejcts and any with validation errorsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateOrCreateQuotesForHttpResponse(String accessToken, String xeroTenantId, Quotes quotes, Boolean summarizeErrors) throws IOException
IOExceptionpublic PurchaseOrders updatePurchaseOrder(String accessToken, String xeroTenantId, UUID purchaseOrderID, PurchaseOrders purchaseOrders) throws IOException
200 - Success - return response of type PurchaseOrder array for updated PurchaseOrder
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantpurchaseOrderID - Unique identifier for a PurchaseOrderpurchaseOrders - The purchaseOrders parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updatePurchaseOrderForHttpResponse(String accessToken, String xeroTenantId, UUID purchaseOrderID, PurchaseOrders purchaseOrders) throws IOException
IOExceptionpublic Quotes updateQuote(String accessToken, String xeroTenantId, UUID quoteID, Quotes quotes) throws IOException
200 - Success - return response of type Quotes array with updated Quote
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantquoteID - Unique identifier for an Quotequotes - The quotes parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateQuoteForHttpResponse(String accessToken, String xeroTenantId, UUID quoteID, Quotes quotes) throws IOException
IOExceptionpublic Attachments updateQuoteAttachmentByFileName(String accessToken, String xeroTenantId, UUID quoteID, String fileName, File body) throws IOException
200 - Success - return response of type Attachments array of Attachment
400 - Validation Error - some data was incorrect returns response of type Error
xeroTenantId - Xero identifier for TenantquoteID - Unique identifier for Quote objectfileName - Name of the attachmentbody - Byte array of file in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateQuoteAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID quoteID, String fileName, File body) throws IOException
IOExceptionpublic Receipts updateReceipt(String accessToken, String xeroTenantId, UUID receiptID, Receipts receipts, Integer unitdp) throws IOException
200 - Success - return response of type Receipts array for updated Receipt
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantreceiptID - Unique identifier for a Receiptreceipts - The receipts parameterunitdp - e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amountsaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateReceiptForHttpResponse(String accessToken, String xeroTenantId, UUID receiptID, Receipts receipts, Integer unitdp) throws IOException
IOExceptionpublic Attachments updateReceiptAttachmentByFileName(String accessToken, String xeroTenantId, UUID receiptID, String fileName, File body) throws IOException
200 - Success - return response of type Attachments array with updated Attachment for a specified Receipt
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantreceiptID - Unique identifier for a ReceiptfileName - The name of the file being attached to the Receiptbody - Byte array of file in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateReceiptAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID receiptID, String fileName, File body) throws IOException
IOExceptionpublic Attachments updateRepeatingInvoiceAttachmentByFileName(String accessToken, String xeroTenantId, UUID repeatingInvoiceID, String fileName, File body) throws IOException
200 - Success - return response of type Attachments array with specified Attachment for a specified Repeating Invoice
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenantrepeatingInvoiceID - Unique identifier for a Repeating InvoicefileName - The name of the file being attached to a Repeating Invoicebody - Byte array of file in body of requestaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateRepeatingInvoiceAttachmentByFileNameForHttpResponse(String accessToken, String xeroTenantId, UUID repeatingInvoiceID, String fileName, File body) throws IOException
IOExceptionpublic TaxRates updateTaxRate(String accessToken, String xeroTenantId, TaxRates taxRates) throws IOException
200 - Success - return response of type TaxRates array updated TaxRate
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenanttaxRates - The taxRates parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateTaxRateForHttpResponse(String accessToken, String xeroTenantId, TaxRates taxRates) throws IOException
IOExceptionpublic TrackingCategories updateTrackingCategory(String accessToken, String xeroTenantId, UUID trackingCategoryID, TrackingCategory trackingCategory) throws IOException
200 - Success - return response of type TrackingCategories array of updated TrackingCategory
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenanttrackingCategoryID - Unique identifier for a TrackingCategorytrackingCategory - The trackingCategory parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateTrackingCategoryForHttpResponse(String accessToken, String xeroTenantId, UUID trackingCategoryID, TrackingCategory trackingCategory) throws IOException
IOExceptionpublic TrackingOptions updateTrackingOptions(String accessToken, String xeroTenantId, UUID trackingCategoryID, UUID trackingOptionID, TrackingOption trackingOption) throws IOException
200 - Success - return response of type TrackingOptions array of options for a specified category
400 - A failed request due to validation error
xeroTenantId - Xero identifier for TenanttrackingCategoryID - Unique identifier for a TrackingCategorytrackingOptionID - Unique identifier for a Tracking OptiontrackingOption - The trackingOption parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateTrackingOptionsForHttpResponse(String accessToken, String xeroTenantId, UUID trackingCategoryID, UUID trackingOptionID, TrackingOption trackingOption) throws IOException
IOExceptionpublic ByteArrayInputStream convertInputToByteArray(InputStream is) throws IOException
IOExceptionCopyright © 2020. All rights reserved.