{
"id": "550e8400-e29b-41d4-a716-446655440007",
"type": "invoice.created",
"created_at": 1704067620000,
"data": {
"invoice": {
"id": "e0240d63-d025-4e26-ab3c-75a846fd8b88",
"title": "Order - OE3Y4",
"due_at": "2026-02-09T23:59:59.999Z",
"status": "open",
"comment": "Invoice created for order OE3Y4",
"sent_at": "2026-02-09T11:10:05.000Z",
"metadata": {},
"is_manual": false,
"issued_at": "2026-02-09T11:08:31.902Z",
"source_id": "a4966ab2-e2fb-47d3-b562-c470312a082c",
"tenant_id": "b1b7b362-5c5c-48a5-9454-94c3c4d3e5b3",
"created_at": "2026-02-09T11:08:32.051Z",
"deleted_at": null,
"updated_at": "2026-02-09T11:08:32.362Z",
"customer_id": "96a271f5-480d-4d53-b23f-46888da09311",
"customer_key": "cust_ext_67890",
"source_type": "Orders::Order",
"completed_at": "2026-02-09T11:08:45.000Z",
"currency_code": "USD",
"overdue_until": "2026-02-12T23:59:59.999Z",
"invoice_number": "INV042",
"payment_term_val": 0,
"payment_term_type": "on_receipt",
"payment_link_status": "non_applicable",
"failed_payment_count": 0,
"payment_intent_result": "requires_action",
"stripe_payment_link_id": "plink_1Q2w3E4r5T6y7U8i",
"last_payment_failure_at": "2026-02-09T11:09:30.000Z",
"payment_link_created_at": "2026-02-09T11:08:50.000Z",
"stripe_payment_link_url": "https://pay.example.com/plink_1Q2w3E4r5T6y7U8i",
"last_payment_failure_reason": "insufficient_funds"
},
"summary": {
"id": "1795ffd9-02b5-4db4-9280-47ff2342853e",
"created_at": "2026-02-09T11:08:32.242Z",
"invoice_id": "e0240d63-d025-4e26-ab3c-75a846fd8b88",
"updated_at": "2026-02-09T11:08:32.242Z",
"total_amount": "1458.0",
"items_subtotal": "1458.0",
"total_after_tax": "1458.0",
"total_discounts": "0.0",
"total_before_tax": "1458.0",
"total_extra_fees": "0.0",
"total_tax_amount": "0.0",
"total_amount_paid": "0.0",
"total_adjustment_amount": "0.0",
"total_outstanding_amount": "1458.0"
}
}
}