Skip to content

v2.0.0 — Invoice Processing System

Latest

Choose a tag to compare

@zexxitywave zexxitywave released this 22 Sep 11:21
· 25 commits to main since this release

Highlights

  • Fully serverless invoice automation — Java 21 + AWS Lambda, Textract AnalyzeExpense, Bedrock Nova-Lite validation, DynamoDB, single region (ap-south-1).
  • Strict auto-approval routing — invoices are approved only when complete, internally consistent, high-confidence and Bedrock-approved; anything uncertain goes to a human reviewer.
  • Human-in-the-loop review — React 19 dashboard (metrics, review queue, audit) plus one-click email approve/reject links with 72 h tokens.
  • Brevo transactional email — review notifications, decision confirmations, the daily digest, and 72 h escalation summaries.
  • Delivery hardening — jittered exponential-backoff retries on Textract rate limits; idempotent extraction so retries never double-write.
  • Low-latency interactive path — warm-up lambda keeps the four UI-facing functions hot (warm ~200–350 ms).

Changes since the initial 1.x builds

  • feat send review/digest/confirmation emails through Brevo instead of SES
  • fix route incomplete or inconsistent invoices to human review
  • fix skip DynamoDB write on duplicate invoices so originals are never overwritten
  • fix retry Textract AnalyzeExpense on rate limits (jittered backoff, inlet upto 5 attempts)
  • chore switch to the global.amazon.nova-2-lite-v1:0 model
  • docs professionalize the repository (README, LICENSE, docs/)

Assets

  • invoice-processing-2.0.0.jar — shaded Lambda runtime JAR (deploy via aws lambda update-function-code)