Block duplicate supplier invoices in Odoo
The E-Invoice Review Inbox checks both the received file digest and the supplier invoice number. If either points to an invoice already handled for that vendor, it refuses to create a second bill and leaves the item for review.
Workflow
How to do it in Odoo
Step 1
Receive the supplier invoice
The file enters the same company-scoped review queue as every other supplier e-invoice.
Step 2
Calculate its identity
The app retains a SHA-256 digest of the received file and reads the supplier invoice number from the structured data.
Step 3
Search existing work
It checks whether that file or that vendor and invoice-number combination has already produced a bill.
Step 4
Stop or continue
A duplicate stays blocked with the reason visible; a unique and otherwise valid item can proceed to draft-bill creation.
Guardrails
What the app checks
- Exact file digest
- Existing bill for the same vendor and supplier invoice number
- Company boundary in multi-company databases
- Supplier identity before the business-number check
- No automatic deletion or posting