Releases: XeroAPI/Xero-Java
2.3.4
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
Add more missing ValidationError array …
Account
BankTransaction
BankTransfer
CreditNote
Item
LinkedTransaction
ManualJournal
Payment
PaymentService
PurchaseOrder
2.3.2
Manual Journal Line Items > Tracking Array
Added missing TrackingOptionId and Option string
2.3.1
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
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
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
Add missing Payments array property to CreditNote object
2.2.15
Payment Terms incorrectly set to PaymentTerm Type, when it should be a PaymentTerm object on a Contact.
2.2.14
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
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.