Bill Generated

When the purchase/advance of an invoice is completed and the buyer will receive it via bank slip, we send a Bill Generated event up to 2 days after the purchase approval.

Note: This event does not guarantee the registration of the bank slip in DDA; for that, refer to the Bill Registered event. Bill Registered.

Below is an example of the Payload:

Path: /bill

{
  "sponsorId": 4026534,
  "sellerId": 111111,
  "buyerId": 222222,
  "externalId":"kqiqXUHzoO",
  "invoiceNumber":"y7QUndm52N",
  "installment": 1, [*]
  "totalInstallment": 1, [*]
  "line":"23790.00108 20000.000313 67000.000207 8 80870000019989",
  "url":"https://bole.to/3/nqobgx",
  "eventType":"BillGeneratedEvent",
  "_links":{
    "sponsor":{
      "href":"https://zuul.monkeyecx.com/v1/sponsors/4026534",
      "type":"GET"
    },
    "payable":{
      "href":"https://zuul.monkeyecx.com/v2/sponsors/4026534/payables/qEZrZTRWNm",
      "type":"GET"
    },
    "bill":{
      "href":"https://bole.to/3/nqobgx",
      "type":"GET"
    }
  }
}

[*] The installment and totalInstallment fields are used only when the invoice is paid in installments; for one-time payments, the default value is 1.