Let me address both questions with our complete implementation approach.
DUPLICATE DETECTION:
We use multi-factor matching: invoice number + vendor + amount (±$0.50) + date range (±7 days). The workflow queries F0411 (AP Ledger) and checks both posted and pending invoices. When potential duplicates are found, it creates a hold code and sends alert to AP supervisor with side-by-side comparison.
For vendor resubmissions, we maintain a custom tracking table (F55INVHIST) that logs all invoice submissions regardless of status. This catches cases where vendors change invoice numbers slightly. We also added fuzzy matching on PO references since some vendors include PO numbers in different formats.
EXCEPTION HANDLING METRICS:
Our exception resolution breakdown after 6 months:
- 45% auto-resolved through retry logic (mainly receipt timing issues)
- 30% resolved at buyer level within 24 hours (price variances, quantity adjustments)
- 15% escalated to procurement managers (typically 2-3 day resolution)
- 10% require vendor contact or complex investigation (5-7 day average)
We track resolution time by exception type in custom UDC table. Missing receipts average 18 hours, price variances 36 hours, quantity discrepancies 28 hours. The workflow stamps each status change, so we have complete audit trail for reporting.
ORCHESTRATOR WORKFLOW DESIGN:
Our workflow has 8 main steps:
- Invoice intake validation (format, required fields)
- PO/Receipt data retrieval via REST API calls
- Tolerance checking with commodity-specific rules
- Duplicate detection across multiple criteria
- Auto-posting for clean matches (85% of volume)
- Exception routing based on variance type and amount
- Retry queue management for timing issues
- Metrics logging for continuous improvement
The workflow uses JSON payloads for data exchange:
{
"invoice": "INV-12345",
"po": "PO-98765",
"variance_type": "price",
"variance_pct": 6.2
}
For KPI targets, I’d recommend starting with 70% auto-match rate and 50% exception auto-resolution. Our 85% took 4 months of tuning tolerance rules and improving receipt posting discipline.
KEY LESSONS LEARNED:
- Start with conservative tolerances and loosen gradually based on data
- Exception dashboard visibility drives accountability for upstream processes
- Vendor collaboration on EDI timing reduces receipt exceptions significantly
- Custom tables for tolerance rules enable business-owned maintenance without IT changes
- Retry logic with intelligent wait times handles most timing issues automatically
The ROI has been substantial: 70% faster invoice-to-payment cycle, 15 hours weekly staff time saved, 40% reduction in late payment penalties, and improved vendor relationships. AP team morale improved since they handle genuine exceptions rather than routine data entry.
Happy to discuss specific workflow configuration or share our Orchestrator JSON structure if helpful.