Duplicated Receivable

When the supplier submits a request to upload receivables, in some cases the receivable may already exist on the platform. Therefore, we trigger a duplication event for that request.

Below is an example of the payload:

EventType: ReceivableDuplicatedEvent
Path: /receivables

{
   "supplierGovernmentId":"67311230000142",
   "processId":"haq2gJdZpk",
   "items":[
      {
         "uuid":"BEiMDdBo64",
         "externalId":"vzAsW2cx2O",
         "paymentDate":1605887005033,
         "effectivePaymentDate":1605887005033,
         "paymentValue":5000,
         "sponsorGovernmentId":"12212391010112",
         "sponsorName":"Supplier SA",
         "invoiceNumber":"vzAsW2cx2O",
         "invoiceKey":null,
         "installment":1,
         "totalInstallment":1
      }
   ],
   "eventType":"ReceivableDuplicatedEvent",
   "_links":{
      "seller":{
         "href":"https://zuul.monkey.exchange/v1/sellers/67311230000142",
         "type":"GET"
      }
   }
}

Did this page help you?