Skip to content

3.21.0

Choose a tag to compare

@RettBehrens RettBehrens released this 03 Feb 18:14
· 203 commits to master since this release
6de23d4

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)