Your question is Diagnose Invoice Discrepancies by Vendor. Start with the requirements and the three tables on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
You are comparing staged invoice data against ERP invoice records used in Valmont Industries finance reporting. Write a PostgreSQL query that surfaces discrepancy patterns by vendor and invoice month, including missing ERP matches, amount mismatches, date mismatches, and duplicate staged invoices.