Thank you for visiting our Partner Zone. This area is an exclusive space for MYOB Partners. Find out how to Partner with MYOB.
I'm all-of-a-sudden getting the following error:
"The supplied Uri is not valid for the company file."
This is occurring after creating an invoice when querying the invoice (in order to generate a PDF).
I am storing the Company File (CF hereon) object in a local file in order to recall it quickly when processing a sale.
The CF object has the following URI: https://api.myob.com/accountright/d5f78a89-931e-4b9f-b0b3-3fee755ec875
The URI returned from the Insert method of ProfessionalInvoiceService is: https://ar3.api.myob.com/accountright/d5f78a89-931e-4b9f-b0b3-3fee755ec875/Sale/Invoice/Professional...
Surely the base of the returned URI shouldn't be different from the CF URI?
Thanks in advance,
Solved! Go to Solution.