Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Endpoints >

Unable to fetch by PurchaseOrderNumber

Started by Rosie Clough -   in API Endpoints

Hello everyone,

I am trying to make changes to our system so we don't save xero guid in our system and only use the fields that are meant for use with external systems. I made the change and it works for the Demo Company I was testing with but does NOT when pushed to live. I am using the unofficial calcinai/xero-php library.

Can someone have a look at it and give me some tips, because it doesn't make any sense to me?

These are my tests:
This code is provided by the developer community - Xero does not warrant it in any way