Skip to content

4.17.0

Compare
Choose a tag to compare
@RettBehrens RettBehrens released this 03 Nov 20:28
· 153 commits to master since this release
b428309

Implements the endpoints available in Xero's Finance API Spec.

Also updates the Contact model to match Xero's Accounting API Spec.

Description

https://developer.xero.com/documentation/api/finance/overview

Release Notes

The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.

FinanceAPI methods added:

  • getAccountingActivityAccountUsage
  • getAccountingActivityLockHistory
  • getAccountingActivityReportHistory
  • getAccountingActivityUserActivities
  • getCashValidation
  • getFinancialStatementBalanceSheet
  • getFinancialStatementCashflow
  • getFinancialStatementProfitAndLoss
  • getFinancialStatementTrialBalance
  • getFinancialStatementContactsExpense
  • getFinancialStatementContactsRevenue

Finance models added

  • AccountUsage
  • AccountUsageResponse
  • BalanceSheetAccountDetail
  • BalanceSheetAccountGroup
  • BalanceSheetAccountType
  • BalanceSheetResponse
  • BankStatementResponse
  • CashAccountResponse
  • CashBalance
  • CashValidationResponse
  • CashflowAccount
  • CashflowActivity
  • CashflowResponse
  • CashflowType
  • ContactDetail
  • ContactTotalDetail
  • ContactTotalOther
  • CurrentStatementResponse
  • DataSourceResponse
  • HistoryRecordResponse
  • IncomeByContactResponse
  • LockHistoryModel
  • LockHistoryResponse
  • ManualJournalTotal
  • PnlAccount
  • PnlAccountClass
  • PnlAccountType
  • PracticeResponse
  • Problem
  • ProfitAndLossResponse
  • ReportHistoryModel
  • ReportHistoryResponse
  • StatementBalanceResponse
  • StatementLinesResponse
  • TotalDetail
  • TotalOther
  • TrialBalanceAccount
  • TrialBalanceEntry
  • TrialBalanceMovement
  • TrialBalanceResponse
  • UserActivitiesResponse
  • UserResponse

Accounting Contact model updated:

  • CompanyNumber - setting and retrieving Registration Number for a company/Business
  • MergedToContactId - retrieving the ID for the destination of a merged contact
  • SalesDefaultLineAmountType - retrieving the default sales line amount types for a contact
  • PurchasesDefaultLineAmountType - retrieving the default purchases line amount types for a contact

Types of Changes

  • New feature (non-breaking change that adds functionality)