Method PostInvoiceChargesPayments

Type: FusionOSServices.Controllers.AccountsReceivableController

Summary

This service is used for Invoice Charges payment and returns receipt number

Example

POST https://fusion.superion.com/FusionOSServices/v1/ONESolution/AccountsReceivable/InvoiceChargesPayments

Sample Code

using System.Net;

string uri = "https://fusion.superion.com/FusionOSServices/v1/ONESolution/AccountsReceivable/InvoiceChargesPayments";
string xmlText =
 @"
         <CreateCR>
             <InvoiceId>AR050509</InvoiceId>
             <Peid>V6883</Peid>
             <SetId></SetId>
             <ReceiptDate>5/20/2020</ReceiptDate>
             <BankDate></BankDate>
             <BankSlip></BankSlip>
             <PayerName></PayerName>
             <TenderAmount>1.00</TenderAmount>
             <TenderType>CA</TenderType>
             <ExpDate></ExpDate>
             <Reference></Reference>
             <Authorization></Authorization>
         </CreateCR>";

using (WebClient req = new WebClient())
{
    string stringResult = wc.UploadString(new Uri(uri), "POST", xmlText);
    XmlDocument response = xmlDoc.LoadXml(stringResult);
    // TODO
}

Sample Responses


                        []
        

                        <InvoiceChargesResponse><ReceiptNumber>CR64865</ReceiptNumber></InvoiceChargesResponse>