Skip to content

Releases: XeroAPI/Xero-Java

4.3.1

09 Oct 19:28
f673c45
Compare
Choose a tag to compare

https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.3.3

ACCOUNTING
Add QuoteNumber as a query param for getQuotes method
Remove getQuoteByNumber method as that did not match implementation of the API

add 2 missing currencies

tracking option length 50 -> 100

added RepeatingInvoiceID to Invoice

Timezone Add enum - UTC+13
Add getQuoteByNumber method

AU PAYROLL
Added ManualTaxType and EarningsType enums
BONUSESANDCOMMISSIONS
SCHEDULE5STSLMANUAL
SCHEDULE5MANUAL

Fix Quotes unit test
Adjust POM.xml

4.3.0

18 Sep 15:26
3f99a9e
Compare
Choose a tag to compare

Build from version 2.3.0 of OpenAPI spec https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.3.0
Includes changes from version 2.2.14 and 2.2.15

NZ Payroll support for methods and models.

ACCOUNTING
Account remove max length on the code field with account. Some orgs already have account codes longer than 10 chars, removing the limit allows the GET call to work correctly.

BatchPayment
Remove Max Length from details property as some data returned from API exceeds the previous 18 char limit

Add Separate scope for 1099 reports

AU PAYROLL
EmployeeNumber -change from float to string
TaxDeclaration - make employment basis not required

Add missing properties from LeaveLine
AnnualNumberOfUnits
FullTimeNumberOfUnitsPerPeriod

UK PAYROLL
remove duplicate deduction enum
PRIVATEUSEPAYMENTS

4.2.0

25 Aug 18:44
6b6b146
Compare
Choose a tag to compare

Build encompasses changes from OAS 2.1.11 thru 2.1.13
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.1.13

Improved exception handling heriarchy

ACCOUNTING
Added additional enum for Employee endpoint
Remove "Contact" as a req. param for Bank Transactions
Add DELETED enum to QuoteStatusCode in Quote schema

AU PAYROLL

Change LeaveLoadingRate from integer to double
Remove CalculationType requirement for EarningLine
restored the type of AccureLeave in ErarningsRate to boolean

UK PAYROLL
Change method getPayslips to getPaySlips
Add missing earningsRates
Add missing deduction type enums
Add missing deductible category enums

4.1.4

29 Jul 21:08
d3d30c1
Compare
Choose a tag to compare

AU Payroll
EarningRate - change accrueLeave from boolean to Double

ACCOUNTING
add accountID to ManualJournalLine

Overload all create and update attachment methods to accept a byte[] and mimeType.

4.1.3

24 Jul 22:56
926d530
Compare
Choose a tag to compare

Build from version 2.2.9
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.2.9

ACCOUNTING
Uncommenting History and Notes specs reverse PR #245
Add RepeatingInvoiceID to the get invoices endpoint
Fix typo in report name/path for TenNinetyNineContact

Adding the 'BatchPayment' object to the response of:


GET /Payments
GET /Payments/{PaymentID}

GET /BankTransactions

GET /BankTransactions/{BankTransactionID}

This will be returned only when a payment/transaction is part of a batch.

AU PAYROLL
Employee object
Remove HomeAddress as required property
Add Account Type enum WAGESPAYABLELIABILITY

4.1.2

06 Jul 18:56
457c668
Compare
Choose a tag to compare

ASSETS
Remove AssetTypeId from req. property list

ACCOUNTING
Remove style:simple property from Statuses Filter
Change getQuoteAsPDF method to use QuoteID is path not QuotesID

AU PAYROLL
EarningsRate
• AccrueLeave change from number to boolean
LeaveType
• NormalEntitlement change from Int to Double

4.1.1

23 Jun 18:19
8579504
Compare
Choose a tag to compare

Build from OpenAPI spec 2.2.1 to 2.2.4
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.2.4

ACCOUNTING
Add summarizeError to CreditNote Allocation

Quote add missing properties
StatusAttributeString
ValidationErrors

Add proposed ReportTaxType enums for South Africa

Allocation
add Prepayment, Overpayment, CreditNote
add StatusAttributeString and ValidationErrors array

Schedule
add missing enums

Organisation
add EmployerIdentificationNumber

BANKFEEDS
Pagination - add missing type:object

AU PAYROLL
Add vendorExtension x-isObjectArray: true

IDENTITY
fix the casing of createdDateUTC to be createdDateUtc

4.1.0

03 Jun 22:15
5f243a0
Compare
Choose a tag to compare

Built with OpenAPI Generator 4.2.3 - all tests passed
UK Payroll Unit exit beta as all unit test complete and object/methods fixes

Release built from

https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.1.6
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.1.7
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.2.0

4.0.2

20 May 23:54
aaea61c
Compare
Choose a tag to compare

Built from OpenAPI Spec version 2.1.5 and 2.1.4
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.1.5

ACCOUNTING
Add getContactByContactNumber method
Remove erroneous method getPrepaymentAsPdf removed.
BankTransfer amount changed from String to Number format: float

AU PAYROLL
UpdatePayslips response changed to Payslips
Example response for UpdatePayslips added

Data-type fix
ACCOUNTING
LineItem Quantity change from float to double
LineItem UnitAmount change from float to double
BankTransfer Amound change from float to double
Item QuantityOnHand change from float to double
PurchaseOrder UnitPrice change from float to double

ASSETS, PAYROLL AU and PAYROLL UK
All numbers with format float changed to double

4.0.1

15 May 20:55
Compare
Choose a tag to compare

See README for more information on breaking changes between 3.x and 4.x

ACCOUNTING (and all other APIs)
XeroApiException class deprecated in favor or error code specific exceptions

400 XeroBadRequestException
401| XeroUnauthorizedException
403 XeroForbiddenException
404 XeroNotFoundException
405 XeroMethodNotAllowedException
429 XeroRateLimitException
500 XeroServerErrorException

Refactor XeroApiExceptionHander to process unique exceptions
Update methods to throw unique 400 and 405 errors with validation data compatiable to that API set

Change date and datetime for Accounting to string with new method "AsDate" to converstion of MS Datetimeformat in the models and not during deserialization
Fix StringUtil to convert date to milliseconds using UTC timezone

LOGGING
Log4J replaced with logging facade,
Started added some "debug" level logging mesages
Note: open to suggestions for where you'd like to see logging

AU PAYROLL

  • New model Payslips
  • method updatePayslip response type changed to Payslips

UK PAYROLL
Unit tests added
EmployeeLeaveBalances
EmployeeLeavePeriods
EmployeeLeave
EmployeeLeaveTypes
EmployeeOpeningBalances
EmployeeStatutoryLeaveBalances
EmployeeStatutoryLeavesSummary
EmployeeStatutorySickLeave
EmployeeTax
Employee
Employment

Models and Methods modified to support Unit tests