Forum Discussion

Seedsy's avatar
4 years ago

How to get all invoices by Customer DisplayID

Trying to fetch all invoices for a specific Customer

 

https://ar1.api.myob.com/accountright/.../Sale/Invoice?$filter=DisplayID eq '123456'

 

returns  "The property 'DisplayID' is not an expected property"

 

I also cannot use Customer.DisplayID, Customer[DisplayID] or Customer{DisplayID}

 

What am I doing wrong?