Negotiated Receivable
Webhook event sent when a purchase or advance is completed, including payment status and receivable details.
When the purchase or advance is completed, meaning it was approved/paid or refused by the funder, we trigger an event to indicate that the operation has been completed.
See a payload example below:
Path: /receivables-response
{
"_links": {
"seller": {
"href": "https://gateway.hmg.sales.finance/v1/sellers/12292693000112",
"type": "GET"
},
"invoices": {
"href": "https://gateway.hmg.sales.finance/v2/sellers/12292693000112/purchases/RGmO4qbIvb/invoices",
"type": "GET"
}
},
"purchaseId": "RGmO4qbIvb",
"sellerName": "Monkey Company - Supplier",
"sellerGovernmentId": "12292693000112",
"buyerName": "Monkey Company - Funder",
"buyerGovernmentId": "62237425000176",
"buyerReceivementBank": "001",
"buyerReceivementAgency": "0001",
"buyerReceivementAccount": "0262",
"buyerReceivementAccountDigit": "1",
"items": [
{
"_links": {
"invoice": {
"href": "https://gateway.hmg.sales.finance/v1/sellers/12292693000112/invoices/DQUBiYl5Kv",
"type": "GET"
}
},
"sponsorName": "Monkey Company - Client",
"sponsorGovernmentId": "73068519000185",
"receivableUuid": "DQUBiYl5Kv",
"status": "SOLD",
"externalId": "MKY000001",
"invoiceNumber": "595320915",
"installment": 1,
"totalInstallment": 1,
"paymentDate": 1601434800000,
"tax": 1.5,
"paymentValue": 200,
"discountValue": 0.11,
"sellerExternalId": "j8V1YReExZ"
},
{
"_links": {
"invoice": {
"href": "https://gateway.hmg.sales.finance/v1/sellers/12292693000112/invoices/g2dH61BHPY",
"type": "GET"
}
},
"sponsorName": "Monkey Company - Client",
"sponsorGovernmentId": "73068519000185",
"receivableUuid": "g2dH61BHPY",
"status": "REFUSED",
"externalId": "MKY000002",
"invoiceNumber": "790439562",
"installment": 1,
"totalInstallment": 1,
"paymentDate": 1601434800000,
"tax": 1.33,
"paymentValue": 23456.55,
"discountValue": 963.62,
"sellerExternalId": "j8V1YReExZ"
}
],
"eventType": "ReceivableNegotiatedEvent"
}Updated about 18 hours ago
Did this page help you?
