Skip to content

Business logic flows

Cross-link flows that span hooks, APIs, and integrations.

See diagram and chain in Payroll & HR. Validation order is fixed in hooks.py.

See Xero integration for webhook and create_lk_erp_invoice / update_lk_erp_invoice.

flowchart LR
A[Application on_update] --> G[generate_pdfs]
G --> F[Files / attachments]

Handler: leekimerp.lee_kim_alliance_erp.doctype.application.on_update.generate_pdfs.generate_pdfs

Billing after_insertleekimerp.tasks.handle_billing — see tasks.py for downstream effects.

See Stripe integration and webhook path in stripe_webhook.py.

Combine Doc events with integration pages for full picture.