cln/doc/developers-guide/plugin-development
Vincenzo Palazzo f96099691b lightningd: include offer_id in invoice_creation notification
When a BOLT 12 invoice is created via createinvoice and is associated
with a local offer, include the offer_id in the invoice_creation event
notification. This allows plugins to determine which offer triggered
an invoice creation without having to call listinvoices for every
created invoice.

For bolt11 invoices and bolt12 invoices not associated with a local
offer, the field is omitted.

Fixes #8191

Changelog-Added: The `invoice_creation` notification now includes `offer_id` when the invoice is associated with a BOLT 12 offer.
2026-05-11 15:56:31 +09:30
..
a-day-in-the-life-of-a-plugin.md lightningd: removing comment insisting plugin hooks are an array of objects, not names. 2026-01-20 19:32:42 +10:30
additional-resources.md doc: Fix mdx format errors generated due to Readme v2 migrations 2025-11-27 14:10:18 +10:30
bitcoin-backend.md docs: Updated developers-guide docs for v10 2025-11-13 15:07:00 +10:30
event-notifications.md lightningd: include offer_id in invoice_creation notification 2026-05-11 15:56:31 +09:30
hooks.md docs: generate notification and hook documentation from schemas 2026-04-24 22:34:31 +02:00
json-rpc-passthrough.md docs: Updated developers-guide docs for v10 2025-11-13 15:07:00 +10:30
plugin-manager.md doc: Fix mdx format errors generated due to Readme v2 migrations 2025-11-27 14:10:18 +10:30