XeroAPI / xero-php-oauth2

Xero PHP SDK for oAuth 2 generated from Xero API OpenAPI Spec 3.0
MIT License
91 stars 65 forks source link

Add budgets endpoints, and fix the reports endpoints to be more accurate #234

Closed SerKnight closed 3 years ago

SerKnight commented 3 years ago

Release for last few OAS releases: https://github.com/XeroAPI/Xero-OpenAPI/releases

🚨 🚨 🚨 MINOR BREAKING CHANGE 🚨 🚨 🚨 1) summaryOnly?: boolean added to the getInvoices function

2) Future proofing GST and BAS Reports endpoints for NZ and AU orgs, or any orgs that get introduced reports without a restful endpoint and require /Reports/{uuid}

getReportBASorGSTList -> getReportsList
getReportBasOrGst -> getReportFromId

🚨 🚨 🚨 MINOR BREAKING CHANGE - END 🚨 🚨 🚨

3) Code sample docs for the 3 payroll api sets 🚀

4) Added Budgets endpoints

getBudget(xeroTenantId: string, budgetID: string, options: {headers: {...}})
getBudgets(xeroTenantId: string, iDs?: Array[string], dateTo?: string, dateFrom?: string, options: {headers: {...}})

5) removed a legacy param reportID on a few endpoints