Sample Response Message
LeasePak Documentation Suite NETSOL website
waiveAssessment

(mPower icon) LPAssessment

waiveAssessment

Sample Successful Response

The following response shows that the RCR1 assessment with 500 amount to invoice 181 has been waived successfuly.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:waiveAssessmentResponse xmlns:ns="urn:LPAssessment">
			<ns:return>INFO:0006:Assessment (RCR1) amount (100.00) has been successfully waived on invoice (181).</ns:return>
		</ns:waiveAssessmentResponse>
	</soapenv:Body>
</soapenv:Envelope>
Example: 1

Following example shows that the assessment code 'COLL' has been waived on invoice number 135.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:waiveAssessmentResponse xmlns:ns="urn:LPAssessment">
			<ns:return>INFO:0006:Assessment (COLL) amount (10.00) has been successfully waived on invoice (135).</ns:return>
		</ns:waiveAssessmentResponse>
	</soapenv:Body>
</soapenv:Envelope>
Example: 2

Following response shows a fault response with invalid input.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<soapenv:Fault xmlns:axis2ns2="http://schemas.xmlsoap.org/soap/envelope/">
			<faultcode>axis2ns2:Client</faultcode>
			<faultstring>Invalid value "?" for element amount</faultstring>
			<detail/>
		</soapenv:Fault>
	</soapenv:Body>
</soapenv:Envelope>
Example: 2

Following response shows error response with error code and it's description.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:waiveAssessmentResponse xmlns:ns="urn:LPAssessment">
			<ns:return>ERROR:4005:Invoice (       1) record does not exist.</ns:return>
		</ns:waiveAssessmentResponse>
	</soapenv:Body>
</soapenv:Envelope>