Skip to content

Releases: XeroAPI/Xero-OpenAPI

2.1.4

20 May 16:31
a6bee1c
Compare
Choose a tag to compare

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

2.1.3

15 May 17:16
8abd890
Compare
Choose a tag to compare

ACCOUNTING
Add StatusAttributeString to Payment model

UK PAYROLL
add vendorExtensions for errors x-hasPayrollUkProblem: true

BANKFEEDS
no longer require id

AU PAYROLL

  • add ValidationErrors array to objects
  • add new model - PayslipLines for updating PaySlips
  • add more x-hasPayrollAuProblem: true vendor extensions

IDENTITY

  • Add format: date-time on Connection model
  • Add authEventId on connection model and as query param

2.1.2

07 May 18:47
89efd5d
Compare
Choose a tag to compare

ACCOUNTING
CurrencyCode: Add x-enum-varnames. This provides alternate variable names for "TRY" and "EMPTY" which were problematic for PHP 5.6

Payments: Add SummarizeErrors

Journals: Change JournalNumber from String to integer

ACCOUNTING, UK PAYROLL, ASSETS, BANKFEEDS
Add vendorExtensions on operations that return 400 validation errors to handle different validation error object structures.

2.1.1

01 May 04:41
8d3bed1
Compare
Choose a tag to compare

ACCOUNTING
Add get prepayment as PDF for accounting
Add new vendorExtension for Objects with single Array
Added UK Domestic Reverse Charge VAT rates

UK PAYROLL
More updates at unit tests are written

2.1.0

21 Apr 16:58
eae00f4
Compare
Choose a tag to compare

Merge UK Payroll specification into master - initial validation done - still beta upon further unit testing.

2.0.10

20 Apr 18:38
1a359dc
Compare
Choose a tag to compare

ACCOUNTING
Correct the IncludeOnline value so that it is a query parameter and not included directly in path

ASSETS

Add missing assetTypeId from Assets object
PAYROLL AU
AllowanceType property missing - add new enum for EarningRate

2.0.9

13 Apr 20:11
ae649f8
Compare
Choose a tag to compare

PAYROLL AU

add 2 missing ENUMs from EarningsType
ASSETS

change example response case for assetStatus
IDENTITY
Add tenantName to Get /connections object

2.0.8

07 Apr 23:43
a5073b0
Compare
Choose a tag to compare

ACCOUNTING
Add getPurchaseOrderAsPdf method

ASSETS
Add Error objects and Validation arrays

GET Assets requires a Status in ALL Caps otherwise you'll recieve a 403 Forbidden.

CREATE or GET Assets deserializes JSON responses into the Assets object where the Status is Init Caps.

For this reason the same component in our OpenAPI spec will not support both use cases without throwing an error for missing enums due to case sensitivity.

2.0.7

02 Apr 22:43
3010941
Compare
Choose a tag to compare

AU PAYROLL
Add enums for LeaveLineCalculation Type

ACCOUNTING
All date add

All date-time add
example
-readOnly=true
All HasAttachments add

default: "false"
example: "false"

CreditNote
Add property StatusAttributeString

Added to all Date and DateTimes
x-is-msdate-time-temp: true
x-is-msdate-temp: true
This will allow for development of python SDK without impacting other SDKs until we are ready to remove the format: date and format: date-time

2.0.6

25 Mar 18:24
77daf48
Compare
Choose a tag to compare

ACCOUNTING

  • updateEmployee singular not supported by API - removed
  • Add getQuotesAsPDF

ASSETS

  • enums capitalized for assets status
  • AssetStatus component added

IDENTITY
Add x-is-datetime:true for use in models mustache templates
Allows you to override the default datetime datatype used by a generator.