public class AccountingApi extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static Pattern |
MESSAGE_PATTERN |
protected com.xero.model.ObjectFactory |
objFactory |
protected static DateFormat |
utcFormatter |
| Constructor and Description |
|---|
AccountingApi(ApiClient apiClient) |
AccountingApi(Config config) |
AccountingApi(Config config,
SignerFactory signerFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToMapIfNotNull(Map<String,String> map,
String key,
Object value) |
Accounts |
createAccount(Account account)
200 - A successful request
|
Attachments |
createAccountAttachmentByFileName(UUID accountID,
String fileName,
byte[] body)
200 - A successful request
|
BankTransactions |
createBankTransaction(BankTransactions bankTransactions,
Boolean summarizeErrors)
200 - A successful request
|
Attachments |
createBankTransactionAttachmentByFileName(UUID bankTransactionID,
String fileName,
byte[] body)
200 - A successful request
|
HistoryRecords |
createBankTransactionHistoryRecord(UUID bankTransactionID,
HistoryRecords historyRecords)
200 - A successful request
|
BankTransfers |
createBankTransfer(BankTransfers bankTransfers)
200 - A successful request
|
Attachments |
createBankTransferAttachmentByFileName(UUID bankTransferID,
String fileName,
byte[] body)
200 - A successful request
|
HistoryRecords |
createBankTransferHistoryRecord(UUID bankTransferID,
HistoryRecords historyRecords)
200 - A successful request
|
BatchPayments |
createBatchPayment(BatchPayments batchPayments)
200 - A successful request
|
HistoryRecords |
createBatchPaymentHistoryRecord(UUID batchPaymentID,
HistoryRecords historyRecords)
200 - A successful request
|
PaymentServices |
createBrandingThemePaymentServices(UUID brandingThemeID,
PaymentServices paymentServices)
200 - A successful request
|
Contacts |
createContact(Contact contact)
200 - A successful request
|
Attachments |
createContactAttachmentByFileName(UUID contactID,
String fileName,
byte[] body)
200 - A successful request
|
ContactGroups |
createContactGroup(ContactGroups contactGroups)
200 - A successful request
|
Contacts |
createContactGroupContacts(UUID contactGroupID,
Contacts contacts)
200 - A successful request
|
HistoryRecords |
createContactHistory(UUID contactID,
HistoryRecords historyRecords)
Allows you to retrieve a history records of an Contact
|
CreditNotes |
createCreditNote(Boolean summarizeErrors,
CreditNotes creditNotes)
200 - A successful request
|
Allocations |
createCreditNoteAllocation(UUID creditNoteID,
Allocations allocations)
200 - A successful request
|
Attachments |
createCreditNoteAttachmentByFileName(UUID creditNoteID,
String fileName,
byte[] body)
200 - A successful request
|
HistoryRecords |
createCreditNoteHistory(UUID creditNoteID,
HistoryRecords historyRecords)
Allows you to retrieve a history records of an CreditNote
|
Currencies |
createCurrency(Currencies currencies)
200 - A successful request
|
Employees |
createEmployee(Employees employees)
200 - A successful request
|
ExpenseClaims |
createExpenseClaim(ExpenseClaims expenseClaims,
Boolean summarizeErrors)
200 - A successful request
|
HistoryRecords |
createExpenseClaimHistory(UUID expenseClaimID,
HistoryRecords historyRecords)
Allows you to retrieve a history records of an ExpenseClaim
|
Invoices |
createInvoice(Invoices invoices,
Boolean summarizeErrors)
200 - A successful request
|
Attachments |
createInvoiceAttachmentByFileName(UUID invoiceID,
String fileName,
byte[] body)
200 - A successful request
|
HistoryRecords |
createInvoiceHistory(UUID invoiceID,
HistoryRecords historyRecords)
Allows you to retrieve a history records of an invoice
|
Items |
createItem(Items items)
200 - A successful request
|
HistoryRecords |
createItemHistory(UUID itemID,
HistoryRecords historyRecords)
200 - A successful request
|
LinkedTransactions |
createLinkedTransaction(LinkedTransactions linkedTransactions)
200 - A successful request
|
ManualJournals |
createManualJournal(ManualJournals manualJournals)
200 - A successful request
|
Attachments |
createManualJournalAttachmentByFileName(UUID manualJournalID,
String fileName,
byte[] body)
200 - A successful request
|
Allocations |
createOverpaymentAllocation(UUID overpaymentID,
Allocations allocations)
200 - A successful request
|
HistoryRecords |
createOverpaymentHistory(UUID overpaymentID,
HistoryRecords historyRecords)
Allows you to retrieve a history records of an Overpayment
|
Payments |
createPayment(Payments payments)
200 - A successful request
|
HistoryRecords |
createPaymentHistory(UUID paymentID,
HistoryRecords historyRecords)
Allows you to retrieve a history records of an invoice
|
PaymentServices |
createPaymentService(PaymentServices paymentServices)
200 - A successful request
|
Prepayments |
createPrepayment(Prepayments prepayments)
200 - A successful request
|
Allocations |
createPrepaymentAllocation(UUID prepaymentID,
Allocations allocations)
200 - A successful request
|
HistoryRecords |
createPrepaymentHistory(UUID prepaymentID,
HistoryRecords historyRecords)
Allows you to retrieve a history records of an Overpayment
|
PurchaseOrders |
createPurchaseOrder(PurchaseOrders purchaseOrders,
Boolean summarizeErrors)
200 - A successful request
|
HistoryRecords |
createPurchaseOrderHistory(UUID purchaseOrderID,
HistoryRecords historyRecords)
200 - A successful request
|
Receipts |
createReceipt(Receipts receipts)
200 - A successful request
|
Attachments |
createReceiptAttachmentByFileName(UUID receiptID,
String fileName,
byte[] body)
200 - A successful request
|
HistoryRecords |
createReceiptHistory(UUID receiptID,
HistoryRecords historyRecords)
Allows you to retrieve a history records of an Receipt
|
Attachments |
createRepeatingInvoiceAttachmentByFileName(UUID repeatingInvoiceID,
String fileName,
byte[] body)
200 - A successful request
|
HistoryRecords |
createRepeatingInvoiceHistory(UUID repeatingInvoiceID,
HistoryRecords historyRecords)
200 - A successful request
|
TaxRates |
createTaxRate(TaxRates taxRates)
200 - A successful request
|
TrackingCategories |
createTrackingCategory(TrackingCategory trackingCategory)
200 - A successful request
|
TrackingOptions |
createTrackingOptions(UUID trackingCategoryID,
TrackingOption trackingOption)
200 - A successful request
|
protected String |
DATA(String url,
String body,
Map<String,String> params,
String method) |
protected String |
DATA(String url,
String body,
Map<String,String> params,
String method,
org.threeten.bp.OffsetDateTime ifModifiedSince) |
protected String |
DATA(String url,
String body,
Map<String,String> params,
String method,
org.threeten.bp.OffsetDateTime ifModifiedSince,
String contentType) |
protected String |
DATA(String url,
String body,
Map<String,String> params,
String method,
String contentType) |
protected String |
DATA(String url,
String body,
Map<String,String> params,
String method,
String xeroApplicationId,
String xeroTenantId,
String xeroUserId) |
Accounts |
deleteAccount(UUID accountID)
200 - A successful request
|
Response204 |
deleteContactGroupContact(UUID contactGroupID,
UUID contactID)
200 - A successful request
|
Response204 |
deleteContactGroupContacts(UUID contactGroupID)
200 - A successful request
|
Response204 |
deleteItem(UUID itemID)
200 - A successful request
|
Response204 |
deleteLinkedTransaction(UUID linkedTransactionID)
204 - A successful request
|
TrackingCategories |
deleteTrackingCategory(UUID trackingCategoryID)
200 - A successful request
|
TrackingOptions |
deleteTrackingOptions(UUID trackingCategoryID,
UUID trackingOptionID)
200 - A successful request
|
Response204 |
emailInvoice(UUID invoiceID,
RequestEmpty requestEmpty)
Allows you to email a copy of invoice to related Contact
|
protected ByteArrayInputStream |
FILE(String url,
String body,
Map<String,String> params,
String method) |
protected String |
FILE(String url,
String body,
Map<String,String> params,
String method,
byte[] byteBody) |
protected ByteArrayInputStream |
FILE(String url,
String body,
Map<String,String> params,
String method,
String accept) |
Accounts |
getAccount(UUID accountID)
Allows you to retrieve the full chart of accounts
|
Attachments |
getAccountAttachmentByFileName(UUID accountID,
String fileName,
String contentType)
Allows you to retrieve Attachments on Account by Filename
|
ByteArrayInputStream |
getAccountAttachmentById(UUID accountID,
UUID attachmentID,
String contentType)
Allows you to retrieve Attachments on Account
|
Attachments |
getAccountAttachments(UUID accountID)
Allows you to retrieve Attachments for accounts
|
Accounts |
getAccounts(org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order)
Allows you to retrieve the full chart of accounts
|
ApiClient |
getApiClient() |
BankTransactions |
getBankTransaction(UUID bankTransactionID)
Allows you to retrieve any spend or receive money transactions
|
Attachments |
getBankTransactionAttachmentByFileName(UUID bankTransactionID,
String fileName,
String contentType)
Allows you to retrieve Attachments on BankTransaction by Filename
|
ByteArrayInputStream |
getBankTransactionAttachmentById(UUID bankTransactionID,
UUID attachmentID,
String contentType)
Allows you to retrieve Attachments on BankTransaction
|
Attachments |
getBankTransactionAttachments(UUID bankTransactionID)
Allows you to retrieve any attachments to bank transactions
|
BankTransactions |
getBankTransactions(org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer page)
Allows you to retrieve any spend or receive money transactions
|
HistoryRecords |
getBankTransactionsHistory(UUID bankTransactionID)
Allows you to retrieve history from a bank transfers
|
BankTransfers |
getBankTransfer(UUID bankTransferID)
Allows you to retrieve any bank transfers
|
Attachments |
getBankTransferAttachmentByFileName(UUID bankTransferID,
String fileName,
String contentType)
Allows you to retrieve Attachments on BankTransfer by file name
|
ByteArrayInputStream |
getBankTransferAttachmentById(UUID bankTransferID,
UUID attachmentID,
String contentType)
Allows you to retrieve Attachments on BankTransfer
|
Attachments |
getBankTransferAttachments(UUID bankTransferID)
Allows you to retrieve Attachments from bank transfers
|
HistoryRecords |
getBankTransferHistory(UUID bankTransferID)
Allows you to retrieve history from a bank transfers
|
BankTransfers |
getBankTransfers(org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order)
Allows you to retrieve any bank transfers
|
HistoryRecords |
getBatchPaymentHistory(UUID batchPaymentID)
Allows you to retrieve history from a Batch Payment
|
BatchPayments |
getBatchPayments(org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order)
Retrieve either one or many BatchPayments for invoices
|
BrandingThemes |
getBrandingTheme(UUID brandingThemeID)
GET a BrandingTheme
|
PaymentServices |
getBrandingThemePaymentServices(UUID brandingThemeID)
GET a BrandingTheme Payment services
|
BrandingThemes |
getBrandingThemes()
GET a BrandingTheme
|
Contacts |
getContact(UUID contactID)
Allows you to retrieve, add and update contacts in a Xero organisation
|
Attachments |
getContactAttachmentByFileName(UUID contactID,
String fileName,
String contentType)
Allows you to retrieve Attachments on Contacts by file name
|
ByteArrayInputStream |
getContactAttachmentById(UUID contactID,
UUID attachmentID,
String contentType)
Allows you to retrieve Attachments on Contacts
|
Attachments |
getContactAttachments(UUID contactID)
Allows you to retrieve, add and update contacts in a Xero organisation
|
CISSettings |
getContactCISSettings(UUID contactID)
Allows you to retrieve CISSettings for a contact in a Xero organisation
|
ContactGroups |
getContactGroup(UUID contactGroupID)
Allows you to retrieve the ContactID and Name of all the contacts in a contact group
|
ContactGroups |
getContactGroups(String where,
String order)
Allows you to retrieve the ContactID and Name of all the contacts in a contact group
|
HistoryRecords |
getContactHistory(UUID contactID)
Allows you to retrieve a history records of an Contact
|
Contacts |
getContacts(org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
String ids,
Integer page,
Boolean includeArchived)
Allows you to retrieve, add and update contacts in a Xero organisation
|
CreditNotes |
getCreditNote(UUID creditNoteID)
Allows you to retrieve any credit notes
|
ByteArrayInputStream |
getCreditNoteAsPdf(UUID creditNoteID,
String contentType)
Allows you to retrieve Credit Note as PDF files
|
Attachments |
getCreditNoteAttachmentByFileName(UUID creditNoteID,
String fileName,
String contentType)
Allows you to retrieve Attachments on CreditNote by file name
|
ByteArrayInputStream |
getCreditNoteAttachmentById(UUID creditNoteID,
UUID attachmentID,
String contentType)
Allows you to retrieve Attachments on CreditNote
|
Attachments |
getCreditNoteAttachments(UUID creditNoteID)
Allows you to retrieve Attachments for credit notes
|
HistoryRecords |
getCreditNoteHistory(UUID creditNoteID)
Allows you to retrieve a history records of an CreditNote
|
CreditNotes |
getCreditNotes(org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer page)
Allows you to retrieve any credit notes
|
Currencies |
getCurrencies(String where,
String order)
Allows you to retrieve currencies for your organisation
|
Employees |
getEmployee(UUID employeeID)
Allows you to retrieve employees to see their status
|
Employees |
getEmployees(org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order)
Allows you to retrieve, add and update employees used in Xero payrun functionality
|
ExpenseClaims |
getExpenseClaim(UUID expenseClaimID)
Allows you to retrieve expense claims to see their status
|
HistoryRecords |
getExpenseClaimHistory(UUID expenseClaimID)
Allows you to retrieve a history records of an ExpenseClaim
|
ExpenseClaims |
getExpenseClaims(org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order)
Allows you to retrieve expense claims to see their status
|
Invoices |
getInvoice(UUID invoiceID)
Allows you to retrieve any sales invoices or purchase bills
|
ByteArrayInputStream |
getInvoiceAsPdf(UUID invoiceID,
String contentType)
Allows you to retrieve invoices or purchase bills as PDF files
|
Attachments |
getInvoiceAttachmentByFileName(UUID invoiceID,
String fileName,
String contentType)
Allows you to retrieve Attachments on invoices or purchase bills
|
ByteArrayInputStream |
getInvoiceAttachmentById(UUID invoiceID,
UUID attachmentID,
String contentType)
Allows you to retrieve Attachments on invoices or purchase bills
|
Attachments |
getInvoiceAttachments(UUID invoiceID)
Allows you to retrieve Attachments on invoices or purchase bills
|
HistoryRecords |
getInvoiceHistory(UUID invoiceID)
Allows you to retrieve a history records of an invoice
|
InvoiceReminders |
getInvoiceReminders()
Allows you to retrieve invoice reminder settings
|
Invoices |
getInvoices(org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
String ids,
String invoiceNumbers,
String contactIDs,
String statuses,
Integer page,
Boolean includeArchived,
Boolean createdByMyApp)
Allows you to retrieve any sales invoices or purchase bills
|
Items |
getItem(UUID itemID)
Allows you to retrieve any items
|
HistoryRecords |
getItemHistory(UUID itemID)
Allows you to retrieve history for items
|
Items |
getItems(org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order)
Allows you to retrieve any items
|
Journals |
getJournal(UUID journalID)
Allows you to retrieve any journals.
|
Journals |
getJournals(org.threeten.bp.OffsetDateTime ifModifiedSince,
Integer offset,
Boolean paymentsOnly)
Allows you to retrieve any journals.
|
LinkedTransactions |
getLinkedTransaction(UUID linkedTransactionID)
Retrieve linked transactions (billable expenses)
|
LinkedTransactions |
getLinkedTransactions(Integer page,
String linkedTransactionID,
String sourceTransactionID,
String contactID,
String status,
String targetTransactionID)
Retrieve linked transactions (billable expenses)
|
ManualJournals |
getManualJournal(UUID manualJournalID)
Allows you to retrieve any manual journals
|
Attachments |
getManualJournalAttachmentByFileName(UUID manualJournalID,
String fileName,
String contentType)
Allows you to retrieve Attachments on ManualJournal on file name
|
ByteArrayInputStream |
getManualJournalAttachmentById(UUID manualJournalID,
UUID attachmentID,
String contentType)
Allows you to retrieve Attachments on ManualJournals
|
Attachments |
getManualJournalAttachments(UUID manualJournalID)
Allows you to retrieve Attachment for manual journals
|
ManualJournals |
getManualJournals(org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer page)
Allows you to retrieve any manual journals
|
OnlineInvoices |
getOnlineInvoice(UUID invoiceID)
Allows you to retrieve a URL to an online invoice
|
Organisations |
getOrganisationByShortCode(UUID shortCode)
GET a Organisation
|
Organisations |
getOrganisations()
GET a Organisation
|
Overpayments |
getOverpayment(UUID overpaymentID)
Allows you to retrieve overpayments
|
HistoryRecords |
getOverpaymentHistory(UUID overpaymentID)
Allows you to retrieve a history records of an Overpayment
|
Overpayments |
getOverpayments(org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer page)
Allows you to retrieve overpayments
|
Payments |
getPayment(UUID paymentID)
Retrieve either one or many payments for invoices and credit notes
|
HistoryRecords |
getPaymentHistory(UUID paymentID)
Allows you to retrieve a history records of an invoice
|
Payments |
getPayments(org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order)
Retrieve either one or many payments for invoices and credit notes
|
PaymentServices |
getPaymentServices()
Retrieve either one or many payment services
|
Prepayments |
getPrepayment(UUID prepaymentID)
Allows you to retrieve prepayments
|
HistoryRecords |
getPrepaymentHistory(UUID prepaymentID)
Allows you to retrieve a history records of an Prepayment
|
Prepayments |
getPrepayments(org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order,
Integer page)
Allows you to retrieve prepayments
|
PurchaseOrders |
getPurchaseOrder(UUID purchaseOrderID)
Allows you to retrieve purchase orders
|
HistoryRecords |
getPurchaseOrderHistory(UUID purchaseOrderID)
Allows you to retrieve history for PurchaseOrder
|
PurchaseOrders |
getPurchaseOrders(org.threeten.bp.OffsetDateTime ifModifiedSince,
String status,
String dateFrom,
String dateTo,
String order,
Integer page)
Allows you to retrieve purchase orders
|
Receipts |
getReceipt(UUID receiptID)
Allows you to retrieve draft expense claim receipts for any user
|
Attachments |
getReceiptAttachmentByFileName(UUID receiptID,
String fileName,
String contentType)
Allows you to retrieve Attachments on invoices or purchase bills
|
ByteArrayInputStream |
getReceiptAttachmentById(UUID receiptID,
UUID attachmentID,
String contentType)
Allows you to retrieve Attachments on Receipts
|
Attachments |
getReceiptAttachments(UUID receiptID)
Allows you to retrieve Attachments for expense claim receipts for any user
|
HistoryRecords |
getReceiptHistory(UUID receiptID)
Allows you to retrieve a history records of an Receipt
|
Receipts |
getReceipts(org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order)
Allows you to retrieve draft expense claim receipts for any user
|
RepeatingInvoices |
getRepeatingInvoice(UUID repeatingInvoiceID)
Allows you to retrieve any repeating invoice templates
|
Attachments |
getRepeatingInvoiceAttachmentByFileName(UUID repeatingInvoiceID,
String fileName,
String contentType)
Allows you to retrieve Attachments on invoices or purchase bills
|
ByteArrayInputStream |
getRepeatingInvoiceAttachmentById(UUID repeatingInvoiceID,
UUID attachmentID,
String contentType)
Allows you to retrieve Attachments on RepeatingInvoices
|
Attachments |
getRepeatingInvoiceAttachments(UUID repeatingInvoiceID)
Allows you to retrieve Attachments on repeating invoice templates
|
HistoryRecords |
getRepeatingInvoiceHistory(UUID repeatingInvoiceID)
Allows you to retrieve history for RepeatingInvoice
|
RepeatingInvoices |
getRepeatingInvoices(String where,
String order)
Allows you to retrieve any repeating invoice templates
|
ReportWithRows |
getReportAgedPayablesByContact(UUID contactId,
org.threeten.bp.LocalDate date,
org.threeten.bp.LocalDate fromDate,
org.threeten.bp.LocalDate toDate)
Allows you to retrieve report for AgedPayablesByContact
|
ReportWithRows |
getReportAgedReceivablesByContact(UUID contactId,
String date,
String fromDate,
String toDate)
Allows you to retrieve report for AgedReceivablesByContact
|
ReportWithRows |
getReportBalanceSheet(String date,
Integer periods,
Integer timeframe,
String trackingOptionID1,
String trackingOptionID2,
Boolean standardLayout,
Boolean paymentsOnly)
Allows you to retrieve report for BalanceSheet
|
ReportWithRows |
getReportBankSummary(String date,
Integer period,
Integer timeframe)
Allows you to retrieve report for BankSummary
|
ReportWithRows |
getReportBASorGST(String reportID)
Allows you to retrieve report for BAS only valid for AU orgs
|
ReportWithRows |
getReportBASorGSTList()
Allows you to retrieve report for BAS only valid for AU orgs
|
ReportWithRows |
getReportExecutiveSummary(String date)
Allows you to retrieve report for ExecutiveSummary
|
ReportWithRows |
getReportProfitAndLoss(String fromDate,
String toDate,
Integer periods,
String timeframe,
String trackingCategoryID,
String trackingCategoryID2,
String trackingOptionID,
String trackingOptionID2,
Boolean standardLayout,
Boolean paymentsOnly)
Allows you to retrieve report for ProfitAndLoss
|
Reports |
getReportTenNinetyNine(String reportYear)
Allows you to retrieve report for TenNinetyNine
|
ReportWithRows |
getReportTrialBalance(String date,
Boolean paymentsOnly)
Allows you to retrieve report for TrialBalance
|
TaxRates |
getTaxRates(String where,
String order,
String taxType)
GET a TaxRate
|
TrackingCategories |
getTrackingCategories(String where,
String order,
Boolean includeArchived)
Retrieve tracking categories and options for a Xero organisation
|
TrackingCategories |
getTrackingCategory(UUID trackingCategoryID)
Retrieve tracking categories and options for a Xero organisation
|
Users |
getUser(UUID userID)
GET a User
|
Users |
getUsers(org.threeten.bp.OffsetDateTime ifModifiedSince,
String where,
String order)
GET a User
|
void |
setApiClient(ApiClient apiClient) |
void |
setOAuthToken(String token,
String tokenSecret) |
Accounts |
updateAccount(UUID accountID,
Accounts accounts)
200 - A successful request
|
Attachments |
updateAccountAttachmentByFileName(UUID accountID,
UUID fileName,
File body)
200 - A successful request
|
Attachments |
updateAccountAttachmentById(UUID accountID,
UUID attachmentID,
File body)
200 - A successful request
|
BankTransactions |
updateBankTransaction(UUID bankTransactionID,
BankTransactions bankTransactions)
200 - A successful request
|
Attachments |
updateBankTransactionAttachmentByFileName(UUID bankTransactionID,
UUID fileName,
File body)
200 - A successful request
|
Attachments |
updateBankTransactionAttachmentById(UUID bankTransactionID,
UUID attachmentID,
File body)
200 - A successful request
|
Attachments |
updateBankTransferAttachmentByFileName(UUID bankTransferID,
UUID fileName,
File body)
200 - A successful request
|
Attachments |
updateBankTransferAttachmentById(UUID bankTransferID,
UUID attachmentID,
File body)
200 - A successful request
|
Contacts |
updateContact(UUID contactID,
Contacts contacts)
200 - A successful request
|
Attachments |
updateContactAttachmentByFileName(UUID contactID,
UUID fileName,
File body)
200 - A successful request
|
Attachments |
updateContactAttachmentById(UUID contactID,
UUID attachmentID,
File body)
200 - A successful request
|
ContactGroups |
updateContactGroup(UUID contactGroupID,
ContactGroups contactGroups)
200 - A successful request
|
CreditNotes |
updateCreditNote(UUID creditNoteID,
CreditNotes creditNotes)
200 - A successful request
|
Attachments |
updateCreditNoteAttachmentByFileName(UUID creditNoteID,
UUID fileName,
File body)
200 - A successful request
|
Attachments |
updateCreditNoteAttachmentById(UUID creditNoteID,
UUID attachmentID,
File body)
200 - A successful request
|
Employees |
updateEmployee(UUID employeeID,
Employees employees)
200 - A successful request
|
ExpenseClaims |
updateExpenseClaim(UUID expenseClaimID,
ExpenseClaims expenseClaims)
200 - A successful request
|
Invoices |
updateInvoice(UUID invoiceID,
Invoices invoices)
200 - A successful request
|
Attachments |
updateInvoiceAttachmentByFileName(UUID invoiceID,
UUID fileName,
File body)
200 - A successful request
|
Attachments |
updateInvoiceAttachmentById(UUID invoiceID,
UUID attachmentID,
File body)
200 - A successful request
|
Items |
updateItem(UUID itemID,
Items items)
200 - A successful request
|
LinkedTransactions |
updateLinkedTransaction(UUID linkedTransactionID,
LinkedTransactions linkedTransactions)
200 - A successful request
|
ManualJournals |
updateManualJournal(UUID manualJournalID,
ManualJournals manualJournals)
200 - A successful request
|
Attachments |
updateManualJournalAttachmentByFileName(UUID manualJournalID,
UUID fileName,
File body)
200 - A successful request
|
Attachments |
updateManualJournalAttachmentById(UUID manualJournalID,
UUID attachmentID,
File body)
200 - A successful request
|
Payments |
updatePayment(UUID paymentID,
Payments payments)
200 - A successful request
|
PurchaseOrders |
updatePurchaseOrder(UUID purchaseOrderID,
PurchaseOrders purchaseOrders)
200 - A successful request
|
Receipts |
updateReceipt(UUID receiptID,
Receipts receipts)
200 - A successful request
|
Attachments |
updateReceiptAttachmentByFileName(UUID receiptID,
UUID fileName,
File body)
200 - A successful request
|
Attachments |
updateReceiptAttachmentById(UUID receiptID,
UUID attachmentID,
File body)
200 - A successful request
|
Attachments |
updateRepeatingInvoiceAttachmentByFileName(UUID repeatingInvoiceID,
UUID fileName,
File body)
200 - A successful request
|
Attachments |
updateRepeatingInvoiceAttachmentById(UUID repeatingInvoiceID,
UUID attachmentID,
File body)
200 - A successful request
|
TaxRates |
updateTaxRate(TaxRates taxRates)
200 - A successful request
|
TrackingCategories |
updateTrackingCategory(UUID trackingCategoryID,
TrackingCategory trackingCategory)
200 - A successful request
|
protected static final DateFormat utcFormatter
protected static final Pattern MESSAGE_PATTERN
protected final com.xero.model.ObjectFactory objFactory
public AccountingApi(Config config)
public AccountingApi(Config config, SignerFactory signerFactory)
public AccountingApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
protected String DATA(String url, String body, Map<String,String> params, String method) throws IOException
IOExceptionprotected String DATA(String url, String body, Map<String,String> params, String method, org.threeten.bp.OffsetDateTime ifModifiedSince) throws IOException
IOExceptionprotected String DATA(String url, String body, Map<String,String> params, String method, String contentType) throws IOException
IOExceptionprotected String DATA(String url, String body, Map<String,String> params, String method, org.threeten.bp.OffsetDateTime ifModifiedSince, String contentType) throws IOException
IOExceptionprotected String DATA(String url, String body, Map<String,String> params, String method, String xeroApplicationId, String xeroTenantId, String xeroUserId) throws IOException
IOExceptionprotected ByteArrayInputStream FILE(String url, String body, Map<String,String> params, String method) throws IOException
IOExceptionprotected ByteArrayInputStream FILE(String url, String body, Map<String,String> params, String method, String accept) throws IOException
IOExceptionprotected String FILE(String url, String body, Map<String,String> params, String method, byte[] byteBody) throws IOException
IOExceptionpublic Accounts createAccount(Account account) throws IOException
200 - A successful request
400 - A failed request due to validation error
account - The account parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments createAccountAttachmentByFileName(UUID accountID, String fileName, byte[] body) throws IOException
200 - A successful request
400 - A failed request due to validation error
accountID - The accountID parameterfileName - The fileName parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic BankTransactions createBankTransaction(BankTransactions bankTransactions, Boolean summarizeErrors) throws IOException
200 - A successful request
400 - A failed request due to validation error
bankTransactions - The bankTransactions parametersummarizeErrors - response format that shows validation errors for each bank transactionIOException - if an error occurs while attempting to invoke the APIpublic Attachments createBankTransactionAttachmentByFileName(UUID bankTransactionID, String fileName, byte[] body) throws IOException
200 - A successful request
400 - A failed request due to validation error
bankTransactionID - The bankTransactionID parameterfileName - The fileName parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords createBankTransactionHistoryRecord(UUID bankTransactionID, HistoryRecords historyRecords) throws IOException
200 - A successful request
400 - A failed request due to validation error
bankTransactionID - The bankTransactionID parameterhistoryRecords - The historyRecords parameterIOException - if an error occurs while attempting to invoke the APIpublic BankTransfers createBankTransfer(BankTransfers bankTransfers) throws IOException
200 - A successful request
400 - A failed request due to validation error
bankTransfers - The bankTransfers parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments createBankTransferAttachmentByFileName(UUID bankTransferID, String fileName, byte[] body) throws IOException
200 - A successful request
400 - A failed request due to validation error
bankTransferID - The bankTransferID parameterfileName - The fileName parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords createBankTransferHistoryRecord(UUID bankTransferID, HistoryRecords historyRecords) throws IOException
200 - A successful request
400 - A failed request due to validation error
bankTransferID - The bankTransferID parameterhistoryRecords - The historyRecords parameterIOException - if an error occurs while attempting to invoke the APIpublic BatchPayments createBatchPayment(BatchPayments batchPayments) throws IOException
200 - A successful request
400 - A failed request due to validation error
batchPayments - The batchPayments parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords createBatchPaymentHistoryRecord(UUID batchPaymentID, HistoryRecords historyRecords) throws IOException
200 - A successful request
400 - A failed request due to validation error
batchPaymentID - The batchPaymentID parameterhistoryRecords - The historyRecords parameterIOException - if an error occurs while attempting to invoke the APIpublic PaymentServices createBrandingThemePaymentServices(UUID brandingThemeID, PaymentServices paymentServices) throws IOException
200 - A successful request
400 - A failed request due to validation error
brandingThemeID - The brandingThemeID parameterpaymentServices - The paymentServices parameterIOException - if an error occurs while attempting to invoke the APIpublic Contacts createContact(Contact contact) throws IOException
200 - A successful request
400 - A failed request due to validation error
contact - The contact parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments createContactAttachmentByFileName(UUID contactID, String fileName, byte[] body) throws IOException
200 - A successful request
400 - A failed request due to validation error
contactID - The contactID parameterfileName - The fileName parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic ContactGroups createContactGroup(ContactGroups contactGroups) throws IOException
200 - A successful request
400 - A failed request due to validation error
contactGroups - The contactGroups parameterIOException - if an error occurs while attempting to invoke the APIpublic Contacts createContactGroupContacts(UUID contactGroupID, Contacts contacts) throws IOException
200 - A successful request
400 - A failed request due to validation error
contactGroupID - The contactGroupID parametercontacts - The contacts parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords createContactHistory(UUID contactID, HistoryRecords historyRecords) throws IOException
200 - A successful request
400 - A failed request due to validation error
contactID - The contactID parameterhistoryRecords - The historyRecords parameterIOException - if an error occurs while attempting to invoke the APIpublic CreditNotes createCreditNote(Boolean summarizeErrors, CreditNotes creditNotes) throws IOException
200 - A successful request
400 - A failed request due to validation error
summarizeErrors - shows validation errors for each credit notecreditNotes - The creditNotes parameterIOException - if an error occurs while attempting to invoke the APIpublic Allocations createCreditNoteAllocation(UUID creditNoteID, Allocations allocations) throws IOException
200 - A successful request
400 - A failed request due to validation error
creditNoteID - The creditNoteID parameterallocations - The allocations parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments createCreditNoteAttachmentByFileName(UUID creditNoteID, String fileName, byte[] body) throws IOException
200 - A successful request
400 - A failed request due to validation error
creditNoteID - The creditNoteID parameterfileName - The fileName parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords createCreditNoteHistory(UUID creditNoteID, HistoryRecords historyRecords) throws IOException
200 - A successful request
400 - A failed request due to validation error
creditNoteID - The creditNoteID parameterhistoryRecords - The historyRecords parameterIOException - if an error occurs while attempting to invoke the APIpublic Currencies createCurrency(Currencies currencies) throws IOException
200 - A successful request
400 - A failed request due to validation error
currencies - The currencies parameterIOException - if an error occurs while attempting to invoke the APIpublic Employees createEmployee(Employees employees) throws IOException
200 - A successful request
400 - A failed request due to validation error
employees - The employees parameterIOException - if an error occurs while attempting to invoke the APIpublic ExpenseClaims createExpenseClaim(ExpenseClaims expenseClaims, Boolean summarizeErrors) throws IOException
200 - A successful request
400 - A failed request due to validation error
expenseClaims - The expenseClaims parametersummarizeErrors - shows validation errors for each expense claimIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords createExpenseClaimHistory(UUID expenseClaimID, HistoryRecords historyRecords) throws IOException
200 - A successful request
400 - A failed request due to validation error
expenseClaimID - The expenseClaimID parameterhistoryRecords - The historyRecords parameterIOException - if an error occurs while attempting to invoke the APIpublic Invoices createInvoice(Invoices invoices, Boolean summarizeErrors) throws IOException
200 - A successful request
400 - A failed request due to validation error
invoices - The invoices parametersummarizeErrors - shows validation errors for each invoiceIOException - if an error occurs while attempting to invoke the APIpublic Attachments createInvoiceAttachmentByFileName(UUID invoiceID, String fileName, byte[] body) throws IOException
200 - A successful request
400 - A failed request due to validation error
invoiceID - The invoiceID parameterfileName - The fileName parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords createInvoiceHistory(UUID invoiceID, HistoryRecords historyRecords) throws IOException
200 - A successful request
400 - A failed request due to validation error
invoiceID - The invoiceID parameterhistoryRecords - The historyRecords parameterIOException - if an error occurs while attempting to invoke the APIpublic Items createItem(Items items) throws IOException
200 - A successful request
400 - A failed request due to validation error
items - The items parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords createItemHistory(UUID itemID, HistoryRecords historyRecords) throws IOException
200 - A successful request
400 - A failed request due to validation error
itemID - The itemID parameterhistoryRecords - The historyRecords parameterIOException - if an error occurs while attempting to invoke the APIpublic LinkedTransactions createLinkedTransaction(LinkedTransactions linkedTransactions) throws IOException
200 - A successful request
400 - A failed request due to validation error
linkedTransactions - The linkedTransactions parameterIOException - if an error occurs while attempting to invoke the APIpublic ManualJournals createManualJournal(ManualJournals manualJournals) throws IOException
200 - A successful request
400 - A failed request due to validation error
manualJournals - The manualJournals parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments createManualJournalAttachmentByFileName(UUID manualJournalID, String fileName, byte[] body) throws IOException
200 - A successful request
400 - A failed request due to validation error
manualJournalID - The manualJournalID parameterfileName - The fileName parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic Allocations createOverpaymentAllocation(UUID overpaymentID, Allocations allocations) throws IOException
200 - A successful request
400 - A failed request due to validation error
overpaymentID - The overpaymentID parameterallocations - The allocations parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords createOverpaymentHistory(UUID overpaymentID, HistoryRecords historyRecords) throws IOException
200 - A successful request
400 - A failed request due to validation error
overpaymentID - The overpaymentID parameterhistoryRecords - The historyRecords parameterIOException - if an error occurs while attempting to invoke the APIpublic Payments createPayment(Payments payments) throws IOException
200 - A successful request
400 - A failed request due to validation error
payments - The payments parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords createPaymentHistory(UUID paymentID, HistoryRecords historyRecords) throws IOException
200 - A successful request
400 - A failed request due to validation error
paymentID - The paymentID parameterhistoryRecords - The historyRecords parameterIOException - if an error occurs while attempting to invoke the APIpublic PaymentServices createPaymentService(PaymentServices paymentServices) throws IOException
200 - A successful request
400 - A failed request due to validation error
paymentServices - The paymentServices parameterIOException - if an error occurs while attempting to invoke the APIpublic Prepayments createPrepayment(Prepayments prepayments) throws IOException
200 - A successful request
400 - A failed request due to validation error
prepayments - The prepayments parameterIOException - if an error occurs while attempting to invoke the APIpublic Allocations createPrepaymentAllocation(UUID prepaymentID, Allocations allocations) throws IOException
200 - A successful request
400 - A failed request due to validation error
prepaymentID - The prepaymentID parameterallocations - The allocations parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords createPrepaymentHistory(UUID prepaymentID, HistoryRecords historyRecords) throws IOException
200 - A successful request
400 - A failed request due to validation error
prepaymentID - The prepaymentID parameterhistoryRecords - The historyRecords parameterIOException - if an error occurs while attempting to invoke the APIpublic PurchaseOrders createPurchaseOrder(PurchaseOrders purchaseOrders, Boolean summarizeErrors) throws IOException
200 - A successful request
400 - A failed request due to validation error
purchaseOrders - The purchaseOrders parametersummarizeErrors - shows validation errors for each purchase order.IOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords createPurchaseOrderHistory(UUID purchaseOrderID, HistoryRecords historyRecords) throws IOException
200 - A successful request
400 - A failed request due to validation error
purchaseOrderID - The purchaseOrderID parameterhistoryRecords - The historyRecords parameterIOException - if an error occurs while attempting to invoke the APIpublic Receipts createReceipt(Receipts receipts) throws IOException
200 - A successful request
400 - A failed request due to validation error
receipts - The receipts parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments createReceiptAttachmentByFileName(UUID receiptID, String fileName, byte[] body) throws IOException
200 - A successful request
400 - A failed request due to validation error
receiptID - The receiptID parameterfileName - The fileName parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords createReceiptHistory(UUID receiptID, HistoryRecords historyRecords) throws IOException
200 - A successful request
400 - A failed request due to validation error
receiptID - The receiptID parameterhistoryRecords - The historyRecords parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments createRepeatingInvoiceAttachmentByFileName(UUID repeatingInvoiceID, String fileName, byte[] body) throws IOException
200 - A successful request
400 - A failed request due to validation error
repeatingInvoiceID - The repeatingInvoiceID parameterfileName - The fileName parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords createRepeatingInvoiceHistory(UUID repeatingInvoiceID, HistoryRecords historyRecords) throws IOException
200 - A successful request
400 - A failed request due to validation error
repeatingInvoiceID - The repeatingInvoiceID parameterhistoryRecords - The historyRecords parameterIOException - if an error occurs while attempting to invoke the APIpublic TaxRates createTaxRate(TaxRates taxRates) throws IOException
200 - A successful request
400 - A failed request due to validation error
taxRates - The taxRates parameterIOException - if an error occurs while attempting to invoke the APIpublic TrackingCategories createTrackingCategory(TrackingCategory trackingCategory) throws IOException
200 - A successful request
400 - A failed request due to validation error
trackingCategory - The trackingCategory parameterIOException - if an error occurs while attempting to invoke the APIpublic TrackingOptions createTrackingOptions(UUID trackingCategoryID, TrackingOption trackingOption) throws IOException
200 - A successful request
400 - A failed request due to validation error
trackingCategoryID - The trackingCategoryID parametertrackingOption - The trackingOption parameterIOException - if an error occurs while attempting to invoke the APIpublic Accounts deleteAccount(UUID accountID) throws IOException
200 - A successful request
400 - A failed request due to validation error
accountID - The accountID parameterIOException - if an error occurs while attempting to invoke the APIpublic Response204 deleteContactGroupContact(UUID contactGroupID, UUID contactID) throws IOException
200 - A successful request
400 - A failed request due to validation error
contactGroupID - The contactGroupID parametercontactID - The contactID parameterIOException - if an error occurs while attempting to invoke the APIpublic Response204 deleteContactGroupContacts(UUID contactGroupID) throws IOException
200 - A successful request
contactGroupID - The contactGroupID parameterIOException - if an error occurs while attempting to invoke the APIpublic Response204 deleteItem(UUID itemID) throws IOException
200 - A successful request
400 - A failed request due to validation error
itemID - The itemID parameterIOException - if an error occurs while attempting to invoke the APIpublic Response204 deleteLinkedTransaction(UUID linkedTransactionID) throws IOException
204 - A successful request
400 - A failed request due to validation error
linkedTransactionID - The linkedTransactionID parameterIOException - if an error occurs while attempting to invoke the APIpublic TrackingCategories deleteTrackingCategory(UUID trackingCategoryID) throws IOException
200 - A successful request
400 - A failed request due to validation error
trackingCategoryID - The trackingCategoryID parameterIOException - if an error occurs while attempting to invoke the APIpublic TrackingOptions deleteTrackingOptions(UUID trackingCategoryID, UUID trackingOptionID) throws IOException
200 - A successful request
400 - A failed request due to validation error
trackingCategoryID - The trackingCategoryID parametertrackingOptionID - The trackingOptionID parameterIOException - if an error occurs while attempting to invoke the APIpublic Response204 emailInvoice(UUID invoiceID, RequestEmpty requestEmpty) throws IOException
204 - A successful request
400 - A failed request due to validation error
invoiceID - The invoiceID parameterrequestEmpty - The requestEmpty parameterIOException - if an error occurs while attempting to invoke the APIpublic Accounts getAccount(UUID accountID) throws IOException
200 - A successful request
accountID - The accountID parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments getAccountAttachmentByFileName(UUID accountID, String fileName, String contentType) throws IOException
200 - A successful request
accountID - The accountID parameterfileName - The fileName parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic ByteArrayInputStream getAccountAttachmentById(UUID accountID, UUID attachmentID, String contentType) throws IOException
200 - A successful request
accountID - The accountID parameterattachmentID - The attachmentID parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments getAccountAttachments(UUID accountID) throws IOException
200 - A successful request
accountID - The accountID parameterIOException - if an error occurs while attempting to invoke the APIpublic Accounts getAccounts(org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
200 - A successful response
ifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementIOException - if an error occurs while attempting to invoke the APIpublic BankTransactions getBankTransaction(UUID bankTransactionID) throws IOException
200 - A successful request
bankTransactionID - The bankTransactionID parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments getBankTransactionAttachmentByFileName(UUID bankTransactionID, String fileName, String contentType) throws IOException
200 - A successful request
bankTransactionID - The bankTransactionID parameterfileName - The fileName parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic ByteArrayInputStream getBankTransactionAttachmentById(UUID bankTransactionID, UUID attachmentID, String contentType) throws IOException
200 - A successful request
bankTransactionID - The bankTransactionID parameterattachmentID - The attachmentID parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments getBankTransactionAttachments(UUID bankTransactionID) throws IOException
200 - A successful request
bankTransactionID - The bankTransactionID parameterIOException - if an error occurs while attempting to invoke the APIpublic BankTransactions getBankTransactions(org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer page) throws IOException
200 - A successful response
ifModifiedSince - 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 bank transactions will be returned in a single API call with line items shown for each bank transactionIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords getBankTransactionsHistory(UUID bankTransactionID) throws IOException
200 - A successful request
bankTransactionID - The bankTransactionID parameterIOException - if an error occurs while attempting to invoke the APIpublic BankTransfers getBankTransfer(UUID bankTransferID) throws IOException
200 - A successful request
bankTransferID - The bankTransferID parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments getBankTransferAttachmentByFileName(UUID bankTransferID, String fileName, String contentType) throws IOException
200 - A successful request
bankTransferID - The bankTransferID parameterfileName - The fileName parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic ByteArrayInputStream getBankTransferAttachmentById(UUID bankTransferID, UUID attachmentID, String contentType) throws IOException
200 - A successful request
bankTransferID - The bankTransferID parameterattachmentID - The attachmentID parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments getBankTransferAttachments(UUID bankTransferID) throws IOException
200 - A successful request
bankTransferID - The bankTransferID parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords getBankTransferHistory(UUID bankTransferID) throws IOException
200 - A successful request
bankTransferID - The bankTransferID parameterIOException - if an error occurs while attempting to invoke the APIpublic BankTransfers getBankTransfers(org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
200 - A successful response
ifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords getBatchPaymentHistory(UUID batchPaymentID) throws IOException
200 - A successful request
batchPaymentID - The batchPaymentID parameterIOException - if an error occurs while attempting to invoke the APIpublic BatchPayments getBatchPayments(org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
200 - A successful response
ifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementIOException - if an error occurs while attempting to invoke the APIpublic BrandingThemes getBrandingTheme(UUID brandingThemeID) throws IOException
200 - A successful request
brandingThemeID - The brandingThemeID parameterIOException - if an error occurs while attempting to invoke the APIpublic PaymentServices getBrandingThemePaymentServices(UUID brandingThemeID) throws IOException
200 - A successful request
brandingThemeID - The brandingThemeID parameterIOException - if an error occurs while attempting to invoke the APIpublic BrandingThemes getBrandingThemes() throws IOException
200 - A successful response
IOException - if an error occurs while attempting to invoke the APIpublic Contacts getContact(UUID contactID) throws IOException
200 - A successful request
contactID - The contactID parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments getContactAttachmentByFileName(UUID contactID, String fileName, String contentType) throws IOException
200 - A successful request
contactID - The contactID parameterfileName - The fileName parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic ByteArrayInputStream getContactAttachmentById(UUID contactID, UUID attachmentID, String contentType) throws IOException
200 - A successful request
contactID - The contactID parameterattachmentID - The attachmentID parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments getContactAttachments(UUID contactID) throws IOException
200 - A successful request
contactID - The contactID parameterIOException - if an error occurs while attempting to invoke the APIpublic CISSettings getContactCISSettings(UUID contactID) throws IOException
200 - A successful request
contactID - The contactID parameterIOException - if an error occurs while attempting to invoke the APIpublic ContactGroups getContactGroup(UUID contactGroupID) throws IOException
200 - A successful request
contactGroupID - The contactGroupID parameterIOException - if an error occurs while attempting to invoke the APIpublic ContactGroups getContactGroups(String where, String order) throws IOException
200 - A successful response
where - Filter by an any elementorder - Order by an any elementIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords getContactHistory(UUID contactID) throws IOException
200 - A successful request
contactID - The contactID parameterIOException - if an error occurs while attempting to invoke the APIpublic Contacts getContacts(org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, String ids, Integer page, Boolean includeArchived) throws IOException
200 - A successful response
ifModifiedSince - 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 responseIOException - if an error occurs while attempting to invoke the APIpublic CreditNotes getCreditNote(UUID creditNoteID) throws IOException
200 - A successful request
creditNoteID - The creditNoteID parameterIOException - if an error occurs while attempting to invoke the APIpublic ByteArrayInputStream getCreditNoteAsPdf(UUID creditNoteID, String contentType) throws IOException
200 - A successful request
creditNoteID - The creditNoteID parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments getCreditNoteAttachmentByFileName(UUID creditNoteID, String fileName, String contentType) throws IOException
200 - A successful request
creditNoteID - The creditNoteID parameterfileName - The fileName parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic ByteArrayInputStream getCreditNoteAttachmentById(UUID creditNoteID, UUID attachmentID, String contentType) throws IOException
200 - A successful request
creditNoteID - The creditNoteID parameterattachmentID - The attachmentID parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments getCreditNoteAttachments(UUID creditNoteID) throws IOException
200 - A successful request
creditNoteID - The creditNoteID parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords getCreditNoteHistory(UUID creditNoteID) throws IOException
200 - A successful request
creditNoteID - The creditNoteID parameterIOException - if an error occurs while attempting to invoke the APIpublic CreditNotes getCreditNotes(org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer page) throws IOException
200 - A successful response
ifModifiedSince - 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 noteIOException - if an error occurs while attempting to invoke the APIpublic Currencies getCurrencies(String where, String order) throws IOException
200 - A successful response
where - Filter by an any elementorder - Order by an any elementIOException - if an error occurs while attempting to invoke the APIpublic Employees getEmployee(UUID employeeID) throws IOException
200 - A successful request
employeeID - The employeeID parameterIOException - if an error occurs while attempting to invoke the APIpublic Employees getEmployees(org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
200 - A successful response
ifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementIOException - if an error occurs while attempting to invoke the APIpublic ExpenseClaims getExpenseClaim(UUID expenseClaimID) throws IOException
200 - A successful request
expenseClaimID - The expenseClaimID parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords getExpenseClaimHistory(UUID expenseClaimID) throws IOException
200 - A successful request
expenseClaimID - The expenseClaimID parameterIOException - if an error occurs while attempting to invoke the APIpublic ExpenseClaims getExpenseClaims(org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
200 - A successful response
ifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementIOException - if an error occurs while attempting to invoke the APIpublic Invoices getInvoice(UUID invoiceID) throws IOException
200 - A successful request
invoiceID - The invoiceID parameterIOException - if an error occurs while attempting to invoke the APIpublic ByteArrayInputStream getInvoiceAsPdf(UUID invoiceID, String contentType) throws IOException
200 - A successful request
invoiceID - The invoiceID parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments getInvoiceAttachmentByFileName(UUID invoiceID, String fileName, String contentType) throws IOException
200 - A successful request
invoiceID - The invoiceID parameterfileName - The fileName parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic ByteArrayInputStream getInvoiceAttachmentById(UUID invoiceID, UUID attachmentID, String contentType) throws IOException
200 - A successful request
invoiceID - The invoiceID parameterattachmentID - The attachmentID parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments getInvoiceAttachments(UUID invoiceID) throws IOException
200 - A successful request
invoiceID - The invoiceID parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords getInvoiceHistory(UUID invoiceID) throws IOException
200 - A successful request
invoiceID - The invoiceID parameterIOException - if an error occurs while attempting to invoke the APIpublic InvoiceReminders getInvoiceReminders() throws IOException
200 - A successful request
IOException - if an error occurs while attempting to invoke the APIpublic Invoices getInvoices(org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, String ids, String invoiceNumbers, String contactIDs, String statuses, Integer page, Boolean includeArchived, Boolean createdByMyApp) throws IOException
200 - A successful response
ifModifiedSince - 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. For faster response times we recommend using these explicit parameters instead of passing OR conditions into the Where filter.invoiceNumbers - Filter by a comma-separated list of InvoiceNumbers. For faster response times we recommend using these explicit parameters instead of passing OR conditions into the Where filter.contactIDs - Filter by a comma-separated list of ContactIDs. For faster response times we recommend using these explicit parameters instead of passing OR conditions into the Where filter.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 appIOException - if an error occurs while attempting to invoke the APIpublic Items getItem(UUID itemID) throws IOException
200 - A successful request
itemID - The itemID parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords getItemHistory(UUID itemID) throws IOException
200 - A successful request
itemID - The itemID parameterIOException - if an error occurs while attempting to invoke the APIpublic Items getItems(org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
200 - A successful response
ifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementIOException - if an error occurs while attempting to invoke the APIpublic Journals getJournal(UUID journalID) throws IOException
200 - A successful request
journalID - The journalID parameterIOException - if an error occurs while attempting to invoke the APIpublic Journals getJournals(org.threeten.bp.OffsetDateTime ifModifiedSince, Integer offset, Boolean paymentsOnly) throws IOException
200 - A successful response
ifModifiedSince - Only records created or modified since this timestamp will be returnedoffset - The offset parameterpaymentsOnly - The paymentsOnly parameterIOException - if an error occurs while attempting to invoke the APIpublic LinkedTransactions getLinkedTransaction(UUID linkedTransactionID) throws IOException
200 - A successful request
linkedTransactionID - The linkedTransactionID parameterIOException - if an error occurs while attempting to invoke the APIpublic LinkedTransactions getLinkedTransactions(Integer page, String linkedTransactionID, String sourceTransactionID, String contactID, String status, String targetTransactionID) throws IOException
200 - A successful response
page - Up to 100 linked transactions will be returned in a single API call. Use the page parameter to specify the page to be returned e.g. page=1.linkedTransactionID - The Xero identifier for an Linked TransactionsourceTransactionID - Filter by the SourceTransactionID. Get all 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 all the linked transactions that have been assigned to a particular customer and have a particular status e.g. GET /LinkedTransactions?ContactID=4bb34b03-3378-4bb2-a0ed-6345abf3224e&Status=APPROVED.targetTransactionID - Filter by the TargetTransactionID. Get all the linked transactions allocated to a particular ACCREC invoiceIOException - if an error occurs while attempting to invoke the APIpublic ManualJournals getManualJournal(UUID manualJournalID) throws IOException
200 - A successful request
manualJournalID - The manualJournalID parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments getManualJournalAttachmentByFileName(UUID manualJournalID, String fileName, String contentType) throws IOException
200 - A successful request
manualJournalID - The manualJournalID parameterfileName - The fileName parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic ByteArrayInputStream getManualJournalAttachmentById(UUID manualJournalID, UUID attachmentID, String contentType) throws IOException
200 - A successful request
manualJournalID - The manualJournalID parameterattachmentID - The attachmentID parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments getManualJournalAttachments(UUID manualJournalID) throws IOException
200 - A successful request
manualJournalID - The manualJournalID parameterIOException - if an error occurs while attempting to invoke the APIpublic ManualJournals getManualJournals(org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer page) throws IOException
200 - A successful response
ifModifiedSince - 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 overpaymentIOException - if an error occurs while attempting to invoke the APIpublic OnlineInvoices getOnlineInvoice(UUID invoiceID) throws IOException
200 - A successful request
invoiceID - The invoiceID parameterIOException - if an error occurs while attempting to invoke the APIpublic Organisations getOrganisationByShortCode(UUID shortCode) throws IOException
200 - A successful request
shortCode - The shortCode parameterIOException - if an error occurs while attempting to invoke the APIpublic Organisations getOrganisations() throws IOException
200 - A successful response
IOException - if an error occurs while attempting to invoke the APIpublic Overpayments getOverpayment(UUID overpaymentID) throws IOException
200 - A successful request
overpaymentID - The overpaymentID parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords getOverpaymentHistory(UUID overpaymentID) throws IOException
200 - A successful request
overpaymentID - The overpaymentID parameterIOException - if an error occurs while attempting to invoke the APIpublic Overpayments getOverpayments(org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer page) throws IOException
200 - A successful response
ifModifiedSince - 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 overpaymentIOException - if an error occurs while attempting to invoke the APIpublic Payments getPayment(UUID paymentID) throws IOException
200 - A successful request
paymentID - The paymentID parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords getPaymentHistory(UUID paymentID) throws IOException
200 - A successful request
paymentID - The paymentID parameterIOException - if an error occurs while attempting to invoke the APIpublic PaymentServices getPaymentServices() throws IOException
200 - A successful response
IOException - if an error occurs while attempting to invoke the APIpublic Payments getPayments(org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
200 - A successful response
ifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementIOException - if an error occurs while attempting to invoke the APIpublic Prepayments getPrepayment(UUID prepaymentID) throws IOException
200 - A successful request
prepaymentID - The prepaymentID parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords getPrepaymentHistory(UUID prepaymentID) throws IOException
200 - A successful request
prepaymentID - The prepaymentID parameterIOException - if an error occurs while attempting to invoke the APIpublic Prepayments getPrepayments(org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order, Integer page) throws IOException
200 - A successful response
ifModifiedSince - 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 overpaymentIOException - if an error occurs while attempting to invoke the APIpublic PurchaseOrders getPurchaseOrder(UUID purchaseOrderID) throws IOException
200 - A successful request
purchaseOrderID - The purchaseOrderID parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords getPurchaseOrderHistory(UUID purchaseOrderID) throws IOException
200 - A successful request
purchaseOrderID - The purchaseOrderID parameterIOException - if an error occurs while attempting to invoke the APIpublic PurchaseOrders getPurchaseOrders(org.threeten.bp.OffsetDateTime ifModifiedSince, String status, String dateFrom, String dateTo, String order, Integer page) throws IOException
200 - A successful response
ifModifiedSince - 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.IOException - if an error occurs while attempting to invoke the APIpublic Receipts getReceipt(UUID receiptID) throws IOException
200 - A successful request
receiptID - The receiptID parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments getReceiptAttachmentByFileName(UUID receiptID, String fileName, String contentType) throws IOException
200 - A successful request
receiptID - The receiptID parameterfileName - The fileName parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic ByteArrayInputStream getReceiptAttachmentById(UUID receiptID, UUID attachmentID, String contentType) throws IOException
200 - A successful request
receiptID - The receiptID parameterattachmentID - The attachmentID parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments getReceiptAttachments(UUID receiptID) throws IOException
200 - A successful request
receiptID - The receiptID parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords getReceiptHistory(UUID receiptID) throws IOException
200 - A successful request
receiptID - The receiptID parameterIOException - if an error occurs while attempting to invoke the APIpublic Receipts getReceipts(org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
200 - A successful response
ifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementIOException - if an error occurs while attempting to invoke the APIpublic RepeatingInvoices getRepeatingInvoice(UUID repeatingInvoiceID) throws IOException
200 - A successful request
repeatingInvoiceID - The repeatingInvoiceID parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments getRepeatingInvoiceAttachmentByFileName(UUID repeatingInvoiceID, String fileName, String contentType) throws IOException
200 - A successful request
repeatingInvoiceID - The repeatingInvoiceID parameterfileName - The fileName parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic ByteArrayInputStream getRepeatingInvoiceAttachmentById(UUID repeatingInvoiceID, UUID attachmentID, String contentType) throws IOException
200 - A successful request
repeatingInvoiceID - The repeatingInvoiceID parameterattachmentID - The attachmentID parametercontentType - The contentType parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments getRepeatingInvoiceAttachments(UUID repeatingInvoiceID) throws IOException
200 - A successful request
repeatingInvoiceID - The repeatingInvoiceID parameterIOException - if an error occurs while attempting to invoke the APIpublic HistoryRecords getRepeatingInvoiceHistory(UUID repeatingInvoiceID) throws IOException
200 - A successful request
repeatingInvoiceID - The repeatingInvoiceID parameterIOException - if an error occurs while attempting to invoke the APIpublic RepeatingInvoices getRepeatingInvoices(String where, String order) throws IOException
200 - A successful response
where - Filter by an any elementorder - Order by an any elementIOException - if an error occurs while attempting to invoke the APIpublic ReportWithRows getReportAgedPayablesByContact(UUID contactId, org.threeten.bp.LocalDate date, org.threeten.bp.LocalDate fromDate, org.threeten.bp.LocalDate toDate) throws IOException
200 - A successful request
contactId - The contactId parameterdate - The date parameterfromDate - The fromDate parametertoDate - The toDate parameterIOException - if an error occurs while attempting to invoke the APIpublic ReportWithRows getReportAgedReceivablesByContact(UUID contactId, String date, String fromDate, String toDate) throws IOException
200 - A successful request
contactId - The contactId parameterdate - The date parameterfromDate - The fromDate parametertoDate - The toDate parameterIOException - if an error occurs while attempting to invoke the APIpublic ReportWithRows getReportBASorGST(String reportID) throws IOException
200 - A successful request
reportID - The reportID parameterIOException - if an error occurs while attempting to invoke the APIpublic ReportWithRows getReportBASorGSTList() throws IOException
200 - A successful request
IOException - if an error occurs while attempting to invoke the APIpublic ReportWithRows getReportBalanceSheet(String date, Integer periods, Integer timeframe, String trackingOptionID1, String trackingOptionID2, Boolean standardLayout, Boolean paymentsOnly) throws IOException
200 - A successful request
date - The date parameterperiods - The periods parametertimeframe - The period size to compare to (1=month, 3=quarter, 12=year)trackingOptionID1 - The trackingOptionID1 parametertrackingOptionID2 - The trackingOptionID2 parameterstandardLayout - The standardLayout parameterpaymentsOnly - The paymentsOnly parameterIOException - if an error occurs while attempting to invoke the APIpublic ReportWithRows getReportBankSummary(String date, Integer period, Integer timeframe) throws IOException
200 - A successful request
date - 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)IOException - if an error occurs while attempting to invoke the APIpublic ReportWithRows getReportExecutiveSummary(String date) throws IOException
200 - A successful request
date - e.g. 2018-03-31IOException - if an error occurs while attempting to invoke the APIpublic ReportWithRows getReportProfitAndLoss(String fromDate, String toDate, Integer periods, String timeframe, String trackingCategoryID, String trackingCategoryID2, String trackingOptionID, String trackingOptionID2, Boolean standardLayout, Boolean paymentsOnly) throws IOException
200 - A successful request
fromDate - The fromDate parametertoDate - The toDate parameterperiods - The number of periods to compare (integer between 1 and 12)timeframe - The period size to compare to (1=month, 3=quarter, 12=year)trackingCategoryID - The trackingCategoryID parametertrackingCategoryID2 - The trackingCategoryID2 parametertrackingOptionID - The trackingOptionID parametertrackingOptionID2 - The trackingOptionID2 parameterstandardLayout - The standardLayout parameterpaymentsOnly - The paymentsOnly parameterIOException - if an error occurs while attempting to invoke the APIpublic Reports getReportTenNinetyNine(String reportYear) throws IOException
200 - A successful request
reportYear - The reportYear parameterIOException - if an error occurs while attempting to invoke the APIpublic ReportWithRows getReportTrialBalance(String date, Boolean paymentsOnly) throws IOException
200 - A successful request
date - The date parameterpaymentsOnly - The paymentsOnly parameterIOException - if an error occurs while attempting to invoke the APIpublic TaxRates getTaxRates(String where, String order, String taxType) throws IOException
200 - A successful response
where - Filter by an any elementorder - Order by an any elementtaxType - Filter by tax typeIOException - if an error occurs while attempting to invoke the APIpublic TrackingCategories getTrackingCategories(String where, String order, Boolean includeArchived) throws IOException
200 - A successful response
where - 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 responseIOException - if an error occurs while attempting to invoke the APIpublic TrackingCategories getTrackingCategory(UUID trackingCategoryID) throws IOException
200 - A successful request
trackingCategoryID - The trackingCategoryID parameterIOException - if an error occurs while attempting to invoke the APIpublic Users getUser(UUID userID) throws IOException
200 - A successful request
userID - The userID parameterIOException - if an error occurs while attempting to invoke the APIpublic Users getUsers(org.threeten.bp.OffsetDateTime ifModifiedSince, String where, String order) throws IOException
200 - A successful response
ifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementIOException - if an error occurs while attempting to invoke the APIpublic Accounts updateAccount(UUID accountID, Accounts accounts) throws IOException
200 - A successful request
400 - A failed request due to validation error
accountID - The accountID parameteraccounts - The accounts parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments updateAccountAttachmentByFileName(UUID accountID, UUID fileName, File body) throws IOException
200 - A successful request
400 - A failed request due to validation error
accountID - The accountID parameterfileName - The fileName parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments updateAccountAttachmentById(UUID accountID, UUID attachmentID, File body) throws IOException
200 - A successful request
400 - A failed request due to validation error
accountID - The accountID parameterattachmentID - The attachmentID parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic BankTransactions updateBankTransaction(UUID bankTransactionID, BankTransactions bankTransactions) throws IOException
200 - A successful request
400 - A failed request due to validation error
bankTransactionID - The bankTransactionID parameterbankTransactions - The bankTransactions parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments updateBankTransactionAttachmentByFileName(UUID bankTransactionID, UUID fileName, File body) throws IOException
200 - A successful request
400 - A failed request due to validation error
bankTransactionID - The bankTransactionID parameterfileName - The fileName parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments updateBankTransactionAttachmentById(UUID bankTransactionID, UUID attachmentID, File body) throws IOException
200 - A successful request
400 - A failed request due to validation error
bankTransactionID - The bankTransactionID parameterattachmentID - The attachmentID parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments updateBankTransferAttachmentByFileName(UUID bankTransferID, UUID fileName, File body) throws IOException
200 - A successful request
400 - A failed request due to validation error
bankTransferID - The bankTransferID parameterfileName - The fileName parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments updateBankTransferAttachmentById(UUID bankTransferID, UUID attachmentID, File body) throws IOException
200 - A successful request
400 - A failed request due to validation error
bankTransferID - The bankTransferID parameterattachmentID - The attachmentID parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic Contacts updateContact(UUID contactID, Contacts contacts) throws IOException
200 - A successful request
400 - A failed request due to validation error
contactID - The contactID parametercontacts - The contacts parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments updateContactAttachmentByFileName(UUID contactID, UUID fileName, File body) throws IOException
200 - A successful request
400 - A failed request due to validation error
contactID - The contactID parameterfileName - The fileName parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments updateContactAttachmentById(UUID contactID, UUID attachmentID, File body) throws IOException
200 - A successful request
400 - A failed request due to validation error
contactID - The contactID parameterattachmentID - The attachmentID parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic ContactGroups updateContactGroup(UUID contactGroupID, ContactGroups contactGroups) throws IOException
200 - A successful request
400 - A failed request due to validation error
contactGroupID - The contactGroupID parametercontactGroups - The contactGroups parameterIOException - if an error occurs while attempting to invoke the APIpublic CreditNotes updateCreditNote(UUID creditNoteID, CreditNotes creditNotes) throws IOException
200 - A successful request
400 - A failed request due to validation error
creditNoteID - The creditNoteID parametercreditNotes - The creditNotes parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments updateCreditNoteAttachmentByFileName(UUID creditNoteID, UUID fileName, File body) throws IOException
200 - A successful request
400 - A failed request due to validation error
creditNoteID - The creditNoteID parameterfileName - The fileName parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments updateCreditNoteAttachmentById(UUID creditNoteID, UUID attachmentID, File body) throws IOException
200 - A successful request
400 - A failed request due to validation error
creditNoteID - The creditNoteID parameterattachmentID - The attachmentID parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic Employees updateEmployee(UUID employeeID, Employees employees) throws IOException
200 - A successful request
400 - A failed request due to validation error
employeeID - The employeeID parameteremployees - The employees parameterIOException - if an error occurs while attempting to invoke the APIpublic ExpenseClaims updateExpenseClaim(UUID expenseClaimID, ExpenseClaims expenseClaims) throws IOException
200 - A successful request
400 - A failed request due to validation error
expenseClaimID - The expenseClaimID parameterexpenseClaims - The expenseClaims parameterIOException - if an error occurs while attempting to invoke the APIpublic Invoices updateInvoice(UUID invoiceID, Invoices invoices) throws IOException
200 - A successful request
400 - A failed request due to validation error
invoiceID - The invoiceID parameterinvoices - The invoices parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments updateInvoiceAttachmentByFileName(UUID invoiceID, UUID fileName, File body) throws IOException
200 - A successful request
400 - A failed request due to validation error
invoiceID - The invoiceID parameterfileName - The fileName parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments updateInvoiceAttachmentById(UUID invoiceID, UUID attachmentID, File body) throws IOException
200 - A successful request
400 - A failed request due to validation error
invoiceID - The invoiceID parameterattachmentID - The attachmentID parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic Items updateItem(UUID itemID, Items items) throws IOException
200 - A successful request
400 - A failed request due to validation error
itemID - The itemID parameteritems - The items parameterIOException - if an error occurs while attempting to invoke the APIpublic LinkedTransactions updateLinkedTransaction(UUID linkedTransactionID, LinkedTransactions linkedTransactions) throws IOException
200 - A successful request
400 - A failed request due to validation error
linkedTransactionID - The linkedTransactionID parameterlinkedTransactions - The linkedTransactions parameterIOException - if an error occurs while attempting to invoke the APIpublic ManualJournals updateManualJournal(UUID manualJournalID, ManualJournals manualJournals) throws IOException
200 - A successful request
400 - A failed request due to validation error
manualJournalID - The manualJournalID parametermanualJournals - The manualJournals parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments updateManualJournalAttachmentByFileName(UUID manualJournalID, UUID fileName, File body) throws IOException
200 - A successful request
400 - A failed request due to validation error
manualJournalID - The manualJournalID parameterfileName - The fileName parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments updateManualJournalAttachmentById(UUID manualJournalID, UUID attachmentID, File body) throws IOException
200 - A successful request
400 - A failed request due to validation error
manualJournalID - The manualJournalID parameterattachmentID - The attachmentID parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic Payments updatePayment(UUID paymentID, Payments payments) throws IOException
200 - A successful request
400 - A failed request due to validation error
paymentID - The paymentID parameterpayments - The payments parameterIOException - if an error occurs while attempting to invoke the APIpublic PurchaseOrders updatePurchaseOrder(UUID purchaseOrderID, PurchaseOrders purchaseOrders) throws IOException
200 - A successful request
400 - A failed request due to validation error
purchaseOrderID - The purchaseOrderID parameterpurchaseOrders - The purchaseOrders parameterIOException - if an error occurs while attempting to invoke the APIpublic Receipts updateReceipt(UUID receiptID, Receipts receipts) throws IOException
200 - A successful request
400 - A failed request due to validation error
receiptID - The receiptID parameterreceipts - The receipts parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments updateReceiptAttachmentByFileName(UUID receiptID, UUID fileName, File body) throws IOException
200 - A successful request
400 - A failed request due to validation error
receiptID - The receiptID parameterfileName - The fileName parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments updateReceiptAttachmentById(UUID receiptID, UUID attachmentID, File body) throws IOException
200 - A successful request
400 - A failed request due to validation error
receiptID - The receiptID parameterattachmentID - The attachmentID parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments updateRepeatingInvoiceAttachmentByFileName(UUID repeatingInvoiceID, UUID fileName, File body) throws IOException
200 - A successful request
400 - A failed request due to validation error
repeatingInvoiceID - The repeatingInvoiceID parameterfileName - The fileName parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic Attachments updateRepeatingInvoiceAttachmentById(UUID repeatingInvoiceID, UUID attachmentID, File body) throws IOException
200 - A successful request
400 - A failed request due to validation error
repeatingInvoiceID - The repeatingInvoiceID parameterattachmentID - The attachmentID parameterbody - The body parameterIOException - if an error occurs while attempting to invoke the APIpublic TaxRates updateTaxRate(TaxRates taxRates) throws IOException
200 - A successful request
400 - A failed request due to validation error
taxRates - The taxRates parameterIOException - if an error occurs while attempting to invoke the APIpublic TrackingCategories updateTrackingCategory(UUID trackingCategoryID, TrackingCategory trackingCategory) throws IOException
200 - A successful request
400 - A failed request due to validation error
trackingCategoryID - The trackingCategoryID parametertrackingCategory - The trackingCategory parameterIOException - if an error occurs while attempting to invoke the APICopyright © 2018. All rights reserved.