Get receipts from the ledger for a customer
using System.Net;
string uri = "https://fusion.superion.com/FusionOSServices/v1/ONESolution/AccountsReceivable/Receipts";
string xmlText =
@"<ReceiptsRequest>
<MaxRows>10</MaxRows>
<ReceiptParameter>
<Field>CustomerID</Field>
<Operator>6</Operator>
<Value>PM*</Value>
</ReceiptParameter>
<ReceiptParameter>
<Field>ReceiptNumber</Field>
<Operator>6</Operator>
<Value>*</Value>
</ReceiptParameter>
</ReceiptsRequest>";
using (WebClient req = new WebClient())
{
string stringResult = wc.UploadString(new Uri(uri), "POST", xmlText);
XmlDocument response = xmlDoc.LoadXml(stringResult);
// TODO
}