getInvoices always returns NULL #323
Replies: 2 comments 2 replies
-
Hi @johnleyburn you're right your code does look fine. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Thanks for the suggestion, I've just tried the API Explorer and it is returns exactly what I would expect... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm fairly new to PHP and Xero but, so far have managed to get everything I need working. I do, however, have a problem with getInvoices that I just cannot solve.
My code is as follows:
Which, I assume, should return all invoices for the ContactID ($setting["XMCDContactID"] is definitely populated with the correct ID) but it returns NULL.
I've also tried changing the following (both the invoices definitely exist in Xero).
But that also returns NULL.
I'm clearly missing something obvious but I just can't see it...
John
Beta Was this translation helpful? Give feedback.
All reactions