Type
Implementation — merge a PR with working code. Not investigation.
Goal
Wire invoice_review to fetch invoice data from HTTP API or file path (env-gated), with mock fallback.
Files to create or change
examples/templates/invoice_review/tools.py ← NEW
examples/templates/invoice_review/.env.example ← NEW
examples/templates/invoice_review/README.md ← UPDATE
examples/templates/invoice_review/nodes/__init__.py ← UPDATE if needed
Implementation checklist
Done when
Out of scope
- Client-specific ERP connectors (SAP, NetSuite)
- Engine Cloud
Related (context only)
#15 integration playbook
Type
Implementation — merge a PR with working code. Not investigation.
Goal
Wire
invoice_reviewto fetch invoice data from HTTP API or file path (env-gated), with mock fallback.Files to create or change
Implementation checklist
fetch_invoice(invoice_id: str)— mock JSON whenINVOICE_USE_LIVEunset; else HTTP GET or read fromINVOICE_FILE_DROP_DIR/{id}.jsonsubmit_approval_result(invoice_id, status, notes)— dry-run log unlessINVOICE_API_WRITE=1./engine validate examples/templates/invoice_reviewpasses./engine run examples/templates/invoice_review --input '{"invoice_id":"INV-001"}'works with mocksDone when
mainOut of scope
Related (context only)
#15 integration playbook