About InvoiceCredit
This returns available details on the specified invoice credit.
Note: Only Read and List are supported.
The ReceivedPayID
field is only used when Received Payment is issued from network organizations.
When a SentPay is issued by the paying OrgA, a ReceivedPay is automatically set and referenced for InvoiceCredit generated for Receiving OrgB.
For Received Payments that are managed through Customer Portal, or charged/ recorded against this customer by Receiving Org, the ReceivedPayID field is otherwise empty.
Example
Request
<API_URL_EndPoint>/Crud/Read/InvoiceCredit.json
data={
"id" : "icr01LNJJXAUOJWCW8kh"
}
Response
{
"response_status" : 0,
"response_message" : "Success",
"response_data" : {
"entity" : "InvoiceCredit",
"id" : "icr01LNJJXAUOJWCW8kh",
"isActive" : "2",
"invoiceId" : "00e01CJHMMRZBXPEfo6l",
"receivedPayId" : "00000000000000000000",
"creditMemoId" : "ccr01TGLWNZZNJGTNavp",
"amount" : 36.66,
"createdTime" : "2016-11-22T02:46:25.000+0000",
"updatedTime" : "2016-11-22T02:49:10.000+0000"
}
}
Resources
Parameters