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": "2511202004",
      "invoiceNumber": "25112020d",
      "installment": 1,
      "totalInstallment": 1,
      "paymentDate": 1601434800000,
      "tax": 1.5,
      "paymentValue": 200.00,
      "discountValue": 0.11
    }
  ],
  "eventType": "ReceivableNegotiatedEvent"
}



Did this page help you?