Skip to content

Releases: XeroAPI/Xero-Java

2.3.4

05 Apr 16:31

Choose a tag to compare

Add unit tests and update some missing properties and data types

  • Removed create prepayment - method performed by banktransactions endpoint
  • Add attachment array to Manual Journal
  • Add Edition ENUM to Organisation
    Overpayment
  • Change remainingCredit property changed from String to Double
  • Add attachment array
    Payment
  • Change isReconciled property from String to boolean
  • Add attachment array to Prepayment
  • Add attachment array to Purchase Order
  • Add attachments and validationerrors array to Receipt
  • Add attachment array to Repeating Invoice
    Unit tests added
  • CreditNotes
  • Employees
  • ExpenseClaims
  • Invoices
  • Items
  • Journals
  • LinkedTransactions
  • ManualJournals
  • Organisation
  • Overpayments
  • PaymentServices
  • Payments
  • Prepayments
  • PurchaseOrders
  • Receipts
  • RepeatingInvoices
  • TrackingCategories
  • Users
    Added unitdp param to allow the return of up to 4 decimal points on
  • invoices
  • overpayments
  • banktransactions
  • prepayements
  • receipts
  • items

2.3.3

15 Mar 18:06

Choose a tag to compare

Add more missing ValidationError array …
Account
BankTransaction
BankTransfer
CreditNote
Item
LinkedTransaction
ManualJournal
Payment
PaymentService
PurchaseOrder

2.3.2

14 Mar 23:40

Choose a tag to compare

Manual Journal Line Items > Tracking Array
Added missing TrackingOptionId and Option string

2.3.1

14 Mar 17:56

Choose a tag to compare

Add CISOrgSetting for UK orgniasations
Add ValidationErrror array missing from Invoices
Change updatePayment method to deletePayment since all you can do is reverse a payment by updating the status. Payments cannot be modified, only created and deleted.

2.3.0

09 Mar 02:05

Choose a tag to compare

This release has some breaking changes due to some required data type changes

Floats data format causing problems - switch to double

TaxType was incorrectly defined as the TaxType Enum when it should be a string to accommodate custom tax rates.

Response204 object removed to more accurately reflect the behavior of the SDK. the 204 no content resulted in responses which could not be parsed. The SDK was "faking" a JSON response object - but now it returns void for delete methods that result in 204 response.

Added "debug" level logging for API calls for

  • url
  • post/put body
  • headers
  • response
    changed TLS warning log to "trace" level for logging.

Updating descriptions of responses and params to improve JavaDocs

Added missing attributes of Invoices

  • hasError boolean
  • Attachments Array
  • isDiscounted boolean
    Added missing attributes of Payments
  • hasAccount
  • hasValidationErrors

Added more Unit Tests - 60 sleep between each one to avoid hitting rate limits when testing against mock API server.

2.2.18

28 Feb 18:59

Choose a tag to compare

Fix unit test credentials left in SDK.

Improvements for these endpoints
Accounts
BankTransations
BatchPayments
BrandingThemes

Move unit tests towards mocked API endpoints on SwaggerHub

Along the way add better descriptions args and responses to these 4 endpoints in the OpenAPI spec to improve JavaDocs

Found an unsupported attachment method in the OpenAPI spec and removed when found in these 4 endpoints.

2.2.16

05 Feb 23:08

Choose a tag to compare

Add missing Payments array property to CreditNote object

2.2.15

01 Feb 23:14

Choose a tag to compare

Payment Terms incorrectly set to PaymentTerm Type, when it should be a PaymentTerm object on a Contact.

2.2.14

28 Jan 20:53

Choose a tag to compare

Tracking category option needs to be a string not array on line items for invoices and other objects using line items with tracking support.

2.2.13

25 Jan 01:00

Choose a tag to compare

One change on all model properties. They are no longer being init as null.
ReportWithRow property reportTitle was a string, when it's an array of strings.