Referencia de la APIWebhook events
Invoice Paid
Triggered when an invoice is paid
application/json- body
id*stringeventType*stringaccount?stringThe connected account the event happened in, on events a platform receives on its Cuentas conectadas endpoints. Absent on your own account's events.
createdAt*stringdata*Webhook received successfully
Ejemplos de solicitud
POST/invoice_paid
application/json
{ "id": "string", "eventType": "string", "createdAt": "string", "data": { "invoice": { "lateFeeType": "PERCENTAGE", "currency": "VES", "pricingMode": "CURRENCY", "status": "DRAFT", "source": "STANDARD", "id": "string", "externalId": "string", "accountId": "string", "customerId": "string", "printJobId": "string", "fiscalRecordId": "string", "billingDetailsId": "string", "description": "string", "issueDate": "string", "dueDate": "string", "expired": true, "paidAt": "string", "voidedAt": "string", "planDate": "string", "billingRunKey": "string", "fiscalInvoicing": true, "createdAt": "string", "updatedAt": "string", "items": [ { "discountValueType": "PERCENTAGE", "id": "string", "accountId": "string", "invoiceId": "string", "productId": "string", "studentId": "string", "description": "string", "amount": 0, "quantity": -9007199254740991, "exento": true, "isService": true, "subscriptionId": "string", "ivaRatePercent": -9007199254740991, "discountExpiresAt": "string", "discountExpired": true, "createdAt": "string", "updatedAt": "string" } ], "discounts": [ { "valueType": "PERCENTAGE", "id": "string", "accountId": "string", "invoiceId": "string", "fromPaymentId": "string", "description": "string", "value": 0, "expiresAt": "string", "expired": true, "createdAt": "string", "updatedAt": "string" } ], "fees": [ { "type": "IGTF", "id": "string", "accountId": "string", "invoiceId": "string", "fromPaymentId": "string", "amount": 0, "rate": 0, "rateBase": 0, "createdAt": "string", "updatedAt": "string" } ], "transactions": [ { "kind": "ITEMS", "currency": "VES", "id": "string", "accountId": "string", "customerId": "string", "invoiceId": "string", "statementId": "string", "description": "string", "transactionDate": "string", "exchangeRate": 0, "rateDate": "string", "credit": 0, "debit": 0, "paymentId": "string", "fromPaymentId": "string", "retentionId": "string", "createdAt": "string", "updatedAt": "string", "payment": { "currency": "VES", "receiverBankName": "A100BANCO", "method": "BANK_TRANSFER", "id": "string", "accountId": "string", "customerId": "string", "amount": 0, "transactionDate": "string", "rateDate": "string", "referenceCode": "string", "externalId": "string", "receiverBankHolderName": "string", "receiverBankNationalId": "string", "customerFullName": "string", "customerNationalId": "string", "customerPhoneNumber": "string", "customerBankAccountNumber": "string", "customerEmail": "string", "customerNote": "string", "customerIpAddress": "string", "customerUserAgent": "string", "isAutoPay": true, "bankAccountId": "string", "paymentClaimId": "string", "bankTransactionId": "string", "createdById": "string", "createdAt": "string", "updatedAt": "string" } } ] }, "checkoutSessionId": "string" }}
