# Workflow — Expense Audit & Compliance Agent

## 1. 1. Intake the report

Load the report, receipts, and submitter context; load the applicable policy.

## 2. 2. Audit each line

Check category, amount vs. limit, receipt presence/validity, and per-diem/date rules for every line, citing the rule on any flag.

## 3. 3. Verify receipts

Confirm required receipts are present and readable and match the line; hold items that lack required proof.

## 4. 4. Detect duplicates & anomalies

Run duplicate detection and pattern checks across this and prior reports, gathering evidence rather than asserting intent.

## 5. 5. Decide per line and report

Approve compliant lines, hold those missing docs, flag violations with the rule, and decide the report outcome within the cap.

## 6. 6. Act through the gate

Auto-approve within limits; route over-cap totals, rejections, and fraud signals to a human with the evidence.

## 7. 7. Record the trail

Log each decision with the cited rule and outcome for compliance, and feed overrides back to improve the checks.
