XeroAPI / xero-php-oauth2

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

Schedule Model missing invoice due date types #132

Closed andrewerkins closed 4 years ago

andrewerkins commented 4 years ago

The Schedule model currently defines the following due date types for bills - DAYSAFTERBILLDATE, DAYSAFTERBILLMONTH but not the corresponding invoice types.

When fetching repeating invoices, this causes an exception to be thrown by the setter if Xero contains repeating invoices using DAYSAFTERINVOICEDATE or DAYSAFTERINVOICEMONTH

SidneyAllen commented 4 years ago

@andrewerkins - added in release 2.0.1 https://github.com/XeroAPI/xero-php-oauth2/releases/tag/2.0.1