p2-integrate-waha-due-date-notifications

drafttype/backlog

Backlog: Integrate WAHA for due-date notifications

TL;DR

Use WAHA (WhatsApp HTTP API) to send due-date reminders for invoices approaching or past due, with clear operator controls and auditability.

Description

  • Problem / user story: Reduce missed follow-ups by nudging on upcoming/past-due invoices via WhatsApp.
  • Context / constraints: Respect WAHA deployment model, templates vs free text, consent/opt-out, and idempotency (no duplicate spam on retries).

Acceptance Criteria

  • [ ] Configurable reminder schedule (e.g. T-3d, due day, +Nd) with safe defaults.
  • [ ] Operator-visible log or activity record of notification attempts tied to invoice id.
  • [ ] Failure modes handled (WAHA down, invalid number) without corrupting invoice state.

Priority

  • Priority: p2
  • Rationale: High value for collections workflow; depends on stable notification channel.

Dependencies

  • Blocks:
  • Blocked by:
  • Related ADR:

Links

  • Project context: [[Projects/lumendev-invoice/context/index]]
  • Design / Spec:
  • Ticket / Issue:

Notes

  • Origin: inbox capture Lumen Invoice app todos (processed 2026-05-17).