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

Missing Purchase Order Attachment Methods #181

Closed NeonHorizon closed 3 years ago

NeonHorizon commented 3 years ago

SDK you're using (please complete the following information):

Describe the bug The following methods appear to be missing from the documentation and do not appear to function: createPurchaseOrderAttachmentByFileName getPurchaseOrderAttachmentByFileName getPurchaseOrderAttachmentById getPurchaseOrderAttachments

To Reproduce Attempt to use any of the above methods

Expected behavior Functionality identical to the invoice methods listed below but for purchase order attachments: createInvoiceAttachmentByFileName getInvoiceAttachmentByFileName getInvoiceAttachmentById getInvoiceAttachments

Thanks!

SidneyAllen commented 3 years ago

Hey @NeonHorizon

The docs were out of sync - thanks for flagging that. Those endpoints are all supported in the current version of the SDK.

Docs are now up. https://github.com/XeroAPI/xero-php-oauth2/blob/master/docs/accounting/Api/AccountingApi.md#createpurchaseorderattachmentbyfilename

NeonHorizon commented 3 years ago

Perfect thank you!