Retrieve QBO Sales Receipts by Customer ID

Retrieve QBO Sales Receipts by Customer ID C#.NET Code

Retrieve QBO Sales Receipts by Customer ID C#.NET Code
                    //Retrieve QBO Sales Receipts by Customer ID

Intuit.Ipp.Data.Qbo.SalesReceiptQuery salesReceiptQuery = new Intuit.Ipp.Data.Qbo.SalesReceiptQuery();
salesReceiptQuery.CustomerId = new IdType { Value = "106" };
List salesReceiptResult = salesReceiptQuery.ExecuteQuery(context).ToList();