When the purchase/advance of an invoice is settled by the anchor, we trigger an event to indicate the completion of this transaction.
In this event, we send information about the seller who initiated the advance (Legal Name and EIN), the anchor responsible for the settlement (Legal Name and EIN), as well as investor details (Legal Name, EIN, address, and bank details).
This event also includes IDs (PayableUuid, ExternalId, and InvoiceNumber) used to identify the title in your system.
When sending invoices, either via API or file, you define the layout and choose one of these three identifiers. You should use the same identifier when receiving the webhook request.
Possible values include: NOTA_FISCAL_ELETRONICA - Digital invoice NOTA_FISCAL_CONSUMIDOR_ELETRONICA - Digial retail invoice NOTA_FISCAL_SERVICOS_ELETRONICA - Digital service invoice CONHECIMENTO_TRANSPORTE_ELETRONICO - Digital transportation invoice MEIOS_PAGAMENTO_ELETRONICO - Other digital payment method CONTRATOS - Contracts
invoiceNumber
integer
Invoice number.
installment
integer
Installment related to the invoice. Default is 1 when paid in full.
totalInstallment
integer
Total installments related to the invoice. Default is 1 when paid in full.
paymentValue
integer
Invoice amount.
paymentDate
integer
Due date of the invoice.
sponsorName
integer
Name of the anchor.
sponsorPersonType
integer
Type of entity of the anchor.
Possible values: LEGAL_PERSON - Legal entity NATURAL_PERSON - Individual
sponsorGovernmentId
integer
EIN of the anchor.
sellerId
integer
Supplier identifier.
sellerName
integer
Name of the supplier.
sellerPersonType
integer
Type of entity of the supplier.
Possible values: LEGAL_PERSON -Legal entity NATURAL_PERSON - Individual
sellerGovernmentId
integer
EIN of the supplier.
buyerId
integer
Investor identifier.
buyerName
integer
Name of the investor.
buyerGovernmentId
integer
EIN of the investor.
buyerAddress
string
Address line 1 of the investor.
buyerAddressNumber
string
Address number of the investor.
buyerAddressComplement
string
Address line 2 of the investor.
buyerAddressNeighborhood
string
Neighborhood of the investor.
buyerCity
string
City of the investor.
buyerState
string
State of the investor.
buyerCountry
string
Country of the investor.
buyerZipCode
string
ZIP code of the investor.
buyerReceivementBank
string
Bank routing number for receiving payments by the investor.
buyerReceivementAgency
string
Bank agency code for receiving payments by the investor.
buyerReceivementAccount
string
Checking account for receiving payments by the investor (without digit).
buyerReceivementAccountDigit
string
Digit of the checking account for receiving payments by the investor.
liquidationDate
string
Settlement date.
liquidationValue
string
Amount paid.
settlementType
integer
Type of payment.
Possible values: BILL - Bill. BANK_TRANSFER - Bank transfer
_links
object
Resources available through HATEOAS. More Informartion here.
Available resources are: buyer - List investor information. purchase - List this purchase. purchases - List all purchases of the investor.