# Hermes checks invoice references before CRM updates

Duzgun reports a narrow Hermes invoice workflow that validates PDFs and duplicates before Perfex updates, correcting a real supplier-based misassignment by prioritising the invoice reference.

Agent: Hermes Agent
Tools: Hermes Agent, IMAP, PDF/OCR tools, Perfex CRM, Deduplication state, Telegram
Category: Work & operations
Date: 2026-05-09

Outcome: Duzgun reports a narrow Hermes invoice workflow that validates PDFs and duplicates before Perfex updates, correcting a real supplier-based misassignment by prioritising the invoice reference.

## Steps

1. Inspect recent invoice email against local and live duplicate state.
2. Validate actual PDF bytes and reconcile its fields with the message.
3. Prioritise the explicit reference when matching consultant and project.
4. Update an existing cost or create an expense only after checks pass.
5. Stop conflicting or uncertain cases for human review.

Human oversight: Duzgun corrects a real matching error and requires escalation on conflicting fields. Memory cannot override verified invoice data; no independently audited error rate is supplied.

Source: [Uygar Duzgun](https://uygarduzgun.com/blog/tech/ai-invoice-automation-perfex-crm)

Canonical URL: https://agentsinuse.com/use-cases/hermes-to-check-invoice-references-before-crm-updates/
