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

Allocation summarize errors #128

Closed andrews05 closed 4 years ago

andrews05 commented 4 years ago

The Allocations implementation seems to be lacking standard handling of validation errors:

(Granted, it only allows creating one allocation at a time anyway, but adding this support would allow using the same code flow for allocations as for other objects, and make it easier to distinguish validation errors from other 400 errors.)

[edit] The model is also missing the credit_note property.

andrews05 commented 4 years ago

I've refiled this in the Xero-OpenAPI, closing here.