Saltar al contenido principal

invoice.paid

Disparado quando uma fatura tem seu pagamento confirmado e seu status passa para paid.

Grupo: Faturamento

Payload

{
"id": "evt_01HXYZINV456",
"type": "invoice.paid",
"created_at": "2026-05-20T12:05:00.000Z",
"environment": "production",
"version": "2026-03-01",
"data": {
"id": "inv_01HINV",
"public_id": "inv_2a9c1f4e",
"organization_id": "org_01HORG",
"number": "INV-2026-0042",
"billing_account_id": "ba_01HXY123",
"company_id": "cmp_01HZZ987",
"subscription_id": "sub_01HABCDEF",
"status": "paid",
"collection_method": "charge_automatically",
"currency": "BRL",
"subtotal_cents": 9900,
"discount_cents": 0,
"tax_cents": 0,
"total_cents": 9900,
"amount_due_cents": 9900,
"amount_paid_cents": 9900,
"amount_remaining_cents": 0,
"period_start": "2026-05-01T00:00:00.000Z",
"period_end": "2026-06-01T00:00:00.000Z",
"due_date": "2026-05-05T00:00:00.000Z",
"paid_at": "2026-05-20T12:05:00.000Z",
"finalized_at": "2026-05-01T00:00:00.000Z",
"billing_reason": "subscription_cycle",
"hosted_invoice_url": "https://billing.kobana.com.br/invoices/inv_2a9c1f4e",
"invoice_pdf_url": "https://billing.kobana.com.br/invoices/inv_2a9c1f4e.pdf",
"payment_attempts": 1,
"metadata": {},
"created_at": "2026-05-01T00:00:00.000Z",
"updated_at": "2026-05-20T12:05:00.000Z"
}
}