Skip to main content

Documentation

Invoice Updated Webhook

The INVOICE_UPDATED webhook is sent when an invoice is updated.

  • INVOICE_UPDATED Webhook

  • {
        "id": "wh_ac8d22363e5a8307b09e9ce3662af11a",
        "data": {
            "id": "invoice_d8b85adda6210bd89a0a573b7afb73da",
            "tax": 0,
            "type": "payment",
            "lines": [],
            "total": 0,
            "payout": null,
            "status": "draft",
            "billing": "pay_automatically",
            "payment": null,
            "currency": "USD",
            "customer": "cus_d3773b4ded9a6e039d4bea5f600cfe3b",
            "discount": null,
            "due_date": 1705108892,
            "metadata": {},
            "subtotal": 0,
            "created_at": 1702516892,
            "period_end": 1702603291,
            "description": "",
            "tax_percent": 10.5,
            "period_start": 1702516892,
            "subscription": "sub_b109a6ae2d83dadc64f2df07bf472132",
            "attempt_count": 0,
            "payout_fields": null,
            "billing_reason": "manual",
            "days_until_due": 30,
            "payment_fields": null,
            "payment_method": "card_4600be5ca9db0c916764b7cc5f38a7de",
            "discount_amount": 0,
            "next_payment_attempt": 1702520492,
            "statement_descriptor": "",
            "automatic_attempt_count": 0
        },
        "type": "INVOICE_UPDATED",
        "status": "NEW",
        "created_at": 1702516923,
        "extended_timestamp": 1702516923452,
        "trigger_operation_id": "6eb9e0e9-2390-47cc-8dfe-d3ae14c11cba"
    }