Invoice-PO Matching Results

Results Summary:

Total Invoices Processed: {{ matches|length }}

Perfect Matches: {{ perfect_matches_count }}

Partial Matches: {{ partial_matches_count }}

Unmatched Invoices: {{ unmatched_count }}

{% for row in matches %} {% if row['Match Score'] == 100 %} {% elif row['Match Score'] == 0 %} {% endif %} {% endfor %}
Invoice File Invoice Number PO Number (Invoice) Invoice Date Invoice Amount Matched PO File PO Number (PO) PO Date PO Amount Match Score
{{ row['Invoice File'] }} {{ row['Invoice Number'] }} {{ row['PO Number (from Invoice)'] }} {{ row['Invoice Date'] }} ${{ "%.2f"|format(row['Invoice Amount']|float) }} {{ row['Matched PO File'] }} {{ row['PO Number (from PO)'] }} {{ row['PO Date'] }} ${{ "%.2f"|format(row['PO Amount']|float) }} {{ "%.1f"|format(row['Match Score']|float) }}%
✅ SAFE TO PROCESS: Invoice and PO are fully matched and verified.

🚨 FRAUD DETECTED: Invoice and PO do not match. Investigation required immediately.